any explains? when you will fix errors, we want better playing![]()
any explains? when you will fix errors, we want better playing![]()
This is BUGWT green djinns script for Ibot, its not working for Windbot.
When the char its on dp to deposit itens looted, the bot is not oppening the lootbp!
How can I fix this in a way to deposit itens on dp?
openitem(MainBPname, "back")
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(MainDepotname, "Depot Chest", false)
wait(800,1000)
for i=1,4 do
wait(1000,1500)
depotdeposit_ib(AddonDepotname, "small emerald", "dirty turban", "green piece of cloth", "noble turban", "jewelled belt", "seeds", "strong mana potion")
wait(500,1000)
depotdeposit_ib(LootDepotname, "mystic turban", "green gem", "magma monocle", "wand of inferno")
openitem(LootBPname, LootBPname, false)
wait(1000)
end
setsetting("Cavebot/WalkThroughPlayers","no")
Loot Alert Script from Ibot:
Converted to windbot:Code:local serverlog_lines = getnewmessages("Server Log") local serverlog_q = serverlog_lines.count - 1 for i = 0, serverlog_q do if (serverlog_lines[serverlog_q - i].text:find("boots of haste", "royal helmet") and serverlog_lines[serverlog_q - i].type == 19) then playsound("alert.wav") end end
Doesnt work =/Code:foreach newmessage serverlog_lines "Server Log" do if (serverlog_lines.text:find("boots of haste", "royal helmet") and serverlog_lines.type == 19) then playsound("alert.wav") end end
I dont thats why i Posted :d
-- // Do not edit anything below:
--ID of mana potions to count:
local idMpToCount = (nameManaPot)
--Minimum amount of mana potions:
local minMpAmount = (minManaPot)
--ID of runes to count:
local idRuneToCount = (nameRune)
--Minimum amount of runes:
local minRuneAmount = (minRune)
--Minimum amount of cap:
local minCapAmount = (minCapacity)
if ((itemcount(idMpToCount, 'all') <= minMpAmount) or (itemcount(idRuneToCount, 'all') <= minRuneAmount) or ($cap <= minCapAmount))
then
gotolabel("leave_path_demon_forge1")
end
Not checking manas! How can I fix it?
hello i have problem with one script... All is good but when bot going to buy supplys. he say hi and trade and... nothing. Not buy manas, healths etc. Just stay. When i buy(not bot) supplys, then he going to next waypoint and all is good. here that script:
if not islocation(1) then gotolabel("w019")
end
sellflasks()
wait(500)
local CurrentManas = itemcount(mananame, 'all')
local CurrentHealths = itemcount(healthname, 'all')
buyitemsupto(healthname,healthtobuy,CurrentHealths )
wait(200,300)
amount = manatobuy - CurrentManas
while amount > 0 do
buyitems(mananame, amount)
wait(500,1000)
moveitems(mananame,SupplyBPname, nil, 1000)
wait(300,400)
moveitems(healthname,SupplyBPname, nil, 1000)
wait(300,400)
amount = amount-100
end