AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [TF2] How to change commands limit? (https://forums.alliedmods.net/showthread.php?t=326846)

kokokolia 08-19-2020 14:04

[TF2] How to change commands limit?
 
Hi. Sometimes bot on my server got kicked with the 'Issued too many commands' reason. How may I extend this limit for bots? Thanks!

RUSEN 09-25-2020 07:48

Re: [TF2] How to change commands limit?
 
The same problem.

Fearts 09-27-2020 01:41

Re: [TF2] How to change commands limit?
 
sv_quota_stringcmdspersecond 1000

^This maybe?

Bacardi 09-27-2020 09:02

Re: [TF2] How to change commands limit?
 
Quote:

Originally Posted by Fearts (Post 2719175)
sv_quota_stringcmdspersecond 1000

^This maybe?

Nice find @Fearts
Code:

"sv_quota_stringcmdspersecond" = "40"
FCVAR_NONE
- How many string commands per second clients are allowed to submit, 0 to disallow all string commands


PC Gamer 09-27-2020 13:35

Re: [TF2] How to change commands limit?
 
I run 20 custom Bots on my TF2 server. I can't imagine any scenario where each of those 20 Bots need to issue more than 40 commands per second.

Is your plugin firing the multiple commands during a specific event in the game round, or is this some sort of logic that issues multiple commands every game frame?

If the logic occurs once per event/round then maybe you can install timers to spread the commands out to limit the number of commands happening per second.

If the logic is happening on every game frame it would cause significant performance issues. You might consider optimizing the plugin to avoid using game frames or limit the number of commands issued each frame.


All times are GMT -4. The time now is 12:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.