Skip to content

Commit

Permalink
Define warden offsets for 1.8.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Dec 7, 2024
1 parent 7d5dd60 commit b1f3f0b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20241207051041_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`='20241207051041');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20241207051041');
-- Add your query below.


-- AQ Door was added in patch 1.9.
UPDATE `warden_scans` SET `build_min`=5086 WHERE `id`=77;


-- 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[] = {
{
4878,
0x2DB9D0,
0x21F580, 0x220610, 0x220280, 0x22B7D0,
0x226E0,
0xBEC94C,
0xC60AD0,
0xB804E0, 0x3890, 0x0, 0xA8,
0xC598DC, 0x228, 0x08,
0xBBEFC8
},
{
5086,
0x2E82E0,
Expand Down

0 comments on commit b1f3f0b

Please sign in to comment.