I got tired of some servers nagging me to get games I don't have so I made this little script below...
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?