Original 14.9.1 team loot wire audit
Read-only generated-source and PE audit, 2026-10-23. No runtime observation or shared REA session was performed. Addresses below are original PE VAs. Generated KKR addresses add 0x26000000; DDR addresses add 0x1b000000. Duplicate generated function copies were deduplicated by instruction address.
Identities and sources
anarchy-vanilla-14.9.1/kkr.dll, image base10000000, SHA-256a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.anarchy-vanilla-14.9.1/ddr.dll, image base10000000, SHA-2563c937161de8f690351c3c08e158431417cee9ced77a41b677e7123b61a8c9883.anarchy-vanilla-14.9.1/eer.dll, image base10000000, SHA-25699bc32ca57356aa227e6f78dfe544f8fe16f9ca694a6dee6d3846a36c5a2a6ff.- Generated sources are under
local/client/game-14.9.1/. - Shipped help:
server/assets/anarchy-assets-14.9.1/cd_image/text/help/Team Commands.txtandTeamHelp.txt. They establish Leader = leader only; All = anyone in the team, default; Alpha = repeating alphabetical order. Neither establishes the native integer values or server algorithm details.
Minimal contract (high confidence static observation)
Use existing CharacterAction key 5e477770 and the sender's normal character
envelope. The key is already established by docs/teams.md; this audit directly
confirms construction of the same CharacterActionIIR_t, not a new key hash
derivation. Identities in this table are the two pairs AFTER the action integer.
| Direction / purpose | Action | First pair | Second pair |
|---|---|---|---|
Client set /team loot all |
127 (7f) |
{0,3} |
{0,0} |
Client set /team loot leader |
127 | {0,4} |
{0,0} |
Client set /team loot alpha |
127 | {0,5} |
{0,0} |
Client query /team loot |
145 (91) |
{0,0} |
{0,0} |
| Incoming native set feedback | 127 | {unused,mode} |
unused |
| Incoming native current-order feedback | 145 | unused | {unused,mode} |
The query RESULT uses the second pair, unlike the set result. Native consumers read only the pair's second word here. Zero the unused words/pairs for a minimal server producer. This zeroing is an implementation recommendation; the native consumer does not constrain all unused incoming words.
The mode integer is all=3, leader=4, alpha=5, not 0/1/2. KKR initializer
1003bf9a..1003c096, source kkr.dll/lifted-0019.c, builds the map at original
10306418: key 1 team (101bf07c), key 2 loot (101bf074), key 3 all
(101bf070), key 4 leader (101bf068), key 5 alpha (101bf060).
1003e3c0 / export fStringToTeamCmd(const char*), source
kkr.dll/lifted-0020.c, traverses that map and compares through MSVCRT _stricmp
(IAT 1016f19c). Unknown text returns 0 at 1003e42d; valid text returns the
node key at 1003e432. Because the same map contains team and loot, a hostile
or ordinary invalid mode can produce 0, 1, or 2: server validation must whitelist
3/4/5. Native producer does not do that validation after converting the mode.
Command producer and local checks
- Export
N3Msg_TextCommand, KKR10022f40, sourcelifted-0014.c, forwards to command object10072000and parser10053be0. - Parser's
/teambranch is100542dd..100544db, sourcekkr.dll/lifted-0026.c. This range is inside10053be0, although overlapping generated fragments also have later synthetic entry functions. 100542f9gets the actor's team component with10071e40. A zero first word emitsYou are not a member of a team!(literal101c20e8) locally and sends no request.- Bare
/teamemitsAvailable team commands:,/team loot, and/team loot [all/leader/alpha](literals101c20cc,101c20c0,101c20a0). - Token
lootmust map to 2 (1005439f..100543aa). The next token is optional. Missing mode constructs action145 at100543ef..10054407; both pair pointers are null identity102ea510. It sends through imported world send at1005441d(IAT1017004c). - With mode present,
10054431..1005444ecompares actor identity{actor+4,+8}to team component leader identity{team+18,+1c}. Failure emitsOnly team leader can change loot order!(101c2078) locally and sends none. - Success calls mode conversion at
1005445d; local pair is{0,returnValue}at10054464..1005446b; constructor receives action127 at10054481..10054495. Send occurs at100544ab. No mode validation follows the conversion and no extra trailing-text payload is constructed. - DDR chat parser
1000d540, sourceddr.dll/lifted-0003.c, has a bareteamhelp branch at1000fb0d, usingteamand/showfile Team Commands.txt. EER exportN3Msg_TextCommandis100056f0. World loot parsing and request construction are conclusively in KKR above; no distinct EER loot request producer was found in the export search.
IIR layout and native receiver
KKR 1007d4b0, source kkr.dll/lifted-0036.c, constructs a 0x34-byte
CharacterActionIIR_t (literal type name 101b401c). Constructor arguments:
owner identity, first pair, action integer, second pair. Object fields:
+20 action, +24/+28 first pair, +2c/+30 second pair.
1007d600writes action throughBinaryStream << int(IAT1016faec), then both identity pairs via1015b840.1007d5c0reads the same shape (BinaryStream >> int, IAT1016fa8c, and identity helper1015b870).- Activate
1007d640resolves the owner, passes second pair, first pair, action to its virtual method+a4. The implementation is dispatcher1006fa30, sourcekkr.dll/lifted-0033.c. - Dispatcher takes
(action, firstPair, secondPair): firstPair is saved in EBX from[ebp+c]at1006fa7f; secondPair is[ebp+10]. - It dispatches action-1 via byte table
10070d6cthen pointer table10070c08. Actual original PE bytes: action127 index byte at10070dea= 50; pointer at10070cd0=1006fcfb. This branch reads[firstPair+4]and calls10076d80at1006fd08. - Action145 index byte
10070dfc= 61; pointer10070cfc=100707ea. This branch reads[secondPair+4]and calls10076dd0at100707fa. - Team methods
10076d80and10076dd0, sourcelifted-0034.c, convert throughfTeamCmdToString(int)at1003e320, then emit respectivelyTeam looting set to: %s(101c45d4) andCurrent team loot order is: %s(101c45ec) via1001c590 -> 1001c8c0. These methods only format/output text; neither stores a client team loot-mode field. No caller-local gate is present around these two dispatch branches.
Related corpse consumer, not fully audited
KKR 1008c740, source lifted-0041.c, receives four arguments from the handler
at 100aff59 (lifted-0052.c): identity at source object +a8, integer at
+9c, mode at +a0, and member/list pointer at +a4. It uses mode through the
same fTeamCmdToString and special-cases mode3 at 1008c8cc to emit
All team members can loot these remains.. (101c590c). Other modes may emit
%s can loot these remains...(loot order: %s) (101c58dc). This corroborates
the all=3 mapping. The containing IIR key/layout is not recovered in this audit;
do not fabricate it from these offsets. This is an exact follow-up seed if corpse
owner/status replication requires implementation.
Limits and unanswered server rules
- Static client code establishes request, result and UI text, not original server recipient selection. Broadcast action127 to all accepted members is plausible but not proven by this audit; action145 should answer the querying actor.
- No native proof here of reconnect/join unsolicited loot-mode announcement, leader-change reset, disband reset, query restrictions beyond membership, or a persistent client-side mode field. The reply text is sufficient for native query/status handling.
- No original rejection reason integer is recovered for forged nonleader or malformed mode requests. The normal client blocks nonleaders locally.
- Help establishes alphabetical repeating Alpha behavior but not sorting collation, absent/dead/out-of-range members, rotation advancement, corpse owner retention after team changes, or permission expiry. These require separate server policy research and tests.
5e477770packet key is inherited from existing independently established team protocol work; full type-name-to-key derivation was outside this bounded pass.- No retained REA EvidenceIDs are invented here. Root should independently retain parser10053be0, converter1003e3c0, initializer1003bf9a..1003c096, IIR1007d4b0/1007d600/1007d640, dispatcher1006fa30 and feedback10076d80/10076dd0.