Gungame not unloading or accepting changes

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Gungame not unloading or accepting changes

Postby rickybobby » Tue Dec 21, 2010 1:03 am

Server Version: v1.0.0.57 (Windows, Dedicated, Protocol 15)

The logfile from Gungame
*******************************************************************************
* *
* GUNGAME v5.1 ERROR LOGGING *
* HTTP://WWW.GUNGAME5.COM/ *
* *
* GG VERSION: 5.1.496 IP: 205.234.153.34 *
* SPE VERSION: 1.5.0f r79 PORT: 27017 *
* PLATFORM: NT DATE: 12-20-2010 *
* ES VERSION: 2.1.1.360 ES CORE VERSION: 2.1.1.336 *
* MM VERSION: 0 SM VERSION: 0 *
* MANI VERSION: 0 EST VERSION: 0 *
* *
*******************************************************************************


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [12/20/2010 @ 15:45:45] TOTAL OCCURENCES: [0016]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 490, in player_death
if event_var['weapon'] != ggAttacker.weapon:
File "../eventscripts/gungame51/core/players/__init__.py", line 163, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/__init__.py", line 461, in get_weapon
return get_level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 77, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 33, in get_weapon_order
return WeaponManager().__weaponorders__[WeaponManager().gungameorder]

KeyError: 'default_weapon_order'


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [12/20/2010 @ 15:45:52] TOTAL OCCURENCES: [0012]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 457, in player_spawn
send_level_info_hudhint(ggPlayer)
File "../eventscripts/gungame51/gungame51.py", line 777, in send_level_info_hudhint
totalLevels = get_total_levels()
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_total_levels
return get_weapon_order(weaponOrderName).get_total_levels()
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 33, in get_weapon_order
return WeaponManager().__weaponorders__[WeaponManager().gungameorder]

KeyError: 'default_weapon_order'


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [12/20/2010 @ 15:45:53] TOTAL OCCURENCES: [0029]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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/gungame51.py", line 821, in give_weapon_check
Player(userid).give_weapon()
File "../eventscripts/gungame51/core/players/__init__.py", line 483, in give_weapon
if self.weapon == 'knife':
File "../eventscripts/gungame51/core/players/__init__.py", line 163, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/__init__.py", line 461, in get_weapon
return get_level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 77, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 33, in get_weapon_order
return WeaponManager().__weaponorders__[WeaponManager().gungameorder]

KeyError: 'default_weapon_order'


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [12/20/2010 @ 15:45:53] TOTAL OCCURENCES: [0029]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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/__init__.py", line 666, in strip
if (self.weapon == weapon[7:] and not levelStrip) or /
File "../eventscripts/gungame51/core/players/__init__.py", line 163, in weapon
return self.get_weapon()
File "../eventscripts/gungame51/core/players/__init__.py", line 461, in get_weapon
return get_level_weapon(self.level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 77, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 33, in get_weapon_order
return WeaponManager().__weaponorders__[WeaponManager().gungameorder]

KeyError: 'default_weapon_order'


I have a demo of in game operations as well. Let me know if you want me to upload it. Its like Gungame is half loaded but not working. It will not unload if i take the es_load gungame51 out of the cfg and restart. It will stay loaded. It also will not accept config changes.
rickybobby

Private
Private
 
Posts: 11
Joined: Wed Mar 24, 2010 5:39 pm
Steam Friends Name: compressor_surge
Xfire Name: tbrown7552

Postby rickybobby » Tue Dec 21, 2010 9:07 pm

This fixed the loading issue.

The current version of EventScripts has a small error that will cause GunGame51 to not load properly:
Navigate to your servers ../addons/eventscripts/_libs/python/cfglib.py file
Find the following line inside that file (line 106):
es.mexec(self.cfgpath.replace(self.gamedir, '', 1))
Change that line to:
es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))
You must restart your server after making this change
rickybobby

Private
Private
 
Posts: 11
Joined: Wed Mar 24, 2010 5:39 pm
Steam Friends Name: compressor_surge
Xfire Name: tbrown7552



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 1 guest