waypoint managment function

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
WonderBoB
Posts: 29
Joined: Tue Feb 19, 2013 10:57 am

waypoint managment function

#1 Post by WonderBoB » Thu Mar 07, 2013 12:33 pm

I had a thought about way points, when we create way points we currently have to build the way points, then test them then edit them, or rebuild them ect., to avoid things to get rid of way points that we can get stuck on.

Here is my thought,

We have the functionality to move when we are stuck, so how about expand that to record where we got stuck at and the new path taken by the bot to get around it. Then add to or modify the way point file it is running with the new information.

I know you may be thinking that would be a huge under taking for such a minor thing, but I actually have greater plans for such a function.

Please let me know if it would be possible and point me in the right direction, mean while I will be trying to figure it out. =)
Life without code is like sex without a partner..

Checkout my Midnight Whispers Dailies in Merdhin Tundra
http://www.solarstrike.net/phpBB3/viewt ... 420#p48420

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: waypoint managment function

#2 Post by lisa » Thu Mar 07, 2013 10:08 pm

Anything is of course possible, the only real question is do you want to put in the effort to make it work.

There is already built into the bot the ability to call your own function at unsticks 3 6 9.
So you could easily add in your function at any other those.

Just create a function with names of unStick3() or unStick6() or unStick9()

example

Code: Select all

function unStick3()
print(" I have tried to unstick 3 times already, learn to make WP better ")
end

As for "rewriting" the waypoint, Rock posted a file here which is for removing Y values from a WP but it should atleast give you an idea at how to write a WP from a function.

That should get you started atleast =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

WonderBoB
Posts: 29
Joined: Tue Feb 19, 2013 10:57 am

Re: waypoint managment function

#3 Post by WonderBoB » Fri Mar 08, 2013 10:41 pm

thanks that atleast fives me a starting point
Life without code is like sex without a partner..

Checkout my Midnight Whispers Dailies in Merdhin Tundra
http://www.solarstrike.net/phpBB3/viewt ... 420#p48420

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest