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

170 lines
13 KiB
JSON

{
"kind": "mirror-timer-upstream-readonly-diagnosis",
"installed_mapping_preserved": true,
"production_modified": false,
"client_UI_or_RPC": false,
"server_modified": false,
"release_blocker": false,
"config_file_public_keys": {
"MirrorTimer.Breath.Max": 60,
"MirrorTimer.Fatigue.Max": 0,
"MirrorTimer.Environmental.Max": 1,
"vmap.enableHeight": 1
},
"config_limit": "Read-only hostmounted configuration; no live runtime configuration query or reload performed.",
"source_rules": "Server terrain must report UNDER_WATER and liquidheight>playerZ+collisionheight; active nonzero breath interval, no transport/HCimmunity, alive. Swimming flag alone does not activate breath.",
"source_current_aura_proof": "Captured48slots contain BattleStance2457 and TalismanofBinding21991 only; pinned173fieldSpell.dbc confirms aura kinds36/15, neither waterbreathing82.",
"movement_review": "Current parser explicitly maps nativeSWIMMING0x100000 to source0x200000; sourceObject::MovementInfo::Read requires the same pitch-before-fallTime order usedby adapter. Recordedmovementfailure0 does not establish server liquidstatus or finalsourceZ.",
"trace_receipts": [
{
"path": "runtime/linux-release-20261021-build/breath-submerged-native.json",
"sha256": "06db48db7c5927249dd319d4af55e3edd2f0e902080f2c7c4f8642e58235b769",
"error": 0,
"closed": 0,
"source_received": 810,
"total_trace": 3300,
"captured_trace": 32,
"world_total_trace": 3380,
"world_captured_trace": 32,
"timer_events_in_captured_windows": [],
"source_aura_rows": [
{
"slot": 0,
"spell": 2457,
"flags": 5,
"level": 60,
"applications_minus_one": 0,
"active_mask": 1,
"visual_link": 238278,
"queued": 1
},
{
"slot": 1,
"spell": 21991,
"flags": 5,
"level": 60,
"applications_minus_one": 0,
"active_mask": 1,
"visual_link": 248700,
"queued": 1
}
],
"movement_failure": {
"opcode": 0,
"bytes": 0,
"result": 0,
"flags_lo": 0,
"flags_hi": 0,
"options": 0,
"tail": 0,
"forces": 0,
"fall_direction": 0,
"remaining": 0
}
},
{
"path": "runtime/linux-release-20261021-build/breath-surfaced-native.json",
"sha256": "09b51bfe4dd8d169683175043d0d5346b8c7505a6e45109288e4bfba302d24e5",
"error": 0,
"closed": 0,
"source_received": 843,
"total_trace": 3381,
"captured_trace": 32,
"world_total_trace": 3478,
"world_captured_trace": 32,
"timer_events_in_captured_windows": [],
"source_aura_rows": [
{
"slot": 0,
"spell": 2457,
"flags": 5,
"level": 60,
"applications_minus_one": 0,
"active_mask": 1,
"visual_link": 238278,
"queued": 1
},
{
"slot": 1,
"spell": 21991,
"flags": 5,
"level": 60,
"applications_minus_one": 0,
"active_mask": 1,
"visual_link": 248700,
"queued": 1
}
],
"movement_failure": {
"opcode": 0,
"bytes": 0,
"result": 0,
"flags_lo": 0,
"flags_hi": 0,
"options": 0,
"tail": 0,
"forces": 0,
"fall_direction": 0,
"remaining": 0
}
}
],
"source_excerpts": [
{
"role": "activation",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.cpp",
"sha256": "8bd6214bec832f1665a127f8bbef57fc3ffe47cb53799860886bb29492a50bb6",
"first_line": 1450,
"last_line": 1488,
"excerpt": "bool Player::CheckMirrorTimerActivation(MirrorTimer::Type timer) const\n{\n switch (timer)\n {\n case MirrorTimer::FATIGUE:\n return sWorld.getConfig(CONFIG_UINT32_MIRRORTIMER_FATIGUE_MAX) != 0 &&\n (IsInHighSea() && !IsTaxiFlying() && !GetTransport() && !HasHCImmunity());\n case MirrorTimer::BREATH:\n return sWorld.getConfig(CONFIG_UINT32_MIRRORTIMER_BREATH_MAX) != 0 &&\n (IsUnderwater() && GetWaterBreathingInterval() && !GetTransport() && !HasHCImmunity());\n case MirrorTimer::FEIGNDEATH:\n return (IsFeigningDeath());\n case MirrorTimer::ENVIRONMENTAL:\n return sWorld.getConfig(CONFIG_UINT32_MIRRORTIMER_ENVIRONMENTAL_MAX) != 0 &&\n ((m_environmentFlags & ENVIRONMENT_MASK_LIQUID_HAZARD) && !(m_lastLiquid && m_lastLiquid->SpellId));\n default:\n return false;\n }\n}\n\nbool Player::CheckMirrorTimerDeactivation(MirrorTimer::Type timer) const\n{\n // Spirit of redemption: just drop all mirror timers at once\n if (GetShapeshiftForm() == FORM_SPIRITOFREDEMPTION)\n return true;\n\n switch (timer)\n {\n case MirrorTimer::FATIGUE:\n return (!(m_environmentFlags & ENVIRONMENT_FLAG_LIQUID) || (!IsAlive() && !HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST)));\n case MirrorTimer::BREATH:\n return (!(m_environmentFlags & ENVIRONMENT_FLAG_LIQUID) || !IsAlive());\n case MirrorTimer::FEIGNDEATH:\n return (!IsFeigningDeath());\n case MirrorTimer::ENVIRONMENTAL:\n return (!(m_environmentFlags & ENVIRONMENT_FLAG_LIQUID) || !IsAlive());\n default:\n return false;\n }"
},
{
"role": "terrain",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.cpp",
"sha256": "8bd6214bec832f1665a127f8bbef57fc3ffe47cb53799860886bb29492a50bb6",
"first_line": 22371,
"last_line": 22425,
"excerpt": "void Player::UpdateTerainEnvironmentFlags()\n{\n Map* m = GetMap();\n float x, y, z;\n GetPosition(x, y, z);\n\n GridMapLiquidData liquid_status;\n GridMapLiquidStatus res = m->GetTerrain()->getLiquidStatus(x, y, z + 0.01f, MAP_ALL_LIQUIDS, &liquid_status);\n if (!res)\n {\n SetEnvironmentFlags(ENVIRONMENT_MASK_LIQUID_FLAGS, false);\n if (m_lastLiquid && m_lastLiquid->SpellId)\n RemoveAurasDueToSpell(m_lastLiquid->SpellId);\n m_lastLiquid = nullptr;\n return;\n }\n\n // Environment has liquid information\n SetEnvironmentFlags(ENVIRONMENT_FLAG_LIQUID, true);\n\n if (uint32 liqEntry = liquid_status.entry)\n {\n LiquidTypeEntry const* liquid = sTerrainMgr.GetLiquidType(liqEntry);\n if (m_lastLiquid && m_lastLiquid->SpellId && m_lastLiquid->Id != liqEntry)\n RemoveAurasDueToSpell(m_lastLiquid->SpellId);\n\n if (liquid && liquid->SpellId)\n {\n if (res & (LIQUID_MAP_UNDER_WATER | LIQUID_MAP_IN_WATER))\n {\n if (!HasAura(liquid->SpellId))\n CastSpell(this, liquid->SpellId, true);\n }\n else\n RemoveAurasDueToSpell(liquid->SpellId);\n }\n\n m_lastLiquid = liquid;\n }\n else if (m_lastLiquid && m_lastLiquid->SpellId)\n {\n RemoveAurasDueToSpell(m_lastLiquid->SpellId);\n m_lastLiquid = nullptr;\n }\n\n // All liquid types: check under surface level\n if (liquid_status.type_flags & (MAP_LIQUID_TYPE_WATER | MAP_LIQUID_TYPE_OCEAN | MAP_LIQUID_TYPE_MAGMA | MAP_LIQUID_TYPE_SLIME))\n SetEnvironmentFlags(ENVIRONMENT_FLAG_UNDERWATER, ((res & LIQUID_MAP_UNDER_WATER) && liquid_status.level > (z + GetCollisionHeight())));\n\n // In water: on or under surface level\n if (liquid_status.type_flags & (MAP_LIQUID_TYPE_WATER | MAP_LIQUID_TYPE_OCEAN))\n SetEnvironmentFlags(ENVIRONMENT_FLAG_IN_WATER, (res & (LIQUID_MAP_UNDER_WATER | LIQUID_MAP_IN_WATER)));\n\n // In magma: on, under, or slightly above surface level\n if (liquid_status.type_flags & MAP_LIQUID_TYPE_MAGMA)"
},
{
"role": "breathing-interval",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.cpp",
"sha256": "8bd6214bec832f1665a127f8bbef57fc3ffe47cb53799860886bb29492a50bb6",
"first_line": 1275,
"last_line": 1297,
"excerpt": "uint32 Player::GetWaterBreathingInterval() const\n{\n return uint32(sWorld.getConfig(CONFIG_UINT32_MIRRORTIMER_BREATH_MAX) * IN_MILLISECONDS * m_environmentBreathingMultiplier);\n}\n\nvoid Player::SetWaterBreathingIntervalMultiplier(float multiplier)\n{\n if (m_environmentBreathingMultiplier == multiplier)\n return;\n\n m_environmentBreathingMultiplier = multiplier;\n\n if (const uint32 interval = GetWaterBreathingInterval())\n {\n m_mirrorTimers[MirrorTimer::BREATH].SetDuration(interval);\n m_mirrorTimers[MirrorTimer::BREATH].SetScale(IsUnderwater() ? -1 : 10);\n }\n else\n m_mirrorTimers[MirrorTimer::BREATH].SetScale(10);\n}\n\nvoid Player::SetEnvironmentFlags(EnvironmentFlags flags, bool apply)\n{"
},
{
"role": "water-breathing-aura",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Spells/SpellAuras.cpp",
"sha256": "b16e4b33bf8c732aacade833a057290daf37c1823aacab7cda159925ef0f156b",
"first_line": 2169,
"last_line": 2181,
"excerpt": "\nvoid Aura::HandleWaterBreathing(bool apply, bool /*Real*/)\n{\n if (Player* target = GetTarget()->ToPlayer())\n target->SetWaterBreathingIntervalMultiplier(((apply || target->HasAuraType(SPELL_AURA_WATER_BREATHING)) ? 0.0f : target->GetTotalAuraMultiplier(SPELL_AURA_MOD_WATER_BREATHING)));\n}\n\nvoid Aura::HandleModWaterBreathing(bool /*apply*/, bool /*Real*/)\n{\n if (Player* target = GetTarget()->ToPlayer())\n target->SetWaterBreathingIntervalMultiplier(target->GetTotalAuraMultiplier(SPELL_AURA_MOD_WATER_BREATHING));\n}\n"
},
{
"role": "hardcore-login-immunity",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Handlers/CharacterHandler.cpp",
"sha256": "940de4a886e09dc7934eadf365fac031c5a86846066ce28b4b9d126da4a5bc40",
"first_line": 631,
"last_line": 637,
"excerpt": " if (!pCurrChar->IsAlive())\n pCurrChar->SendCorpseReclaimDelay(true);\n\n if (pCurrChar->IsHardcore() && sWorld.GetUptime() < 15 * MINUTE)\n pCurrChar->SetHCImmunityTimer(20);\n\n pCurrChar->SendInitialPacketsBeforeAddToMap();"
},
{
"role": "wire-layout",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Object.cpp",
"sha256": "b488547b26216ab11c6e01a5c13ab20c7632a332a7ff440d4f846d64996c9b59",
"first_line": 64,
"last_line": 112,
"excerpt": "void MovementInfo::Read(ByteBuffer &data)\n{\n stime = WorldTimer::getMSTime();\n data >> moveFlags;\n data >> ctime;\n data >> pos.x;\n data >> pos.y;\n data >> pos.z;\n data >> pos.o;\n\n if (HasMovementFlag(MOVEFLAG_ONTRANSPORT))\n {\n data >> t_guid;\n data >> t_pos.x;\n data >> t_pos.y;\n data >> t_pos.z;\n data >> t_pos.o;\n }\n if (HasMovementFlag(MOVEFLAG_SWIMMING))\n data >> s_pitch;\n\n data >> fallTime;\n\n if (HasMovementFlag(MOVEFLAG_JUMPING))\n {\n data >> jump.zspeed;\n data >> jump.cosAngle;\n data >> jump.sinAngle;\n data >> jump.xyspeed;\n if (!jump.startClientTime)\n {\n jump.startClientTime = ctime;\n jump.start = pos;\n }\n }\n else\n jump.startClientTime = 0;\n\n if (HasMovementFlag(MOVEFLAG_SPLINE_ELEVATION))\n {\n data >> splineElevation; // unknown\n }\n}\n\nvoid MovementInfo::CorrectData(Unit* mover)\n{\n // Nostalrius: remove incompatible flags, causing client freezes for example\n#define REMOVE_VIOLATING_FLAGS(check, maskToRemove) \\\n if (check) \\"
}
],
"held_explanations": [
"Whole-session sourceSTARTabsence not established: both publictrace windows are32entries while totalcounts exceed3300, and busyNPCmovesoverwriteearlierpackets.",
"ActualserverUnderWater/liquidheight/collisionheight/position duringdive notcaptured; nativewaterappearance alone cannotprove sourceheightclassification.",
"Nativeengine actualtimerhandler/UIacceptance not independently establishedwithoutgenuine receivedSTART. Existing originalwriter parity remains valid.",
"Client-visible aura slots do not exhaust hidden server aura state; actual server breathing multiplier and transport/HCimmunity state were not queried."
],
"next_bounded_discriminator": "Duringlatercontrolledtest capture sourceSTART/PAUSE/STOPcount+publictimerfields overthefullboundedwindow and compare source position/liquidstatus; do notinventtimerbasedonnativewaterappearance."
}