Anyone know the offset for your characters rotation? I am working on my own bot navigation bot, but don't know how to find it. There are too many addresses and my computer freezes up.
And how do I check if you and your target are in battle? The offset is 0x572 but I just get random numbers...
Thanks in advance!
Charactor Rotation & In Battle Addys
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Charactor Rotation & In Battle Addys
Copy the rotation code from my bot. The direction you are facing is not stored in degrees or radians, but rather in unit vectors (camUVec). You'll need to do some math to get the actual direction.
The battle flag is a byte. If you are reading 4 bytes, then it will seem random. When you are in combat, the battle flag will be 1, otherwise, it will be 0.
The battle flag is a byte. If you are reading 4 bytes, then it will seem random. When you are in combat, the battle flag will be 1, otherwise, it will be 0.
Re: Charactor Rotation & In Battle Addys
Thanks that explains the rotation. And I know the battle flag is a byte, but I will try again.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Charactor Rotation & In Battle Addys
Remember that the battling flag is an offset from the static base, and not the character. This could also be causing the random number problem you were explaining.
Re: Charactor Rotation & In Battle Addys
Yes, that explains it! Thank you!
Who is online
Users browsing this forum: Ahrefs [Bot] and 13 guests