This is the original code with RCon anti-flood:
Code:
time = Com_Milliseconds();
if ( (unsigned)( time - lasttime ) < 500u ) {
return;
}
lasttime = time;
Current delay is even lower than this.
Please write in dev section how you propose to solve this issue.
If players use Scapp with delay < 500ms, it's highly possible it will also fail. And whats more -> RCon can get overloaded and other admins won't be able to connect via rcon. This is for stock MoHAA w/o any mods or patches.
The tool could do an IP setup itself. It knows its IP and RCon password. It can set an IP. It would also need to change map for the CVar to take effect. But I can change it and add RCon command for registering the tool.
You could write a Scapp in a way that it registers itself automatically after connecting to server. Other old tools allow admins to issue commands so they could register the tool themselves with simple rcon command.
The anti-flood is skipped for remote tools if theirs IP is set up in config. I will add the command so it will be automated process of just typing "rcon registertool"