![]() See this forum thread.ĬhatThrottleLib will also assume that there's a 40-byte overhead associated with sending messages, so if you're sending "hi", it will count as 42 bytes for traffic shaping purposes. This used to be 8000/1000 but some servers seem more sensitive than others. Filling it would be what causes the kick.ĬhatThrottleLib will allow bursts of up to 4000 bytes and after that throttle its output to 800 CPS, to allow room for actual game events. There seems to be an input buffer of something along the lines of 32KBytes serverside. In my own testing, I've found that a data rate of 3000 CPS will cause a disconnect if sustained for more than a few seconds. Some of you may have noticed that holding down your right mouse button and wiggling it wildly for an extended time can kick you off. This is not limited to chat output any type of output can cause it. The World of Warcraft servers will disconnect you if you generate too much output. callbackArg Any - an argument to pass to callbackFn Notes on outbound rate QueueName String or nil - specific queue to place message in rather than prefix+chattype+destination callbackFn Function - function to call when this message goes out the wire. Prefix String - a unique identifier for your addon (or class of traffic) text String - the text to be sent chattype String - "PARTY", "RAID", "GUILD", "BATTLEGROUND", "WHISPER" target String - Only used for "WHISPER" chats (added in WoW 2.1) - which player to whisper to. The following parameters are the same as the SendAddonMessage() API: Prio String - "BULK", "NORMAL", or "ALERT". callbackArg Any - an argument to pass to callbackFn ChatThrottleLib:SendAddonMessage ChatThrottleLib:SendAddonMessage("prio", "prefix", "text", "chattype"]]) language String or nil destination String or nil - Used for WHISPER, CHANNEL. Text String - the text to be sent chattype String - "SAY", "WHISPER", "CHANNEL", etc. The following parameters are the same as the SendChatMessage() API: This is only for traffic shaping purposes prefixes are used in creating unique flows that are processed round-robin inside each priority. prefix String - a unique identifier for your addon (or class of traffic). Prio String - "BULK", "NORMAL" or "ALERT". And if you are depending on them / including them, ChatThrottleLib is already there and does not need to be included again you can use it directly for regular chat.ĬhatThrottleLib APIs ChatThrottleLib:SendChatMessage ChatThrottleLib:SendChatMessage("prio", "prefix", "text", "chattype", "language", "destination"]) If you are communicating through these libraries, you do not need to worry about throttling at all. Telepathy (Sky's replacement as of 1.12).AceComm ( Ace's communications library).1 Communications libraries already using ChatThrottleLibĬommunications libraries already using ChatThrottleLib.Adaptive throttling based on chat traffic bypassing the library.No lag is introduced until it needs to be. Prioritization of messages according to three predefined priorities: "BULK", "NORMAL" and "ALERT".Round-robin traffic shaping of different communication paths.And addons are given a fair share of bandwidth, so one addon can't lock all others out. Priorities ensure that real-time traffic is still real-time. ![]() All AddOns using ChatThrottleLib count toward the same maximum, so multiple addons can't cause an overload.A long stream of data to "Alice" doesn't interrupt short bursts of traffic to "Bob". Communication to different peers is handled as individual flows.You can easily prioritize your traffic in three priorities.You keep players from getting disconnected when your addon sends too much data. ![]() It also has a number of features that will help you make your addon communication run smoother! This page describes fan-made scripting using the World of Warcraft API which has had notable impact on the game's development/history.ĬhatThrottleLib is a small, embeddable library by Mikk that keeps outbound chat and addon communication from exceeding the output rate limit in WoW that otherwise causes players to disconnect from the server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |