Exception Caught!

Discussion about Included Addons

Exception Caught!

Postby looloo1 » Sat Jul 23, 2011 11:46 pm

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
looloo1

Recruit
Recruit
 
Posts: 2
Joined: Sat Jul 23, 2011 11:43 pm

Postby satoon101 » Sun Jul 24, 2011 1:42 am

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
satoon101

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

Postby looloo1 » Mon Jul 25, 2011 12:06 pm

Strange alright, because thats the one I downloaded O_o
looloo1

Recruit
Recruit
 
Posts: 2
Joined: Sat Jul 23, 2011 11:43 pm



Return to Included Addons

Who is online

Users browsing this forum: No registered users and 4 guests

cron