I assume that the players xyz will be (3) floats. How do I even start looking for this?
By walking/jumping to higher and lower locations in the game and searching for increased/decreased float values. You can not know the X and Y by walking forward/back/left/right, but you can know that your Z is increasing and decreasing as you walk up and down ramps.
Obviously your initial search is either
Unknown or
Range with a range of -100000 to 100000 (or so).
As you can see, the Hex Editor helper tab (Conversions) is already ready to help you view XYZ float vectors, once you find them.
Also a sniper scope 'sway'. What method of searching is best?
Float search for a
range of values from -1 to 1. Then as your vertical sway moves up you sub search for
increased values. As it sways down you look for
decreased values.
For things other than ammo and health—values you don’t know already—you just have to take advantage of the search types that are meant to help you find values you don’t actually know.
Creative searching is all there is to it.
Also, you will often get lucky enough to have your player position/direction/etc. right there near your health in RAM. View your health in RAM and watch the
Hex Editor as you move around in the game. It is likely you will find areas in RAM that only change when you move (and changes are highlighted in blue for ease in spotting). They very well may be your XYZ positions.
You can view all data in the
Hex Editor as
Float by selecting
View/Base Options setting the
Current Layer/Data Type to
Float.
L. Spiro