Signup Now
Page 5 of 12 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 113
  1. #41
    Moderator BUgWT's Avatar
    Join Date
    Dec 2013
    Location
    www.bugwt.com
    Posts
    546
    Reputation
    72
    Rep Power
    22
    Quote Originally Posted by grafix View Post
    i convert walukasz mage script


    problems:
    - when reaching Y cap windbot makes GP off than ignore
    - while being surrounded by monsters, bot walking by 2 free sqm north-south and ignoring healing or even casting spells
    - (Action: 415) Couldn't find item named 'giant shimmering pearl'. Future warnings for this script will be shown in the Debug Script Log.
    - wont deposit items

    Code:
    setsetting("Looting/OpenNextBP", "no")
    
    while windowcount(LootBP) ~= 1 or windowcount() ~= 1 do
        closewindows()
        wait(500, 800)
    
        openitem(MainBP, "back")
        wait(500, 800)
        
        openitem(LootBP, MainBP, false)
        wait(700, 900)
    
        resizewindows(100, LootBP, true)
        wait(500, 800)
    end
    
    while windowcount(MainDPBP) == 0 do
        setsetting("Looting/OpenNextBP", "no")
        reachgrounditem("depot")
        wait(1000, 1500)
        openitem("depot")
        wait(900, 1400)
        openitem(3502, "locker")
        wait(900, 1400)
    
        openitem(MainDPBP, "Depot Chest")
        wait(900, 1400)
        resizewindows(100, MainDPBP, true)
    end
    
    local CONFIG = {
        LOOT_BACKPACK = LootBP,
        
        STACKABLE_BACKPACK = AddonDPBP,
        STACKABLE_BACKPACK_AMOUNT = itemcount(AddonDPBP),
        
        NOT_STACKABLE_BACKPACK = RandomDPBP,
        NOT_STACKABLE_BACKPACK_AMOUNT = itemcount(RandomDPBP),
        
        DEPOSIT_ITEMS = {"fish fin", "deepling claw", "deepling ridge", "deeptags", "spellsinger's seal", "small emerald", "small sapphire", "deepling guard belt buckle", "great health potion", "deepling warts", "eye of a deepling", "great mana potion", "deepling breaktime snack", "rust remover", "deepling scales", "giant shimmering pearl", 281, 282, 14044, 14041, 14013, 14008, 14010, 14012, 12730, 14011, 14017, "foxtail", "ornate crossbow", "warrior's axe", "deepling backpack", "warrior's shield", "guardian axe", "deepling squelcher", "deepling staff", "necklace of the deep", "heavy trident", "key to the drowned library", "life ring", 14142, 14247, 14040, 14248, 14042, 14043, 14250, 13987, 13990, 14009}, }
    
    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 (iteminfo(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, CONFIG .STACKABLE_BACKPACK,STACKABLE_LAST_ON_TO, nil, "all", 100) wait(200, 250)
                        
                        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, CONFIG .NOT_STACKABLE_BACKPACK,NOT_STACKABLE_LAST_ON_TO, nil, "all", 100) wait(200, 250)
                        
                        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(1800, 2000)
        else
            break
        end
        
        wait(100, 200)
    end
    
    if DepositDeeplingBPs then
        while windowcount(MainBP) ~= 1 or windowcount() ~= 1 do
            closewindows()
            wait(500, 800)
    
            openitem(MainBP, "back")
            wait(500, 800)
            
            resizewindows(100, MainBP, true)
            wait(500, 800)
        end
    
        if itemcount("deepling backpack") > 0 then
            while windowcount(MainDPBP) == 0 do
                setsetting("Looting/OpenNextBP", "no")
                reachgrounditem("depot")
                wait(1000, 1500)
                openitem("depot")
                wait(900, 1400)
                openitem(3502, "locker")
                wait(900, 1400)
    
                openitem(MainDPBP, "Depot Chest")
                wait(900, 1400)
                resizewindows(100, MainDPBP, true)
            end
    
            local CONFIG = {
                LOOT_BACKPACK = MainBP,
                
                STACKABLE_BACKPACK = AddonDPBP,
                STACKABLE_BACKPACK_AMOUNT = itemcount(AddonDPBP),
                
                NOT_STACKABLE_BACKPACK = RandomDPBP,
                NOT_STACKABLE_BACKPACK_AMOUNT = itemcount(RandomDPBP),
                
                DEPOSIT_ITEMS = {"deepling backpack"}, }
    
            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 (iteminfo(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, CONFIG .STACKABLE_BACKPACK,STACKABLE_LAST_ON_TO, nil, "all", 100) wait(200, 250)
                                
                                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, CONFIG .NOT_STACKABLE_BACKPACK,NOT_STACKABLE_LAST_ON_TO, nil, "all", 100) wait(200, 250)
                                
                                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(1800, 2000)
                else
                    break
                end
                
                wait(100, 200)
            end
        end
    end
    
    gotolabel("open_bps")
    are you using 2.0.2?


    LATEST SCRIPTS SKYPE
    Got a Question? Add me on Skype!
    bugwt.support

    This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.


  2. #42
    Free User grafix's Avatar
    Join Date
    Jan 2014
    Posts
    535
    Reputation
    20
    Rep Power
    22
    Quote Originally Posted by BUgWT View Post
    are you using 2.0.2?
    yes111, i can send you script to check it by yourself
    Last edited by grafix; 02-13-2014 at 06:40 PM.

  3. #43
    Moderator BUgWT's Avatar
    Join Date
    Dec 2013
    Location
    www.bugwt.com
    Posts
    546
    Reputation
    72
    Rep Power
    22
    Quote Originally Posted by grafix View Post
    yes111, i can send you script to check it by yourself
    Okay PM me it


    LATEST SCRIPTS SKYPE
    Got a Question? Add me on Skype!
    bugwt.support

    This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.


  4. #44
    Free User Orexx's Avatar
    Join Date
    Dec 2013
    Posts
    760
    Reputation
    21
    Rep Power
    22
    Brimgstone Bug Sruface:

    235 ED (with bonus)
    Ibot: 600k/hr
    windbot: 675k/hr




    also;

    error in Action script w078:
    ["if itemcount(mpId) < mpCheck or itemcoun..."]:Action: 28:1 attempt to compare number with nil
    Whats the fix for this?

  5. #45
    Moderator BUgWT's Avatar
    Join Date
    Dec 2013
    Location
    www.bugwt.com
    Posts
    546
    Reputation
    72
    Rep Power
    22
    Quote Originally Posted by Orexx View Post
    Brimgstone Bug Sruface:

    235 ED (with bonus)
    Ibot: 600k/hr
    windbot: 675k/hr




    also;



    Whats the fix for this?
    Nice exp!

    Also,

    Can you post that bug on the converter bug thread? Please include the whole code, before and after!


    LATEST SCRIPTS SKYPE
    Got a Question? Add me on Skype!
    bugwt.support

    This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.


  6. #46
    Free User
    Join Date
    Feb 2014
    Posts
    2
    Reputation
    10
    Rep Power
    0
    Hive Surface mage by walukasz

    ibot: 340~380k/hr
    windbot: 380~420k/hr

  7. #47
    Free User crocklinux's Avatar
    Join Date
    Dec 2013
    Posts
    20
    Reputation
    10
    Rep Power
    0
    Error: Conversion of persistent script 'Tools' failed!

  8. #48
    Moderator BUgWT's Avatar
    Join Date
    Dec 2013
    Location
    www.bugwt.com
    Posts
    546
    Reputation
    72
    Rep Power
    22
    Quote Originally Posted by crocklinux View Post
    Error: Conversion of persistent script 'Tools' failed!
    Please post the code on the Converter Bug Report threads


    LATEST SCRIPTS SKYPE
    Got a Question? Add me on Skype!
    bugwt.support

    This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.


  9. #49
    Free User crocklinux's Avatar
    Join Date
    Dec 2013
    Posts
    20
    Reputation
    10
    Rep Power
    0
    <Tools>
    <Script>setsettings("Settings\\Cavebot\\Settings\\ Rope", itemid(RopeToUse));setsettings("Settings\\Cavebot\ \Settings\\Shovel", itemid(ShovelToUse)</Script>
    <SpamRate>800 to 1000</SpamRate>
    <Enabled>yes</Enabled>
    </Tools>
    ***************************

    Notice: Rule 'mana potion' moved to: 'PotionHealer'. 'ManaRange' converted from 0-60 % to 0-Random(57-60 %). Path conversion: from 'Healer/Rules/mana-potion' to 'PotionHealer/Rules/mana potion'
    Notice: Rule 'exura ico' moved to: 'SpellHealer'. 'HealRange' converted from 0-65 % to 0-Random(61-65 %). Path conversion: from 'Healer/Rules/exura-ico' to 'SpellHealer/Rules/exura ico'
    Notice: Rule 'utura gran' moved to: 'SpellHealer'. 'HealRange' converted from 0-80 % to 0-Random(76-80 %). Path conversion: from 'Healer/Rules/utura-gran' to 'SpellHealer/Rules/utura gran'
    Notice: Rule 'SHP' moved to: 'PotionHealer'. 'HealRange' converted from 0-40 % to 0-Random(38-40 %). Path conversion: from 'Healer/Rules/SHP' to 'PotionHealer/Rules/SHP'
    Notice: Rule 'GHP' moved to: 'PotionHealer'. 'HealRange' converted from 0-40 % to 0-Random(38-40 %). Path conversion: from 'Healer/Rules/GHP' to 'PotionHealer/Rules/GHP'
    Notice: 'Setup' script converted to a persistent script: 'SetupScript_ib'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting0' to 'Targeting/Creatures/Corym Vanguard_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting1' to 'Targeting/Creatures/Corym Vanguard_2+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting2' to 'Targeting/Creatures/Corym Vanguard_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting0' to 'Targeting/Creatures/Corym Skirmisher_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting1' to 'Targeting/Creatures/Corym Skirmisher_2/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting2' to 'Targeting/Creatures/Corym Skirmisher_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting0' to 'Targeting/Creatures/Corym Charlatan_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting1' to 'Targeting/Creatures/Corym Charlatan_2/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting2' to 'Targeting/Creatures/Corym Charlatan_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Spider/ListSettings/Setting0' to 'Targeting/Creatures/Spider/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Cobra/ListSettings/Setting0' to 'Targeting/Creatures/Cobra/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Bug/ListSettings/Setting0' to 'Targeting/Creatures/Bug/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Terror-bird/ListSettings/Setting0' to 'Targeting/Creatures/Terror bird/Setting1'
    Error: Conversion of persistent script 'Tools' failed! Original script had an error.
    Warning: Access to unknown global variable: sub
    Warning: Access to unknown global variable: PotionsBP

  10. #50
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,202
    Reputation
    141
    Rep Power
    10
    Quote Originally Posted by crocklinux View Post
    <Tools>
    <Script>setsettings("Settings\\Cavebot\\Settings\\ Rope", itemid(RopeToUse));setsettings("Settings\\Cavebot\ \Settings\\Shovel", itemid(ShovelToUse)</Script>
    <SpamRate>800 to 1000</SpamRate>
    <Enabled>yes</Enabled>
    </Tools>
    ***************************

    Notice: Rule 'mana potion' moved to: 'PotionHealer'. 'ManaRange' converted from 0-60 % to 0-Random(57-60 %). Path conversion: from 'Healer/Rules/mana-potion' to 'PotionHealer/Rules/mana potion'
    Notice: Rule 'exura ico' moved to: 'SpellHealer'. 'HealRange' converted from 0-65 % to 0-Random(61-65 %). Path conversion: from 'Healer/Rules/exura-ico' to 'SpellHealer/Rules/exura ico'
    Notice: Rule 'utura gran' moved to: 'SpellHealer'. 'HealRange' converted from 0-80 % to 0-Random(76-80 %). Path conversion: from 'Healer/Rules/utura-gran' to 'SpellHealer/Rules/utura gran'
    Notice: Rule 'SHP' moved to: 'PotionHealer'. 'HealRange' converted from 0-40 % to 0-Random(38-40 %). Path conversion: from 'Healer/Rules/SHP' to 'PotionHealer/Rules/SHP'
    Notice: Rule 'GHP' moved to: 'PotionHealer'. 'HealRange' converted from 0-40 % to 0-Random(38-40 %). Path conversion: from 'Healer/Rules/GHP' to 'PotionHealer/Rules/GHP'
    Notice: 'Setup' script converted to a persistent script: 'SetupScript_ib'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting0' to 'Targeting/Creatures/Corym Vanguard_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting1' to 'Targeting/Creatures/Corym Vanguard_2+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Vanguard/ListSettings/Setting2' to 'Targeting/Creatures/Corym Vanguard_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting0' to 'Targeting/Creatures/Corym Skirmisher_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting1' to 'Targeting/Creatures/Corym Skirmisher_2/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Skirmisher/ListSettings/Setting2' to 'Targeting/Creatures/Corym Skirmisher_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting0' to 'Targeting/Creatures/Corym Charlatan_1/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting1' to 'Targeting/Creatures/Corym Charlatan_2/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Corym-Charlatan/ListSettings/Setting2' to 'Targeting/Creatures/Corym Charlatan_3+/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Spider/ListSettings/Setting0' to 'Targeting/Creatures/Spider/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Cobra/ListSettings/Setting0' to 'Targeting/Creatures/Cobra/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Bug/ListSettings/Setting0' to 'Targeting/Creatures/Bug/Setting1'
    Notice: Path conversion: from 'Targeting/Monsters/Terror-bird/ListSettings/Setting0' to 'Targeting/Creatures/Terror bird/Setting1'
    Error: Conversion of persistent script 'Tools' failed! Original script had an error.
    Warning: Access to unknown global variable: sub
    Warning: Access to unknown global variable: PotionsBP

    Even the original script would not work. It is missing a ')' at the end.

    Change it to the code below and click on 'Convert From iBot' button:
    setsettings("Settings\\Cavebot\\Settings\\Rope", itemid(RopeToUse))
    setsettings("Settings\\Cavebot\\Settings\\Shovel", itemid(ShovelToUse))

 

 

Tags for this Thread

Posting Permissions

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