Weapon overequipping in 14.9.1
The supported QL 1 Kinetic Axe (template 209283) now loses normal-hit damage when any of its three effective required skills falls sufficiently far below the requirement. Ownership and equipment placement are retained. Restoring the skill restores effectiveness without re-equipping or a cached server bonus.
Its action-8 requirements are stat 103 (1-Hand Edged), 147 (Fast Attack) and 142 (Brawling), each with operator 2 and value 4. Equipping requires each effective skill to be greater than 4. Overequipping uses the stored value 4 as its denominator, independently of that strict equip comparison. Effective skills include their existing ability trickle.
Original client evidence
The original 14.9.1 kkr.dll has SHA-256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
The independently checked native bundle is retained at
local/reports/oe-native-1491-evidence.json (27 records).
FUN_10090f10(8, actor) scans every operator-2 criterion in the selected
requirement action. It does not filter to the primary attack skill or evaluate
the Boolean operators between criteria. It reads effective skills through the
actor's inline stat holder at offset 0xe4. For each ratio below one:
ratio = effective_skill / requirement_value
tier = max(tier, trunc((10 - ratio*10) * 0.5))
tier = clamp(tier, 0, 4)
Assembly uses integer FILD/FIDIV and keeps the ratio in x87 registers until
integer truncation. The decompiler's apparent float casts must not be treated
as float32 stores. Constants 1, 10, 0.5 and 0.25 were read from the original
binary. The exact criterion/arithmetic record is
ev_12efe16371f012aad98ae3486345dafb6f3b6b4c3ffb2b92ead695410d0c6e6b.
FUN_100ab8a0 reads cached original min/max/critical bonus from WeaponBase
offsets 0x24/0x28/0x2c. FUN_10062f60 applies:
adjusted = original - trunc(original * tier * 0.25)
It writes adjusted values into WeaponItem stats 286/285/284. Subtracting the
truncated penalty matters: original minimum 5 at tier 1 becomes 4, rather than
3. The subtraction record is
ev_f2d0d04aced862c9c02a45b7c1b76a0c4c9226744db0de542319c70d4239a39a;
cache and writes are respectively
ev_ee5d5ae759c44384e37d215a68aa246717103c7cbac3ee3f9cc6e82c3059b9b6
and ev_e4cfc48a96fe01836fe74b04705922cacf9b95ee8ae956418ee69d1b7fdc93cd.
FUN_10062f80 refreshes equipped weapon slots 8 and 6, skips NPC actors, and
is called by equipment activation and local-player refresh. Its record is
ev_484252f9c28a23215e6d0047e94922650e1c1d3a5a0f6e68e18fa2d8f111fd68.
The tier is computed, not persisted in the adjusted fields.
Supported calculation and limits
All three axe requirements have denominator 4. For integer skills below 4,
the native expression is exactly min(4, (4-skill)*5/4) with integer division.
The server uses the lowest of the three effective skills and adjusts base
endpoints before its existing attack-rating scaling and AC reduction.
| Lowest required skill | Tier | Base min..max | At AR 400, before AC |
|---|---|---|---|
| 4 or more | 0 | 5..20 | 10..40 |
| 3 | 1 | 4..15 | 8..30 |
| 2 | 2 | 3..10 | 6..20 |
| 1 | 3 | 2..5 | 4..10 |
| 0 | 4 | 0..0 | 0..0 |
The AR-400 column keeps 1-Hand Edged fixed and lowers Brawling or Fast Attack. The native calculation proves base-field adjustment; it does not establish the original server's complete OE/AR/AC integer ordering. That ordering remains a reconstruction policy alongside the existing endpoint and AC truncation. Zero effectiveness produces zero normal damage in this implementation; whether the original server also blocked starting or continuing attacks is unresolved. No additional attack-eligibility rule is inferred from the arithmetic alone. Critical damage is not implemented, so its native adjustment is documented but not used by the server. Armor and backpack OE uses the recovered clothing path and affected-stat table. Other item types remain separate work.
The July 2002 weapon guide describes maintaining skill within 20% of the requirement and red hatching for OE gear. The modern AO-Universe transcription attributes 25% damage steps to an official explanation, but contradicts itself at exact equality and has erroneous surrounding examples. It is corroboration for the broad rule, not the source of the implemented boundaries or rounding. No primary period experiment found in this pass settles exact equality, special-skill inclusion, zero-effectiveness attack eligibility or server integer ordering. Native 14.9.1 evidence supplies the supported axe's calculation.
Verification
server/overequipping_test.go equips through the native inventory handler,
then independently reduces each required skill. Controlled endpoint rolls
cover all penalty tiers, the value-4 retention boundary, the worst requirement,
ability trickle, restoration without re-equipping, durable stats/ownership over
two restarts, the adjusted minimum against armor, fists after removing a fully
ineffective axe, and matching damage/HP for owner and observer. Existing
attack-rating and equipment checks remain in place.
The two-client WASM fixture is retained in local/overequipping-smoke/.
Native pickup/place equips item ID 102 in right-hand slot 6. The existing
profile editor lowers Brawling through 3, 2, 1 and 0, keeping effective
1-Hand Edged at 400 and Fast Attack at 5. Valid abilities of 1 give zero
trickle for this comparison. Read-only guest-memory probes confirm the table's
adjusted min/max/critical fields at every tier; cached originals stay 5/20/5.
The equipment window shows red hatching below the retention boundary.
Native Q combat produces the expected ranges for owner and observer. Five zero-effectiveness attempts produce zero damage without reducing target HP; the client accepts the attack action. Restarting with Brawling 3 preserves the same axe and 8..30 normal damage. Restoring Brawling to 4 restores 5/20/5 client fields and 10..40 server endpoints, and removes the icon's red hatching without removing the item. The fixture raises owner Body Development and target HP and resets combat/resources between encounters; these are test controls, not production balance rules.
tmp_verify.py checks the six native field snapshots, all five damage tiers,
durable identity/skills and recovery, with results in verification.json.
There are zero page errors or adapter failures, and 16 expected socket
refusals during the intentional restart. The driver's finally closes both
contexts and terminates its server before regression builds.
The full go test ./server/... -count=1 suite passes. Focused race checks for
overequipping, attack rating, character stats, armor, equipment, combat,
inventory and reclaim also pass. Logs are retained alongside the WASM evidence.
Catalog-wide main-hand admission also includes zero-valued wield thresholds
(58 predicates in the shipped catalog). A negative effective skill must not
turn them into a Go integer division panic. The server omits those zero
thresholds from the penalty calculation. Original10090f10 instead divides
through x87; under masked exceptions and the recovered 64-bit conversion
contract, infinity/NaN cannot raise the accumulated tier. This zero-edge parity
is derived from the arithmetic model, not an observed native zero guard.
The source record and controlled x87 probe, including their limits, are retained
in docs/research-notes/starter-weapon-research/oe-zero-findings.md.
TestZeroWeaponRequirementCannotDivideByZeroAfterSkillLoss reproduces the panic
and checks skills -1, 0 and 1 against an original zero-threshold weapon.