🌐 Full Network Latency Stack (NEW)
The biggest addition in v1.6.0 — complete TCP optimization that removes hidden latency added by the Windows networking stack:
- Immediate ACK (
SIO_TCP_SET_ACK_FREQUENCY=1) — Windows normally waits 200ms before acknowledging received packets. Now ACKs instantly. This alone can remove 40-200ms of phantom latency. - QoS Marking (
IP_TOS LOWDELAY) — Game packets marked as low-delay interactive traffic. QoS-aware routers prioritize them over downloads/streaming. - Receive Buffer (
SO_RCVBUF 64KB) — Increased from Windows default 8KB. Prevents TCP window scaling bottleneck during raid combat. - Fast Keepalive (
10s/1s) — Dead connections detected in ~20 seconds instead of 2 hours. No more hanging on silent disconnects. - Deferred Optimization — Hooks both
connect()andsend()to apply settings after async TCP handshake completes. All optimizations actually work now.
⚡ Performance Improvements
- O(1) MPQ Handle Lookup — ReadFile cache check replaced from O(n) linear scan to hash table lookup. Thousands of calls/sec during zone loading.
- SRWLock for ReadFile Cache — Concurrent reads on cache hits instead of exclusive CriticalSection.
- Smarter PreciseSleep — Uses
SwitchToThread()for 0.3-2ms range. 15-30% less idle CPU usage. - Lua State Read Throttle — DLL→Lua API calls reduced from ~900/sec to ~124/sec.
🔧 Crash Fixes
- FIXED: Error #132 on game exit — DLL no longer touches freed game memory during process termination.
- FIXED: Error #132 from Entry Pool — Removed pre-allocated combat log entry pool. Engine's
SMemFreeon mimalloc pointers caused heap corruption during logout/AFK kick/arena transitions.
📦 Files
| File | Purpose |
|---|---|
wow_optimize.dll
| Main optimization DLL |
version.dll
| Auto-loader proxy (place next to Wow.exe) |
wow_loader.exe
| Universal loader (works with any Wow.exe) |
Installation
Copy wow_optimize.dll + either version.dll OR wow_loader.exe to your WoW folder.
Full changelog: see commit history or README.