Page 1 of 1

Exception Caught!

PostPosted: Sat Jul 23, 2011 11:46 pm
by looloo1
After a T and a CT join, this message shows in the 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/gungame51.py", line 635, in player_team
Player(int(event_var['userid'])).playsound('welcome')
File "../eventscripts/gungame51/core/players/__init__.py", line 893, in __new__
return PlayerManager().__getitem__(userid)
File "../eventscripts/gungame51/core/players/__init__.py", line 831, in __getitem__
self[userid] = BasePlayer(userid)
File "../eventscripts/gungame51/core/players/__init__.py", line 145, in __new__
self.index = int(getPlayer(str(self.userid)).index)
AttributeError: Player instance has no attribute 'index'
# ================================================
 

 

# ================================================
# >>                     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/gungame51.py", line 484, in player_spawn
if getPlayer(userid).isdead:
AttributeError: Player instance has no attribute 'isdead'
# ================================================
 

 

# ================================================
# >>                     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/gungame51.py", line 484, in player_spawn
if getPlayer(userid).isdead:
AttributeError: Player instance has no attribute 'isdead'
# ================================================
 

 

# ================================================
# >>                     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/gungame51.py", line 751, in player_activate
Player(userid).database_update()
File "../eventscripts/gungame51/core/players/__init__.py", line 893, in __new__
return PlayerManager().__getitem__(userid)
File "../eventscripts/gungame51/core/players/__init__.py", line 831, in __getitem__
self[userid] = BasePlayer(userid)
File "../eventscripts/gungame51/core/players/__init__.py", line 145, in __new__
self.index = int(getPlayer(str(self.userid)).index)
AttributeError: Player instance has no attribute 'index'
# ================================================
 


After that players spawn without weapons.

Version: 5.1.519
EventScripts installed? Yes
Source Python Extensions installed? Yes

PostPosted: Sun Jul 24, 2011 1:42 am
by satoon101
Strange errors. It really seems like you must have an extremely old version of the playerlib library. Redownload EventScripts, shut down the server, and reinstall it (overwrite "all" files):
http://forums.eventscripts.com/viewtopi ... 28&t=40765

Satoon

PostPosted: Mon Jul 25, 2011 12:06 pm
by looloo1
Strange alright, because thats the one I downloaded O_o