AceCommQueue
If you are a developer or a power user deeply invested in the World of Warcraft addon ecosystem, you know that communication is everything. From raid cooldown trackers to complex guild management tools, addons rely on sending data between players seamlessly. However, a silent killer has plagued many custom solutions: message corruption. When large data packets get split and sent too quickly, they often arrive garbled, causing features to break without any error message to explain why. This is where AceCommQueue steps in as the definitive solution for stable inter-addon communication.
The Hidden Problem with Large Messages
To understand why this library is essential, we must look at how World of Warcraft handles chat traffic. The standard library, AceComm-3.0, breaks large messages into chunks labeled FIRST, NEXT, and LAST. These chunks are handed off to ChatThrottleLib (CTL), which manages bandwidth by prioritizing traffic into ALERT, NORMAL, and BULK categories. The issue arises when an addon sends multiple large messages in rapid succession using different priorities.
Imagine a scenario where a BULK message is being sent, followed immediately by an ALERT message. Due to how CTL drains its priority rings, chunks from the high-priority ALERT message can jump ahead of the remaining chunks from the BULK message. On the receiving end, the addon sees a new FIRST frame mid-stream and overwrites its partial data buffer. The result is a failed CRC check, meaning the entire message is discarded silently. No error is printed; the data simply vanishes. This bug affects any addon sending multi-chunk messages under load, particularly in busy environments like raids or crowded capital cities.
How AceCommQueue Solves the Interleaving Bug
AceCommQueue for World of Warcraft acts as a transparent queuing layer sitting between your addon and AceComm-3.0. Its primary function is to ensure that only one message per channel combination is ever in-flight through ChatThrottleLib at any given time. It maintains an application-level queue for every unique pair of prefix, distribution method, and target.
The library holds back the next queued message until it receives a callback confirming that the final chunk of the previous message has been successfully handed off. Crucially, it remains priority-aware. If an urgent ALERT message is pushed onto the queue while a BULK message is waiting, the system ensures the urgent traffic drains first, mirroring the intended behavior of CTL without causing chunk interleaving. This eliminates the corruption bug entirely, ensuring that your guild communication or raid tools function flawlessly even under heavy network load.
For users who prefer a streamlined setup process without manually managing library files, the foxygame.net launcher offers a distinct advantage by featuring AceCommQueue in its comprehensive addon catalog, allowing for one-click installation that automatically handles version compatibility checks for you. This removes the guesswork from dependency management, ensuring your client is always running the most stable configuration.
Compatibility Across All Expansions
One of the strongest aspects of this library is its versatility. Whether you are playing on the modern Retail version or diving into the nostalgia of Classic Era, The Burning Crusade, Wrath of the Lich King, Cataclysm, or Mists of Pandaria, AceCommQueue is designed to work seamlessly. The underlying mechanics of ChatThrottleLib and message chunking remain consistent enough across these versions that a single implementation solves the problem everywhere. Developers embedding this library do not need to write separate logic for different expansions; the queue handles the intricacies uniformly.
Key Features for Developers
- Fully Transparent Integration: Once embedded in your addon's OnInitialize function, all existing calls to self:SendCommMessage are automatically queued. No refactoring of call sites is required.
- Wrapper Safety: The library captures whatever SendCommMessage function is present at embed time, making it compatible with existing suppression wrappers or custom modifications.
- Zero Overhead: There are no polling loops or frame update hooks. The queue drains purely via callbacks, adding negligible performance cost.
- Debug Capabilities: Developers can enable runtime debug output or use the built-in slash command to inspect live queue states.
Installation and Usage
If you are looking to download AceCommQueue, you will typically find it as a standalone library or embedded within larger addon packages. For developers, the installation process involves loading the library file in your Table of Contents (.toc) before your own code files. You must ensure AceComm is loaded first, followed by any custom wrappers, and finally AceCommQueue so it can wrap the complete chain.
Knowing how to install the debug tools is also valuable for troubleshooting. By registering the slash command, you can type /acq debug on to monitor traffic or /acq queues to see exactly what is waiting in the buffer. This level of visibility is invaluable when diagnosing why a specific message might not be arriving, although with AceCommQueue active, such failures should become a thing of the past.
Conclusion
In the complex world of WoW addon development, reliability is paramount. Silent data corruption can ruin the user experience and lead to confusing support tickets. AceCommQueue provides a robust, lightweight, and proven method to prevent chunk interleaving and CRC failures. By enforcing a strict send order while respecting priority levels, it ensures that your messages arrive intact, regardless of the game version or network conditions. Whether you are maintaining a legacy addon for WotLK Classic or building a new tool for Retail, integrating this queue is the smart choice for professional-grade communication.
--- **Update Jul 29, 2026:** Added 1 file for version 5.5.3, 5.5.2, 4.4.2, 3.80.0, 3.4.5, 2.5.5, 12.0.1, 12.0.0, 11.2.7, 1.15.9, 1.15.7.