1 (edited by masked tee 2013-11-22 23:30:26)

Topic: The admin console kicks wrong players

I am using teeworlds_srv 0.6.2 win64. It had been running for about 24 hours when someone was disrupting the game and I decided to kick them.

I went to the admin console to kick that player, I typed in

kick player1

but the game kicked another player. I thought it had to do something with IP addresses, that maybe they were both on the same IP. So I typed

kick player1

again and this time the console said the player was invalid. Later I tried to kick him again and it kicked yet another player. When I tried one final time, the game said "you can't kick yourself".

It seems that the game mixed up the player nicknames and ids for some reason. It just wouldn't kick the right player.

Is this a known bug?

I'm switching to Linux tomorrow so I won't be able to test it anymore. If anyone in the next few hours needs a debug dump or something like that, let me know because the server will be running for 12 more hours until it will be replaced with the Linux version.

masked tee / florin.teeworlds@gmail.com

2

Re: The admin console kicks wrong players

It's

 kick 1

afaik, not

kick player1

player1 probably looks like 0 to the console, that should be why it kicks the player #0.

Not Luck, Just Magic.

3

Re: The admin console kicks wrong players

Dune wrote:

It's

 kick 1

afaik, not

kick player1

player1 probably looks like 0 to the console, that should be why it kicks the player #0.

Right, that makes sense. Now I see that the help says kick ?i, so it's an integer. If anyone stumbles upon this thread having the same issue, they should know that the command

status

shows the ids of all the players.

/thread and thank you very much for your help, Dune

masked tee / florin.teeworlds@gmail.com