Post Reply Home » Forums » MMO Forums » Age of Conan » Age of Conan Discussions

Waypoint Movement : Age of Conan Discussions

Posted: June 2nd, 2008
Total Posts:154 Joined:2006
Been working on a bot.

Needing to add movement, I know how to get the waypoints and also the direction the character is facing.

Having trouble getting it to move from one waypoint to the next if anyone has an example of getting a character to move from point A to B I would really appreciate it.
Posted: June 3rd, 2008
Total Posts:61 Joined:2004
press keyboard key up, left, right, down for set amount of time...

Ghetto, but that's how we used to do it in Asheron's Call AutoIT days.
Posted: June 4th, 2008
Total Posts:17 Joined:2004
binafus wrote:Been working on a bot.

Needing to add movement, I know how to get the waypoints and also the direction the character is facing.

Having trouble getting it to move from one waypoint to the next if anyone has an example of getting a character to move from point A to B I would really appreciate it.
I just started writing mine, and although I haven't gotten to the actual movement per say, I have a thought.

You could:

1.) As the above poster said, just do a timed check. May not be the "best" way, but should work ok.

2.) Just have something like a While() loop until you are in an acceptable distance from your Waypoint (say a meter or 3). During this While loop, keep running through a check, such as distance to the waypoint, the current angle between your heading and the waypoint, etc.. When you reach it, have that be the condition that ends the loop. Have all your targeting logic in there and break if you find something that you want to fight.

Actually, I'm currently at the point that I'm trying to get the heading to have any actual value. Do you understand how the heading in AoC works, because I'm totally lost.. I have the offset (I think), but it doesn't seem to give any real value.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 1 guest
Post Reply