aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 40043e0012737cbc0d30f5472583f1a36277f1f3
parent f2bce7723351bc8177974c7fbac047da647d622f
Author: anon <anon@example.com>
Date:   Fri, 23 Oct 2026 04:45:26 +0000

Plan thorough gameplay regression and Tab focus checks

Diffstat:
MTODO.md | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -473,6 +473,72 @@ and unresolved indoor lifecycle are explicit in [flight](docs/vehicles.md#yalmah - [ ] Deliver organization chat. Check: members receive it, nonmembers do not, and a slow member cannot stall other recipients. +## Thorough gameplay regression testing + +These checks are additional work, not claims that the existing feature tests +already establish complete gameplay correctness. Cover positive and negative +cases through native controls, with automation where practical. Compare server +state, SQLite records and the owner/observer UI; record reproducible steps and +expected results. Include fresh characters and existing characters, reconnects +and server restarts. Turn every reproduced bug into a focused regression test. + +- [ ] Capture Tab reliably while the WASM game has keyboard focus. Check: + repeated Tab presses cycle player/NPC/monster targets without moving focus + to Chrome's address bar; text fields and controls outside the game retain + normal keyboard navigation. Verify in Chrome with manual keyboard input. +- [ ] Reproduce and resolve disappearing equipment. Check: create and assign + items, then equip/unequip them through the native client; every instance is + accounted for in inventory, equipment or an explicit rejection, including + after reconnect and restart. The earlier player report is unconfirmed on the + current build and must not be dismissed solely because Go tests pass. +- [ ] Audit equipment acceptance and rejection. Cover every supported item and + slot, unsuitable slots, unsupported catalog equipment, insufficient skills, + locked slots, occupied destinations, swaps, repeated actions, interruptions, + full inventory and attempts to manipulate another player's items. Rejection + must restore a usable native UI without losing or duplicating an item. +- [ ] Audit item creation, assignment, movement and deletion. Cover exact + instance identity, full inventory, stale references, repeat requests, failed + saves, simultaneous actions and ownership checks across restart. +- [ ] Audit stacks and backpacks. Cover valid and incompatible merges, split + boundaries, full bags, prohibited nesting, transfers between bags, deletion, + reconnects with an open bag and conservation of every item and quantity. +- [ ] Audit combat scheduling and outcomes. Cover range boundaries, moving or + unavailable targets, repeated starts/stops, timing changes, equipment changes, + two attackers, lethal and nonlethal hits, queued native results and HP agreement. +- [ ] Audit ranged ammunition and reload. Cover empty/partial/full magazines, + matching/wrong/missing ammunition, insufficient stacks, repeated reloads, + reload during each attack phase, failed saves and round conservation across + equipment changes, reconnect and restart. +- [ ] Audit NPC pursuit, recovery and lifecycle. Cover multiple observers, + target loss, re-engagement, terrain boundaries, death during movement, + no-observer periods and restart during pursuit, return, corpse and respawn. +- [ ] Audit death, resurrection, insurance and reclaim. Cover each supported + item policy, saved/unsaved locations, repeated return/retrieval, full inventory, + failed persistence and restart at each transition. +- [ ] Audit corpse loot, credits and expiry. Cover entitled/unrelated players, + simultaneous pickup, partial looting, full inventory, stale windows, expiry, + repeat requests and persistence of both sides of each transfer. +- [ ] Audit consumables and skill locks. Cover self/friendly/invalid targets, + resource boundaries, combat and posture restrictions, last-charge removal, + overlapping locks, concurrent requests and restart during a lock. +- [ ] Audit nano learning and casting. Cover unmet requirements, duplicates, + missing resources, interruption/cancellation, invalid or changing targets, + recharge boundaries and interaction with queued weapon results. +- [ ] Audit derived stats and equipment bonuses. Cover equip/remove/reconnect, + combinations of modifiers, overequipping boundaries, native display versus + server arithmetic and removal of exactly the applicable contribution. +- [ ] Audit travel, vehicles and zoning. Cover eligible/ineligible users, + repeated boundary crossings, transport interruption, indoor/outdoor rules, + observer movement, arrival usability and restart at transition boundaries. +- [ ] Audit fresh-character initialization. Cover inventory, stats, resources, + learned programs, starter actions/preferences and separation between players. +- [ ] Audit disconnects, retries and failure handling across these features. + Cover transport replacement, stale sessions, action replay, database failures + and concurrent requests; success must follow the durable significant change. +- [ ] Run a repeatable two-client WASM regression scenario through the complete + supported gameplay loop. Record visible item accounting, combat feedback, + page errors, adapter failures and cleanup, alongside automated test results. + ## Checks that apply to each milestone - Exercise the native client path, not only a server helper or admin edit.