TwoWeekGuildHelper 2.2.0
What's new
2.2.0 (public 2.2.0 / private 2.2.0p)
- New file TwoWeekGuildHelper_Social.lua (listed in the .toc after the main file; shares the addon namespace): guild panel (/twg panel, /twgp, minimap button; tabs Online / Dings & deaths / Leaderboards), ding and death toasts (dings, deaths, own dings, sound), close-call alerts, options panel (Settings API with InterfaceOptions fallback; every feature toggleable; HP threshold 10-50%, range 50-500 yd), one-time-per-session newer-version notice.
- Wire compatibility: every 2.1.x kind (D/L/S/N/T/Q/HI/A/C) keeps its format, relayWrite and the V self-whisper format are unchanged, so a 2.2.0 relay receives, ACKs and writes everything 2.1.x members send and the reader/server need no change. Q gains a trailing version field ("1<sub>Q</sub>2.2.0"; 2.1.x relays only match the kind). New kinds U (presence: ver<sub>level</sub>mapId; login + level/zone change, max 1 per 2 min) and W (close call: ver<sub>hp%<sub>mapId</sub>x</sub>y~level; in combat below threshold, max 1 per 90 s) are handled before the record path, never relayed or ACKed; 2.1.x clients drop them as unknown. All go through the existing token bucket (burst 4, 1 msg/1.5 s) and stay far below 255 bytes.
- Toasts/panel are fed by every record heard on the guild channel (or relay whisper) from any 2.x version, own roster observations and Deathlog guild deaths; deduped by name+level within 2 h.
- Site (preview, noindex): /members-preview/ leaderboards (fastest to 60, most dings this week, longest survival streak) and /members-preview/<Name>/ character pages (level, gear, milestones, timeline, death card), read-only from the existing members/hc tables, so data from older addon versions counts too.
- Tests: net_sim scenario 15 (2.2.0 relay vs 2.1.x members: old-format Q, unchanged L record relayed+ACKed, U/W not relayed/ACKed/logged) 74/74; new tests/social_sim.lua (version notice once, older ignored, 2.1.x bodies, close-call range/zone/throttle/malformed, slash) 11/11 for public and private.
This mod has no additional files

