Results 1 to 3 of 3

Thread: Depositer não funciona

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

    Depositer não funciona

    Galera, meu depositer não funciona. Ele abre o dp, fecha e vai embora.
    Alguém pode me ajudar?

    reachgrounditem('depot') wait(1000, 2000)
    openitem('depot') wait(1000, 2000)
    openitem('depot chest', 'locker') wait(1000, 2000)
    while itemcount('piece of crocodile leather', Mainbp) > 0 do
    moveitems('piece of crocodile leather', 'depot chest') wait(1000, 2000)
    end
    while itemcount('crab pincers', Mainbp) > 0 do
    moveitems('crab pincers', 'depot chest') wait(1000, 2000)
    end
    while itemcount('bloody pincers', Mainbp) > 0 do
    moveitems('bloody pincers', 'depot chest') wait(1000, 2000)
    end
    while itemcount('white pearl', Mainbp) > 0 do
    moveitems('white pearl', 'depot chest') wait(1000, 2000)
    end
    while itemcount('crocodile boots', Mainbp) > 0 do
    moveitems('crocodile boots', 'depot chest') wait(1000, 2000)
    end
    while itemcount('turtle shell', Mainbp) > 0 do
    moveitems('turtle shell', 'depot chest') wait(1000, 2000)
    end

    setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes")
    setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no")
    gotolabel('openbpdp')

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    707
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    72 Post(s)
    Reputation
    43
    Rep Power
    6
    o povo daki do forum arruma umas actions toda complicada de depositer se tem a do sirmate toda simples...
    coloca isso no setup:
    Code:
    MainDPBP = 'purple Backpack'      --Name of your Main Backpack inside the depot
    StackDPBP = 'camouflage Backpack'   --Name of your Backpack inside the MainDPBP for Stackable loot
    LootDPBP = 'beach Backpack'    --Name of your Backpack inside the MainDPBP for Non-Stackable loot
    e usa essa action so altera os itens.
    Code:
    setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no")
    reachgrounditem("depot")
    while (windowcount("Locker") ==0) do 
           openitem("depot")
           wait(700,900)
    end
    
    while (windowcount("Depot Chest") == 0) do
        openitem(3502, "locker")
        wait(800,1000)
    end
      
        openitem(MainDPBP, "Depot Chest", false)
        wait(800,1000)
    
    local CONFIG = {
        LOOT_BACKPACK = LootBP,
        
        STACKABLE_BACKPACK = StackDPBP,
        STACKABLE_BACKPACK_AMOUNT = 4,
        
        NOT_STACKABLE_BACKPACK = LootDPBP,
        NOT_STACKABLE_BACKPACK_AMOUNT = 16,
        
        DEPOSIT_ITEMS = {"spider silk", "time ring"},
    }
    
    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
    Sold EK 235 FOR MANUU
    Sold EK 234 FOR BADUREK
    Sold ED 220 FOR KKSECIA
    Sold EK 114+RP 93 FOR MANUU
    Sold 33kks FOR DAYLISE
    Sold ACC 57 DAYS VOUCHER LEXZINOS
    Sold 1.5kk for FACPPF
    Sold Ek 133 46 days voucher for PMartineli92
    Sold MS 171 22 days voucher for Zed Wb.

    Vendo contas com Voucher

  3. #3
    iBot User
    Join Date
    Jul 2013
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    concordo com vc angelic.

    ---------------------DEPOSIT----------------------------------------------
    closewindows()
    wait(500, 1000)
    openitem(MainBP, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(LootBP, MainBP, true)
    wait(500, 1000)
    resizewindows()

    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem(MainDPBP, "depot chest")

    wait(700,900)
    depotdeposit(StackableDPBP,"Nome dos Itens Empilaveis")
    wait(700,900)
    depotdeposit(LootDPBP,"Nome dos Itens")
    essa aqui tb funciona de boa. para quem não gosta de usar a library do sirmate

Posting Permissions

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