diff --git a/libs/ChatThrottleLib.lua b/libs/ChatThrottleLib.lua index 71e713c..3de4662 100644 --- a/libs/ChatThrottleLib.lua +++ b/libs/ChatThrottleLib.lua @@ -23,7 +23,7 @@ -- -- ChangeLog and notes for this version: --- There is no historic CTL version 14 and this would supersceed all other Vanilla era +-- There is no historic CTL version 14 and this would supersede all other Vanilla era -- versions (<=13) while also not stepping on private server TBC versions (15+) -- -- Modifications for this version are simply to throttle raw chat lines per second and @@ -40,7 +40,9 @@ local BURST = 4000 -- WoW's server buffer seems to be about 32KB. 8KB should local MIN_FPS = 20 -- Reduce output CPS to half (and don't burst) if FPS drops below this value -local TURTLE_MAX_CHAT_LINES_PER_SECOND = 6 -- Turtle seems to allow > 6 lines per second in some situations; but for pure spam throughput, this appears to be the limit before the soft mute kicks in. +-- Turtle seems to allow > 6 lines per second in some situations; but for pure spam throughput, a value of 6 here seems to be the limit. +-- Due to timing issues, setting this to 5.75 seems to allow the most throughput without any accidental soft bans. +local TURTLE_MAX_CHAT_LINES_PER_SECOND = 5.75 if(ChatThrottleLib and ChatThrottleLib.version>=CTL_VERSION) then -- There's already a newer (or same) version loaded. Buh-bye.