Skip to content

Commit

Permalink
Define warden offsets for 1.10.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Jun 25, 2024
1 parent d7dd2e8 commit 50b616f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20240625223058_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
DROP PROCEDURE IF EXISTS add_migration;
DELIMITER ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20240625223058');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20240625223058');
-- Add your query below.


--Stratholme door check fails before 1.11.
UPDATE `warden_scans` SET `build_min`=5464 WHERE `id`=74;


-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;
11 changes: 11 additions & 0 deletions src/game/Anticheat/WardenAnticheat/WardenWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,17 @@ static constexpr struct ClientOffsets
// Click to move
uint32 ClickToMovePosition;
} Offsets[] = {
{
5302,
0x2F5CE0,
0x22D230, 0x22E2F0, 0x22DF60, 0x2393F0,
0x226A0,
0xC213E4,
0xC9470C,
0xBB4E98, 0x38A0, 0x0, 0xA8,
0xC8E64C, 0x228, 0x08,
0xBF3A94
},
{
5464,
0x2FAE20,
Expand Down

0 comments on commit 50b616f

Please sign in to comment.