Page 1 of 1

Exception Caught!

PostPosted: Tue Nov 16, 2010 12:28 pm
by ShoeLase101
# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 430, in call_even
t
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_noblock/gg_noblock.py", line
 55, in player_spawn
getPlayer(event_var['userid']).noblock = 1
File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
raise e
UseridError: '16' is an invalid userid
 


Hey I got this error after a map change, doesn't seem to be any problems.
Just putting it out there.

PostPosted: Tue Nov 16, 2010 5:31 pm
by satoon101
Yeah, that shouldn't be an issue. This really shouldn't happen, though, since it is in player_spawn, but I'll look into it. Do you have bots running on your server? I believe that you probably do, and that the issue is when the map changes, player_spawn fires for bots that were on the previous map, and then they are disconnected in the same tick.

Satoon

Re: Exception Caught!

PostPosted: Tue Nov 16, 2010 6:31 pm
by ShoeLase101
Thanks Satoon101 for the speedy reply.

Your right of course, I am running bots, you explanation pretty much nailed it.