Signup Now
Results 1 to 5 of 5
  1. #1
    Free User mattaaron's Avatar
    Join Date
    May 2014
    Posts
    229
    Reputation
    17
    Rep Power
    20

    Pushing MFS from bp in the ground to MainBp

    Hello, I search a little bit in the forum, looking for this persistent but didnt worked for me... What I need is simple:
    There is a bp in the ground with mfs(brocade backpack), I want that the script push 30 mfs to my mainbp (blue backpack), always 30 mfs... always that I have cap, the script keep pushing 30 mfs... It is possible, right? its pretty simple, I know how to use wbot, but i have no idea how to create script/persistent...

  2. #2
    Free User strahowski's Avatar
    Join Date
    Aug 2014
    Posts
    216
    Reputation
    27
    Rep Power
    20
    init start
    local potion = "mana potion" -- Which potion to pickup
    local potioncount = 30 -- Potions to pickup
    local bp = {from = "Blue backpack", to = "brocade backpack"} -- To can also be ground(x,y,z) I think but untested.
    init end
    auto(100)
    local potiondata = iteminfo(potion)
    if($cap >= (potiondata.weight*potioncount)) then
    moveitems(potion, bp.from, bp.to, potioncount-itemcount(potion, bp.to))
    else
    -- Drop vials
    for i = 283, 285 do
    if itemcount(i) > 0 then
    moveitems(i, 'ground') waitping()
    end
    end
    end


    This should do the trick.

  3. #3
    Free User mattaaron's Avatar
    Join Date
    May 2014
    Posts
    229
    Reputation
    17
    Rep Power
    20
    Ok, when I go to the hunt I will test him, thanks already.

  4. #4
    Free User mattaaron's Avatar
    Join Date
    May 2014
    Posts
    229
    Reputation
    17
    Rep Power
    20
    Well, is working good, but only 2 things: he is dropping flask every time that he use mf... and I tried to change to strong mana potion in the other character, and hes pushing 100 strong mana potion (even i put 15, 20 or 30 strong mana potion in each time)... and not dropping the flasks everytime... how can I fix that?

    EDIT:

    I edited the action above to this (only changed the mp > smp and the amount, but is not working... he just keep pushing 100 strong mana potion non-stop, and sometimes he drop flask, sometimes he doesnt..

    init start
    local potion = "strong mana potion" -- Which potion to pickup
    local potioncount = 30 -- Potions to pickup
    local bp = {from = "jewelled backpack", to = "brocade backpack"} -- To can also be ground(x,y,z) I think but untested.
    init end
    auto(100)
    local potiondata = iteminfo(potion)
    if($cap >= (potiondata.weight*potioncount)) then
    moveitems(potion, bp.from, bp.to, potioncount-itemcount(potion, bp.to))
    else
    -- Drop vials
    for i = 283, 285 do
    if itemcount(i) > 0 then
    moveitems(i, 'ground') waitping()
    end
    end
    end
    Last edited by mattaaron; 06-09-2015 at 10:21 PM.

  5. #5
    Free User mattaaron's Avatar
    Join Date
    May 2014
    Posts
    229
    Reputation
    17
    Rep Power
    20
    buummp

 

 

Posting Permissions

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