-
Member
ZoneID Classic 34266
Thanks to the function signatures found in WoW Descriptor dumper circulating around I was able to extract most of the offsets that I need for my needs.
There is one though that I was not able to find, that being the ZoneID.
My goal is to know the map I am on, if Kalimdor/Eastern Kingdoms/Warsong/etc (MapIDs)
For that I plan to read the ZoneID and then do the mapping to MapID.
For ZoneID I mean the number that represents the zone the local player is, for instance:
1637 for Orgrimmar
618 for Winterspring
etc
Any kind soul to give some hints to me?
-
Contributor
you can find this in the s_CurMgr struct. mov eax, [rax+218h]
-
Post Thanks / Like - 1 Thanks
everytimer (1 members gave Thanks to aeo for this useful post)
-
Contributor
Script_InActiveBattlefield has the offset if i recall
-
Member
Originally Posted by
aeo
you can find this in the s_CurMgr struct. mov eax, [rax+218h]
This is the easiest approach, yes.
Thanks