[[obj+0x8]+0x8] = gameobject display id.
That's what I meant :P
yes, and that is what i forgot.. heh
still no luck =\
Iron Deposit, for example have ID=1735, and i get 312...all herbs\mines IDs are <1000
Last edited by voron23; 07-25-2009 at 01:50 AM.
Dont use displayid use the entry and you could hook it up to à dbc reader
try [[obj+0x8]+0xC]
Thanks to all!) The ID offset is 0x3 (*4=C), same for items. Nesox, sorry, but i don't understand what you mean about DBC and entry offset)
Ah, man I'm not sure why I said display id :P Yeah. It's entry. Lol...
But i already build the function based on 73 ID's of mines and herbs objects)))
what is that????????
The DBC files contain information about lots of ingame stuff like spells, object, items, achivements, talents etc.
You can extract them with any MPQ extracter. They're in patch-enGB.mpq.
You can also read it from memory, which probably would be better since it contains the most up-to-date versions of the DBC files
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
This has been bugging me forever...
Where can I find _Distorm.au3. The best I can do is to find distorm.h
Any help appreciated.
Just FYI: I am aiming to apply the techniques used in the OPs example to do some Lua_DoString stuff. If I won't be needing _Distorm.au3, how would I go about making those changes?
Thanks!
Edit:
I am also wondering: is the code that does not do the teleporting (WalkWay() method) safe to use (ie the setup code that does all the prep-work).
Last edited by telekenetix; 10-07-2009 at 01:46 PM. Reason: Additional question