Page 1 of 1

Deathmatch not working :/

PostPosted: Thu Dec 22, 2011 1:11 am
by ]TeamA[
this is my logs

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [12/21/2011 @ 18:48:19]          TOTAL OCCURENCES: [0002]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 128, in _call_event
    callback['callback'](event_var)
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 54, in round_start
    disable_objectives()
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 85, in disable_objectives
    cmd += 'es_xfire %d func_bomb_target %s;' % (userid, mode)

NameError: global name 'mode' is not defined

 


i have enabled it but still nothing :/

PostPosted: Thu Dec 22, 2011 2:52 am
by satoon101
Yeah, I fixed that error, but haven't released the newest version, yet. That shouldn't stop DeathMatch from working, though.

Satoon

PostPosted: Thu Dec 22, 2011 3:33 am
by satoon101
I did make DeathMatch more modular recently. Can you tell me all the files that are now in your server's ../addons/eventscripts/gungame51/scripts/included/gg_deathmatch/modules/ folder? Maybe post a picture instead of listing them all.

Satoon

PostPosted: Thu Dec 22, 2011 4:07 pm
by ]TeamA[
i sorted it now :) all good

PostPosted: Fri Dec 23, 2011 3:12 am
by satoon101
If you don't mind, could you post how you sorted it out? That way, the next time someone has an issue, we can see if it helps them as well.

Satoon

Re: Deathmatch not working :/

PostPosted: Sat Dec 24, 2011 9:50 am
by lolo-le-haricot
Hi,

I have the same problem :
*******************************************************************************
*                                                                             *
*                          GUNGAME v5.1 ERROR LOGGING                         *
*                          HTTP://FORUMS.GUNGAME.NET/                         *
*                                                                             *
*       GG VERSION: 5.1.600                           IP: 213.251.144.33      *
*      SPE VERSION: 1.5.0f r85                      PORT: 27035               *
*         PLATFORM: POSIX                           DATE: 12-22-2011          *
*       ES VERSION: 2.1.1.370            ES CORE VERSION: 2.1.1.336           *
*       MM VERSION: 0                         SM VERSION: 0                   *
*     MANI VERSION: 1.2.22.8 VSP             EST VERSION: 0                   *
*                                                                             *
*******************************************************************************


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [12/22/2011 @ 17:26:59]          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/addons/queue.py", line 87, in _loop_through_queue
    self._load_addons()
  File "../eventscripts/gungame51/core/addons/queue.py", line 176, in _load_addons
    AddonManager()._load_addon(addon)
  File "../eventscripts/gungame51/core/addons/manager.py", line 36, in _load_addon
    instance = LoadedAddons[addon]
  File "../eventscripts/gungame51/core/addons/loaded.py", line 39, in __getitem__
    value = self[addon] = _LoadedAddonInstance(addon)
  File "../eventscripts/gungame51/core/addons/loaded.py", line 80, in __init__
    self._load_addon()
  File "../eventscripts/gungame51/core/addons/loaded.py", line 95, in _load_addon
    self._call_block('load')
  File "../eventscripts/gungame51/core/addons/loaded.py", line 151, in _call_block
    self.globals[blockname](*a, **kw)
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 44, in load
    disable_objectives()
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 85, in disable_objectives
    cmd += 'es_xfire %d func_bomb_target %s;' % (userid, mode)

NameError: global name 'mode' is not defined


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [12/22/2011 @ 17:29:15]          TOTAL OCCURENCES: [0006]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 128, in _call_event
    callback['callback'](event_var)
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 54, in round_start
    disable_objectives()
  File "../eventscripts/gungame51/scripts/included/gg_map_obj/gg_map_obj.py", line 85, in disable_objectives
    cmd += 'es_xfire %d func_bomb_target %s;' % (userid, mode)

NameError: global name 'mode' is not defined
 

This is all my file in the ../addons/eventscripts/gungame51/scripts/included/gg_deathmatch/modules/ folder :
  • __init__.py
  • __init__.pyc
  • active.py
  • active.pyc
  • countdown.py
  • countdown.pyc
  • dictionary.py
  • dictionary.pyc
  • player.py
  • player.pyc

PostPosted: Wed Dec 28, 2011 6:17 am
by satoon101
I just logged onto your server and played a bit. It seems that DeathMatch is working fine. If it doesn't work during Warmup, that was fixed in version 607, so give that one a try. I did, however, notice that Turbo was not working on your server, even though it is showing as being enabled.

Satoon

PostPosted: Wed Dec 28, 2011 10:36 am
by lolo-le-haricot
I tested and yes, it works, I do not understand.
The turbo mode also works.
May be due to the update 5.1.608

- l0l0 -