shavitush/bhoptimer

[verygoodyes] Limit how much replaybots player can spawn(and max bots on server)

cytrus224 opened this issue · 3 comments

image
Atm you can spawn as many bots as you want. Add a cvar for maximum bots per player untill they're over and max running replaybots at the same time on server.

I might have missed the cvar, but its not working anyway
image
shavit_replay_dynamicbotlimit
"shavit_replay_dynamicbotlimit" = "3" min. 0.000000 max. 62.000000 - How many extra bots next to the central bot can be spawned with !replay.

Changing it to 0 disables also centralbot.

rtldg commented

Fixed shavit_replay_dynamicbotlimit not working in 807cbc6

Changing it to 0 disables also centralbot.

I can't reproduce this.

Still need to make it so a player can only spawn one dynamic bot at a time though and then I'll close this issue after I do that

rtldg commented

Fixed players being able to start multiple simultaneous dynamic bots. I don't think it's worth adding a cvar for max bots on the server when that can be done by changing the dynamicbotlimit cvar and disabling looping bot configs.