aorecomp

Anarchy Online classic in the browser

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


docs/vektor-shotguns.md (5672B)


Vektor ND selected qualities

The P0 equipment-quality defect was a qualified QL2 Sparking Vektor refusing wear: its original definitions existed, but the shared reviewed-family table admitted only exact endpoints. Three explicit pairs now cover the original regular line. DRAGON remains a separate fixed-quality record.

Name Low/high templates QL Shotgun requirement
Sparking Vektor ND Shotgun 124256 / 124257 1..4 >5 .. >19
Vektor ND Shotgun 124258 / 124259 5..69 >23 .. >319
Vektor ND LIZARD Shotgun 124260 / 124261 70..179 >324 .. >828
Vektor ND DRAGON Shotgun 124262 / 124262 180 only >833

All use the right hand, Shotgun attack rating, Duck Exp defense, Energy AC damage, Ranged Initiative, a 40-round energy-ammo clip, 26m range, 3.5s equip and 2.5s recharge. Attack delay decreases from 2.50s to 2.32s across the line. There is no Fling Shot flag. LIZARD adds 15 Psychic and DRAGON adds 25; the smaller forms add none. The shared effect consumers apply and remove these bonuses and their derived resource/skill contributions.

Evidence and boundaries

Each complete catalog descriptor was compared with its original type-1000020 payload in anarchy-vanilla-14.9.1, including every section and function. Within each pair, header, text, stat keys, attack/defense weights, presentation functions and wear effects match. Differences are limited to QL54, value74, damage284/285/286, attack294 and the single action-8 strict Shotgun115 threshold. This establishes compatible authored endpoints, rather than pairing by name or numeric proximity. The original index SHA256 is 46e5dc54af9358cc9bff05f4358e86af630e497bc677f361c133c88073b84d71. Raw payloads and the complete audit are retained in local/vektor-quality/original/.

The current Auno pages independently show QL1..4, QL5..69 and QL70..179, with energy ammo and the LIZARD Psychic bonus. These corroborate the intervals, not original server acquisition or later database additions. For example, Auno displays QL37 value 30326; the native 14.9.1 value curve gives 16468. The existing shared interpolation follows kkr.dll FUN_100eff20, FUN_100f0c80, FUN_100f1320 and FUN_100894c0; see catalog weapons.

Historical shop/mission/drop membership and level-relative distributions remain unresolved. This change does not add production stock, loot or reward rules. QL180 is not an extension of the LIZARD pair, and no QL181..200 form is invented.

A bounded acquisition follow-up checked the local wiki mirror, period-player searches and later guides. The later German Trader weapon guide calls Vektor ND shop-buyable; hahnsoo's 2008 guide recommends it without locating the specific booth. Neither establishes 14.9.1 booth membership, minimum shop QL or stock generation. No production stock follows from those leads; the current acquisition gap remains open pending dated inventory evidence.

Focused verification

TestVektorQualitiesWearRemoveAndRecover covers both stored anchors at the interval endpoints, immediate neighbors and rounding/midpoint cases, plus the fixed DRAGON. Public inventory handlers reject strict threshold equality, retain the source row until the equip deadline, then deliver exact selected stats and endpoints to owner and observer. Repeated removal/re-wear and cold loading preserve identity, price and exactly-once Psychic effects without mutating catalog definitions.

TestVektorSelectedDamageAndEnergyReload exercises normal and critical shots at QL2/37/75/125/180. Bullets and shotgun shells are rejected; energy ammo transfers exactly 40 rounds, saves the 2.5s deadline and loses one round on a successful shot. TestVektorGeneratedPickupCancellationAndSale covers each interval through controlled loot generation, repeated pickup, cancelled sale, accepted/replayed sale and cold ownership. The fixture is not evidence for historical creature drop membership.

TestBrowserVektorQualities uses two actual WASM clients and the maintained GameTest harness. Its level-100 Trader, abilities, weapons, ammo and durable 10000 HP Leet checkpoint are controlled fixtures, not earned progression or original NPC growth evidence. Native inventory clicks wear/remove QL2, QL37 and QL75 weapons. Energy ammo loads 40 rounds from a 100-round stack. One real QL37 shot deals 168 energy damage, leaves 39 loaded/60 carried rounds and reaches HP 9832 on both clients. Native Tab selects the checkpoint; a reconnect ends its retaliation before removal, since active-combat equipment swapping remains a separate TODO.

QL125 wear is rejected locally with the native requirement of Shotgun 579. QL75 LIZARD displays Psychic 215 from base 200; removal restores the baseline, re-wear adds precisely 15 again, and the native nano foundation changes by 9. Page reload and two fresh clients on a cold server retain all seven exact instances, counts, selected endpoints and the worn LIZARD. The Go cold check also verifies the carried QL37 weapon's 39 rounds and the 60-round energy stack. No adapter/page errors occurred. The complete native check took 80.82s; screenshots and traces are under local/game-tests/vektor-20261102-105724/.

Focused Go regressions passed in 25.123s, with race checks in 129.887s; gamedata checks and go vet also passed. The checked-in WASM was unchanged (compressed SHA256 ed91fa13f9f137db8bd3f8e21618be9f4f9c0894119d3e4bb8b6b204f9c6dce0).