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.
Change waypoint type when stuck?
Re: Change waypoint type when stuck?
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
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.
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
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
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?
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
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