Results 1 to 1 of 1

Thread: Help with waypoints jumping around.

  1. #1
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Help with waypoints jumping around.

    So I have a script, waypoints are below as follows, and often (every 3rd or 4th round) for some reason once it goes into the AS cave (at the StartHunt) it will jump back to the begining and start dropping everything and trying to make Avalanche runes (even with no blanks on me)

    Making Avalanche and droping everything should only happen once I am in my house, so I do not know why it often happens when I am in the Ancient Scarab Cave.

    Anyone can take a look and think about why this is screwing up?
    (and yes, I know my code and way points are horrible, I'm amateur at making scripts)


    Stand 33189 32814 7
    Action 33189 32814 7 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes")
    ;wait(500, 1000)
    ;closewindows()
    ;wait(500, 1000)
    ;openitem(mainBp, "back" )
    ;wait (500,1000)

    Action 33189 32814 7 dropitems(283,284,285)
    Stand 33189 32813 7
    Action 33189 32813 7 dropitems(268)
    Stand 33190 32813 7
    Action 33190 32813 7 dropitems(3155)
    Stand 33191 32813 7
    Action 33191 32813 7 dropitems(9641,3042,9631,3032,3033)
    Stand 33189 32813 7
    Action 33189 32813 7
    local mptopickup = (400-itemcount(268))
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)

    Stand 33188 32813 7
    Action 33189 32813 7 moveitems("blank rune",ground(33188,32813,7),"all",23)
    ;wait(500,1000)
    ;moveitems("blank rune",ground(33188,32813,7),"all",23)
    ;wait(500,1000)
    ;moveitems("blank rune",ground(33188,32813,7),"all",23)
    ;wait(500,1000)
    ;moveitems("blank rune",ground(33188,32813,7),"all",23)
    ;wait(500,1000)

    Stand 33188 32814 7
    Action 33188 32814 7 if soul >= 3 then
    ;cast("adori mas frigo")
    ;dropitems(3161)
    ;end

    Action 33188 32814 7 if soul >= 3 then
    ;gotolabel("makeava")
    ;else
    ;gotolabel("getreadytohunt")
    ;end

    Stand 33189 32814 7
    Action 33189 32814 7 dropitems(283,284,285)
    Stand 33188 32813 7
    Action 33189 32813 7 dropitems(3147)
    Stand 33188 32814 7
    Action 33188 32814 7 dropitems(3161)
    Stand 33189 32813 7
    Action 33189 32813 7 dropitems(268)
    Stand 33190 32813 7
    Action 33190 32813 7 moveitems("sudden death rune",ground(33190,32813,7),"all",24)
    ;wait(500,1000)
    ;moveitems("sudden death rune",ground(33190,32813,7),"all",24)
    ;wait(500,1000)
    ;moveitems("sudden death rune",ground(33190,32813,7),"all",24)
    ;wait(500,1000)

    Stand 33189 32813 7
    Action 33189 32813 7 local mptopickup = (400-itemcount(268))
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)
    ;moveitems("mana potion",ground(33189,32813,7),"all",mptopickup)
    ;wait(500,1000)

    Action 33190 32813 7 if (itemcount('mana potion') <= minMp) or (itemcount(3155) <= minSd) then
    ;gotolabel('getreadytohunt')
    ;end

    Stand 33134 32823 6
    Action 33134 32823 6 if not islocation() then gotolabel("Position001") end
    Stand 33099 32808 7
    Stand 33088 32792 7
    Stand 33086 32787 7
    Stand 33086 32784 6
    Stand 33081 32776 7
    Action 33081 32776 7 if not islocation() then gotolabel("Position008") end
    Stand 33075 32766 7
    Stand 33072 32759 7
    Stand 33072 32759 7
    Shovel 33072 32760 7
    Stand 33072 32760 7
    Stand 33076 32755 8
    Stand 33096 32749 9
    Stand 33096 32749 10
    Action 33096 32749 10 if not islocation() then gotolabel("Position009") end
    Stand 33095 32762 10
    Stand 33071 32770 10
    Stand 33052 32775 10
    Stand 33054 32776 11
    Action 33054 32776 11 if not islocation() then gotolabel("Position010") end
    Stand 33054 32776 11
    Action 33054 32776 11 if not islocation() then gotolabel("Start") end
    Action 33054 32776 11 if (itemcount('mana potion') <= minMp) or soul >= 190 then
    ;gotolabel('LeaveHunt')
    ;end

    Stand 33036 32776 11
    Stand 33035 32788 11
    Stand 33039 32761 11
    Stand 33057 32761 11
    Stand 33076 32763 11
    Stand 33079 32779 11
    Stand 33067 32777 11
    Stand 33079 32792 11
    Stand 33063 32793 11
    Stand 33050 32793 11
    Stand 33079 32778 11
    Stand 33059 32762 11
    Stand 33054 32776 11
    Action 33054 32776 11 if (itemcount('mana potion') <= minMp) or soul >= 190 then
    ;gotolabel('LeaveHunt') else
    ;gotolabel('StartHunt')
    ;end

    Stand 33052 32776 11
    Stand 33056 32776 10
    Stand 33072 32770 10
    Stand 33089 32768 10
    Stand 33096 32749 10
    Rope 33096 32749 10
    Action 33096 32750 9 if not islocation() then gotolabel("w048")
    Stand 33076 32755 9
    Rope 33076 32755 9
    Action 33076 32756 8 if not islocation() then gotolabel("w050")
    Stand 33072 32760 8
    Rope 33072 32760 8
    Stand 33072 32761 7
    Action 33072 32761 7 if not islocation() then gotolabel("Position011") end
    Stand 33078 32769 7
    Stand 33086 32784 7
    Stand 33086 32787 6
    Stand 33100 32808 7
    Stand 33189 32814 7
    Action 33189 32814 7 gotolabel("Start")
    Last edited by Judoas; 10-17-2013 at 06:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •