Results 1 to 3 of 3

Thread: Ajudinha com script.

  1. #1
    iBot User
    Join Date
    Jan 2015
    Posts
    21
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    2

    Ajudinha com script.

    Galera, após o bot sair da hunt entrando no dp ele guarda os itens normalmente nas bps stacks e loots porem depois de guardar ele fica parado em frente ao dp com a lootbp aberta e mainbpDP aberta tbm e nao anda mais.

    Esse é a action em que ele fica parado.

    local StackableDepositItems = {"Frosty Heart", "Black Pearl", "Small Diamond", "Small Sapphire", "Strong Mana Potion", "Spider Silk", "Strong Health Potion"}

    local LootDepositItems = {"Crystal Sword", "Glacier Mask", "Ice Rapier", "Shard", "Strange Helmet", "Crystal Necklace", "Crystal Ring", "Knight Legs", "Time Ring", "Knight Armor", "Platinum Amulet", "Sapphire Hammer", "Jewelled Backpack", "Ice Cube"}


    reachgrounditem("depot")
    wait(1000, 1500)
    openitem("depot")
    wait(900, 1400)
    openitem(3502, "locker")
    wait(900, 1400)
    openitem(MainBPDP, 'Depot Chest')
    wait(900, 1400)

    depotdeposit(StackBPDP, unpack(StackableDepositItems))

    wait(400, 600)
    depotdeposit(LootBPDP, unpack(LootDepositItems))

    wait(400, 600)

    while itemcount(LootBP) > 0 do
    wait(900, 1400)
    openitem(LootBP, LootBP)
    wait(900, 1400)
    depotdeposit(StackBPDP, unpack(StackableDepositItems))
    wait(900, 1400)
    depotdeposit(LootBPDP, unpack(LootDepositItems))
    wait(900, 1400)
    end

    wait(900, 1400)
    setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes")


    ps: criei este mesmo topico em outra area errada, se puder apagar o outro agradeço.

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    @igordeep , Creio que o erro seja nessa parte abaixo
    Lua Code:
     
    while itemcount(LootBP) > 0 do


    Voce está verificando se exist lootbp, creio que voce ou alguém modificou o código, pois deveria estar contando se ainda existe loot bp dentro da loot bp. Tente assim ao invés:
    Lua Code:
     
    while itemcount(LootBP, LootBP) > 0 do
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  3. #3
    iBot User
    Join Date
    Jan 2015
    Posts
    21
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    2
    Funcionou Norkk muito obrigado.

Posting Permissions

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