Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Author Topic: Insurgency - Events not firing  (Read 1147 times)

Offline zdanman

  • Full Member
  • ***
  • Posts: 68
Insurgency - Events not firing
« on: February 06, 2015, 07:40:03 PM »
Events are not getting fired.... especially EVT_GAME_ROUND_END and EVT_GAME_ROUND_START


Example:  I added the following to line onRoundStart in XLRSTATS to test this .... (line 617)( https://github.com/BigBrotherBot/big-brother-bot/blob/release-1.10/b3/extplugins/xlrstats/__init__.py )




Code: [Select]
XLRSTATS.PY or __INIT__.PY


    def onRoundStart(self, event):
        """
        Handle EVT_GAME_ROUND_START
        """
        # disable k/d counting if minimum players are not met
        self.debug('xlrstats OnRoundStart: received');


I see where it registers the even in b3.log



Code: [Select]
B3.LOG

150206 12:18:43 DEBUG 'XlrstatsPlugin: register event <Game Round Start>'
150206 12:18:43 DEBUG 'XlrstatsPlugin: created event mapping: <Game Round Start:onRoundStart>'



But no where else is 'RoundStart' seen.


You think you would be posting the round start event when 'GR_STATE_PREROUND' is seen in console.log

Code: [Select]
CONSOLE.LOG

Gamerules: entering state 'GR_STATE_POSTROUND'
Gamerules: entering state 'GR_STATE_PREROUND'



But obviously not.  (?)
« Last Edit: February 06, 2015, 07:41:57 PM by zdanman »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Insurgency - Events not firing
« Reply #1 on: February 07, 2015, 02:24:37 AM »
Could you provide a b3.log file which shows a few rounds being played?

Offline zdanman

  • Full Member
  • ***
  • Posts: 68
Re: Insurgency - Events not firing
« Reply #2 on: February 08, 2015, 03:07:39 AM »
in this folder you'll find a b3.log from one of our Insurgency servers and half a console.log

http://www.acedev.net/files/insurgency/diag
« Last Edit: February 08, 2015, 03:11:23 AM by zdanman »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Insurgency - Events not firing
« Reply #3 on: February 08, 2015, 06:31:40 AM »
thx for the log, it was very useful and a new build of B3 is ready and brings improvements to the Insurgency support. Among them events for map/round start/end.
See B3 daily build 311

Anytime you find "please report this on the B3 forums" in one of your log, you should post it on the forums for review

 


Rate this page +1 at Google Search