Quote:
Originally Posted by BuBucekTop
Nice. Thank you for great work! I've mentioned you named instances (dungeons, etc...) as a1, a2, ..., aN. But now I have a question - where in client's memory stored data about current world (map id, location id)?
I want to bind maps to my custom radar, but dunno how to determine map id.. :confused:
|
To be honest I have never looked around for this, but you can probably find it by looking for changed values if you walk in and out of dungeons right?
Quote:
Originally Posted by Smurfin
Interest07, about your post above, will a unique ID starting from 0x8010XXXX always be a mob type ? (might be a veno pet as well though)
|
If i recall correctly regular npcs start with 8010 too, you can distinguish the different types of NPC (mob, pet, npc) by looking at a certain value, in PWI it is at offset 0xB4: npcType; //6=mob, 7=NPC, 9=Pet.
WHat I meant in my previous post is, that if you know where the uniqueId is located, for example at 0x11C at PWI, then the typeId (used in the files i gave) will be at an offset 4 higher, so at 0x120. In my WQ bot, I would search the npcList and check whether their typeId matches the one of the NPC that is next in my quest, then look one offset below and grab his uniqueId to use for selecting/chatting with him.