Author Topic: Tired of server nag screens.  (Read 1785 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Tired of server nag screens.
« on: September 02, 2013, 10:36:41 AM »
I got tired of some servers nagging me to get games I don't have so I made this little script below...

Code: [Select]
if( SERVER ) then
error("This is a client side script!")
return
end

local myDepots = { 220, 240, 440, 420, 380, 320, 340, 400, 550, 500, 620, 630 } --Your Game IDs go here.
local myGames = {}
unSpoofedGames = {}

for i,v in pairs(engine.GetGames()) do
if( table.HasValue(myDepots, v.depot) ) then
v.mounted = true
v.owned = true
end
table.insert(myGames, v)
if( i >= #engine.GetGames() ) then
print("DONE")
unSpoofedGames = engine.GetGames()
function engine.GetGames()
return myGames
end
PrintTable(engine.GetGames())
end
end

Does any one know if the above script may cause any unforeseen consequences?
I cry every time I see that I am not a respected member of this community.