tf2_bot_detector
tf2_bot_detector copied to clipboard
Shorten the time between rconning 'status' or 'ping' from every 3 seconds to every 2.6 seconds to better counter namestealer bots
A clear and concise description of what the problem is. Name stealer bots start a vote to kick the stolen user as soon as they join the match. The least annoying way to deal with that is to start a vote against it before it can start one against the offended player. TF2BD seems to alternate between the 2 commands it uses to get player information every 3 seconds. However, if I spam them both manually in the console, I am able to get a response from each every 5 seconds.
Describe the solution you'd like Shorten the delay for calling one of the commands from 3 seconds to 2.6 seconds. This takes the number of updates per minute from 20 to aprox. 23, which might be the difference between kicking the bot before it kicks a innocent player or after
Describe alternatives you've considered Finding a third command that can be used to extrapolate player information in real time, and alternate between that one too. If that command also has a 5 second cooldown, you could have aprox. 35 updates per minute. But if that hasn't come up until now, I doubt there is a third command the too is able to use.
aren't there 3 commands? Ping, status, and the lobby one I cant remember. In general users have requested a way to customize the command interval since it does spam console by design.
Also if (which I think it should) this shifts to allowing user customization for the update frequency this should be closed and discussion should be moved to the older issue #161.
aren't there 3 commands? Ping, status, and the lobby one I cant remember. In general users have requested a way to customize the command interval since it does spam console by design.
The tf_lobby_debug command is client-sided, so its reply comes in over the rcon channel and does not spam the console at all.
I just realized: Are server chat messages such as Kenajcrap connected or Kenajcrap was automatically assigned to team RED also used to update the tool's player list?
If yes, then changing this delay will not make a difference when it comes to how quickly a vote can be called to counter a namestealer that just arrived.
If not, is that an option? I can see Kenajcrap connected in console.log but I was not able to find Kenajcrap was automatically assigned to team RED, maybe its one of the UserMessages?