Register for your free account! | Forgot your password?

Go Back   elitepvpers > Aion > Aion Main - Discussions / Questions
You last visited: Today at 16:03

  • Please register to post and access all features, it's quick, easy and FREE!

 

Noob question: Best way to find xyz coords with CE

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 66
Received Thanks: 16
Noob question: Best way to find xyz coords with CE

So I have been working with AHK for a long time now and realized it has memory read capabilities. So I am trying to find a realiable way to read my xyz coords to make my own bot.

Problem is I suck with CE. Most of the other offset threads I see show the characters xyz coords as float values. But every time I try searching for values and modifying my search to narrow down a single address. I end up with 0.

Aion took out the /loc function so I can't even find 2 decent coords to search between.

Most of the time I am just simply moving in 1 direction hitting increased value, hoping it will eventually narrow down to a handful or addresses which I can look in. But it never goes right.

Any expert advise for how to better make use of my CE searches would be great.

Thank you



Storb is offline  
Old   #2
 
elite*gold: 0
Join Date: Feb 2006
Posts: 629
Received Thanks: 195
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:
  1. Open map
  2. Open chat
  3. Link location into chat
  4. Press the home key or manually move your cursor to the beginning of the line
  5. 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:
Quote:
Whisper to [pos:Location;400010000: 1234.5 6789.0 0.0 1]
"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


lucid is offline  
Old   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 66
Received Thanks: 16
Quote:
Originally Posted by lucid View Post
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:
  1. Open map
  2. Open chat
  3. Link location into chat
  4. Press the home key or manually move your cursor to the beginning of the line
  5. 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.
Storb is offline  
Old   #4
 
elite*gold: 0
Join Date: Nov 2008
Posts: 66
Received Thanks: 16
I have found the equation I was looking for. Luckily my fiance tutors her cousins in math all the time so she threw the equation at me like a pro, even drew me a picture.....love that woman

You must register and activate your account in order to view images.

Y and X would be the map boundaries, but they don't even matter

Using C,D and E,F you solve for H and G Which you can then use to get I which you can then use to get sin Z which allows you to get the exact angle a character needs to face to walk in a straight line form waypoint to waypoint.

My next step......how to find pointers/offsets and get them to work in AHK


Storb is offline  
Old   #5
 
elite*gold: 0
Join Date: Feb 2006
Posts: 629
Received Thanks: 195
Better check all of it, she gave you G + H = I, which is not correct. G + H = I

All of this information is readily available on the Internet, search "Cartesian Distance" or "Cartesian Angle".


lucid is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
I totally feel noob now CANT FIND PAKE
title says all hater and trolls can do their job i dont care anymore.. unless some1 can help me?
7 Replies - Mabinogi
noob question from noob player
How much XP does a limpit (lv89) give at lv98 ? Because a friend of mine killed deathmute (lv79) when he was arround 89 or 90 and he only got...
14 Replies - Archlord
plz help me to find the bin folder of dekaron im just a noob
Where I can find the bin folder plz help!!!!!!!!!!!!!!:handsdown:
4 Replies - Dekaron Exploits, Hacks, Bots, Tools & Macros
How can i compile (Noob Question but i am noob at this)
Hello all i got this problem that when i changed something in source it doesnt changes inside how do i compile ;) please help :)
6 Replies - CO2 PServer - Discussions / Questions
Koordinaten eigener Maps herausfinden?/how to find out the coords of my own maps?
Wie finde ich die Koordinaten einer von mir erstellten Map raus? Oo Irgendwie muss ich da ja hinkommen :-D How can I find out the coordinates of...
7 Replies - WoW Modelchange Support



All times are GMT +2. The time now is 16:03.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.