PDA

View Full Version : Reverse Walker and Target list



ppgab
04-12-2014, 05:34 PM
Reverse Walker is very simple and useful , for example


-- new functions:
-- Walker.Reverse() - Reverse the walker
-- Walker.Straight() - Sets the walker to normal
-- Walker.IsReversed() - returns true if walker is running reversed, else returns false


elseif (labelName == "ReachedCity") then
if (Walker.IsReversed()) then Walker.Straight() end
Walker.Goto("Bank|Refill")



Module.New("Supply Checker", function(module)

if Self.ItemCount(MP) < maxMP or Self.ItemCount(HP) < maxHP or Self.ItemCount(rune) < maxRune
then Walker.Reverse() end

module:Delay(1000)
end)



this would be extremely useful because it would be no longer necessary to check for supplies only in one place, or having to make multiple checks and multiple leave labels, it would just check supplies all the time, and make its way back reversing the walker if necessary.

Not only checking for supplies, but you can also use it to "randomize" hunting by walking through the spawn the other way around

i find it a great implemetion and other bots have it too


Target list:

this is simple, when adding a new creature to the targetting, add the possibility to put multiple creatures separated by a comma, so all these creatures would have same priority and settings

this would also be nice in looting :o