Quote:
Originally Posted by lucid
Thanks for making an attempt at it first and asking your question intelligently. Here are a couple hints which should get you well on your way.
First, there are fly keybinds for "rise" and "descend" which adjust your Z axis accordingly (in CE: search increased/decreased value).
X/Y could be discerned relative to the Z value's memory address, however you can also use this trick:
- Open map
- Open chat
- Link location into chat
- Press the home key or manually move your cursor to the beginning of the line
- Type /w and press space
When you press space the game client will try to parse the location link as a character name and will instead show the code. You will see something like:
"1234.5 6789.0" would be the X/Y (or Y/X... Aion is strange) of the location you linked. You could use that data to search for a range of values and more quickly narrow down the X/Y coords. You might make one coord to the northwest and one to the southeast, then use the paired values for upper/lower bounds. The datatype for X/Y/Z coords is float.
Tip: You can also do the reverse and build a location link from X/Y coords using the format you see in the whisper example
|
Sneaky sneaky. That is a good trick indeed.
I did have one more selfish question.
In regards to character positioning, or how the character is facing.
Every walking bot turns the camera towards it's next waypoint and then simply walks forward. What sort of equation does one use to point a characters pitch/yaw viewpoint towards a waypoint?
My newebie solution was to just always face my camera as close to north as possible then I wouldn't have to rely on pitch/yaw I would simply rely on north south east west. However this would make my character look odd strafing sideways or walking backwards when going any direction but north.
At the moment I am having trouble getting actual pointers/offests as Aion crashes every-time I use the "Find what writes to this address" function. Perhaps I need to sort through the pointers finder. Not sure. Also the function I was using to read address memory in AHK doesn't seem to like Win 7, odd problem that no one on the AHK forum has responded to.
Once I have a working walk bot I wouldn't mind sharing. I normal rely on image searches to get my bearings on where my character is, this is all very exciting actually getting right into the memory addresses.
Thank you for the tip on map location, and any further tips along the way.