# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 269, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 431, in call_even
t
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_noblock/gg_noblock.py", line
51, in player_spawn
getPlayer(event_var['userid']).noblock = 1
File "../eventscripts/_libs/python/playerlib.py", line 1294, in getPlayer
raise e
UseridError: '2' is an invalid userid
# ================================================
I'm using the .477 version
I opened the gg_noblock.py file to check it and see if the changelog changes are in the file.
# ../addons/eventscripts/gungame51/scripts/included/gg_noblock/gg_noblock.py
'''
$Rev: 476 $
$LastChangedBy: micbarr $
$LastChangedDate: 2010-07-12 00:45:01 -0400 (Mon, 12 Jul 2010) $
'''
# ============================================================================
# >> IMPORTS
# ============================================================================
# Eventscripts Imports
import es
from playerlib import getPlayer
from playerlib import getPlayerList
Shouldn't this be changed to getUserId?
Revision 476:
./scripts/included/gg_noblock/gg_noblock.py:
* Changed "getPlayerList" to "getUseridList".
MD5 of my zip: 3B0D3464C3FADE5A90A5EC088F25F141