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")
I'm convert Insane Banuta by Bugwt and ... when my char "withdraw money" dont open Sup backpacks before to count itens and buy manas/pots with backpack supply closed!
iBot loot destination "off" should be converted to windbot loot ACTION "ignore"
@Lucas Terra
Code:local itemstoequip = {"sabre", "chain helmet", "leather armor", "leather legs", "studded shield"} local placetoequip = {"weapon", "helmet", "armor", "legs", "shield"} local itemstodrop = {"club", "jacket"} for i = 1, #itemstoequip do for j = 0, #placetoequip do moveitems(itemstoequip[i], "all", placetoequip[j], 1) end end wait(1000, 2000) for k = 1, #itemstodrop do dropitems(itemid(itemstodrop[k])) end
My souleater script walukas ibot isn't working well, when he throw gfb, he spam like a bitch, it lags the heal and makes char die
[and gfb don't go so often]
Last edited by Patoxzikamemo; 02-13-2014 at 09:19 PM.
@Lucas Terra
True.
You gotta post the code friends.
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.
TARGET -
auto(300, 400)if paroundfloor(3, 15) > 0 and UseFireball == true and itemcount("fireball rune") > 0 then
if $attacked.id ~= 0 then
useoncreature("fireball rune", $attacked.id)
end
elseif (paroundfloor(8, 15) == 0 or PvP == false) and ShootAreaRuneMode == "target" and (maround(5, "Souleater", "Mutated Bat", "Mutated Tiger", "Mutated Rat", "Killer Caiman", "Death Blob") >= MonstersToGFB and $attacked.dist <= 2 and cancastspell("exori flam") and itemcount("great fireball rune") > 0 and $attacked.id ~= 0) then
keyevent(clientitemhotkey("great fireball rune", "target"))
elseif (paroundfloor(8, 15) == 0 or PvP == false) and ShootAreaRuneMode == "self" and (maround(3, "Souleater", "Mutated Bat", "Mutated Tiger", "Mutated Rat", "Killer Caiman", "Death Blob") >= MonstersToGFB and cancastspell("exori flam") and itemcount("great fireball rune") > 0 and $attacked.id ~= 0) then
keyevent(clientitemhotkey("great fireball rune", "self"))
elseif (paroundfloor(8, 15) == 0 or PvP == false) and ShootAreaRuneMode ~= "self" and ShootAreaRuneMode ~= "target" and ($attacked.id ~= 0 and shootarearune("great fireball rune", MonstersToGFB, "Souleater", "Mutated Bat", "Mutated Tiger", "Mutated Rat", "Killer Caiman", "Death Blob") and cancastspell("exori flam") and itemcount("great fireball rune") > 0) then
shootarearune("great fireball rune", MonstersToGFB, "Souleater", "Mutated Bat", "Mutated Tiger", "Mutated Rat", "Killer Caiman", "Death Blob")
elseif $attacked.id ~= 0 and $attacked.dist <= 3 then
if Druid == true then
if UseMaxStrike and $attacked.name == "Souleater" and $attacked.hppc < 60 and $attacked.hppc > 35 and cancastspell("exori gran tera") then
cast("exori gran tera")
elseif UseStrongStrike and $attacked.name == "Souleater" and $attacked.hppc > 27 and cancastspell("exori tera") then
cast("exori tera")
elseif $attacked.name == "Mutated Tiger" and cancastspell("exori frigo") then
cast("exori frigo")
elseif cancastspell("exori flam") then
cast("exori flam")
end
else
if UseMaxStrike and cancastspell("exori max vis") and
(($attacked.name == "Souleater" and $attacked.hppc < 60 and $attacked.hppc > 35) or
($attacked.name == "Mutated Bat" and $attacked.hppc < 66 and $attacked.hppc > 50) or
($attacked.name == "Mutated Tiger" and $attacked.hppc < 43 and $attacked.hppc > 33) or
($attacked.name == "Mutated Rat" and $attacked.hppc < 101 and $attacked.hppc > 85) or
($attacked.name == "Killer Caiman" and $attacked.hppc < 43 and $attacked.hppc > 30)) then
cast("exori max vis")
elseif UseStrongStrike and cancastspell("exori gran vis") and
(($attacked.name == "Souleater" and $attacked.hppc > 29) or
($attacked.name == "Mutated Bat" and $attacked.hppc > 37) or
($attacked.name == "Mutated Tiger" and $attacked.hppc > 32) or
($attacked.name == "Mutated Rat" and $attacked.hppc > 60) or
($attacked.name == "Killer Caiman" and $attacked.hppc > 19)) then
cast("exori gran vis")
elseif $attacked.name == "Mutated Tiger" and cancastspell("exori mort") then
cast("exori mort")
elseif cancastspell("exori flam") then
cast("exori flam")
end
end
end
Healing
auto(40, 60)
if maround(4) <= 3 then
if $hppc < 60 and $mp >= 160 then
cast("exura vita")
wait(80, 120)
elseif $hppc >= 60 and $hppc < 78 and $mp >= 70 then
cast("exura gran")
wait(80, 120)
elseif $hppc >= 78 and $hppc < 89 and $mp >= 20 then
cast("exura")
wait(80, 120)
elseif $hppc >= 90 and $mp >= 20 and $paralyzed then
cast("exura")
wait(80, 120)
end
else
if $hppc < 70 and $mp >= 160 then
cast("exura vita")
wait(80, 120)
elseif $hppc >= 70 and $hppc < 84 and $mp >= 70 then
cast("exura gran")
wait(80, 120)
elseif $hppc >= 84 and $mp >= 70 and $paralyzed then
cast("exura gran")
wait(80, 120)
end
end
also when action change the GMP percent on healing, it doesn't work, it continues the old and the low mana
low mana.png
/tested on your script, goroma serpentspawn mages
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.