its funny how mods prefer flaming the noob instead of just closing the thread.
hint@hackzor (nice name btw)
doing a bot you will need a lot more than just your player struct and its facing. you will need all objects (to which your player belongs too) thus i advise you to read (using the search function or this link http://www.mmowned.com/forums/wow-me...e-objects.html) how to get objects.
i would recommend you to learn some basic stuff about programming before you do anything else(like asking the next question about how to get the other shitty offset until someone has written your bot for you).
Know how to use pointers, how the object manager works(eg what is a linked list etc), how data is represented in memory.
Then you will have to leech some basic offsets(gclientconnection, objmanageroffset..) (i dont believe you will be able to find them yourself)
The next offsets like facing you should be able to find yourself using something like olly. Having your player base, just search for floating points in the memory region after pbase (sometimes also follow pointers). Often things belonging to the same thing are very close represented in memory. Like your position (x,y,z) maybe your facing is also very close to these offsets (hint your facing is either stored in degree or radian so it has to be a value 0-360 or 0-2pi)
edit: better ways to find your facing have already been given to you. if you have a function from wow's code that accesses the facing. you can look into the assembly of that function(using ida/olly and its offset where its stored(3.3.0 info dump thread)) and see how it is done then you can do the same yourself in your code.
You will fail trying to do that, that's why I tell you to first learn programming (try to learn c/c++ because it may help you more understanding assembler than c#)
Last edited by kukiwuki; 01-01-2010 at 08:16 AM.
it's kind of funny how fast you went from 'i don't want to be spoon-fed' to 'just tell me the offset'.
you search for "rotation" and find this thread: http://www.mmowned.com/forums/wow-me...t-scanner.html
looks nice, but most likely the offsets are outdated
you see its getting the "playerbase" using pointer/offsets
you search for "playerbase" and find the 3.3 info dump thread
http://www.mmowned.com/forums/wow-me...ml#post1756976
and find:
Global $PlayerBaseStatic = 0x00CF7C00
Global $PlayerBaseOffsA = 0x34, $PlayerBaseOffsB = 0x24
the offsets stay the same, but the static base changes, so you just replace the one in the autoit file
in this line: $PlayerBase = _MemoryRead(_MemoryRead(_MemoryRead(0x012BEDB8, $WoWProcess, 'ptr') + 0x34, $WoWProcess, 'ptr') + 0x24, $WoWProcess, 'ptr')
the autoit script should work again!
I see Cypher was as amuzed as I was with the c-- code.
Devv, nobody is getting off feeling superior. If what you are asking could be put down in words here any differently than was already said we would put it down. It would be like writing a paragraph that you read and poof you have the ability to speak a verbal language fluently instead of intermediately.
@ joe, did any of that sentence make sense when you read it back... I got nothing either... and what was being asked was sooo simple, I even gave him a step-by-step abbridged guide to doing it himself. flame on lol