Error on Test Server

Ask questions and share info about GunGame 5

Error on Test Server

Postby tnarocks » Fri Jan 06, 2012 9:15 pm

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [01/06/2012 @ 14:35:47] TOTAL OCCURENCES: [0001]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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/cfg/manager.py", line 106, in _execute_cfg_files
es.mexec('gungame51' + cfg.cfgpath.rsplit('gungame51', 1)[1])

IndexError: list index out of range


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [01/06/2012 @ 14:37:29] TOTAL OCCURENCES: [0016]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)

AttributeError: 'NoneType' object has no attribute 'get_weapon'
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby satoon101 » Fri Jan 06, 2012 9:22 pm

That first error seems very strange. What all Custom GG51 addons are you running?

The second one is a known error with bots spawning on server start while GunGame is being loaded. I haven't narrowed down the "best" solution for this yet, but it is a relatively harmless error.

The first error concerns me a little bit, because it means that a certain cfg file is not being executed and can cause other issues as well.

Satoon
satoon101

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

Re: Error on Test Server

Postby tnarocks » Fri Jan 06, 2012 9:27 pm

Image
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby tnarocks » Fri Jan 06, 2012 9:28 pm

deathmatch_alpha and roundend_blocker are both set to zero
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby tnarocks » Fri Jan 06, 2012 9:43 pm

i know that when i put //exec bots.cfg i dont get the 2nd error and after gungame loads and i load the bots then i get the error again.
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby satoon101 » Fri Jan 06, 2012 9:48 pm

I have a feeling that it is the Monday Knife that would cause this issue, unfortunately. I noticed the last time I looked through it that it use 2 different cfg files. The one that is in the correct location for GG51 addons only tells you to use the other one instead. The other one is outside of the cfg/gungame51 structure, which causes this error. What I would suggest is to modify the following lines in your ../addons/eventscripts/gungame51/scripts/custom/monday_knife_config.py file:
config_gg = cfglib.AddonCFG('%s/cfg/' % es.ServerVar('eventscripts_gamedir') +
    'gungame51/custom_addon_configs/monday_knife.cfg')

config = cfglib.AddonCFG('%s/cfg/' % es.ServerVar('eventscripts_gamedir') +
    'monday_knife.cfg')


Change all of that to:
config = cfglib.AddonCFG('%s/cfg/' % es.ServerVar('eventscripts_gamedir') +
    'gungame51/custom_addon_configs/monday_knife.cfg')


Then, remove the following from that same file:
   '''
        Code for redirection of config file (because idiots can'
t find it.)    
    '''
    ###########################################################################
    generate_header(config_gg)
    config_gg.text('
')
    config_gg.text('
DO NOT CHANGE ANYTHING IN THIS FILE!!')
    config_gg.text('
THE CONFIG FILE FOR THIS MOD IS LOCATED AT: ' +
                    '
/CFG/MONDAY_KNIFE.CFG')
    config_gg.text('
')
    config_gg.text('
exec monday_knife', False)
    config_gg.write()        
    ###########################################################################
Satoon
satoon101

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

Postby tnarocks » Fri Jan 06, 2012 9:53 pm

let me test it and see what happens
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby tnarocks » Fri Jan 06, 2012 9:57 pm

It works and I also got this error..


# ================================================
# >> 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 178, in tick
_executenode(task)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/core/addons/queue.py", line 87, in _loop_through
_queue
self._load_addons()
File "../eventscripts/gungame51/core/addons/queue.py", line 159, in _load_addons

raise
File "../eventscripts/gungame51/core/addons/queue.py", line 125, in _load_addons

'"%s"' % '", "'.join(list(AddonConflicts[addon])))
ConflictError: "gg_deathmatch" can not be loaded. Sub-addon is listed as a conf
lict with "monday_knife"
# ================================================
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby satoon101 » Fri Jan 06, 2012 9:59 pm

Seems that you cannot use Monday Knife with DeathMatch or Elimination enabled:
info.conflicts = ['gg_deathmatch', 'gg_elimination']
Satoon
satoon101

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

Postby tnarocks » Fri Jan 06, 2012 10:05 pm

is there a way around it. or like am i able to disable it when i have dm or elim and it to be enabled during reg?
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby satoon101 » Fri Jan 06, 2012 10:08 pm

Yeah, just disable it in the cfg files that enable DM and Elim and enable it in the cfg file that you use for Reg.

Satoon
satoon101

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

Postby tnarocks » Fri Jan 06, 2012 10:20 pm

are these right?

warmup_round_end_deathmatch
// DeathMatch is already loaded by Warmup Start file, so no need to load it here

// Turn off any other addons that might be loaded
monday_knife 0

// Load Syphon
es_load syphon
gg_knife_pro 1
gg_turbo 1

warmup_round_end_default
// Turn off DeathMatch which always runs during Warmup
gg_deathmatch 0

// Enable KnifeFight
sm_knifefight_enabled 1
es_load syphon
gg_knife_pro 1
gg_turbo 1
monday_knife 1

warmup_round_end_elimination
// Turn off DeathMatch which always runs during Warmup
gg_deathmatch 0

// Turn off any other addons that might be loaded
monday_knife 0

// Turn on Elimination and load Syphon
gg_elimination 1
es_load syphon
gg_knife_pro 1
gg_turbo 1

warmup_round_start_default
// Turn off any GunGame addons that might be enabled
gg_elimination 0

// Turn off any other addons that might be loaded
es_unload syphon
sm_knifefight_enabled 0
gg_knife_pro 0
gg_turbo 0
monday_knife 0

// Load DeathMatch for Warmup Round
gg_deathmatch 1

Im getting this error so i dont think i have it set right
# ================================================
# >> 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/addons/queue.py", line 87, in _loop_through
_queue
self._load_addons()
File "../eventscripts/gungame51/core/addons/queue.py", line 159, in _load_addons

raise
File "../eventscripts/gungame51/core/addons/queue.py", line 144, in _load_addons

'loaded and is a conflict with "%s"' % addon)
ConflictError: Sub-addon "gg_deathmatch" is set to be loaded and is a conflict w
ith "monday_knife"
# ================================================
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby tnarocks » Sun Jan 08, 2012 5:42 pm

Just wanted to make sure these cfgs were right b4 i test them out.
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

PostThis post was deleted by satoon101 on Sat Jan 21, 2012 8:27 pm.

PostThis post was deleted by satoon101 on Sat Jan 21, 2012 8:27 pm.

PostThis post was deleted by satoon101 on Tue Jan 24, 2012 4:42 am.



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests