commit 20fe3e844d4f9afdca719028f9713767a193e820
parent 7652bcd9e3fb83b289ad8a5279485f2a426893e2
Author: anon <anon@example.com>
Date: Mon, 2 Nov 2026 14:09:11 +0000
Verify earned level nine and retained QL10 equipment
Diffstat:
4 files changed, 184 insertions(+), 12 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -786,8 +786,9 @@ for exact records, protocol, tests and remaining reconstruction assumptions.
kills now earn player level5, whose normal training unlocks the saved QL6
glove. The ordinary level-six boundary, training and two accepted QL8 promises
are now verified. Level seven, the saved QL8 armor and its earned training
- also pass; level eight onward and an original universal HP/XP/skill
- curve remain unverified. See the [native upper-range check](docs/mission-levels.md#native-level-four-upper-range-check),
+ also pass. Subsequent native runs verify levels eight and nine with retained
+ QL10 upgrades; higher levels and an original universal HP/XP/skill curve remain
+ unverified. See the [native upper-range check](docs/mission-levels.md#native-level-four-upper-range-check),
including zero/one-free-slot reward refusals, two-slot retry and complete item
accounting through reconnect.
A public-handler regression now covers the level4 -> 5 boundary, atomic
@@ -828,13 +829,29 @@ for exact records, protocol, tests and remaining reconstruction assumptions.
keep both unworn at this level. Both page reconnects retain 41 owned items,
1275 credits, 43 laboratory/47 recharger charges and ten completed contracts.
Fresh server/WASM startup conserves all 115 global physical records and the
- same state through both page reconnects; native level nine onward remains open.
+ same state through both page reconnects; native level nine is verified below,
+ while later levels remain open.
The separate public-handler level8 -> 9 regression checks the Agility30 cap,
4000-IP award, exact322+60 ability training, QL10 pants' strict equality
rejection with an empty destination and qualified pants/gloves wear/removal.
Every phase cold-loads retained identities, supplies, wallet and current HP;
- the shortened fixture does not establish earned native level nine. See
+ the shortened fixture isolates these gates from the ordinary native run. It
+ also checks atomic Dimach-cap refusal without Sense 8, the complete 839-IP
+ training batch and unbuffed QL10 bat wear/remove/rewear with cold conservation. See
[later earned-level regression](docs/character-progression.md#later-earned-level-regression).
+ The [native earned level-nine run](docs/mission-levels.md#native-earned-level-nine)
+ now verifies twenty full-health level-ten kills, the 4000-IP award without a
+ healing refill, the exact 839-IP native batch and six retained QL10 armor pieces
+ plus the bat. Five further full-health fights with those upgrades bring current
+ XP to 1725; five exact-book returns retain fifteen completed contracts. Normal
+ bank deposits preserve older loaded magazines, and newly delivered boots 342
+ wear/remove before the original boots restore. Both page reconnects and a
+ fresh server/two-client cold run retain all 125 items and locations, 44 owned
+ items, 1303 credits, 21 laboratory/47 recharger charges and all eight protection
+ totals. All 598 warm/20 cold traces have empty native/protocol error lists. Five
+ level regressions plus fifteen skill-training tests pass with 77 results; the expanded
+ level-nine regression passes under the race detector, and vet passes. Higher
+ player/encounter levels, broader families and original NPC scaling remain open.
- [x] Verify mapped Tiny Stalkers as a second ordinary early combat family.
Admit only SR01 at levels 2..4 through shared profiles, preserving medium
identity confidence, attack-selection uncertainty and provisional balance.
@@ -3468,6 +3485,12 @@ and server restarts. Turn every reproduced bug into a focused regression test.
recovery. Two unclaimed glove drops expired while still corpse-owned; neither
was an owned-item disappearance. See
[earned creature upgrades](docs/earned-creature-upgrade.md).
+ The retained level-nine continuation also accounts for all 44 owned instances
+ through seven QL10 upgrades, their replaced equipment, bank transfers and a
+ newly delivered uninstanced boot reward's wear/remove cycle. Every instance
+ replays with its physical ID after page and cold recovery. This expands the
+ verified paths while the broader report remains open; see
+ [native earned level nine](docs/mission-levels.md#native-earned-level-nine).
- [ ] [P2] Review nearly invisible original item icons separately from ownership
loss. Low-Tech sleeves 70561/85744 reference icon 1010008/13228: the original
14.9.1 PNG is almost entirely chroma-key green, with only a tiny shoulder in
diff --git a/docs/character-progression.md b/docs/character-progression.md
@@ -346,7 +346,7 @@ root tests and 82 test/subtest results normally and under the race detector.
[native earned level-eight run](mission-levels.md#native-earned-level-eight)
now verifies ten full-health fights, the 442-IP batch and cold conservation.
-`TestEarnedNinthLevelUnlocksRetainedQualityTenArmor` checks the level-eight
+`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
@@ -361,11 +361,22 @@ 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
-fixture does not establish ordinary earned level nine or original NPC balance.
-
-The new regression passes normally and under the race detector. The focused
-level-five through level-nine selection passes five root tests, and vet passes.
-Logs and source hashes are retained under `local/earned-nine/`.
+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](mission-levels.md#native-earned-level-nine)
+verifies ordinary full-health combat and the accepted 839-IP training batch.
## Retained evidence
diff --git a/docs/mission-levels.md b/docs/mission-levels.md
@@ -666,3 +666,87 @@ browsers and server. Evidence is retained under `local/earned-nine/`, including
and `cold-restock-verified.json`. This does not establish earned level nine or
original shop-stock membership. The separate Backyard1 bank rendering/picking
gap remains recorded in the TODO.
+
+## Native earned level nine
+
+Two native WASM clients continue the unchanged earned level-eight checkpoint:
+225 current XP, 24632 IP, 1173 credits, 93 laboratory charges and 27 owned
+instances, including five banked items. Four ordinary contracts supply twenty
+full-health level-ten encounters. Each begins with the owner at full 281 HP
+and the enemy at full 300 HP; ordinary targeting, Q and Fast Attack win every
+fight. The twentieth kill grants level nine, 225 current XP and exactly 4000
+new IP. Its native stat event raises maximum health from 281 to 288 without
+changing current-health stat 27; current health remains 180. Maximum nano
+becomes 38. No character, encounter or reward is edited for these fights.
+
+Exact book returns deliver QL10 helmet 315, body 321, bat 329 and body 335.
+The wallet reconciles as 1173 - 32 request fees + 57 corpse credits + 80
+completion credits = 1278. Conditional completion XP/tokens remain unresolved
+and are not awarded. Fourteen Monster Parts and the four rewards are retained;
+two exhausted laboratory instances are removed after their final charges.
+The remaining 32 laboratory and 47 recharger charges, all previous equipment
+and banked ammunition are accounted for. A normal medical-shop bank visit
+deposits spare parts 319/320/324/325/326, preserving the five prior banked
+instances and their loaded magazines. There are now 43 owned items: 33
+carried/worn and ten banked.
+
+The level-eight native Skills form first demonstrates the raw Agility 30 cap;
+CANCEL preserves all training and IP. After the earned level-nine award, one
+native batch trains Strength 24 -> 28, Agility 26 -> 31, Sense 7 -> 8,
+Brawling 21 -> 25, Dimach 11 -> 13, Sneak Attack 19 -> 23 and Fast Attack
+19 -> 22. Its preview and accepted server state agree on the exact 839-IP
+cost, leaving 27793 IP. Sense 8 lifts the ability-dependent Dimach cap enough
+for the bat's requirement. Raw 1h Blunt and Body Development remain 45;
+unbuffed effective 1h Blunt 51 already qualifies. Inventory and XP remain
+unchanged by training.
+
+The retained QL10 helmet 315, body 321, boots 269, right sleeve 280, pants
+302, gloves 308 and bat 329 equip through ordinary inventory/wear input.
+Replaced instances 257/147/283/262/169/245 remain carried; left sleeve 125 and
+lightbar 21 keep their original slots. The native Protection form shows
+163/146/161/124/29/29/29/29 in stat order 90..97, matching independent original
+endpoint interpolation plus the retained Low-Tech sleeve. The observer enters
+the backyard through normal travel for visual inspection; its private stats,
+inventory and progress remain unchanged. Newly granted spare body 335 initially
+uses the original uninstanced ACG reward proxy at its exact carried slot;
+the server retains its physical identity throughout.
+
+With those upgrades equipped, a fifth ordinary contract supplies five more
+full-health level-ten fights, bringing current XP to 1725. Its nine-credit fee,
+14 corpse credits and 20-credit return reward leave 1303 credits. Extra parts
+338..341 remain unclaimed and expire normally; native and server corpse
+retirement agree while all owned items remain. Exact book 337 returns for QL10
+boots 342. Eleven more laboratory charges are consumed, leaving 21 laboratory
+and 47 recharger charges. All seven upgrades remain equipped throughout combat.
+
+Thug's Delight expires naturally on the return. The native Melee form then
+shows unbuffed 1h Blunt 51, Sneak Attack 27 and Fast Attack 27; Protection keeps
+the same eight totals. Newly delivered boots 342 wear and remove through their
+original uninstanced reward proxy, then boots 269 restore to their original
+slot. Every one of the 44 owned instances survives. Both page reconnects replay
+the actual physical identities, including spare rewards 335 and 342.
+
+A fresh server and two fresh WASM clients load the unchanged stopped database.
+All 125 physical items and their locations, wallets, missions, 75 encounter records,
+keys, doors and learned programs match through both further page reconnects
+and final cold shutdown. Level nine/1725 XP/27793 IP, 1303 credits, full 288 HP/
+38 nano, all equipment, banked ammunition and supplies remain unchanged. The
+native Protection/Melee forms and both clients' appearance also pass. The
+observer's allocation cursor refreshes from 321 to the shared 342 without an
+item or private award change. Its seven owned items and private progress remain
+unchanged throughout.
+
+The final warm continuation passes in 6803.88 seconds and the cold check in
+339.35 seconds. All 598 warm and 20 cold traces have empty native/protocol error
+lists. Five level-five through level-nine regressions and fifteen skill-training
+tests pass with 77 tests/subtests; the expanded ninth-level regression also
+passes under the race detector, and vet passes. All owned test browsers and
+servers close normally. Evidence, checkpoint hashes and independent verifiers
+are retained under `local/earned-ninth-boundary/`, including
+`level-boundary-verified.json`, `training-verified.json`,
+`equipment-verified.json`, `fifth-contract-verified.json`,
+`boot-cycle-verified.json`, `checkpoint-verified.json` and
+`cold-20261102-060007/cold-verified.json`.
+
+These fights verify progression under the admitted provisional Leet profiles;
+they do not establish original NPC balance or higher encounter levels.
diff --git a/server/ninth_level_reward_test.go b/server/ninth_level_reward_test.go
@@ -7,7 +7,7 @@ import (
"time"
)
-func TestEarnedNinthLevelUnlocksRetainedQualityTenArmor(t *testing.T) {
+func TestEarnedNinthLevelUnlocksRetainedQualityTenArmorAndBat(t *testing.T) {
world, _ := newKillExperienceWorld(t, "unarmed")
player, client := world.characters[1], world.clients[1]
player.appearance = player.appearance&^(7<<4) | 4<<4
@@ -15,6 +15,8 @@ func TestEarnedNinthLevelUnlocksRetainedQualityTenArmor(t *testing.T) {
player.stats = defaultCharacterStats(4)
player.stats.Abilities = characterAbilitiesStats{24, 26, 23, 6, 7, 3}
player.stats.Body.BodyDevelopment, player.stats.Melee.OneHandBlunt = 45, 45
+ player.stats.Body.Brawling, player.stats.Body.Dimach = 21, 11
+ player.stats.Melee.SneakAttack, player.stats.Melee.FastAttack = 19, 19
player.stats.ImprovementPoints, player.health = 24632, 180
if err := world.saveUser_locked(player); err != nil {
t.Fatal(err)
@@ -30,8 +32,9 @@ func TestEarnedNinthLevelUnlocksRetainedQualityTenArmor(t *testing.T) {
{ID: 8, Type: 51022, Template: 85596, Quality: 10, Slot: 65, Count: 1},
{ID: 9, Type: 51005, Template: 25812, Quality: 1, Slot: 66, Count: 23},
{ID: 10, Type: 51005, Template: 25820, Quality: 1, Slot: 67, Count: 47},
+ {ID: 11, Type: 51018, Template: 122691, Quality: 10, Slot: 72, Count: 1},
}
- if err := world.saveInventory_locked(player, playerInventory{LastID: 10, Items: slices.Clone(items), Credits: 1275}); err != nil {
+ if err := world.saveInventory_locked(player, playerInventory{LastID: 11, Items: slices.Clone(items), Credits: 1275}); err != nil {
t.Fatal(err)
}
@@ -117,4 +120,55 @@ func TestEarnedNinthLevelUnlocksRetainedQualityTenArmor(t *testing.T) {
}
}
}
+
+ // The bat's Dimach requirement needs one more Sense point first.
+ before := player.stats
+ trained.Body.Brawling, trained.Body.Dimach = 25, 13
+ trained.Melee.SneakAttack, trained.Melee.FastAttack = 23, 22
+ if err := world.handleSkillTraining(client, skillTrainingRequest(trained)[20:]); err != nil {
+ t.Fatal(err)
+ }
+ cold = newTestInventoryServer(t)
+
+ for _, current := range []*server{world, cold} {
+ owner := current.characters[1]
+ if owner.stats != before || owner.health != 180 || !slices.Equal(owner.inventory.Items, items) {
+ t.Fatal("ability-capped Dimach training changed the batch or retained state", owner.profile(), owner.inventory)
+ }
+ }
+
+ // Accept the complete ability/special-skill batch and equip the held bat.
+ trained.Abilities.Sense = 8
+ if err := world.handleSkillTraining(client, skillTrainingRequest(trained)[20:]); err != nil {
+ t.Fatal(err)
+ }
+ for _, move := range [][2]uint32{{6, 73}, {72, 6}, {6, 74}, {74, 6}} {
+ request := inventoryMovePacket(1, move[0], move[1])
+ if move[0] < 64 {
+ request = itemMovePacket(1, move[0], move[1])
+ }
+ if err := world.handleInventory(client, request[20:]); err != nil || client.equipment == nil {
+ t.Fatal("qualified QL10 bat wear or removal failed", move, err)
+ }
+ world.advanceEquipment(client.equipment.readyAt)
+ for index := range items {
+ if items[index].Slot == move[0] {
+ items[index].Slot = move[1]
+ }
+ }
+ cold = newTestInventoryServer(t)
+
+ for _, current := range []*server{world, cold} {
+ owner := current.characters[1]
+ if owner.level != 9 || owner.experience != 150 || owner.stats.ImprovementPoints != 27793 ||
+ owner.stats.Abilities != (characterAbilitiesStats{28, 31, 23, 6, 8, 3}) ||
+ owner.stats.Body.Brawling != 25 || owner.stats.Body.Dimach != 13 ||
+ owner.stats.Melee.SneakAttack != 23 || owner.stats.Melee.FastAttack != 22 ||
+ owner.stats.Body.BodyDevelopment != 45 || owner.stats.Melee.OneHandBlunt != 45 ||
+ owner.health != 180 || owner.maximumHealth() != 288 || owner.inventory.Credits != 1275 ||
+ !slices.Equal(owner.inventory.Items, items) {
+ t.Fatal("QL10 bat lost exact 839-IP training, current health or retained instances", move, owner.profile(), owner.inventory)
+ }
+ }
+ }
}