Page 1 of 1

Error on friends Gungame Server

PostPosted: Thu Jan 20, 2011 4:07 pm
by tnarocks
*******************************************************************************
* *
* GUNGAME v5.1 ERROR LOGGING *
* HTTP://FORUMS.GUNGAME.NET/ *
* *
* GG VERSION: 5.1.503 IP: 68.232.179.27 *
* SPE VERSION: 1.5.0f r79 PORT: 27015 *
* PLATFORM: POSIX DATE: 01-13-2011 *
* ES VERSION: 2.1.1.360 ES CORE VERSION: 2.1.1.336 *
* MM VERSION: 1.9.0-devV SM VERSION: 1.4.0-dev *
* MANI VERSION: 1.2vb VSP EST VERSION: 0 *
* *
*******************************************************************************


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [01/13/2011 @ 20:29:30] TOTAL OCCURENCES: [0001]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 432, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_warmup_round/gg_warmup_round.py", line 207, in player_spawn
getPlayer(userid).godmode = 1
File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
raise e

UseridError: '153' is an invalid userid

PostPosted: Fri Jan 21, 2011 2:40 am
by satoon101
Yeah, I've seen that, and similar, errors before. I 'believe' it is caused by bots on map change. The bots from the previous map have not been removed fully, so they fire player_spawn just after es_map_start. However, in the same tick, they are removed from the server, which causes the error. Also, could be a change in the bot_quota as well at that exact time.

Satoon

PostPosted: Fri Jan 21, 2011 11:45 pm
by daggerclan
I've matched up the userid's with the time in the console logs and found it is caused by bots but not at map change. It's at round end after a real player connects causing the bot to vacate at round end.

PostPosted: Sat Jan 22, 2011 3:06 am
by satoon101
Ah, yes, that makes sense as well. I'll see if there is anything I can do to get rid of these errors in 'all' the included addons when I get a chance this weekend.

Satoon