Results 1 to 9 of 9

Thread: Withdraw Brown mushrooms from backpack inside depot

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    119
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Withdraw Brown mushrooms from backpack inside depot

    the title says everything...
    i want to withdraw brown mushs from depot
    my setup is:

    MainBP = "blue backpack"
    DpBP = "brocade backpack"
    FoodType = "brown mushroom"
    FoodMax = 60 --number of mushrooms to take from dp to take hunt
    FoodMin = 5 -- number of mushrooms to leave from cave
    FoodRefill = 25 -- number of mushrooms to go to depot refill mushrooms FROM DpBP

    it would be something like:

    if itemcount(FoodType) <= FoodRefill then

    reachgrounditem("depot")
    wait(500)
    openitem("depot chest")
    wait(300,500)
    openitem(DpBP)
    wait(300)
    moveitems(FoodType, DpBP, MainBP, FoodMax)
    end


    it would be something like that, am i right?

  2. #2
    Normal User
    Join Date
    Jan 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem("brocade backpack", "depot chest")
    wait(700,900)
    moveitems("brown mushroom", "brocade backpack", "blue backpack", 35)
    wait(700,900)

    this is a simply code that will reach dp and take 35 mushrooms (+25 = 60 right?), with the configuration u described, backpack colors and stuff
    i dont know much from now, but i guess it works, its not tested.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    119
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by graxa View Post
    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem("brocade backpack", "depot chest")
    wait(700,900)
    moveitems("brown mushroom", "brocade backpack", "blue backpack", 35)
    wait(700,900)

    this is a simply code that will reach dp and take 35 mushrooms (+25 = 60 right?), with the configuration u described, backpack colors and stuff
    i dont know much from now, but i guess it works, its not tested.
    ill test today, thanks (:

  4. #4
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    339
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6
    Quote Originally Posted by piva666 View Post
    the title says everything...
    i want to withdraw brown mushs from depot
    my setup is:

    MainBP = "blue backpack"
    DpBP = "brocade backpack"
    FoodType = "brown mushroom"
    FoodMax = 60 --number of mushrooms to take from dp to take hunt
    FoodMin = 5 -- number of mushrooms to leave from cave
    FoodRefill = 25 -- number of mushrooms to go to depot refill mushrooms FROM DpBP

    it would be something like:

    if itemcount(FoodType) <= FoodRefill then

    reachgrounditem("depot")
    wait(500)
    openitem("depot chest")
    wait(300,500)
    openitem(DpBP)
    wait(300)
    moveitems(FoodType, DpBP, MainBP, FoodMax)
    end


    it would be something like that, am i right?
    try
    PHP Code:
    if itemcount(FoodType) <= FoodRefill then
    reachgrounditem
    ("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)

    while (
    windowcount("Depot Chest") == 0)
    do
        
    openitem(3502"locker")
        
    wait(700,900)
    end


    openitem
    (dpbp"Depot Chest")
    wait(400,700)

    local mushroomtowithdraw positive(foodmax itemcount(foodtypemainbp))

    moveitems(foodtypedpbpmainbpmushroomtowithdraw)
    wait(400,700)
    end 
    Last edited by kamil123; 01-14-2013 at 06:55 PM.

  5. #5
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    ^

    u aware?

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    119
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    moveitems does not work mr kamil123

  7. #7
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by piva666 View Post
    moveitems does not work mr kamil123
    Umm... yes it does.

  8. #8
    Normal User
    Join Date
    Jun 2012
    Posts
    119
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Umm... yes it does.
    problem with setup done

  9. #9
    Normal User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    221
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    58
    Rep Power
    5
    PHP Code:
    local FoodBP "Blue Backpack" -- Name of DPBP
    local BP1 
    "Red Backapck" -- Were you want the FoodMainBP?
    local FoodName "brown mushrooms" -- FoodName
    local FoodToMove 
    positive(foodmax itemcount(FoodNameBP1))

    local foodmax 50 -- Max Food you want to Refill

    reachgrounditem
    ("depot"wait(400800)
    openitem("depot"wait(1000)
    openitem("depot chest""locker"wait(1000)
    openitem(FoodBP"depot chest"wait(1000)
    moveitems(FoodNameFoodBPBP1FoodToMovewait(1000

    not tested

Posting Permissions

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