Exception Caught!

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Exception Caught!

Postby ShoeLase101 » Tue Nov 16, 2010 12:28 pm

# ================================================
# >>                     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.
ShoeLase101

Private
Private
 
Posts: 16
Joined: Sun Nov 14, 2010 10:54 am
Steam Friends Name: ShoeLase101

Postby satoon101 » Tue Nov 16, 2010 5:31 pm

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Exception Caught!

Postby ShoeLase101 » Tue Nov 16, 2010 6:31 pm

Thanks Satoon101 for the speedy reply.

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

Private
Private
 
Posts: 16
Joined: Sun Nov 14, 2010 10:54 am
Steam Friends Name: ShoeLase101



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 4 guests

cron