clickthrough: block unusable player-summoned portals and rituals

Filter ritual (type 18) and mage portal (type 22) GOs whose creator
is a player not in the local player's party or raid. Completely
unclickable, not just deprioritized.

Also:
- Add wow.isInGroup() shared group membership check (party + raid)
- Add party/raid addresses to shared offsets.zig
- Fix dpslog party member GUID address (was 0xBC7600, correct: 0xBC6F48)
  Verified from client's is_player_in_allowed_list @ 0x4e7f70
This commit is contained in:
MarcelineVQ
2026-03-28 11:42:38 -07:00
parent 5b85390206
commit 96687bfaaa
6 changed files with 417 additions and 7 deletions
+13
View File
@@ -138,6 +138,19 @@ pub const IS_IN_WORLD: usize = 0xB4B424;
/// Static array of 8 GUIDs (64 bytes total). Index 0 = Star, 7 = Skull.
pub const RAID_TARGET_ARRAY: usize = 0x00B71368;
// =============================================================================
// Group / Party / Raid
// =============================================================================
/// Party member GUIDs: 4 slots, 8 bytes each (verified from is_player_in_allowed_list @ 0x4e7f70).
pub const PARTY_MEMBER_GUIDS: usize = 0x00BC6F48;
/// Raid roster: array of 40 pointers to roster entries (GUID at +0/+4).
pub const RAID_ROSTER_ARRAY: usize = 0x00B712A8;
/// Raid roster member count.
pub const RAID_ROSTER_COUNT: usize = 0x00B713E0;
// =============================================================================
// Core function addresses
// =============================================================================