Change waypoint type when stuck?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
romaniac
Posts: 79
Joined: Sat Feb 04, 2012 8:25 am

Change waypoint type when stuck?

#1 Post by romaniac »

Here's a suggestion for a new feature. When I use waypoints in TRAVEL mode to pass longer distances the bot usually outruns hostile mobs alonge the way. Occasionally it happens that the bot gets stuck by running into an obstacle and the mobs catch up, attack and kill the char while the bot tries to become unstuck. Due to the travel mode the bot does not fight back so even weak mobs will cause death eventually.

If you could add a feature to the bot to change the waypoint mode during stuck handling it would be possible to switch to RUN and thus defend yourself and survive.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Change waypoint type when stuck?

#2 Post by lisa »

I added in the ability for people to customize what happens at unstick tries 3,6 and 9.

So in the onload of the WP you could have

Code: Select all

function unStick3()
-- some fancy code here, fight back or just change waypoint type
end
So when bot does the 3rd unstick try it will do this code instead of the default unstick try.
You can make it do anything you want.
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
BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: Change waypoint type when stuck?

#3 Post by BillDoorNZ »

ahh..that was you that added that in Lisa? nice :)

I use it to call Rock5's teleport functions when the bot gets stuck to bypass obstacles....no one has even mentioned anything (and I do bot in public places to an extent - mainly auto running from place to place tho).

Anyway, works a treat, thx to you both :)
Post Reply