Raised This Month: $70 Target: $400
 17% 

[TF2] How to change commands limit?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kokokolia
Junior Member
Join Date: Aug 2019
Old 08-19-2020 , 14:04   [TF2] How to change commands limit?
Reply With Quote #1

Hi. Sometimes bot on my server got kicked with the 'Issued too many commands' reason. How may I extend this limit for bots? Thanks!
kokokolia is offline
RUSEN
Junior Member
Join Date: Feb 2012
Old 09-25-2020 , 07:48   Re: [TF2] How to change commands limit?
Reply With Quote #2

The same problem.
RUSEN is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 09-27-2020 , 01:41   Re: [TF2] How to change commands limit?
Reply With Quote #3

sv_quota_stringcmdspersecond 1000

^This maybe?
__________________
Fearts is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-27-2020 , 09:02   Re: [TF2] How to change commands limit?
Reply With Quote #4

Quote:
Originally Posted by Fearts View Post
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
Bacardi is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 09-27-2020 , 13:35   Re: [TF2] How to change commands limit?
Reply With Quote #5

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.
PC Gamer is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:32.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode