[Help needed] How to find X/Y Axis

Discussions Related to Game Hacking and Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

[Help needed] How to find X/Y Axis

Postby CodeMaster.Rapture » Sun Mar 15, 2009 8:26 am

Hello,

I've managed to find the XYZ co-ords of a player, but when I try to get the X/Y Axis, I end up with a variable that I assume is the offset of the last mouse rotation and not a true axis. Any clues on how to go about getting that?

I've tried searching for an unknown value (long int/void) and sub-search for what has changed when I move the mouse. Is there another trick to it?

The game uses DirectX 8 and I think there are different axis's based off of which viewport I'm in (3rd person/1st person).
CodeMaster.Rapture
Hackleberry Fin
 
Posts: 20
Joined: Sun Mar 16, 2008 2:15 pm

Postby minorutono » Sun Mar 15, 2009 8:57 am

Try looking for X-Axis/Y-Axis seperately. They should be float values.

I don't think I understand, because your X/Y Axes don't change when you look around.. They change when you move.

Am I not getting something?
User avatar
minorutono
i R t3h nUB!!111
 
Posts: 944
Joined: Thu Apr 17, 2008 10:10 am
Location: 2845 Vista Verde Way Cameron Park CA 95682

Postby CodeMaster.Rapture » Sun Mar 15, 2009 2:41 pm

Well, maybe I am using the wrong terminology.

I mean pitch/yaw (like when you aim..).
CodeMaster.Rapture
Hackleberry Fin
 
Posts: 20
Joined: Sun Mar 16, 2008 2:15 pm

Postby minorutono » Sun Mar 15, 2009 3:18 pm

Like what area you're looking at?
As opposed to where you are.
User avatar
minorutono
i R t3h nUB!!111
 
Posts: 944
Joined: Thu Apr 17, 2008 10:10 am
Location: 2845 Vista Verde Way Cameron Park CA 95682

Postby WhiteHat » Mon Mar 16, 2009 1:51 pm

I don’t know if this have something to do with your question, but

L. Spiro ever told me to research about Radian, when i pointed out this
in WarCraft3:
- My hero facing north, this particular address value = 0.00......
- My hero facing east, this particular address value = 1.57......
- My hero facing south, this particular address value = 3.14......
- My hero facing west, this particular address value = 4.71......

However, as far as i can remember, in other case (GTA SA) the values vary
in range of -1.00 to 1.00..

Still, i think they are meant for yaw. Not sure for pitch....

BTW, wiki links for Radian: http://en.wikipedia.org/wiki/Radian
Hope it leads to something for the least...
.. to boldly go where no eagle has gone before...
User avatar
WhiteHat
Elang Djawa
 
Posts: 1059
Joined: Fri Jul 21, 2006 12:49 pm
Location: Away for a while...

Postby minorutono » Mon Mar 16, 2009 2:03 pm

O, o Radians
Working with Radians in Math Class right now..

Instead of a Square Graph, Radians work in a Circular Graph called a unit circle...

This makes sense that Radian measurements would show what direction you're facing.

To convert Degree measurements to Radian measurements multiply by Pi/180.
User avatar
minorutono
i R t3h nUB!!111
 
Posts: 944
Joined: Thu Apr 17, 2008 10:10 am
Location: 2845 Vista Verde Way Cameron Park CA 95682

Postby liqmysaq » Mon Mar 16, 2009 9:38 pm

ive always found it by searching float values using unknown then changed and same as before. when the found addresses dont go down anymore i look left or right from my last search then lock a bunch of addys at once (depending on how many found addys are left. usually i lock a page at a time if theres a bunch). if my direction changes then i lock smaller groups (using the group of addys i locked and it changed my direction) until i found the correct addy. same with the up/down. left/right and up/down are seperate addys.
User avatar
liqmysaq
I Know Your Poop
 
Posts: 538
Joined: Tue Jan 01, 2008 2:02 am

Postby CodeMaster.Rapture » Tue Mar 17, 2009 5:33 am

I've tried that. I find 2 addresses, usually, and if I lock them, they will lock only left/right movement but even then it doesn't always work. Oh well. I'll keep working at it.
CodeMaster.Rapture
Hackleberry Fin
 
Posts: 20
Joined: Sun Mar 16, 2008 2:15 pm


Return to General Related Discussions

Who is online

Users browsing this forum: No registered users and 0 guests

cron