Files
praxisandClaude Fable 5.2 45ecd73fe0 Evidence records
1888 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00
..
2026-11-19 01:32:48 +02:00
2026-11-19 01:32:48 +02:00
2026-11-19 01:32:48 +02:00
2026-11-19 01:32:48 +02:00

Native combat receive routing — partial real-client checkpoint

Code reuses src/gameplay.cpp attack-start/stop, four swing-error and melee-damage codecs in native/world_translation.cpp. No new engine calls, hooks or executable patches. Parsed actor identities must already be presented by the native object manager; unknown actors are skipped rather than invented. Malformed input fails. The existing attack parser is factored into TurtleAttackEvent, shared by relay and native paths. Native output formats remain the source-verified codecs.

Full60/60 passed30.48s before deployment. Focused11/11 passed0.28s; the existing source fixture compares9 melee cases with the pinned CombatLog writer. Native fixture adds route/no-victim-stop, error, malformed and unknown-actor checks. Melee damage is implemented/automated-tested only, NOT actually fought yet.

Actual581479 and fresh587881, gateway stopped: real authentication/four-character selection/world entry, no source/DB position edits. Actual CMSG_ATTACKSWING 3E011E/10bytes ->Tortoise143/16bytes ->native4D0017/17bytes; stop3E011F/0 ->144/15 ->4D0018/18. Genuine out-of-range145/0 ->4D0026/1 queued. Source canonical SMSG_ATTACK_SWING_ERROR4B0026 maps to region2 4D0026. Source enum reasons0/1/3/2, 3-bit native encoding. Trace is evidence of the adapter/queue boundary, not proof the UI displayed the error or that damage occurred.

The initial control test saw starts accepted with GM enabled AND disabled. Although Player::SetGameMaster changes faction35, GM mode is not established as the cause of the prior attack failure. Do not change permissions to hide it. All runs restored exact saved baseline: flags55,health5859,level60 and position -8906.53/-117.168/81.9667. Gear/inventory unchanged; GM commands only toggle/save.

Failed repeated-error probe is retained. Unit.cpp::UpdateMeleeAttackingState only sends an error when GetLastSwingErrorMsg changes; AttackStop does not reset that cache. Player constructor initializes it to OK. Hence the first attack in a fresh login receives145; repeated same-range attempts need not. No server rule was modified. Corrected script tests the normal error BEFORE its GM control.

Fresh probe observed the complete critical chain and restored baseline, but returned2 because public32-row telemetry lost25 unrelated rows during visibility traffic. Its trace observer reported no exception. This is diagnostic-ring loss, not demonstrated network packet loss. Strict test remains nonpassing; no hidden relaxation or complete packet-coverage claim. Failed reports are preserved.

Actual fresh-error.png has no visible range-error text/event print, despite the queued4D0026. UI error presentation remains UNVERIFIED. Next inspect its original engine receive/handler path using verified boundaries; do not infer a function pointer or fabricate a response. Lua itself works: separate original /run print shows GW native Lua5859/5859 in lua-read.png. Our ephemeral marker waits used a minimap-only reader initially; full-frame OCR also missed the visible chat marker. Use visual evidence or a verified targeted diagnostic; these OCR timeouts are not proof Lua is unavailable. No unsafe Lua-C registration was enabled.

Reproduce only on fresh authenticated world with original guarded send policy: python3 ops/native_combat_state_test.py --allow-temporary-gm-off
--output runtime/NEW-native-combat.json No movement, grants or direct DB writes. Script retains strict metadata-loss failure, uses existing WorldTrace, and preserves reports/cleanup on failures. Use the canonical development plan: actual matched combat/damage/death/loot, then vendor purchases/selling/training/reset and early local guild chat. Current native data fallback074536f; shield3494 base and all prior item evidence preserved.