Jump to content

Better stringcomparison for kicking


Strepto

Recommended Posts

I'm pretty sure no one has mentioned this, if it has then there's no need for this topic.

Anyway, the stringcomparison when trying to kick a player just isn't working very well in my opinion. As long as a player has a name longer than 3 characters it's usually not a problem, but if the player has a name with just one character it becomes a problem.

There was a guy that joined the server where I'm admin, naming only himself as "I", he started spamming at one point, so I proceeded to try and kick him. However "rcon kick I" resulted in the kicking of three other players before it saw fit to kick I. Those three players had an I or i in their name.

One solution for this might possible to do in the form of the map nomination window, that if there is a conflict as to what player to kick, it will list the players names that has the written string in their name. Most likely these will never be more than 9, so it shouldn't be a problem.

Please consider this for the next patch.

Also, if this has happened to anyone else, please post here to confirm it.

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...