Results 1 to 3 of 3

Thread: Problem with depositing in Svargrond

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    6
    Rep Power
    0

    Problem with depositing in Svargrond

    As the title says I'm having problems making a depositer for spawns near svargrond. I am using the same actions on these scripts
    as I use on every other script I have and the action only seems to not work in svargrond for some reason. The bot opens up the depot,
    the main dp bp and then even browses through my loot backpack for the items, yet it doesnt move not even a single item to the dp.
    Perhaps some1 has had a similar problem and could help me out.

  2. #2
    Normal User
    Join Date
    Jul 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    5
    Please paste an action, I will fix it for you and it will work properly
    I had the same problem

  3. #3
    iBot User
    Join Date
    Aug 2012
    Location
    Chile
    Posts
    197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    50
    Rep Power
    5
    Use depositing action for sirmate I use a barbarian script on svargrond and deposit all items without problems, check it here

    PHP Code:
    local CONFIG = {
        
    LOOT_BACKPACK "jewelled backpack",
        
        
    STACKABLE_BACKPACK "green backpack",
        
    STACKABLE_BACKPACK_AMOUNT 2,
        
        
    NOT_STACKABLE_BACKPACK "grey backpack",
        
    NOT_STACKABLE_BACKPACK_AMOUNT 18,
        
        
    DEPOSIT_ITEMS = {"great health potion""fish fin""necklace of the deep""deepling staff"},
    }

    local NOT_STACKABLE_LAST_ON_TOITEM_INDEX 01

    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 0then
                CONFIG
    .DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX ITEM_IDITEM_INDEX 1
            
    else
                
    table.remove(CONFIG.DEPOSIT_ITEMSITEM_INDEX)
            
    end
        
    elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number"then
            
    if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0then
                ITEM_INDEX 
    ITEM_INDEX 1
            
    else
                
    table.remove(CONFIG.DEPOSIT_ITEMSITEM_INDEX)
            
    end
        
    else
            
    table.remove(CONFIG.DEPOSIT_ITEMSITEM_INDEX)
        
    end
    end

    while (true) do
        for 
    _DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do
            if (
    itemcount(DEPOSIT_ITEMCONFIG.LOOT_BACKPACK) > 0then
                
    if (itemproperty(DEPOSIT_ITEM).isCumulativethen
                    local STACKABLE_LAST_ON_TO 
    0
                    
                    
    while (CONFIG.STACKABLE_BACKPACK_AMOUNT STACKABLE_LAST_ON_TO) do
                        
    local ITEM_COUNT_BEFORE itemcount(DEPOSIT_ITEMCONFIG.LOOT_BACKPACK)
                        
                        
    moveitemsonto(DEPOSIT_ITEM"all"CONFIG.STACKABLE_BACKPACK100STACKABLE_LAST_ON_TOwait(5001000)
                        
                        
    local ITEM_COUNT_AFTER itemcount(DEPOSIT_ITEMCONFIG.LOOT_BACKPACK)
                        
                        if (
    ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER 0then
                            STACKABLE_LAST_ON_TO 
    STACKABLE_LAST_ON_TO 1
                        
    elseif (ITEM_COUNT_AFTER == 0then
                            
    break
                        
    end
                    end
                
    else
                    while (
    CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT NOT_STACKABLE_LAST_ON_TO) do
                        
    local ITEM_COUNT_BEFORE itemcount(DEPOSIT_ITEMCONFIG.LOOT_BACKPACK)
                        
                        
    moveitemsonto(DEPOSIT_ITEM"all"CONFIG.NOT_STACKABLE_BACKPACK100NOT_STACKABLE_LAST_ON_TOwait(5001000)
                        
                        
    local ITEM_COUNT_AFTER itemcount(DEPOSIT_ITEMCONFIG.LOOT_BACKPACK)
                        
                        if (
    ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER 0then
                            NOT_STACKABLE_LAST_ON_TO 
    NOT_STACKABLE_LAST_ON_TO 1
                        
    elseif (ITEM_COUNT_AFTER == 0then
                            
    break
                        
    end
                    end
                end
            end
        end
        
        
    if (itemcount(CONFIG.LOOT_BACKPACKCONFIG.LOOT_BACKPACK) > 0then
            openitem
    (CONFIG.LOOT_BACKPACKCONFIG.LOOT_BACKPACKfalsewait(20003000)
        else
            break
        
    end
        
        wait
    (100)
    end 
    "Remember to configure it well before use. You don't need to group items by stackable property. That action will deal with that part by itself."

Posting Permissions

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