ChatThrottleLib
ChatThrottleLib is a small, embeddable library that helps AddOn authors keep outbound chat and addon communication from exceeding the output rate limit in WoW that otherwise causes players to disconnect from the server.
It also has a number of features that will help you make your addon communication run smoother!
See http://www.wowpedia.org/ChatThrottleLib for tech specs, API, SVN location, change log and more!
Was getting the following error, but replaced the ChatThrottleLib with the alpha library at https://www.wowace.com/projects/chatthrottlelib/files/2553591 fixed the issue.
Date: 2018-11-11 17:06:53
ID: -3
Error occured in: Global
Count: 1
Message: ...\GuildCheck\libs\ChatThrottleLib\ChatThrottleLib.lua line 216:
hooksecurefunc(): SendAddonMessage is not a function
Debug:
[C]: hooksecurefunc()
...\GuildCheck\libs\ChatThrottleLib\ChatThrottleLib.lua:216: Init()
...\GuildCheck\libs\ChatThrottleLib\ChatThrottleLib.lua:498: in main chunk
Locals:
AddOns:
MoncaiCompare, v7.2.0
Swatter, v8.0.6162 (SwimmingSeadragon)
AtlasLoot, vv8.08.02
AtlasLootBattleforAzeroth, vv8.08.02
AtlasLootBurningCrusade, vv8.08.02
AtlasLootCataclysm, vv8.08.02
AtlasLootClassic, vv8.08.02
AtlasLootLegion, vv8.08.02
AtlasLootMistsofPandaria, vv8.08.02
AtlasLootWarlordsofDraenor, vv8.08.02
AtlasLootWrathoftheLichKing, vv8.08.02
AutoRepair, v
GuildCheck, vv 2.5.1
BlizRuntimeLib_enUS v8.0.1.80000 <none>
(ck=1c7)
Here is something I would like to see added: I can see that a queue name can be sent as a parameter to ChatThrottleLib:SendChatMessage and ChatThrottleLib:SendAddonMessage and if no queue name is sent, a queue name is generated by concatenating various other string params. It would be great if a queue name is included as a param, then the add-on developer could clear that queue at any time. For example, a load of data might be queued to be sent out, but then the data is updated and needs to be resent before the old data has been completely despooled. It would be nice to have a global function to be able to clear a specific queue at any time.
Just an idea to reduce the about of data flying around the internet.
Can it impose hard limits on other addons? Or must it be voluntarily incorporated into an addon to perform throttling?