GunGame51 exceptions
Posted: Mon Dec 29, 2014 5:16 pm
I have a dedicated server setup for GunGame51630, I setup evenscripts and spe. I see these two messages continually like couple seconds in my console:
# ================================================
# >> 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/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 234, in player_deat
h
if event_var['weapon'] != ggAttacker.weapon:
File "../eventscripts/gungame51/core/players/weapons.py", line 44, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/weapons.py", line 47, in get_weapon
return _level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 58, in get_leve
l_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
AttributeError: 'NoneType' object has no attribute 'get_weapon'
# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
_executenode(first)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/core/players/weapons.py", line 252, in strip
if ((self.weapon == weapon[7:] and not levelStrip) or
File "../eventscripts/gungame51/core/players/weapons.py", line 44, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/weapons.py", line 47, in get_weapon
return _level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 58, in get_leve
l_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
AttributeError: 'NoneType' object has no attribute 'get_weapon'
# ================================================
Just trying to figure oout what I did wrong.
# ================================================
# >> 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/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 234, in player_deat
h
if event_var['weapon'] != ggAttacker.weapon:
File "../eventscripts/gungame51/core/players/weapons.py", line 44, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/weapons.py", line 47, in get_weapon
return _level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 58, in get_leve
l_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
AttributeError: 'NoneType' object has no attribute 'get_weapon'
# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
_executenode(first)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/core/players/weapons.py", line 252, in strip
if ((self.weapon == weapon[7:] and not levelStrip) or
File "../eventscripts/gungame51/core/players/weapons.py", line 44, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/weapons.py", line 47, in get_weapon
return _level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 58, in get_leve
l_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
AttributeError: 'NoneType' object has no attribute 'get_weapon'
# ================================================
Just trying to figure oout what I did wrong.