thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Author Topic: [Chivalry] B3 bot crashing server randomly [FIXED]  (Read 5398 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: B3 bot crashing server randomly
« Reply #15 on: May 26, 2014, 10:00:48 PM »
could you remove the "@nextmap" advertisement message from the adv plugin config file and see if it still crashes ?

Offline streak

  • Jr. Member
  • **
  • Posts: 24
Re: B3 bot crashing server randomly
« Reply #16 on: May 26, 2014, 10:08:59 PM »
Ok I did that. I will update you on the outcome.

Offline streak

  • Jr. Member
  • **
  • Posts: 24
Re: B3 bot crashing server randomly
« Reply #17 on: May 27, 2014, 01:26:26 AM »
Still crashed. Here is the new log. Crashed at 6:21 PM

http://pastebin.com/VymBAwc3

Thanks for all the help. Its really appreciated.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: B3 bot crashing server randomly
« Reply #18 on: May 27, 2014, 11:23:39 PM »
Could you additionally disable the !nextmap command by setting the level required for running it up to 100 in the admin plugin config file ?

Then restart B3 and see how long it takes for the server to crash.

Here's what I suspect so far: it seems that before some of the game server crashes B3 tried to tell the game server to display what the next map would be.

Now why would such a thing crash the game server? I have no clue. Anyway that seems to be something to fix on the game server side. I suspect the presence of one or more question mark in the text is what breaks the game server.

See
Quote
18:21:08   DEBUG   u'AdminPlugin: Handle command !nextmap'
140526 18:21:08   VERBOS2   "RCON< Packet({'original_packet': None, 'playerId': None, 'msgType': 8, 'dataLength': 0, 'message': None, 'data': '\\x01\\x10\\x00\\x01\\x00\\xc2\\xef\\x99\\x00\\x00\\x00KNext Map: TD-Bamboo_small?game=CDW.AOCTD?numteams=2?class0=Open?class1=Open'})"
140526
But it might not be that simple, maybe it is the combination of B3 trying to have the game server display some text with a question mark while the map is loading.
Or maybe it is the "=" character.

You could also try to trigger the crash by using the B3 !say command to have B3 send some text to display on the game server.
Try:
Quote
!say 1+1=3
or
Quote
!say how are you?
« Last Edit: May 27, 2014, 11:29:38 PM by Courgette »

Offline streak

  • Jr. Member
  • **
  • Posts: 24
Re: B3 bot crashing server randomly
« Reply #19 on: May 29, 2014, 03:03:03 AM »
I think its working... Server has been online for 12 hours without a crash...  TY :)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: B3 bot crashing server randomly
« Reply #20 on: May 29, 2014, 02:54:53 PM »
Thank you for reporting that back.
Have you tried to make the crash happen with the '!say' command ?

Offline streak

  • Jr. Member
  • **
  • Posts: 24
Re: B3 bot crashing server randomly
« Reply #21 on: May 31, 2014, 02:06:10 AM »
Thank you for reporting that back.
Have you tried to make the crash happen with the '!say' command ?
Ya... It did not crash the server.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: [Chivalry] B3 bot crashing server randomly [FIXED]
« Reply #22 on: May 31, 2014, 03:33:11 AM »
by the way, in B3 v1.10dev.daily203, I changed the way B3 reports the next map so that the message just show the map name without any '?' or '=' character.

It would be nice if you could have this version running, and enable back the !nextmap command and @nextmap adv message to see if it changes anything.

 


Rate this page +1 at Google Search

anything