Author Topic: Banned players crash server  (Read 5258 times)

Sorry if this has already been asked, I looked a little but didn't see anything.  :panda:

Whenever I kick someone, they apparently recieve a "bad packet" error so that they don't even knoe they were kicked.

Furthermore - and this is all I can verify for certain - when a banned player tries to join my game, there's an error that the player "(name)" has no brick group, and BL crashes. So, instead of not being able to join my game, anyone I've banned can instantly crash the server just by trying to join it. As such, I can only repeatedly kick people, and heaven forbid I go AFK lest they return.

What can I do to fix this?

Please post your console.log (Default is C:\Program Files\Blockland, but you may have put Blockland somewhere else) when this happens. Just in cause you go "but I can't get people I ban to join like that!", just start a server and ask if someone would like to be banned to help you and make sure he/she rejoins.

if all else fails, I'll make you a little cheap script which just kicks them everytime they rejoin :P

I  don't think that'd work...unless you redo the whole connect script, they client will have already been accepted before the script can kick.

I kicked myself and my chat stopped but some console chat script (I dunno, it's saying chat in console as well, probably an old script I forgot) and people were like "wtf happened?" "I dunno" "well, you think we should go?" :o

Badspot

  • Administrator
What add-ons have you installed?  I've kicked and banned many people from my server with no problems. 

I kicked myself and my chat stopped but some console chat script (I dunno, it's saying chat in console as well, probably an old script I forgot) and people were like "wtf happened?" "I dunno" "well, you think we should go?" :o
WTF I don't remember double posting O_O

yeah i suspect a add-on you are using might be causing it.

I've kicked and banned many people from my server
Lol.

I've tried a clean install with no add-ons and it still happens.  :cookieMonster:

It always looks just like this every time:
Code: [Select]
Got Connect challenge Request from IP:64.229.227.116:28000
Got Connect Request
Connect request from: IP:64.229.227.116:28000
  lan name = EXCALEBER (lightningAce
  net name = Ruru the tiger
AUTHCHECK: 11061
    Internet client connecting to internet server, regular authentication
 Authentication Failed for Ruru the tiger (64.229.227.116).
Issuing Disconnect packet.
ERROR: GameConnection::onClientLeaveGame() - Client "Ruru the tiger" has no brick group.
CDROP: 11061 IP:64.229.227.116:28000

I get the same 'No Brick Group' error when I push Alt F4. Maybe it's when the client is instantly aborted (Banned/InstaKick, AltF4) without Torque 'realising' it's gone and trying to do checks and stuff to it - crashing when it gets no replies.

Got Connect challenge Request from IP:64.229.227.116:28000
Got Connect Request
Connect request from: IP:64.229.227.116:28000
  lan name = EXCALEBER (lightningAce
  net name = Ruru the tiger
AUTHCHECK: 11061
    Internet client connecting to internet server, regular authentication
 Authentication Failed for Ruru the tiger (64.229.227.116). < This can NOT be good. :|
Issuing Disconnect packet.
ERROR: GameConnection::onClientLeaveGame() - Client "Ruru the tiger" has no brick group.
CDROP: 11061 IP:64.229.227.116:28000

Badspot

  • Administrator
Authentication failure like that can be caused by a lot of things but the game should handle it fine.  I tried joining a game and having authentication fail but I can't reproduce this issue. 


I've just confirmed that an auth failure is what causes the crash. I've had no crashes since I stopped literally banning people, but I just had another when someone tried to join and auth failed.

Somehow authfailing people make the game want to remove a brickgroup that doesn't exist, or something.

It really sucks.  :panda: help lol