aorecomp

Anarchy Online classic in the browser

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


commit 899105ecac4ce99d6c551896592165b95728b8a9
parent 16ece231ba59e5df513264511b4ffbe981641882
Author: anon <anon@example.com>
Date:   Sun, 25 Oct 2026 16:32:30 +0000

Catalog healing-over-time and movement-control nano contracts

Record the independent original-resource census: forty ordinary HoTs and
individual crystals, fifty-two roots, twenty-one snares and their seventy-three
crystals. Preserve complete mixed-effect boundaries, profession/level criteria,
strains and decoder evidence in the research ledgers.

Explain native root permission counters and inverse, the server-correction
bypass, signed snare modifiers and the client-only 53117 consumer. Corroborate
numeric break labels with the retained AOPPA map and pinned public enums,
without treating those labels as original-server event/roll proof.

Keep HoT, root and snare gameplay open until full delivery, threat and break
contracts can be honored. Add concrete lifecycle, atomicity and negative checks
to TODO instead of enabling partial spells. Catalog verifiers pass 413 and
4,642 original resources; native provenance/source checks pass 26 complete
matching records and 38 maintained function extracts. No production or client
behavior changed, and no fresh native analysis session was opened.

Diffstat:
MTODO.md | 33+++++++++++++++++++++++++++++----
Adocs/nano-control.md | 100+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mdocs/nano-healing.md | 42++++++++++++++++++++++++++++++++++++++++++
3 files changed, 171 insertions(+), 4 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -354,7 +354,10 @@ for exact records, protocol, tests and remaining reconstruction assumptions. - [ ] Give one hostile creature proximity aggression. Check: an eligible nearby player is attacked while an ineligible or out-of-range player is not. - [ ] Switch targets using damage threat. Check: a controlled two-player fight - selects the expected target and removes disconnected targets. + selects the expected target and removes disconnected targets. Keep threat + separate from damage credit and XP. Support authored TauntNPC53117 amounts + through that same threat system before admitting the complete root/snare + contracts; verify zero damage, target switches, disconnects and failed saves. - [ ] Navigate around one simple obstacle. Check: a pursuing creature takes a valid route around a wall rather than walking through it. - [x] Recover NPC resources outside combat. Check: one profile follows an @@ -826,10 +829,32 @@ introduction and starting-item gameplay remain open below. phase policies are explicit reconstructions. Establish acquisition for Izgimmer's Death of a Thousand Cuts 28615, and remaining mixed/short-lifetime contracts before admitting them. +- [x] Audit complete ordinary heal-over-time templates and crystals. Check: + reparse the original records, preserve all effects and criteria, distinguish + periodic HP Hit from passive HealDelta, and identify shared strains. The + bounded group contains 40 programs/crystals: 18 Doctor, 11 Fixer short and + 11 Fixer long. See [healing contracts](docs/nano-healing.md#periodic-healing-contracts). - [ ] Apply one heal-over-time effect. Check: recovery ticks stop at expiration - and clamp resources correctly. -- [ ] Apply one root or snare. Check: movement changes and recovery/break rules - agree between the server and native client. + and cancellation, clamp resources correctly and survive the appropriate + logout/restart policy. Resolve the shared incoming-weapon HP delivery + dependency; do not substitute idle-only healing. Cover friendly targets, + shared short-HoT strain12, independent long-HoT strain255, real/visual + profession and level criteria, replacement, death and atomic failed ticks. +- [x] Audit original root/snare templates and native control consumers. Check: + retain complete contracts for 52 ordinary roots, 21 ordinary snares and all + 73 crystals; verify movement permission, signed modifiers and inverse paths. + Server corrections bypass the native root gate, so authoritative simulation + must stop too. See [root/snare findings](docs/nano-control.md). +- [ ] Apply one root or snare. Check: authoritative and native movement agree + during roaming, pursuit and return; roots retain the ability to attack, + while snares use effective RunSpeed. Honor the whole authored contract, + including TauntNPC and any HeadText. Verify refresh/replacement, expiry, + death, late observers, cold restore and failed persistence. +- [ ] Verify shared root/snare break handling. Check: bind authored stats385, + 386 and422 to evidenced nano/debuff/weapon events and honor flags. Exercise + ordinary/special attacks, misses, resisted casts, periodic damage, zero/100 + boundaries and deterministic success/failure outcomes. Effect removal and + the triggering significant outcome must commit atomically before delivery. - [ ] Coordinate a nano with weapon combat. Check: casting, interruption and recharge follow shared action rules without accelerating either action. diff --git a/docs/nano-control.md b/docs/nano-control.md @@ -0,0 +1,100 @@ +# Root and snare contracts + +Roots and snares have different original operations. A root restricts movement +permission through RestrictAction53068, mask4. A snare adds a negative modifier +to RunSpeed156. Neither family is enabled by this research milestone: the +complete server contract also includes taunt, break handling and authoritative +movement, which remain open. + +## Original catalog + +An independent census reparsed all 4,366 original 14.9.1 nano records with no +undecoded tails. The bounded ordinary group contains 52 single-target roots +and 21 single-target snares, each with an individual single-program crystal. +All records, typed/opaque arguments, criteria, attack/defence dictionaries, +flags, source offsets and payload hashes remain under +`local/nano-root-research/catalog/`. Its verifier checks 4,642 unique original +resources, including wrapper and uploader candidates. + +Roots use strain146 and contain RestrictAction followed by TauntNPC53117. +Entrap Victim56209 also contains HeadText53057(`Rooted!`,0). Snares use strain145 +and contain Modify53045(156, negative amount), followed by TauntNPC. All these +functions are unconditional selected-target3, count1, interval0. Admitting the +movement portion alone would discard other authored effects. + +Most ordinary flags are0x180a8; Malaise of Movement42110 uses0x800180a8. Void +Inertia55993, Burden of Atlas56028 and Leisurely Interrogation56207 instead use +0x18088 and authored stat386=0. Attack/defence weights include both NanoResist168 +and Level54; reducing the dictionary to NanoResist alone loses data. + +| Program | Crystal / QL | Original movement effect | Duration | +| --- | --- | --- | --- | +| Malaise of Movement42110 | 42111 / 1 | RestrictAction mask4 | 15 seconds | +| Momentary Daze43368 | 43381 / 1 | RestrictAction mask4 | 15 seconds | +| Feet of Stone56027 | 56178 / 14 | RestrictAction mask4 | 27 seconds | +| Passive Micro Entanglement82518 | 82800 / 4 | RunSpeed -100 | 324 seconds | +| Lesser Stumbling Steps82528 | 82816 / 4 | RunSpeed -60 | 312 seconds | + +Area wrappers/payloads, periodic pet auras, mines, self restrictions and mixed +damage/control programs remain separate complete contracts. The census also +retains them; their presence does not imply ordinary single-target admission. + +## Native control and movement + +Matching original KKR evidence establishes that the common executor admits +RestrictAction. Handler100c17f0 normally calls10059a80, decrementing a counter +for each restricted permission bit. Movement bit4 is cleared when its counter +is nonpositive. Inverse calls10059930, incrementing and restoring the bit only +when positive. Two overlapping restrictions therefore require two removals; +a boolean toggle would restore movement too early. Stat224 bit4 means movement +is allowed, rather than indicating a positive rooted state. + +Original follow steering10048430 checks permission4 before advancing position. +Its NPC follow callers also reach this gate. However, FollowTarget activation +1007e690 accepts a nonzero server position correction before installing its +route, without checking movement permission. The Go server must stop simulation +movement and publish the stop/current position; sending action177 alone can +still leave a rooted NPC moving through server corrections. Not every native +path-guide branch was established by this bounded trace. + +Signed Modify uses the common accumulator10074730 and inverse10074b00. +Removing a negative RunSpeed modifier subtracts that same negative amount; +no spell-specific restoration value is needed. RunSpeed updates refresh the +attached vehicle. Movement scalar defaults/floors and every NPC route policy +remain separate from this modifier/inverse evidence. + +The ledger at `local/nano-root-research/native/README.md` links 26 complete +matching original evidence records, 27 selected original decompiles and 38 +maintained function extracts with source hashes. For example, RestrictAction +is in `ev_b36e6b8b14d9f960dd1705c8d5cd0779c3be3306d575aa456b07008bdb956f40`; +the permission counters are in +`ev_21b6bf56ea3b01fefafecdb673e392142538e12a995ac4070c4b8a8f1a26f59b`. +Maintained C is an instruction lift, not original source or runtime proof. +No new native session, binary open or client edit occurred. + +## Break events and threat + +The retained [AOPPA decoder map](https://github.com/Noeda/aoppa/blob/d6ba0119970898a660195403960b5b50c654a80f/output-xml.map) +labels stat385 as chance of break on nano,386 as chance of break on debuff and +422 as chance of break on attack. Its effect notes identify53117 as taunt. +The pinned [CellAO enumeration](https://github.com/CellAO/CellAO-NightPredator/blob/ca77f375a7dabe3be769da94e6c2a3d093344c2c/CellAO/Libraries/Source/CellAO.Enums/StatIds.cs) +agrees on385/386 but calls422 `chanceofuse`. These are public decoder/emulator +interpretations. They do not establish the original server's roll timing, +denominator, handling of misses/resists/periodic damage, flag mapping or atomic +cancellation order. Source hashes and exact checks are retained under +`local/nano-root-research/sources/`. + +The native53117 consumer100c2100 reads but discards the authored magnitude and +checks NPC targeting/attack permission. It provides no magnitude-dependent hate +accumulation or authoritative target switching. The server needs a threat path +separate from damage credit and XP; treating taunt as damage would corrupt +rewards. A bounded search of152 maintained KKR files found literal385/386/422 +initialization, with no established break-event consumer. This does not rule +out dynamic accesses or behavior in other modules or the original server. + +Before admission, verify complete effects, movement during roaming/pursuit/ +return, continued attacks while rooted, strain replacement, expiry/death and +late/cold replay. Break-event tests must include weapon/special/nano outcomes, +misses/resists and periodic hits, deterministic chance boundaries, and failed +write/COMMIT rollback of both removal and the triggering significant outcome. +The corresponding gameplay TODOs remain open. diff --git a/docs/nano-healing.md b/docs/nano-healing.md @@ -88,6 +88,48 @@ RTTI and 23 new complete evidence records are under `local/combat-heal-derived-item-research/`. Its owned analysis session was closed. This narrows the unresolved delivery search; it does not enable healing casts. +## Periodic healing contracts + +An independent census reparsed all 4,366 original nano records and 83,245 item +records. It found 102 programs with a repeated positive HP27 Hit53002. Forty +form a bounded ordinary group, each with one unconditional selected-target +Hit and an individual single-program crystal. All authored metadata, function +arguments and both program/uploader requirement expressions were retained; +the census does not query the server's admission predicates. + +| Family | Programs | Strain | Authored count and interval | Lifetime | +| --- | ---: | ---: | --- | --- | +| Doctor | 18 | 12 | 28 at 500 centiseconds | 140 seconds | +| Fixer short | 11 | 12 | 40 at 500 centiseconds | 200 seconds | +| Fixer long | 11 | 255 | 90/120/150/180 at 1,000 centiseconds | 15/20/25/30 minutes | + +The two short families therefore share replacement handling; the long family +has an independent strain. All require BM/MM/TS thresholds. Doctor and short +Fixer programs check VisualProfession368; long Fixer programs check real +Profession60, and ten also have level criteria. Program and crystal predicate +order can differ while expressing the same complete AND condition. Ordinary +metadata includes flags0x10002/0x80010002 and school405=2. Tick count times +interval equals lifetime for all 40. These definitions do not prove the +historical server's first-tick phase or offline timing. + +The other 62 positive-HP contracts include mixed/team effects, special Phoenix +records and Mongo children; they cannot be admitted by executing only their +HP portion. Ten passive HealDelta programs were retained separately. Their +stat343 modifiers are not periodic Hit effects. Bulk TESTITEM uploaders are +also separate from the forty individual crystals. + +The implementation dependency remains the combat HP delivery problem above. +The current hostile periodic scheduler handles NPC damage and kill outcomes; +friendly healing must use living-player resource transactions and an explicit +timer/logout policy. It must not inherit NPC retaliation, damage credit or +death persistence just because it shares Hit metadata. No HoT casts were +enabled by this audit, including idle-only casts. + +Complete records, exact payloads, source hashes, the forty-program fixture and +an independent verifier are under `local/nano-hot-research/catalog/`. The +verifier reparsed 413 retained original resources, including all 312 programs +with repeated Hit, relevant uploaders and wrapper/reference candidates. + ## Verification Go tests cover exact BM/MM boundaries, profession and quality rejection,