Hi , i'm trying to make my own bot in C# and i have two questions :
First , I have seen in the thread 3.2.0 info Dumps thoses Event Offset
(for example :
EVENT_PARTY_CONVERTED_TO_RAID = 0x260,
EVENT_PVPQUEUE_ANYWHERE_SHOW = 0x261,
EVENT_PVPQUEUE_ANYWHERE_UPDATE_AVAILABLE = 0x262,
EVENT_EJECT_PASSENGER_UPDATE = 0x263,
EVENT_QUEST_ACCEPTED = 0x264,
EVENT_PLAYER_TALENT_UPDATE = 0x265,
EVENT_ACTIVE_TALENT_GROUP_CHANGED = 0x266,
EVENT_PET_TALENT_UPDATE = 0x267 ... )
However , I don't know the way to "subscribe" to those events. We have to read memory from where ? Current_Manager ? Player base Adress ? and is there a way , like i said , to subscribe to them and so be notified throug a function when and event occur ?
Secondly, with the 3.2.0 , when a read in memory the UNIT_FLAG value , and when i compare with the mask to determine for instance when a player is in combat , or is sitting , or in Pvp . The problem is for pvp mask i think , because it's work with combat . I think i have the wrong values for pvp mask and the other.
My current value is :
0x0000008: PVP Enabled
0x0001000: in pvp
0x0080000: in melee
So i think that something is wrong . Maybe someone can help me .
Thanks for sharing.