"callvote kick" bug


(tjw) #1

When callvote kick is called though the menus, it does not work correctly if the player has a carret, (a.k.a ^) character in their name. This is likely due to the special significance of the ^ character in generating color codes. For instance if a player sets his/her name to ‘^^ttjw’ the name will draw as ‘^tjw’, and when someone tries to vote to kick that player through the menu, they will get a “Player not on server” message. However, issuing the ‘/callvote kick ^^ttjw’ message will work.

As a fix, I think the menu’s should use the PID (Player ID) number, and the PID number should work for ‘/callvote kick PID’ as well as ‘/rcon kick PID’ which it currently does not.


(WolfWings) #2

Another problem with callvote kick…

A player with a name composed of nothing but numbers is physically unkickable by any callvote method.

Console it thinks you’re handing it a far-too-long UserID #, and overflows to the limit of a 32bit integer, saying ‘no such UserID’ or somesuch, and in the menus it just silently fails.

This really needs to be addressed, as now there are several griefers wandering servers with names like 111111111111111111 and similair that can’t be booted by the players.


(tjw) #3

I just found out that you can use ‘\rcon clientkick PID’ instead of ‘\rcon kick PID’ and that works.


(weasel) #4

You can call kicks from the escape menu too. Esc->vote->player->kick. I’m pretty sure that will always work. I assume it uses PID.


(DG) #5

for rcon kicking i’d suggest using PB for kicking, unless you dont have it enabled.


(WolfWings) #6

Please read what the original poster and myself said before replying. We both said that the menu system, what you refer to as the ‘escape menu’ just silently fails altogether. He diagnosed a specific aspect of the problem with the escape-menu kicking, while I pointed out a related problem with the console-command callvote kick system not accepting names with a lot of numbers in them.


(tjw) #7

Could you explain how to use punkbuster to do the kicking?

I thought I remember seeing a ‘banClient’ command mentioned somewhere, but I can’t seem to find it now. Is that what you are refering to?


(duke'ku) #8

pb_sv_kick?


(DG) #9

rcon guide