Navigation System
Posted: Sat Jun 13, 2009 5:44 pm
I have been working on my own bot for Runes of Magic using C++. It is fully functional now, I am just working on some waypoints to get from 1 to 20.
I had to make my own navigation system, and it seems like it could have some potential... What I did was map the path from where you start in the game to Logar (I actually have up to Varanas, but not provided). I then find the closest point in the array to you and your destination. It then travels down the path until it reaches the closest to your destination, then it goes straight to your destination. If your destination point is closer than a mapped area, it moves directly to your destination.
I think it might be good to get people to the location where the bot should start, or to cities. I have attached the exe below so you can test it. I use +/- 3 degrees on rotation, and +/- 50 units for walking to points.
F1 - Navigates to a location. (Only up to Logar supported)
F2 - Prints current location.
I had to make my own navigation system, and it seems like it could have some potential... What I did was map the path from where you start in the game to Logar (I actually have up to Varanas, but not provided). I then find the closest point in the array to you and your destination. It then travels down the path until it reaches the closest to your destination, then it goes straight to your destination. If your destination point is closer than a mapped area, it moves directly to your destination.
I think it might be good to get people to the location where the bot should start, or to cities. I have attached the exe below so you can test it. I use +/- 3 degrees on rotation, and +/- 50 units for walking to points.
F1 - Navigates to a location. (Only up to Logar supported)
F2 - Prints current location.