-
Member
WoW Classic 1.15.3.x - Trouble Locating Player Temporary Enchants
Hi all,
Does anyone know how to obtain mainhand/offhand temporary weapon enchant data for any of the current classic builds?
It almost looks like there should be a pointer to the player's inventory/equipment at offset 0x14060 from the player base. I attempted to find this in IDA via GetWeaponEnchantInfo().
In the 1.12 client temporary weapon enchants (fishing lures, flametongue/rockbiter, rogue poisons, etc) had their own offset separate from the aura table. Not sure if this is still the case.
EDIT: I'm guessing it is not the case. Seems like you can get the required info via iterating through the item objects in the object manager though and polling their offsets for temporary weapon enchant id and expiry timestamp. Please feel free to ignore my question if this is the only way.
Here are some insignificant pointers/offsets from the current build I would like to share:
Code:
# 1.15.3.55917
object_manager = 0x38c5420
player_guid = 0x380d8b0
mouseover_guid = 0x3924d78
chat_frame_open = 0x37dbc24
# target guid ptrs, starting at: xmmword_7FF6208C5EF8
player_target_guid = 0x35d4398 # ??
# camera mgr
camera_manager = 0x37e95b0
# camera ptr
camera = 0x39E0
Thank you.
Last edited by dreadcraft; 09-02-2024 at 07:06 AM.
-
"temp_enchant_id": 0x2F4,
"temp_enchant_duration": 0x2F8,
This may be outdated..
-
Post Thanks / Like - 1 Thanks
dreadcraft (1 members gave Thanks to qop1832 for this useful post)
-
Member
Originally Posted by
qop1832
"temp_enchant_id": 0x2F4,
"temp_enchant_duration": 0x2F8,
This may be outdated..
Thank you, sir!
-
Member
Originally Posted by
BrandonStevens11
All good now?
Nope lol. too busy with work to mess around in IDA lately.
0x14060 looks like the right offset from the object/unit/player base address to get inventory info but what im looking at there doesnt appear to be correct.
i might try and get a modified version of CE and play around with the debugging tools next week if i have time.
-
-
Post Thanks / Like - 1 Thanks
dreadcraft (1 members gave Thanks to Razzue for this useful post)
-
Member
Code:
*(WowGuid)(*(IntPtr*)(PlayerAddress + 0x14068) + i * SlotEnum)
Thank you, Razzue & qop.