Charactor Rotation & In Battle Addys

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Chaosis
Posts: 21
Joined: Sun Jun 07, 2009 5:45 pm

Charactor Rotation & In Battle Addys

#1 Post by Chaosis » Mon Jun 08, 2009 3:07 pm

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!

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Charactor Rotation & In Battle Addys

#2 Post by Administrator » Mon Jun 08, 2009 6:51 pm

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.

User avatar
Chaosis
Posts: 21
Joined: Sun Jun 07, 2009 5:45 pm

Re: Charactor Rotation & In Battle Addys

#3 Post by Chaosis » Mon Jun 08, 2009 9:47 pm

Thanks that explains the rotation. And I know the battle flag is a byte, but I will try again.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Charactor Rotation & In Battle Addys

#4 Post by Administrator » Mon Jun 08, 2009 9:58 pm

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.

User avatar
Chaosis
Posts: 21
Joined: Sun Jun 07, 2009 5:45 pm

Re: Charactor Rotation & In Battle Addys

#5 Post by Chaosis » Mon Jun 08, 2009 10:16 pm

Yes, that explains it! Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest