Results 1 to 2 of 2

Thread: Crystal Pedestal nao é depositado na BP de loot do DP

  1. #1
    Premium User
    Join Date
    Jul 2013
    Posts
    2
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4

    Crystal Pedestal nao é depositado na BP de loot do DP

    isaacbf, segue ae a action de depositar no dp

    while (windowcount(depotBackpack) == 0)
    do
    openitem(depotBackpack, 'Depot Chest')
    wait(300,600)
    end

    openitem(MainDPBP, "Depot Chest", false)
    wait(800,1000)
    local CONFIG = {
    LOOT_BACKPACK = LootBP,

    STACKABLE_BACKPACK = StackDPBP,
    STACKABLE_BACKPACK_AMOUNT = 10,

    NOT_STACKABLE_BACKPACK = LootDPBP,
    NOT_STACKABLE_BACKPACK_AMOUNT = 10,

    DEPOSIT_ITEMS = {"9064", "9065", "9066", "9063", "yellow gem", "stealth ring", "might ring", "gold ring", "Deepling Backpack", "Foxtail", "Deepling Squelcher", "Guardian Axe", "Rusty Armor semi rare", "Life Ring", "Spellbook of Enlightenment", "Strong Mana Potion", "Strong Health Potion", "Life Crystal", "gear wheel", "slime mould", "gear crystal", "green mushroom", "soul orb", "Great Health Potion", "Key to the Drowned Library", "Deepling Warts", "Deepling Ridge", "Deeptags", "Flask of Rust Remover", "Deepling Scales","Spellsinger's Seal","Giant Shimmering Pearl","Vortex Bolt","flask of rust remover"},
    }

    local NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = 0, 1

    while (#CONFIG.DEPOSIT_ITEMS >= ITEM_INDEX) do
    if (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "string") then
    local ITEM_ID = itemid(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX])

    if (ITEM_ID > 0) then
    CONFIG.DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number") then
    if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0) then
    ITEM_INDEX = ITEM_INDEX + 1
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    end

    while (true) do
    for _, DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do
    if (itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK) > 0) then
    if (itemproperty(DEPOSIT_ITEM).isCumulative) then
    local STACKABLE_LAST_ON_TO = 0

    while (CONFIG.STACKABLE_BACKPACK_AMOUNT > STACKABLE_LAST_ON_TO) do
    local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)

    moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.STACKABLE_BACKPACK, 100, STACKABLE_LAST_ON_TO) wait(500, 1000)

    local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)

    if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then
    STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1
    elseif (ITEM_COUNT_AFTER == 0) then
    break
    end
    end
    else
    while (CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT > NOT_STACKABLE_LAST_ON_TO) do
    local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)

    moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.NOT_STACKABLE_BACKPACK, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000)

    local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)

    if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then
    NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1
    elseif (ITEM_COUNT_AFTER == 0) then
    break
    end
    end
    end
    end
    end

    if (itemcount(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then
    openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) wait(2000, 3000)
    else
    break
    end

    wait(100)
    end

    setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no")

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    @ransgui

    Amigo como falei não usa aspas no ID fica assim:

    Lua Code:
     
    while (windowcount(depotBackpack) == 0)
    do
    openitem(depotBackpack, 'Depot Chest') 
    wait(300,600)
    end
     
    openitem(MainDPBP, "Depot Chest", false)
    wait(800,1000)
    local CONFIG = {
    LOOT_BACKPACK = LootBP,
     
    STACKABLE_BACKPACK = StackDPBP,
    STACKABLE_BACKPACK_AMOUNT = 10,
     
    NOT_STACKABLE_BACKPACK = LootDPBP,
    NOT_STACKABLE_BACKPACK_AMOUNT = 10,
     
    DEPOSIT_ITEMS = {9064, 9065, 9066, 9063, "yellow gem", "stealth ring", "might ring", "gold ring", "Deepling Backpack", "Foxtail", "Deepling Squelcher", "Guardian Axe", "Rusty Armor semi rare", "Life Ring", "Spellbook of Enlightenment", "Strong Mana Potion", "Strong Health Potion", "Life Crystal", "gear wheel", "slime mould", "gear crystal", "green mushroom", "soul orb", "Great Health Potion", "Key to the Drowned Library", "Deepling Warts", "Deepling Ridge", "Deeptags", "Flask of Rust Remover", "Deepling Scales","Spellsinger's Seal","Giant Shimmering Pearl","Vortex Bolt","flask of rust remover"},
    }
     
    local NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = 0, 1
     
    while (#CONFIG.DEPOSIT_ITEMS >= ITEM_INDEX) do
    if (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "string") then
    local ITEM_ID = itemid(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX])
     
    if (ITEM_ID > 0) then
    CONFIG.DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number") then
    if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0) then
    ITEM_INDEX = ITEM_INDEX + 1
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    else
    table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX)
    end
    end
     
    while (true) do
    for _, DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do
    if (itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK) > 0) then
    if (itemproperty(DEPOSIT_ITEM).isCumulative) then
    local STACKABLE_LAST_ON_TO = 0
     
    while (CONFIG.STACKABLE_BACKPACK_AMOUNT > STACKABLE_LAST_ON_TO) do
    local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)
     
    moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.STACKABLE_BACKPACK, 100, STACKABLE_LAST_ON_TO) wait(500, 1000)
     
    local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)
     
    if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then
    STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1
    elseif (ITEM_COUNT_AFTER == 0) then
    break
    end
    end
    else
    while (CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT > NOT_STACKABLE_LAST_ON_TO) do
    local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)
     
    moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.NOT_STACKABLE_BACKPACK, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000)
     
    local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK)
     
    if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then
    NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1
    elseif (ITEM_COUNT_AFTER == 0) then
    break
    end
    end
    end
    end
    end
     
    if (itemcount(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then
    openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) wait(2000, 3000)
    else
    break
    end
     
    wait(100)
    end
     
    setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no")

Posting Permissions

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