OmniChatLib-v1.0.0.zip
What's new
OmniChatLib v1.0.0
Initial Release of OmniChatLib (LibOmniChat-1.0) — Standalone ChatThrottleLib Replacement
- Zero-Allocation SoA Slab Pool & O(1) Intrusive Pipes: Eliminated O(N) table.remove() queue shifts, per-packet string concatenation pipeName allocations, and closure churn in hot paths.
- 3-Plane Traffic Isolation (ADDON, BNET, CHAT): Separated Battle.net (C_BattleNet.SendGameData), addon comms (SendAddonMessage / SendAddonMessageLogged), and player chat (SendChatMessage) into independent token buckets so 4 KB BNet transfers never stall guild/raid addon comms.
- Closed-Loop AIMD 2x Wire Throughput: Adaptive rate control driven by Enum.SendAddonMessageResult reaches 1,600-1,800 CPS (2x ChatThrottleLib's 800 CPS static cap) cleanly with zero server kicks, while safely clamping to legacy limits on older boolean-only servers.
- Per-Channel Quarantine & Zero-Token-Burn Drops: Isolates CHANNEL throttles without blocking GROUP, GUILD, or WHISPER pipes, and avoids deducting wire tokens on local client rejections (NotInGuild / NotInGroup / TargetRequired).
- Weighted Byte-Fair DRR & Exact Deadline Wakeups: 4:2:1 byte-fair deficit round robin across ALERT / NORMAL / BULK pipes plus exact next-token deadline timers (IdleOnUpdate = 0).
- Alt-Tab Non-Choking, Hardware-Event Chat Safety & Midnight 12.0+ Hardening: Avoids false FPS choking when IsWindowFocused() is false or maxFPSBk applies, preserves hardware-event execution for restricted SAY/YELL/CHANNEL chat calls, guards secret values across all inputs and hooks, and cleanly pauses/jitters AddOnMessageLockdown across encounters.
- Automatic ChatThrottleLib v50 In-Place Upgrade + Scoped LibOmniChat-1.0 API: Seamlessly upgrades pre-loaded ChatThrottleLib instances with lossless pipe migration, and adds SendCoalesced, lazy zero-copy SendStream, CancelPipe, and CancelPrefix for modern addons declaring ## Dependencies: OmniChatLib.
- Standalone-Only Zero-Embedding Ecosystem & 100% Invisible Login: Non-embeddable standalone addon with 0 login chat lines, 0 minimap buttons, 0 automatic LDB launchers, 0 AddonCompartment entries, 0 Blizzard Settings categories, and 4-tab Diagnostic Studio on /ochat.
- Pipe Eviction, Ace3 Upgrade Hook Deduplication & Per-Whisper Quarantine: Evicts drained/cancelled/dropped explicit and static pipes from explicitPipes and ctl.Prio[prio].ByName (including blocked-pipe cancellation), preserves existing Ace3 hooksecurefunc flags individually to prevent duplicate bypass accounting, keeps bChoking exclusively bound to 5s loading-screen clamping and foreground low-FPS checks, quarantines throttled WHISPER traffic without stalling GUILD/GROUP queues or zeroing ADDON tokens, and rotates priority cursor across global throttle wakeups to prevent NORMAL/BULK starvation; removed circular OptionalDeps on OmniSync from .toc manifests.
- External ChatThrottleLib Field Reconciliation: Synchronizes externally written ChatThrottleLib.avail, LastAvailUpdate, and HardThrottlingBeginTime back into the ADDON plane before RefillAll, bypass handling, and Packet-1/QueueOrSend checks, reschedules queued wakeups on UpdateAvail(), and preserves external bQueueing/bChoking flags across bypass accounting while keeping full fast-path throughput.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects