0.5.1-beta
What's new
FactionRP Changelog
0.5.1
Added
- EXPERIMENTAL About pull feature by Duschgell, modified for protocol 6 by Symphicat (Tenaar Feiri): Added a button to the About tabs of x-fac profiles which you can click to request a person's About page. This is a very experimental feature, and it will not pull someone's profile if it's too large. If you pull someone's About page, it will be remembered for a while and you will not be able to pull it again for a while. There are a bazillion reasons why this would fail, MOST OF THEM INTENDED, so failure to pull is not necessarily a bug.
Changed
- About pulls now travel over the same delivery system as profile updates instead of a private channel, and that system now supports carrying arbitrary data for future features.
- Whisper probes now favour proven cross-faction contacts, i.e people whose profiles were pulled by TRP3 over Clubs/BNet. They get probed for FRP sooner.
- Outbound send rate doubled to 2 chunks/sec.
Fixed
- A failed send no longer stalls all outgoing comms until reload.
0.5.0
Added
- Elixir of Tongues reminder, restored from CrossRP: warns once per buff when less than three minutes remain, and the pop-up's Refresh button consumes an elixir to renew it.
/frp elixiropens the reminder pop-up on demand, so the Refresh button can be tried without waiting for the buff to run down.
Changed
- Protocol generation 6. Each supported generation is now described by a frozen dialect table (control schemas + profile codec), so older generations degrade gracefully instead of being amputated on every bump.
- Profile payloads serialize via native C_EncodingUtil CBOR in generation 6. Generation-5 peers are still served LibSerialize legs.
- The comms channel is now a permanent
frpcommsshared by all future generations. During the transition the client also joinsfrp5comms, so the older fleet keeps serving and being served. - Control messages are schema-driven: handlers read named fields instead of positional args, and each peer's generation is learned from its envelopes so legs encode at min(own, peer).
/frp debugnow opens a debug UI where you can toggle debug settings. Click the text frames to open a copy frame.
0.4.7
Changes
- Mouseover fetching now has a short grace period where you're not immediately interrupted if someone walks across your mouse.
Fixes
- Use UnitNameUnmodified over UnitName.
- Not all workflows in FRP were paused during restrictions, like roster building, but this is now fixed.
- Suspend pull machinery while held profile is fresh.
- Compress and decompress profiles via native C_EncodingUtil instead of LibDeflate.
0.4.6
Fixes
- Fix whisper backoff recovery after valid incoming messages, by Duschgell. A successfull whisper marked a player as reachable again, but we kept the old backoff and send attempts. So we knew this player was reachable, but still blocked our replies for up to 60 seconds. This is now fixed.
0.4.5
Changed
- On a dense mesh (more than 10 channel members), the fallback profile REQ is whispered to 3 random channel members instead of broadcast to everyone. Holders keep the ACK/OK arbitration, so only the best offer serves.
- Unicast serves now wait for the requester's OK grant like channel serves do. Denied or obsolete offers expire instead of costing a data leg.
- The mesh channel REQ now only fires while we hold no confirmed relay at all (BNet, guild, community). Failed contacts drop the subject to cooldown instead of broadcasting.
- Contact picks now come from per-tier shuffled decks (BNet, guild, community) instead of a cursor over a shared list order, so the same members no longer absorb everyone's first requests. Each contact still serves at most once per cycle.
- Fixed issue where Unicast REQ wasn't correctly prompting relays to pull a profile.
Fixes
- Sometimes a transition would cause realmnames to disappear from character data. If realmname is missing or unresolvable, drop relay probe.
0.4.4
Changed
- Mouseover profile requests are now delayed by 3 seconds, indicated by a progress bar on the tooltip.
- Attempt pull without delay when targeting.
Fixes
- Club roster was never built unless the Communities panel had been opened. It is now fixed.
- FRP now has a visible delay before it requests profiles. Targeting a person will still issue a request immediately.
/frp debug alltoggling was malfunctioning and didn't toggle all like expected.
0.4.3
- Fixed TRP3 version display
0.4.2
- Fixed
meshCountshadowing issue.
0.4.1
Fixes
- No longer read your own message to mesh channel.
0.4.0
Changed
- New protocol (again).
- Probe for relays faster.
- Only probe BNet friends if their current character is xfac.
- Re-scan Communities members when opening Communities Panel.
- Ignored members may now be reprobed if offline on re-scan.
- BNet friends confirm and recover faster.
- Scaling cooldown system for local mesh to spread load across users.
- More intelligent throttling across the board.
- FRP cache received profile metadata so to not clobber servers with pointless REQs.
- Progress indicator
- FRP now uses TRP's own functions to pull updated profiles. (and yes it's throttled)
- Profile requests are now serial: one subject at a time, asked of a single contact (BNet first, then guild, then community relays, round-robin). On contact failure or a stalled serve, total strangers (no shared club, group, or BNet link) get one channel REQ on the faction mesh: ACK offers collect for a short window and the freshest — judged by content claim and TRP3 directory last-seen — wins the grant.
- Received profiles suppress local re-requests for a while (REQ_HELD_TTL) while the profile still exists in the register; a purge releases it.
- Granted serves now expire on stall (no chunks for REQ_DATA_STALL) rather than only at the absolute data timeout, so dead serves free the request slot sooner.
- Now requests fresh TRP profiles from subjects being served, but only if server has already seen them before.
- Default profiles are now ignored and not served.
0.3.5
Changed
- NEW PROTOCOL VERSION!
- Stale copies should no longer regress a fresher profile in session. NOTE: This is still very sketch and may be unreliable, but it should at least not be any worse than it was. Hopefully :)
- REQ and ACK calls now also include additional metadata to help inform when who should serve what.
0.3.4
Fixes
- Entering a follower dungeon no longer kills profile requests with
attempt to concatenate local 'realm' (a nil value)(issue #26). A client mid-transition can report no realm at all, and the secrecy check cannot tell "absent" from "accessible": units whose realm cannot be read are now skipped instead of raising, and control envelopes stamp an emptyunitIDfield while our own realm is unknown — the wire's documented "not asserted" form — so requests keep flowing until the realm is readable again.
0.3.3
Added
- One-time version broadcast on login (issue #19): shortly after entering the
world a single
VER <version>control message is announced on the comm channel. Peers that hear a newer version than their own print an update notice in chat (deduped per session by the highest version announced)./frp statusnow shows the newest version announced by a peer.
0.3.2
Fixes
- No longer NOK on failed ack (was clogging our queue), just be quiet. Profiles REQs should transmit much quicker as a result.
- No longer requests xfac profiles from players in the same guild or community; TRP3 does that already.
- Message send rates now travel travel faster.
0.3.1
Fixes
- Channel reordering should no longer cause stale sends to pass on to the old channel index.
Changed
- Added debug option to display reorder ops:
/frp debug reorders - Messages have been slowed way the hell down.
- FRP now handshakes passively with potential relays, rather than fanning out on demand. This does have the effect of slowing down the rate of profiles when the mesh is thin.
- If too many serves are granted within 30 seconds, stop answering REQs
until the cooldown expires.
/frp relayswill show the mute countdown. REQnow includes subject unitID alongside GUID for validation. This helps serve profiles you haven't seen this session if they're already in the register.- Outbound send rate reduced to
SEND_RATE= 1 chunk/sec. - Whisper relays are now actively probed (
HELLO/HIover addon whispers, same lifecycle as BNet): candidates are probed in bursts of 3 every 2 min, confirmed relays are re-probed to stay fresh, and targets that ignore 3 probes are skipped for 30 min./frp relaysshows probing/ignored buckets. COMM_RELAY_LIMIT/GUILD_RELAY_LIMIThalved to 5 each — relay lists are maintained per client, so request coverage is distributed across the mesh.REQwhisper legs now reach only confirmed relays and known xfac contacts — unproven roster candidates are left to the probe rotation, so a request never whispers strangers.- Relays/contacts are skipped while the roster marks them offline, and
/frp relaysbadges each whisper relay with its leg membership ([C]/[G]/[C+G]) and resolves BNet accounts to character names. - Roster fix: a factionless guild record no longer hides cross-faction guild members — faction claims accumulate across clubs, unknown members defer to end-of-build.
- Probe fairness: never-probed candidates are targeted before re-probes (was front-of-roster-first, which starved deeper candidates until the front ones were ignored); guild members probe before community.
- Realm normalisation now strips spaces, hyphens and periods.
0.3.0
Changed — pull model (breaking protocol change)
- Profile data no longer floods. The push-gossip fanout is replaced by a
pull exchange: selecting an opposite-faction player (mouseover/target)
sends a single-chunk
REQ <guid>to the mesh; the first peer that can serve the profileACKs, is grantedOK, and pushes the data envelope directly to the requester. LaterACKs receiveNOK. Requests dedupe per subject, expire (15s no-ACK / 30s no-data), cool down per subject (60s), and are bounded (REQ_MAX_PENDING). - Hard protocol partition: every envelope carries
C.PROTO_MAJOR(currently 3) as a dedicated field, and receivers reject lower generations before any peer-state side effect — older or modified clients cannot confirm a relay, serve a request, or feed the cache. The comm channel is nowfrp3comms, so older clients sit on a disjoint channel entirely; on load and each re-join we also actively leave the legacyFactionRPchannel and any foreign-generationfrp<N>commschannel, since channel membership survives/reload. - Data is never relayed: inbound profiles are cached and injected into the
RP AddOn's register only. Local extraction (
Scanner) now publishes to the cache without touching the wire, so every client can serve what it has seen. - All control traffic is the FRP1 control channel — ordinary envelopes with
the reserved subject
_frpanddata = "FRP1 <verb> <arg>"— never cached, injected, or relayed, and harmlessly dropped by older clients. - Wire format documented in
doc/protocol.md.
Added
- Battle.net peer confirmation handshake (
HELLO/HI): BNet data andREQlegs go only to accounts that have proven they run the AddOn. Unconfirmed friends receive rotating probes; 3 unanswered probes ignore an account for 30 min (cleared early by friend-presence events). Confirmations expire after 10 min without fresh proof. - New
peersdebug category logging probes, confirmations, ignores, and REQ/ACK/OK/NOK exchange events./frp relaysnow shows BNet peer buckets and pending request/serve counts. TRP3Adapter:canServe(cheap existence check for the server path) and a rosterguid -> unitIDmap for resolving request subjects.
Changed
- Outbound pacing is a single dial:
C.SEND_RATEchunks/second (token bucket on the 0.2s tick) replacesSEND_BURST; default 7.5 (~50% lower). - Community/guild relay limits raised to 10 each — these legs now carry single-chunk control messages, not profile data.
sendChunks*return false on whole-leg queue drop so callers (probes, grants) only stamp state for sends that actually queued.RELAY_TO_FRIENDSand thebroadcastdebug category removed (no data fanout remains);/frp mem censusreports BNet peer and exchange counts.
0.2.3
Added
- Fractionalised debug flags:
/frp debugnow lists categories,/frp debug <category>toggles one (broadcast, receive, cache, queue, fanout, chunks, targets, stats), and/frp debug alltoggles everything. Existingdebug = truesettings migrate toall. /frp debug chunkslogs every wire chunk in and out (very noisy).- Pinned whisper targets (
/frp debug target) are now gated on thetargetscategory rather than the global debug switch. - Session-only traffic statistics while the
statscategory is enabled: message rates (rolling 60s + session), byte sizes (average and median), profile reassembly time (first to last chunk), per-leg transmit time, per-medium and per-leg breakdowns, cache outcome and error tallies, queue high-water marks, origin age, unique senders/subjects, and a 50-entry recent-message ring buffer. Inspect with/frp stats [section|last n|reset]orns.Stats.snapshot(). /frp memmemory diagnostics: forced-GC live memory reading,churn [n]allocation-rate sampling, andcensuslive counts of the internal tables.Util.newPoolshared table-pool primitive (acquire/release/size)./frp relaysinspects relay selection: learned relays/contacts, online roster candidates, and the last fanout's chosen targets per leg. Thefanoutdebug category now prints the picked names, not just counts.- Roster rebuilds are gated on
C_Club.ClubsHaveBeenLoaded, and a build that collected GUIDs but saw no faction values (member info still streaming) is discarded and retried afterC.ROSTER_RETRYseconds instead of publishing an empty-faction roster for a whole memo window. - The send queue is bounded at
C.SEND_QUEUE_CAP(384) chunks: a leg that cannot fit entirely is dropped whole (per-leg atomic), counted undersend_queue_dropin/frp stats errors. Prevents unbounded backlog when outbound demand exceeds the ~15/s drain capacity.
Changed
Allocation-churn reduction across the hot paths (measured via
/frp mem churn; the 40 MB sawtooth was garbage backlog, not leaks):- The send queue now holds pooled descriptor records instead of a closure
per chunk, ring-indexed (no
table.removeshifts); per-leg completion is flat fields on the last descriptor rather than alegDoneclosure. - Inbound transport contexts are persistent scratch tables (reused per event, never retained past the synchronous handler).
ChunkReassemblerbuffers key two-level by sender→msgId (no per-chunk key concat), parse headers positionally, pool buffer/piece tables, and return metadata as multiple return values instead of a meta table.parseMessage/buildMessage/chunkavoid split/join tables andstring.format.- Fanout: the five per-call closures are hoisted to methods/file-locals;
leg candidate lists, seen-maps and sent-key sets are wiped shared
scratch;
commUsageentries reset in place on window expiry; the Battle.net account list is memoized (C.BNET_MEMO= 15s) instead of a per-fanout friends-list scan. - The club roster rebuild writes into a persistent back buffer and swaps atomically, so the 45s rebuild no longer re-allocates O(roster) tables; the per-slice timer closure is hoisted.
receivedPendingrecords are pooled;injectOrderis ring-indexed;guidMemoentries reset in place; TRP3 injection unrolls its section map; the stats recent ring reuses entry slots.- Disabled debug/stats paths remain a single nil-guarded lookup.
- The send queue now holds pooled descriptor records instead of a closure
per chunk, ring-indexed (no
Debug log hooks and stats recorders are installed/removed with their flags instead of checking flags per call, so disabled debug facilities cost a single nil-guarded table lookup at each call site.
ChunkReassembler:addnow returns reassembly metadata (chunk count, first-to-last-chunk elapsed, duplicate arrivals) alongside the completed message, andprunereturns the number of dropped buffers.
0.2.2
Added
- Profile broadcasts now also happen over GUILD, via the same rules enforced by Communities broadcasts.
- Added
/frp purgeto purge cache. - Added
/frp debug targetto pin a relay target for testing, i.e/frp debug target Arru. - Added
/frp debug target clearto reset the pinned target.
0.2.1
Fixed
- Map scan breakage and duplicated results (issue #1): a gossip loop around
the RP AddOn's register flooded the comm bus while TRP3 scan traffic ran.
The Scanner now only re-originates for units the user actually selected
(mouseover/target) and collapses update events whose content version is
unchanged since our last originate (
lastSharedVersionguard), so our own register injections no longer cycle back as new gossip. - Unthrottled addon-message bursts contending with other add-ons during
bursts: outbound sends are now routed through Chomp (the ChatThrottleLib
wrapper TRP3 ships) on the
LOWpriority queue, with a raw fallback when Chomp is absent. Battle.net game-data sends are throttled the same way. - The hidden comm channel is joined only when not already joined; repeated joins fired channel-list churn events that could transiently confuse other add-ons' channel bookkeeping.
0.2.0
Added
- Re-broadcast profiles reported as received over the RP AddOn's own comm channels (TRP3 exchange protocol and MSP), debounced with a random jitter and drained through a capped queue so receipt bursts cannot flood the send queue.
- Cross-faction reach via communities: opposite-faction members of our own WoW clubs are pinged with capped addon whispers; confirmed FRP peers and known cross-faction contacts are preferred, with round-robin fair use so no member acts as a relay server.
- Registration into the RP AddOn's update/receipt signals (
ba05b62), plus tentative MSP support and MSP-version folding into content versions. - Directory injection: gossip-stored profiles populate the RP AddOn's register through a bounded queue (no more tooltip-only population).
- Best-effort GUID resolution helpers (unit tokens, Battle.net friends, club rosters) with memoization and incremental club-roster building.
- Expanded debug output and a richer
/factionrp status.
0.1.1
- Bump interface to
120100
0.1.0
- Initial implementation
- Implement communication protocol
This mod has no additional files

