Report any bugs you find on the iBot conversor here.
Don't forget to post the Lua script you were trying to convert. Also, to improve readability post your script around [lua][/lua] tags.
i.e.:
[lua]if $hppc < 50 then
cast('exura')
end[/lua]
becomes:
if $hppc < 50 then
cast('exura')
end
02-11-2014, 11:57 AM
Winiek
Hello, First of all.. Nice to see you all here ;-) This is what I was waiting for, but have some problem! I will start doing my list and keep on updating it:
1. If I have for example UHP in ibot but enabled:no then after converting to Windbot it is showing as enabled:yes
2.
Before
if (totalToWithdraw > 0)
then
npcsay("withdraw "..totalToWithdraw)
wait(200,300)
npcsay("yes")
wait(200,300)
end
npcsay("balance")
wait(200,300)
end
if (((itemcount("gold coin")) + (itemcount("platinum coin")*100) + (itemcount("crystal coin")*10000)) < totalToWithdraw)
then
gotolabel("go_bank") end
3. Seems like looting policy is not the same as in Ibot was (not a big deal but just telling) in my case
4. Seems not to be depositing my items (opening bps etc and just skipping it)
BEFORE
while (windowcount(mainDpBp) == 0)
do
openitem(mainDpBp, "Depot Chest")
wait(700,900)
end
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii= true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
wait(1500, 2000)
AFTER
a) In setup:
stackItemsToDeposit = {"Cheesy Figurine"}
while (windowcount(mainDpBp) == 0)do
openitem(mainDpBp, "Depot Chest")
wait(700,900)
end
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii= true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto)
wait(400,500)
end
end
local Mana = SmpToBuy-itemcount("strong mana potion")
while Mana> 0 do
buyitems("strong mana potion", Mana)
wait(500,900)
moveitems("strong mana potion",SuppBP, MainBP, 100)
wait(300,900)
Mana = Mana-100
end
02-11-2014, 05:22 PM
legendios
Sadly i cant rly load the Converter.. When i Start the bot and update the new Luas everything works fine untill it wants to update the Converter.. somehow it takes couple of mins.. or my bot isnt reacting no idea whats the problem.. Worked on my Laptop...
Maybe the cause is that the installation of the Converter takes bit longer than other things?
02-11-2014, 07:24 PM
Lucas Terra
Quote:
Originally Posted by legendios
Sadly i cant rly load the Converter.. When i Start the bot and update the new Luas everything works fine untill it wants to update the Converter.. somehow it takes couple of mins.. or my bot isnt reacting no idea whats the problem.. Worked on my Laptop...
Maybe the cause is that the installation of the Converter takes bit longer than other things?
It is possible that your anti-virus is blocking the file download. Can you try disabling it?
02-11-2014, 08:12 PM
bocecalanoc
Quote:
Originally Posted by tipser
Bug with buying pots, the same problem with buying arrows ;d
local Mana = SmpToBuy-itemcount("strong mana potion")
while Mana> 0 do
buyitems("strong mana potion", Mana)
wait(500,900)
moveitems("strong mana potion",SuppBP, MainBP, 100)
wait(300,900)
Mana = Mana-100
end
I have the same problem? This is a wine ibot script?
02-11-2014, 08:52 PM
guikoko
Hello, i'm here to report a simple bug.
i will post the action
--[[
Name: Anti Player by BlakW
Version: v1.0.0
Status: Works
TODO:
]]--
local MONSTER_NAMES_GET = {"Lizard-Chosen", "Lizard-High-Guard", "Lizard-Dragon-Priest", "Lizard-Legionnaire"}
local MONSTER_NAMES_SET = {"Lizard Chosen", "Lizard High Guard", "Lizard Dragon Priest", "Lizard Legionnaire"}
--Enemy list:
local enemyList = {"BlakW", "Your Enemy Name Here"}
if paround(7, false, unpack(enemyList) >= 1) and (posz == 8)
then
if (getsettings("Settings\\Targeting\\Monsters\\"..MONSTER_NAMES_GET[i].."\\OnlyIfTrapped") == "no")
then
setsettings("Settings\\Targeting\\Monsters\\"..MONSTER_NAMES_SET[i].."\\OnlyIfTrapped", "yes")
end
stopattack()
wait(1000)
gotolabel("leave_hunt")
wait(5000)
end
foi convertida, porém n funciona, se puderem me ajudar
02-11-2014, 08:52 PM
Lucas Terra
Quote:
Originally Posted by bocecalanoc
I have the same problem? This is a wine ibot script?
I don't see anything wrong with the script. Can you post the original iBot action?
02-11-2014, 09:07 PM
Lucas Terra
Quote:
Originally Posted by guikoko
Hello, i'm here to report a simple bug.
i will post the action
...
foi convertida, porém n funciona, se puderem me ajudar
Esse script não funciona nem no iBot, pois a variável 'i', que é usada pra acessar o 'MONSTER_NAMES_GET', não é definida em lugar nenhum, erro da pessoa que fez o script.
02-11-2014, 10:27 PM
pradenho
Lucas, vou escrever em português para ser mais claro, ok?
Caso necessite eu passo para inglês.
Primeiramente parabéns pelo trabalho, mas vamos lá.
Quando converto e faço todo procedimento igual mostrado pelo querido @BUgWT, o propio bot para de funcionar, na verdade oque para de funcionar são as "abas" , um exemplo simples disto é você tentar clicar na aba File e a tela estar congelada, nem mesmo consigo editar o healer pelo fato do propio ser a "main" do windbot quando aberto de incio.
O bot não para de funcionar ou crashar, apenas fica congelado.
Abçs.
02-11-2014, 11:06 PM
legendios
Quote:
Originally Posted by Lucas Terra
It is possible that your anti-virus is blocking the file download. Can you try disabling it?
my virus programm would have made an message then or been asking if it should allow it..
I cant klick it at all..
Here thats what you can see. I could rename the name of the update and everything but its not possible for me to update it. Any idea why?:P
Lucas, vou escrever em português para ser mais claro, ok?
Caso necessite eu passo para inglês.
Primeiramente parabéns pelo trabalho, mas vamos lá.
Quando converto e faço todo procedimento igual mostrado pelo querido @BUgWT, o propio bot para de funcionar, na verdade oque para de funcionar são as "abas" , um exemplo simples disto é você tentar clicar na aba File e a tela estar congelada, nem mesmo consigo editar o healer pelo fato do propio ser a "main" do windbot quando aberto de incio.
O bot não para de funcionar ou crashar, apenas fica congelado.
Abçs.
Vou corrigir isso. Obrigado por reportar.
02-12-2014, 12:37 AM
Lucas Terra
Quote:
Originally Posted by legendios
my virus programm would have made an message then or been asking if it should allow it..
I cant klick it at all..
Here thats what you can see. I could rename the name of the update and everything but its not possible for me to update it. Any idea why?:P
It is an 30 KB encrypted file being transferred, so it's impossible that it would take that long. Again, can you try to disable your antivirus and download? If it doesn't work I'll try to figure out a better way to transfer it.
02-12-2014, 03:08 AM
Jokerwt
@Lucas Terra @BUgWT
Depois que saiu a ultima atualização, o bot n está correndo dos bichos, não sei se o problema é do script do ibot ou se foi algum bug do wind mesmo na atualização
After the last update, the bot dont keep aways from mobs, ro run but stop in the wall or the special area line
Na verdade ele até corre mas quando chega na special area, ou na parede ele fica parado ao inves de circular o espaço dentro da special
-- // Do not edit anything below:
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
while (windowcount("Depot Chest") == 0)
do
openitem(3502, "locker")
wait(700,900)
end
wait(1500, 2000)
while (windowcount(mainDpBp) == 0)
do
openitem(mainDpBp, "Depot Chest")
wait(700,900)
end
wait(1000)
--Stack Items to Deposit:
local getStackItemsToDeposit = stackItemsToDeposit
--Non-Stack Items to Deposit:
local getNonStackItemsToDeposit = nonStackItemsToDeposit
--Number of Loot Backpacks to open:
local getAmountLootBackpacks = AmountLootBackpacks
This Action Dont work Properly, how i can change this?
02-12-2014, 07:22 AM
legendios
Quote:
Originally Posted by Lucas Terra
It is an 30 KB encrypted file being transferred, so it's impossible that it would take that long. Again, can you try to disable your antivirus and download? If it doesn't work I'll try to figure out a better way to transfer it.
Works fine now. I reinstalled Windbot. Since there been several people msging me on Skype having that Problem i'd just would tell them to reinstall it. Something probably went wrong while installing. Also the time it needed i downlaoded it the first time was kinda weird since it seemd to take a long time.
So to sum up: Reinstalling solved all my Problems and now im running the next Ibot Scripts with Windbot :)
local Mana = SmpToBuy-itemcount("strong mana potion")
while Mana> 0 do
buyitems("strong mana potion", Mana)
wait(500,900)
moveitems("strong mana potion",MainBP, SuppBP, 100)
wait(300,900)
Mana = Mana-100
end
From ibot.
02-12-2014, 12:14 PM
Ziri
Having problems with distance,the bot standing with Demons instead of running
I bot version
if SmartKeepAway == true and UseIcicles == false then
if cancast("exori frigo") then
setsettings("Settings\\Targeting\\Monsters\\Demon\ \ListSettings\\Setting0\\Distance", 3)
else
setsettings("Settings\\Targeting\\Monsters\\Demon\ \ListSettings\\Setting0\\Distance", 4)
end
else
setsettings("Settings\\Targeting\\Monsters\\Demon\ \ListSettings\\Setting0\\Distance", DistanceFrom1Demon)
end
From Wind bot
auto(100, 200)
if SmartKeepAway == true and UseIcicles == false then
if cancastspell("exori frigo") then
setsetting("Targeting/Creatures/Demon_1/Setting1/Distance", 3)
else
setsetting("Targeting/Creatures/Demon_1/Setting1/Distance", 4)
end
else
setsetting("Targeting/Creatures/Demon_1/Setting1/Distance", DistanceFrom1Demon)
end
02-12-2014, 12:50 PM
Etee
Do not using sd from hotkey on the target, it's from WindBot Console:
error in Persistent script attacking:
[" usehotkey(areaRuneButtonT..."]:attacking:21 attempt to call global 'usehotkey' (a nil value)
It's from WindBot - iBot Conversion Log:
Warning: Setting "Settings\\Alerts\\Player\\OnScreen\\FlashClie nt" has no WindBot equivalent!
Warning: Access to unknown global variable: usehotkey
Warning: Access to unknown global variable: opensomething
02-12-2014, 04:15 PM
Winiek
nevermind
02-12-2014, 07:33 PM
Lucas Terra
All the problems you guys reported should be fixed in 2.0.2. Mind to redownload and try it again?
02-12-2014, 07:40 PM
tipser
So, the converted scripts should work properly, yes?
It isn't working, the same problem with buying pots ;d
02-12-2014, 07:46 PM
Lucas Terra
Quote:
Originally Posted by tipser
So, the converted scripts should work properly, yes?
It isn't working, the same problem with buying pots ;d
Can you post the converted action Before and After?
02-12-2014, 07:56 PM
tipser
The ibot action in on previous page, in a sec i gonna post action from windbot
02-12-2014, 08:12 PM
legendios
Got a bug:
Using a Script that should switch to "attack only if trapped" when hes about to run back to refill... But somehow that doesnt work on Windbot. Hes keeping targeting all monsters on the way back :P
02-12-2014, 10:54 PM
Lucas Terra
Quote:
Originally Posted by legendios
Got a bug:
Using a Script that should switch to "attack only if trapped" when hes about to run back to refill... But somehow that doesnt work on Windbot. Hes keeping targeting all monsters on the way back :P
Hey, I just pushed a library update. Can you update the library and try to convert it again? Please let me know if it fixes your problem.
Thanks.
02-13-2014, 09:53 AM
legendios
Quote:
Originally Posted by Lucas Terra
Hey, I just pushed a library update. Can you update the library and try to convert it again? Please let me know if it fixes your problem.
Thanks.
Hiho :)
Been testing it and it works very fine! Thanks for your effort!
Another thing: Getting errors with "giant shimmering pearl" bug log says he cant not find that item. (not rly necesarry to make an update just for that now but just for the future :P)
02-13-2014, 01:04 PM
tryller
problems while convering it.
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], placetoequip [j], "all", 1)
end
end
wait(1000, 2000)
for k = 1, #itemstodrop do
dropitems(itemid(itemstodrop[k]))
end
for i = 1, #itemstoequip do for j = 0, #placetoequip do moveitems(itemstoequip[i], placetoequip [j],"all", 1) end end wait(1000, 2000) for k = 1, #itemstodrop do dropitems(itemid(itemstodrop[k])) end
Can you post the iBot script?
02-13-2014, 02:29 PM
grafix
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
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)
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)
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
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)
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)
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")
02-13-2014, 03:01 PM
Arkanzin
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!
02-13-2014, 03:13 PM
Imba
iBot loot destination "off" should be converted to windbot loot ACTION "ignore"
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
02-13-2014, 08:57 PM
Patoxzikamemo
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
iBot loot destination "off" should be converted to windbot loot ACTION "ignore"
True.
Quote:
Originally Posted by Arkanzin
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!
Quote:
Originally Posted by Patoxzikamemo
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]
You gotta post the code friends.
02-13-2014, 11:52 PM
Patoxzikamemo
TARGET -
Quote:
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
Quote:
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
02-14-2014, 12:26 AM
Patoxzikamemo
1 Attachment(s)
also when action change the GMP percent on healing, it doesn't work, it continues the old and the low mana