Character progression: 14.9.1 protocol evidence
Character XP persists in SQLite and initializes the native experience bar. A provisional solo kill path now advances XP, levels and IP atomically; original reward balance and eligibility remain unresolved. Native IP spending persists validated skill/ability purchases. Classic insurance stores a cumulative protected snapshot and commits uninsured XP loss with death. The packet replay values below are test inputs, not historical creature rewards.
Durable experience state
The character's experience field stores XP earned within its current level.
The control editor accepts progress from zero through one less than that level's
requirement. Levels are restricted to 1 through 200; level 200 has zero further
progress. Editing these fields sets state directly and does not grant IP or
invoke a level-up event.
FullCharacter supplies cumulative XP 52, lower boundary 57 and upper boundary
350. A level-2 character with experience: 50 receives XP 1500, LastXP 1450 and
NextXP 4050, displaying EXP 50/2600. Initialization uses the full stat list rather
than a live XP update or NewLevelIIR_t, which would produce award feedback.
Ordinary profile saves and the unified control editor persist XP immediately;
position checkpoints do not replace it.
server/gamedata/experience.yaml contains 199 per-level requirements. The first
26 agree with the independently retrieved
Anarchy Online Experience table.
The remaining values are explicitly provisional, derived from adjacent cumulative
boundaries in the later CellAO XPTable.TableRKXP, at reference commit
ca77f375a7dabe3be769da94e6c2a3d093344c2c:
CellAO/Libraries/Source/CellAO.Stats/SpecialStats/XPTable.cs.
The retained source SHA-256 is
ab665c30761cf528374fec6a4d92346643c8a2ab498f4c893f41bc1267de935c.
That source's level-165 requirement column says 2213610, while the cumulative
boundaries 548119350 and 570255450 differ by 22136100. The maintained table uses
adjacent boundary differences consistently for every level; this conflict is
not evidence of the original server's value. Level 200's cumulative boundary is
2061453150. The complete source rows, conflict and extraction policy are retained
in local/progression-implementation-research/level-table-source.json.
Automated checks cover both shared and 14.9.1 initialization layouts, legal progress endpoints, invalid levels/negative/overflow/threshold values, immediate saves, position checkpoints, unrelated players, restart, and SQL failure/retry. These checks establish current persistence and display behavior, not historical accuracy of the provisional upper-level table or a kill reward.
Headed Chromium using the GPU exercised the normal HTTPS preview and published WASM client. The native Stats window showed EXP 0/1450 for a fresh character, 1400/1450 after a level-1 progress edit, and 50/2600 for level 2 with stored progress 50. Page reconnect and a cold server restart both retained 50/2600. A rejected progress value of 2600 left native and SQLite state unchanged. The current level-199 endpoint retained native cumulative XP 2061453149, and level 200 displayed 0/0 without a crash. These upper-level cases test the provisional table's implementation, not its historical accuracy.
Nine native-heap/SQLite comparisons matched. Across eight initializations and
12,500 captured world packets, the server sent neither a live XP-52 update nor
a NewLevelIIR_t event. IP remained 1500 throughout the direct level edits;
there was no XP-gain or level-up text on login. No page errors or unimplemented
adapter reports occurred. Evidence is retained under
local/progression-state-smoke/, including verification.json, screenshots,
wire captures and cleanup.json. The owned browser and test character were
removed; database foreign-key and integrity checks passed.
Validation passed: go test ./server/... -count=1, repeated
go test -race ./server -run '^TestExperience' -count=2, and
go vet -stdversion=false ./server/.... Full-suite and focused logs are retained
in local/progression-implementation-research/.
Absolute XP updates
The 14.9.1 kkr.dll stat reader sub_360B2E10 reads two network-order
integers: stat ID, then absolute value. sub_360B2E60 applies the update and,
for the local character's XP stat 52, computes the difference from the existing
value. It sends that signed difference to sub_3601D0B0 as event 35. A positive
difference produces the native XP-gained text and yellow floating number;
a negative difference produces the XP-lost text. A zero difference produces
neither. Repeating an absolute total therefore does not repeat its XP gain.
The existing server 0x2b333d6e stat packet reaches this handler. Its N3 owner
identity is 50000/character ID, and the body contains exactly two uint32s.
For example, 00000034 00000032 sets XP to 50. An additional server-generated
chat message would duplicate the native notification.
The relevant native stat IDs are:
| ID | Native name | Meaning established here |
|---|---|---|
| 52 | XP | Cumulative XP total supplied by the server |
| 53 | IP | Available improvement points |
| 54 | Level | Character level |
| 57 | LastXP | Lower cumulative boundary for the current level |
| 275 | XPKillRange | Separate value supplied by the level-up handler |
| 350 | NextXP | Upper cumulative boundary for the current level |
FullCharacter supplies initial XP and its level boundaries through stat-list
entries. The isolated live stat updates used for the earlier research below did
not persist through reconnect.
Level-up handler
sub_3607FE30 reads eight uint32s. sub_3607FF00 applies them in this order:
| Payload offset | Destination |
|---|---|
| 0 | Level 54 |
| 4 | IP 53 |
| 8 | XP 52 |
| 12 | LastXP 57 |
| 16 | NextXP 350 |
| 20 | TitleLevel 37, when positive |
| 24 | XPKillRange 275 |
| 28 | Signed XP notification delta |
For the local character it refreshes the XP/IP state, displays the new level
and invokes the native level effect. Its effect reference at object offset
0x40 is initialized by sub_3607FD90; it is not a ninth wire integer.
Registration 0x1000dd80 binds the exact class name NewLevelIIR_t to factory
0x1000dd00. Constructor 0x1007fd90 installs vtable 0x101717f8, whose reader
and activation are 0x1007fe30 and 0x1007ff00. The class-name XOR gives key
0x7f405a16; the replay below verifies activation in the shipped WASM client.
The original target has SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
The constructor resolves SM_Sandy_Game_Level_Complete into its effect field.
The positive title field also triggers profession-title congratulations. Send
zero when the title is unchanged; otherwise ordinary level gains announce the
existing title again. This was reproduced and corrected in the actual WASM
kill/level-up verification described in solo kill experience.
The activation also starts animation layer 6. Helper 0x100744c0 refreshes the
local XP/IP cache and open Skills view; it does not supply new health or nano
maxima. The handler alone does not establish resource refill policy, XP cap,
kill eligibility or original creature rewards.
Controlled WASM verification
The normal published WASM client received these packets from an isolated temporary server. Setting NextXP to 1450 supplied a known denominator; Ctrl+9 opened the native Stats window for visual checks.
| Absolute XP sequence | Native result |
|---|---|
| 0 to 50 | One 50 XP gain; EXP 50/1450 |
| 50 to 50 | No additional gain; EXP remains 50/1450 |
| 50 to 25 | One 25 XP loss; EXP 25/1450 |
| 25 to 100 | One 75 XP gain; EXP 100/1450 |
| 100 to 1000 | One 900 XP gain; EXP 1000/1450 |
In that earlier replay, page reconnect returned EXP to 0/0 because its initializer supplied no XP or NextXP entries. Supplying NextXP 2000 and XP 1000 then displayed 1000/2000. The denominator is server-supplied, not recovered from a client level table by this path.
Screenshots, packet logs, the isolated fixture and the REA evidence bundle are
retained under local/progression-smoke/. This checks native packet activation,
text, floating feedback and bar state. It does not prove a combat award,
eligibility policy, durable XP, or a level transition.
Level-up replay and cumulative XP
A separate isolated server replayed the recovered key against the normal WASM client. These are controlled packet inputs, not a creature reward or a durable production level transition:
- Set LastXP 0, NextXP 1450, IP 0 and XP 1400 through absolute stat updates. Native Stats displayed level 1 and EXP 1400/1450.
- Send NewLevel with eight integers
[2, 4000, 1450, 1450, 4050, 0, 0, 50]. Native Stats changed to level 2 and EXP 0/2600, and the Skills view showed 4000 unspent IP. Chat displayed the 50 XP award and new level without a separate server-generated chat message. - Set absolute XP to 1500. EXP became 50/2600, with one 50 XP notification.
- Repeat the NewLevel packet, then repeat it again with no intervening stat change. The native client repeated its XP-gain and new-level feedback; absolute IP stayed 4000. NewLevel is not idempotent presentation, so the authoritative level transition must emit it only once.
This establishes the native display as XP - LastXP over NextXP - LastXP.
The next level's per-level requirement is not itself the value for stat 350:
for level 2, LastXP 1450 plus a 2600 requirement gives NextXP 4050.
The initializer had explicitly supplied maximum HP 37 and maximum nano 35. Those maxima stayed 37/35 after NewLevel changed Level to 2. A production transition must therefore coordinate its new derived maxima and resource values with the level packet rather than expecting the packet to replace the initialized maxima. This replay does not establish the original server's healing/refill rule. Native nano prediction continued independently.
Page reconnect restored the production profile's level 1 and EXP 0/0. The
native Skills view showed 1500 IP when no IP stat was initialized, rather than
retaining the replayed 4000. That is an observed client fallback, not durable
server bookkeeping. This was deliberately a wire replay; it does not claim persistence or
complete the progression TODO checkboxes. There were no page errors or
unimplemented-adapter failures. Evidence, screenshots, packet logs and the
fixture are under local/level-up-smoke/. The native session was closed before
WASM testing, and test-owned browsers and the temporary server were closed
when the replay finished.
Fresh evidence is in local/reports/level-up-1491-evidence.json:
- Registration:
ev_a426ae39e15bb8194a5eb27d8031eac8f199e6cba3fb0e90516d3d49aa83bace. - Constructor/effect:
ev_a131d09b82cfce916c98ff48adf632c95292c8cf59c3a615f9ab0e549be4f013. - Eight-integer reader:
ev_9fc576814fa3c0cb841a8ebb0a8414693cd973c55e619cfe31c897f4d1e37a07. - Activation:
ev_9d17a646c8ff9ae10b437fca5f6c7c7b2400e084d3bf6a7e7bf526871ef755cb. - XP/IP cache refresh:
ev_fb961fabd0ac720cb05cacfcc8df24c106c2e0a442d4526eb50ed77aa4ebf178.
Historical rules and remaining implementation
The shipped cd_image/text/help/combat.txt says combat awards XP toward the
current level and a level grants IP. Improving skills and abilities.txt gives
4000 IP at level 2 and 20000 at level 50. These are direct 14.9.1 help resources.
They do not specify a creature reward or the full level-threshold table.
The local wiki scrape has no Experience or Level Parameters page. Its Leets
page gives weapon leads but no XP reward; see NPC balance evidence.
The later CellAO XPTable.TableRKXP starts with 1450 and 2600 XP requirements.
Independent period sources now corroborate those first thresholds:
- Experience Level List, post 4, September 28, 2002 is a player compilation from screenshots, last edited October 6. It explicitly describes XP needed from the listed current level to the next: level 1 needs 1450, level 2 needs 2600, level 3 needs 3100, and level 4 needs 4000. This supports the first transition independently of the emulator. The full partial table still needs checking; its level-57 entry is a suspicious discontinuity and must not be silently corrected or treated as authoritative. The retained evidence is an indexed/cached result because direct retrieval failed, not a successfully downloaded forum page.
- Anarchy Online Experience agrees for the first thresholds but labels rows by the level reached, starting at level 2. Its public response reports Last-Modified November 3, 2001. That is useful provenance metadata, not an authenticated archival timestamp. HTML and headers are retained with the replay evidence.
The source ledger is local/level-up-smoke/ao-xp-threshold-source.json.
The first 4000-IP grant is also directly supported by the shipped help cited
above. These sources establish neither a full 200-level threshold table nor
an XP award for the currently profiled level-1 Leet.
A further bounded catalog search checked all 290 shipped MonsterData stat
lists and all 87,611 item stat lists. None contains XP stat 52, and the Leet
17655 record has no established reward field. Twenty-five mission objects,
mines and Central Controllers contain authored XPBonus 341 values; their
activation semantics do not establish ordinary creature rewards. The decoded
population records expose no verified reward input. Raw records and the scan
ledger are retained in local/kill-xp-research/catalog-source-audit.json.
A January 16, 2003 firsthand account, post 28
recalls a 1200-XP team kill of a Virrulent Minibull. It omits creature/player
levels, team size and modifiers, so that number cannot define a solo creature
profile. The shipped target help supports XP from green/yellow kills, but the
majority-damage remains tip establishes loot rights rather than XP ownership.
The separate web and shipped-help ledger is
local/kill-xp-research/source-ledger.json. No reward or eligibility formula
was inferred from these searches.
A September 24, 2001 firsthand report says grey creatures awarded 1 XP. The shipped Target Information Indicator help describes nominal grey XP in one paragraph and no reward in another. This leaves the precise 14.9.1 grey policy unresolved; later zero-XP guides are not sufficient to decide it. Later XP-pool, research and daily-mission mechanics must not be imported into this pre-Shadowlands target.
The current solo implementation has explicit provisional reward/eligibility choices, atomic death/reward persistence and coordinated level/IP/resource updates. Original-server evidence is still needed for reward size, ownership, eligibility, caps, rounding, team allocation and refill policy. Current tests and their evidence limits are described in solo kill experience.
Later earned-level regression
TestFifthEarnedLevelUnlocksSavedQualitySixReward exercises public combat,
training and inventory handlers across level 4 -> 5. The isolated fixture starts
at 3950 XP and earns 100 XP, retaining 50 XP and gaining 4000 IP. It does not
measure encounter balance. A request exceeding the level-four Agility cap
retains both abilities, IP and the saved QL6 Metaplast glove.
The original glove endpoints interpolate to strict Strength >18 and Agility
20 comparisons. Training Strength 17 -> 19 and Agility 18 -> 20 costs 109 IP and still refuses wear at equality. The final Agility point costs 40 IP and allows wear, removal and rewear. Every phase cold-loads the same identity and quality, earned level, XP and trained stats. With Stamina 22 and raw Body Development 25, maximum health rises from 173 to 180 while current health stays 173, including cold reconstruction and the equipment lifecycle. The isolated fixture does not measure encounter balance; the ordinary native journey is recorded in mission levels.
TestEarnedSixthLevelUnlocksMeleeAndBodyDevelopmentTraining covers the next
server boundary with a controlled one-hit encounter worth 150 XP. A level-five
Atrox Enforcer at 4350 current XP cannot raise raw Body Development or 1h Blunt
from 30 to 35. The rejected batch preserves both skills and all IP, including
cold reconstruction.
The kill earns level six with zero remaining XP and awards 4000 IP exactly once. The native level-up payload retains cumulative XP 15650 and the next threshold 20650. The observer receives the visible level without private XP or IP. Training both skills to 35 then costs 160 IP each, reducing 18324 to 18004. Maximum health rises from 200 to 207 on leveling and to 227 after training; current health stays 150 throughout. Every accepted phase cold-loads the exact weapon, laboratory, shirt and wallet. This fixture checks bookkeeping rather than native encounter balance. The separate ordinary earned level-six run now verifies the boundary and the same training cost through the WASM client.
TestEarnedSeventhLevelUnlocksRetainedQualityEightArmor checks level six to
seven with a controlled 150-XP encounter at 4925 current XP. An above-cap
training batch preserves raw abilities, IP and both saved QL8 rewards. The
kill leaves 75 XP and awards 4000 IP while maximum health rises from 227 to
234 and current health stays 150.
Training Strength 19 -> 24, Agility 21 -> 26, Body Development 35 -> 40 and 1h Blunt 35 -> 40 costs exactly 705 IP, leaving 21087. Maximum health becomes 254 without refilling current health. The retained QL8 pants can then be worn; removing the QL5 body preserves it in inventory before the QL8 body is worn. Cold reconstruction after each equipment move retains every identity, quality, slot, charge count, wallet and trained stat. The controlled encounter isolates progression bookkeeping and does not measure original encounter balance. The ordinary earned level-seven run verifies the same training and saved rewards through native input.
The focused progression/training selection passes 18 root tests and 75 total
test/subtest results both normally and under the race detector. It includes
all three later earned-level regressions and the skill training suite.
go vet ./server/... also passes.
TestEarnedEighthLevelNeedsStaminaForBodyDevelopmentTraining isolates the
level-seven to eight boundary with a controlled one-health level-ten Leet.
At level seven, a request to train raw Body Development and 1h Blunt from
40 to 45 leaves skills, IP, health and retained items unchanged. The kill
crosses 5350 current XP to level eight with 150 remaining and awards 4000 IP.
Maximum health rises from 254 to 261 while current health stays 150.
Stamina 22 permits Body Development 43 under the original floating-point ability limit. Requesting 44 together with otherwise qualified 1h Blunt 45 rejects the entire batch. Raising Stamina to 23 and both skills to 45 in one batch costs 442 IP. Maximum health becomes 281 without refilling current health. Cold reconstruction conserves the exact worn QL8 bat, body and pants, laboratory and recharger counts, wallet and trained stats. This fixture checks progression and training bookkeeping; its shortened encounter does not measure native combat or original NPC balance.
The focused earned-level, skill-training and cash-trade selection passes 20
root tests and 82 test/subtest results normally and under the race detector.
go vet ./server/... also passes. The separate
native earned level-eight run
now verifies ten full-health fights, the 442-IP batch and cold conservation.
TestEarnedNinthLevelUnlocksRetainedQualityTenArmorAndBat checks the level-eight
to nine boundary with a controlled one-health level-ten encounter. At level
eight, raw Agility is capped at 30, so the requested Strength 28/Agility 31
batch leaves both abilities, IP and retained QL10 pants/gloves unchanged. The
kill crosses 5850 current XP to level nine with 150 remaining and adds exactly
4000 IP, raising 24632 to 28632. Current health stays 180 while the maximum
rises from 281 to 288.
Training Strength 24 -> 28 and Agility 26 -> 30 costs 322 IP, leaving 28310. After removing the old pants to a free bag slot, the new QL10 pants still fail their strict Agility >30 requirement. No equipment delay starts, and cold loading retains both identities and all items. The final Agility point costs 60 IP, leaving 28250; pants/gloves then wear, remove and rewear through the public inventory handler. Each move cold-loads exact identities, qualities, placements, supplies, wallet, progress and unchanged current health. This controlled encounter does not establish original NPC balance.
The retained QL10 bat also needs Brawling 25, Dimach 13, Sneak Attack 23 and Fast Attack 22. Requesting that batch with Sense 7 rejects every change because Dimach exceeds its ability-dependent cap. Including Sense 8 accepts the batch for another 457 IP, making 839 IP spent in total and leaving 27793. Raw 1h Blunt remains 45. The bat then wears, removes and rewears through the public inventory handler; every phase cold-loads the same instances, supplies, wallet and current health 180/288 without a healing refill or an active skill buff.
The extended regression passes normally and under the race detector. Five
level-five through level-nine regressions and fifteen skill-training tests pass
with 77 tests/subtests; vet also passes. Logs and source hashes are retained
under local/earned-ninth-boundary/. The separate
native earned level-nine run
verifies ordinary full-health combat and the accepted 839-IP training batch.
TestEarnedTenthLevelNeedsStaminaForBodyDevelopmentTraining checks the next
boundary with a controlled one-health level-ten encounter. At level nine, a
batch requesting Stamina 28 and raw Body Development/1h Blunt 55 exceeds the
level cap and changes nothing. The kill crosses 6350 current XP to level ten
with 150 remaining, awarding exactly 4000 IP. Maximum HP rises from 288 to 295
while current HP stays 180. The same skill batch without the Stamina increase
still fails atomically at the ability cap.
Stamina 23 -> 28 and both raw skills 45 -> 55 cost exactly 1115 IP, leaving
30678. Effective unbuffed 1h Blunt becomes 62 and maximum HP becomes 339,
without refilling current HP. Every phase cold-loads the same worn QL10
bat/body/pants, laboratory/recharger quantities and wallet. This shortened
fixture checks progression bookkeeping. The separate
native earned level-ten run
verifies ordinary full-health fights and the accepted 1115-IP batch; neither
check establishes original encounter balance. Six level-five through level-ten
regressions and fifteen skill-training tests pass with 78 tests/subtests. The new regression
also passes under the race detector; vet passes. Evidence is retained under
local/earned-tenth-boundary/.
Retained evidence
The selected relocated kkr.dll has SHA-256
241b2e665dcd127399b7686cddda8a5b0876d9cde9b3af7a73940dd0b86ecaa7.
Addresses above match the maintained C; the original image uses base 0x10000000.
The retained REA records include:
ev_71de25ca97028cbe39246931e9796ac1611d0f0ef2af8cb2273a2cb0e6ec3d1b: native XP text and floating-number dispatch.ev_c6f3c07ad85e3320e8c3470983fd7013fbd6e63efcf372dce38cbed5f5b2e15c: level-up handler and its stat destinations.ev_ab7d10f59d50dc04cc9963ad3caa75ba4cd59700fa653ca0af8772e1ba6ba72f: absolute stat handler, including the XP difference calculation.ev_0f7196988995b41fc8562c622169040afd8288fc6e0f700820d1aa83abf8f2fa: stat-name registration, including XP/IP and the named progression stats.
Other handler decompilations are included in the same local bundle. Static analysis establishes branches and field use; the controlled browser replay separately establishes activation of the absolute-XP path.