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

67 lines
7.4 KiB
JSON

[
{
"role": "sourceopcodes",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Protocol/Opcodes_1_12_1.h",
"sha256": "0e12b66d7a3c643484789b6d9c3b489f4c0b1a657cd6babc1232ec7701768d43",
"first_line": 476,
"last_line": 478,
"excerpt": " SMSG_START_MIRROR_TIMER = 0x1D9,\n SMSG_PAUSE_MIRROR_TIMER = 0x1DA,\n SMSG_STOP_MIRROR_TIMER = 0x1DB,"
},
{
"role": "sourcetypes",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.h",
"sha256": "e6781be433d1dbccdbd5da0c0fd89f2c8449292e8813f45af3f741be7fc4fe8d",
"first_line": 440,
"last_line": 455,
"excerpt": "class MirrorTimer\n{\n public:\n enum Type\n {\n FATIGUE = 0,\n BREATH = 1,\n FEIGNDEATH = 2,\n\n NUM_CLIENT_TIMERS,\n\n ENVIRONMENTAL = NUM_CLIENT_TIMERS,\n\n NUM_TIMERS\n };\n"
},
{
"role": "sourcewriters",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.cpp",
"sha256": "8bd6214bec832f1665a127f8bbef57fc3ffe47cb53799860886bb29492a50bb6",
"first_line": 1333,
"last_line": 1361,
"excerpt": "void Player::SendMirrorTimerStart(uint32 type, uint32 remaining, uint32 duration, int32 scale, bool paused/* = false*/, uint32 spellId/* = 0*/)\n{\n WorldPacket data(SMSG_START_MIRROR_TIMER, (4 + 4 + 4 + 4 + 1 + 4));\n data << uint32(type);\n data << uint32(remaining);\n data << uint32(duration);\n data << int32(scale);\n data << uint8(paused);\n data << uint32(spellId);\n GetSession()->SendPacket(&data);\n}\n\nvoid Player::SendMirrorTimerStop(uint32 type)\n{\n WorldPacket data(SMSG_STOP_MIRROR_TIMER, 4);\n data << uint32(type);\n GetSession()->SendPacket(&data);\n}\n\nvoid Player::SendMirrorTimerPause(uint32 type, bool state)\n{\n // Note: Default UI handler for this is bugged, args dont match\n // Gotta do a full update with SMSG_START_MIRROR_TIMER to avoid lua errors\n WorldPacket data(SMSG_PAUSE_MIRROR_TIMER, (4 + 1));\n data << uint32(type);\n data << uint8(state);\n GetSession()->SendPacket(&data);\n}\n"
},
{
"role": "sourcefullupdates",
"path": "/home/praxis/Servers/tortoise-wow/src/game/Objects/Player.cpp",
"sha256": "8bd6214bec832f1665a127f8bbef57fc3ffe47cb53799860886bb29492a50bb6",
"first_line": 1373,
"last_line": 1404,
"excerpt": " for (auto& timer : m_mirrorTimers)\n {\n if (timer.GetType() >= MirrorTimer::NUM_CLIENT_TIMERS)\n return;\n\n MirrorTimer::Status status = timer.FetchStatus();\n\n if (forced && timer.IsActive())\n status = MirrorTimer::FULL_UPDATE;\n\n switch (status)\n {\n case MirrorTimer::FULL_UPDATE:\n SendMirrorTimerStart(timer.GetType(), timer.GetRemaining(), timer.GetDuration(), timer.GetScale(), timer.IsFrozen(), timer.GetSpellId());\n break;\n case MirrorTimer::STATUS_UPDATE:\n if (!timer.IsActive())\n SendMirrorTimerStop(timer.GetType());\n else\n {\n // NOTE: Replaced with full resend due to clientside UI bug, details inside\n // SendMirrorTimerPause(timer.GetType(), timer.IsFrozen());\n SendMirrorTimerStart(timer.GetType(), timer.GetRemaining(), timer.GetDuration(), timer.GetScale(), timer.IsFrozen(), timer.GetSpellId());\n }\n break;\n default:\n break;\n }\n }\n}\n\nvoid Player::UpdateMirrorTimers(uint32 diff, bool send/* = true*/)"
},
{
"role": "targettypes",
"path": "../servers/trinity-forever/src/server/game/Entities/Player/Player.h",
"sha256": "08e4eff425efaf880126868628c17d439d602661ef3cdb0f72acd4e0efe03726",
"first_line": 602,
"last_line": 609,
"excerpt": "enum MirrorTimerType\n{\n FATIGUE_TIMER = 0,\n BREATH_TIMER = 1,\n FIRE_TIMER = 2 // feign death\n};\n#define MAX_TIMERS 3\n#define DISABLED_MIRROR_TIMER -1"
},
{
"role": "targetwriters",
"path": "../servers/trinity-forever/src/server/game/Server/Packets/MiscPackets.cpp",
"sha256": "cdafc18855c0494c27d91f2b43f33be88b59eb97f008097c87f07af43838c928",
"first_line": 358,
"last_line": 386,
"excerpt": "WorldPacket const* StartMirrorTimer::Write()\n{\n _worldPacket << uint8(Timer);\n _worldPacket << int32(Value);\n _worldPacket << int32(MaxValue);\n _worldPacket << int32(Scale);\n _worldPacket << int32(SpellID);\n _worldPacket << Bits<1>(Paused);\n _worldPacket.FlushBits();\n\n return &_worldPacket;\n}\n\nWorldPacket const* PauseMirrorTimer::Write()\n{\n _worldPacket << uint8(Timer);\n _worldPacket << Bits<1>(Paused);\n _worldPacket.FlushBits();\n\n return &_worldPacket;\n}\n\nWorldPacket const* StopMirrorTimer::Write()\n{\n _worldPacket << uint8(Timer);\n\n return &_worldPacket;\n}\n"
},
{
"role": "targetpacketfields",
"path": "../servers/trinity-forever/src/server/game/Server/Packets/MiscPackets.h",
"sha256": "972787b04560b3a4a2639e5d03d9c29938b24e50d589ea7511bd9d793936b154",
"first_line": 465,
"last_line": 506,
"excerpt": " class StartMirrorTimer final : public ServerPacket\n {\n public:\n explicit StartMirrorTimer() : ServerPacket(SMSG_START_MIRROR_TIMER, 1 + 4 + 4 + 4 + 4 + 1) { }\n explicit StartMirrorTimer(uint8 timer, int32 value, int32 maxValue, int32 scale, int32 spellID, bool paused)\n : ServerPacket(SMSG_START_MIRROR_TIMER, 1 + 4 + 4 + 4 + 4 + 1),\n Timer(timer), Scale(scale), MaxValue(maxValue), SpellID(spellID), Value(value), Paused(paused) { }\n\n WorldPacket const* Write() override;\n\n uint8 Timer = 0;\n int32 Scale = 0;\n int32 MaxValue = 0;\n int32 SpellID = 0;\n int32 Value = 0;\n bool Paused = false;\n };\n\n class PauseMirrorTimer final : public ServerPacket\n {\n public:\n explicit PauseMirrorTimer() : ServerPacket(SMSG_PAUSE_MIRROR_TIMER, 1 + 1) { }\n explicit PauseMirrorTimer(uint8 timer, bool paused) : ServerPacket(SMSG_PAUSE_MIRROR_TIMER, 1 + 1),\n Timer(timer), Paused(paused) { }\n\n WorldPacket const* Write() override;\n\n uint8 Timer = 0;\n bool Paused = true;\n };\n\n class StopMirrorTimer final : public ServerPacket\n {\n public:\n explicit StopMirrorTimer() : ServerPacket(SMSG_STOP_MIRROR_TIMER, 1) { }\n explicit StopMirrorTimer(uint8 timer) : ServerPacket(SMSG_STOP_MIRROR_TIMER, 1), Timer(timer) { }\n\n WorldPacket const* Write() override;\n\n uint8 Timer = 0;\n };\n"
},
{
"role": "nativebitorder",
"path": "../servers/trinity-forever/src/server/shared/Packets/ByteBuffer.h",
"sha256": "fbdd7b7e8929a8d90033de313148cbefe40a434ac3812881faacacf07c9cbe2b",
"first_line": 159,
"last_line": 172,
"excerpt": " bool WriteBit(bool bit)\n {\n --_bitpos;\n if (bit)\n _curbitval |= (1 << (_bitpos));\n\n if (_bitpos == 0)\n {\n _bitpos = 8;\n append(&_curbitval, sizeof(_curbitval));\n _curbitval = 0;\n }\n\n return bit;"
}
]