Results 1 to 1 of 1

Thread: PotionFomDepot Help me

  1. #1
    iBot User
    Join Date
    Aug 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    5

    PotionFomDepot Help me

    Hey script no moveitems from bp depot please help me

    Code:
    if potionsFromDepot then
    
    ----< Opening Backpacks >----
    
      while (windowcount(mainBp) ~= 1) or (windowcount() ~= 1) do
    
    	closewindows()
    
        wait(400, 600)
    
      openitem(mainBp, 'back')
    
        wait(400, 600)
    
        resizewindow(mainBp, 0)
    
        wait(400, 600)
    
      end
    
    ----< Reaching Depot >----
    
      openitem("depot")
    
      wait(600, 1100)
    
      openitem(3502, "locker")
    
      wait(600, 1100)
    
      openitem(potionDpBp, 'Depot Chest')
    
      wait(600, 1100)
    
    ----< Depositing Potions >----
    
      moveitems(hpName, mpName, potionDpBp, mainBp)
    
    
    ----< Withdrawing Potions >----
    
      if hpPotionsFromDp then
    
        Self.MoveItemsUpTo(hpName, hpBuy, mainBp, potionDpBp)
    
      end
    
    wait(600, 1100)
    
      if mpPotionsFromDp then
    
        Self.MoveItemsUpTo(mpName, mpBuy, mainBp, potionDpBp)
    
      end
    
    end
    Code:
    ----<< Backpack options >>----
    mainBp = "backpack"        -- Name of main backpack
    lootBp = "bag"           -- Name of loot backpack
    goldBp = "camouflage Backpack"       -- Name of yellow backpack
    
    mainDpBp = "Backpack"      -- Name of main DEPOT backpack
    stackableBp = "red Backpack"    -- Name of stackable DEPOT backpack
    nonStackableBp = "blue Backpack" -- Name of nonstack~ DEPOT backpack
    potionDpBp = "green Backpack"    -- Name of DEPOT bp for potions
    
    ----<< Refill options >>----
    mpName = "mana potion"         -- Name of mana potion
    mpBuy = 0                    -- Ammount of mana potions to buy
    mpMin = -1                     -- Ammount of mana potions to refill
    
    hpName = "health potion" -- Name of health potion
    hpBuy = 5                     -- Ammount of health potions to buy
    hpMin = 2                     -- Ammount of health potions to refill
    
    ----<< Additional options >>----
    potionsFromDepot = true      -- Take potions from depot?
    hpPotionsFromDp = true        -- Take health potions from depot?
    mpPotionsFromDp = true        -- Take mana potions from depot?
    Last edited by hitman094; 10-04-2014 at 11:26 AM.

Posting Permissions

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