Targetting still bugged.
Printable View
Targetting still bugged.
I converted hive surface for mages by walukasz to windbot. Tried to use it, but its impossible, character died 3x in a row. It uses healing but when I go afk, I dont know what happens, because 230mage dies by 1crawler and waspoid, so he wasnt combo'ed. Could you fix it? As far as I know walukasz uses healing in actions, if it could help to solve it.
I did same thing like Lucas says, I made own healing in windbot on souleaters by walukasz and anyway i died :)
I have a question, maybe I missed it in the initial post, or something. Anyways, does this convert the whole script, or just some LUA functions, like if i put in a whole .xml file, will I get an .xml file back?
windbot is not working with this command this are 2 labels, is serpent spawns goroma trying to open the hole with a pick
label 1
--~~picking the hole~~
if topitem(31928,32670,9).id == 355
or topitem(31928,32670,9).id == 2886
or topitem(31928,32670,9).id == 2887
or topitem(31928,32670,9).id == 2888
or topitem(31928,32670,9).id == 2889
or topitem(31928,32670,9).id == 2890
or topitem(31928,32670,9).id == 394 then
wait(1000,1500)
useitem(Pick, 31928,32670,9)
wait(100,200)
useitem(Pick, 31928,32670,9)
wait(100,200)
useitemon(Pick, 0, ground(31928,32670,9))
wait(100,200)
setsetting("Persistent/Scripts/Anti_Trap/Enabled", "yes")
end
label 2
--~~picking the hole~~
setsetting("Targeting/Creatures/Quara Hydromancer Scout/Setting1/Health", "0 to 100 %")
if topitem(31928,32670,9).id == 394 then
setsetting("Cavebot/SpecialAreas/Pick_Hole_Hard/Policy", "None")
gotolabel("hole_open")
else
wait(500,1000)
gotolabel("piCk_the_HOLE")
end
~~ picking the hole ~~
if topitem(31928,32670,9).id == 355 or topitem(31928,32670,9).id == 2886 or topitem(31928,32670,9).id == 2887 or topitem(31928,32670,9).id == 2888 or topitem(31928,32670,9).id == 2889 or topitem(31928,32670,9).id == 2890 or topitem(31928,32670,9).id == 394 then
useitemon($pickid, 0, ground(31928,32670,9))
wait(100,200)
setsetting("Persistent/Scripts/Anti_Trap/Enabled", "yes")
end
I converted old script from iBot to Windbot but the bot don't open the next backpack after droping the items on the 1st backpack, can someone help?
closewindows()
wait(1000,2000)
openitem(MainBPname, "back", true)
wait(1000,2000)
resizewindows()
wait(1000,2000)
openitem(LootBPname, MainBPname, true)
setsetting ("Looting/OpenNextBP", "no")
local Items1 = {237, 238}
local Items2 = {3554, 3386, 8052, 7402, 7386, 811, 812, 3315, 7456, 3436, 7452, 9302, 3055, 828, 814, 6299}
local Items3 = {3033, 9057, 3032, 3029}
local Items4 = {11447, 5893, 5879, 10422, 5880, 6499, 10313, 10282, 10309, 4839, 10310, 10304, 10312, 9694, 10306, 11680, 9632, 10305, 5944, 3732, 10408, 9034, 9035, 9039, 9040}
local Items5 = {3061, 3052, 3053, 3098}
local Items6 = {7439, 7368}
local Items7 = {8894, 8895, 8896}
local Items8 = {3392, 3079, 3381, 3073, 3284}
local Items9 = {3281, 3428, 3370, 3369, 7413, 3432}
local Items10 = {5930, 11679, 10426, 5884, 10390, 7421, 8074, 3342, 5668, 6525, 7290, 3407, 3081}
---Items1
dropitems(ground(32571,32765,6), unpack(Items1))
wait(400,600)
---Items2
dropitems(ground(32571,32764,6), unpack(Items2))
wait(400,600)
---Items3
dropitems(ground(32572,32764,6), unpack(Items3))
wait(400,600)
---Items4
dropitems(ground(32572,32765,6), unpack(Items4))
wait(400,600)
---Items5
dropitems(ground(32573,32765,6), unpack(Items5))
wait(400,600)
---Items6
dropitems(ground(32573,32764,6), unpack(Items6))
wait(400,600)
---Items7
dropitems(ground(32573,32763,6), unpack(Items7))
wait(400,600)
---Items8
dropitems(ground(32574,32763,6), unpack(Items8))
wait(400,600)
---Items9
dropitems(ground(32574,32764,6), unpack(Items9))
wait(400,600)
---Items10
dropitems(ground(32575,32764,6), unpack(Items10))
wait(400,600)
while itemcount(LootBPname, LootBPname) > 0 do
wait(400,600)
openitem(LootBPname, LootBPname)
wait(400,600)
---Items1
dropitems(ground(32571,32765,6), unpack(Items1))
wait(400,600)
---Items2
dropitems(ground(32571,32764,6), unpack(Items2))
wait(400,600)
---Items3
dropitems(ground(32572,32764,6), unpack(Items3))
wait(400,600)
---Items4
dropitems(ground(32572,32765,6), unpack(Items4))
wait(400,600)
---Items5
dropitems(ground(32573,32765,6), unpack(Items5))
wait(400,600)
---Items6
dropitems(ground(32573,32764,6), unpack(Items6))
wait(400,600)
---Items7
dropitems(ground(32573,32763,6), unpack(Items7))
wait(400,600)
---Items8
dropitems(ground(32574,32763,6), unpack(Items8))
wait(400,600)
---Items9
dropitems(ground(32574,32764,6), unpack(Items9))
wait(400,600)
---Items10
dropitems(ground(32575,32764,6), unpack(Items10))
wait(400,600)
end
@Lucas Terra I Have some problems with a Full Ibot Script
WindBot don't do nothing with this script.
Attachment 1772
Hey there
Today i wanted to run my loot sellers but apparantly they didnt work after the last update, i only had 1 error wich was that the supply checker didnt work but thats no problem. Now the bot totally freezes after i load the script (convert from ibot) and when it dosnt freeze it does a few waypoint actions then when its about to withdraw items from depot the bot stops responding. What kind of info do you need for this cuz like i said its no errors in the log only about the supply checker
thanks i dotn know appears 2 times my post.. sorry
by the way is not working even with this.. do u think maybe the location of where to use the pick could be worng?
Hello, i'm here to report a bug.
i will post the action.
I can not start the bot can someone help me
setcavebot("no")
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(extraBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500, 1000)
setcavebot("yes")
Free ibot Demon @Lucas Terra
Im getting lots of errors with this !! I would apreciate help!
Here is the direct download link of the script i converted: http://www.tibiaibot.com/forum/attac...8&d=1358098843
--- Here are the lots of errors:
Warning: Setting "Settings\\Alerts\\Player\\OnScreen\\FlashClie nt" has no WindBot equivalent!
Error: Conversion of action script 'action6' failed! Original script had an error.
Error: Conversion of action script 'action14' failed! Original script had an error.
Error: Conversion of action script 'action141' failed! Original script had an error.
Error: Conversion of action script 'action274' failed! Original script had an error.
Error: Conversion of action script 'action283' failed! Original script had an error.
Error: Conversion of action script 'action289' failed! Original script had an error.
Warning: Access to unknown global variable: UE_Spell
Hi there windbot user's can someone of you guys fix the depositer action of this script, the depositer action doesnt work
Thanks in advance
http://www.tibiaibot.com/forum/showt...imans+guidrums
where i can change bps? where i can edit true or false? its posible with converted script?
i cant change bps!!
plz help me
i have a biiig problem - im making some cash makers and i wanted to convert my xml files i found on other pc . i cant do this , after clicling full conversion nothing happens at all ..
every time he goes to the upstairs or down the ramps, he stops walking and disable cavebotting.waluskaz script.
and gold coins sometimes goes to the wrong bp.Monitor my hunting this not working, appears only what you spend, but the loot I picked up is not telling.
Attachment 1897
I can send you the script for you to see what is wrong.
I converted a script from iBot and when I create a waypoint "Shovel", my character walks around the sqm but no use the shovel. I checked the name and others and tried use openhole().
CapsLock key released in order to be able to type properly.
(Action: 232) Couldn't find item named 'NonStackDPBP'. Future warnings for this script will be shown in the Debug Script Log.
-- Dp Depositer.
setsetting("Looting/OpenNextBP", "no")
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(LootBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(LootBP, LootBP, true)
wait(500, 1000)
resizewindows()
wait(500, 1000)
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
openitem("depot chest", "locker")
wait(700,900)
openitem(MainDPBP, "depot chest")
wait(700,900)
for i=1,3 do
depotdeposit_ib(StackableDPBP,"bola","cheesy figurine","cheese cutter","earflap","rat god doll")
depotdeposit_ib(NonStackDPBP,"spike shield","spiky club","ratana","leather harness","life preserver")
wait(700,900)
openitem("NonStackDPBP", "NonStackDPBP", false) wait(700,900)
end
wait(500, 1000)
setsetting("Looting/OpenNextBP", "yes")
"23:31:23 error in Persistent script attacking:
[" cast(SPELLS[#SPELLS].SPELL.NA..."]:attacking:123 attempt to index field 'SPELL' (a nil value)"
auto(200, 300)
local function isTargetInLine()
if $attacked.posx == $posx or $attacked.posy == $posy then
return true
end
return false
end
local function canStepOn(POS_X, POS_Y, POS_Z)
local TILE = Tile.GetByPosition(POS_X, POS_Y, POS_Z)
local AVOID = {566}
return TILE:isWalkable() and not TILE:isCreatureOn(2) and not Item.GetProperties(TILE:TopItem().id).isBlockingWa lk and not table.find(AVOID, TILE:TopItem().id)
end
local function dirToMove()
if isTargetInLine() then return "none" end
if $attacked.posx == $posx - 1 and $attacked.posy == $posy - 1 then
if canStepOn($posx, $posy - 1, $posz) then
return "n"
elseif canStepOn($posx - 1, $posy, $posz) then
return "w"
end
elseif $attacked.posx == $posx + 1 and $attacked.posy == $posy - 1 then
if canStepOn($posx, $posy - 1, $posz) then
return "n"
elseif canStepOn($posx + 1, $posy, $posz) then
return "e"
end
elseif $attacked.posx == $posx + 1 and $attacked.posy == $posy + 1 then
if canStepOn($posx, $posy + 1, $posz) then
return "s"
elseif canStepOn($posx + 1, $posy, $posz) then
return "e"
end
elseif $attacked.posx == $posx - 1 and $attacked.posy == $posy + 1 then
if canStepOn($posx, $posy + 1, $posz) then
return "s"
elseif canStepOn($posx - 1, $posy, $posz) then
return "w"
end
end
return ""
end
local function turnToFace()
if $attacked.posx == $posx then
if $attacked.posy == $posy + 1 then
turn("s") return true
elseif $attacked.posy == $posy - 1 then
turn("n") return true
end
elseif $attacked.posy == $posy then
if $attacked.posx == $posx + 1 then
turn("e") return true
elseif $attacked.posx == $posx - 1 then
turn("w") return true
end
end
return false
end
function correctHPPC(TARGET_NAME, SPELL_INDEX)
local INDEX = 0
for i, MONSTER in ipairs(MONSTERS) do
if MONSTER == TARGET_NAME then
INDEX = i
break
end
end
if INDEX == 0 then return true end
return $attacked.hppc >= SPELLS[SPELL_INDEX].MIN_HPPC[INDEX] and $attacked.hppc <= SPELLS[SPELL_INDEX].MAX_HPPC[INDEX]
end
local spellType = "5x5"
if SpellName == "exevo gran mas vis" then
spellType = "6x6"
end
if Self.CoolDown(1) == 0 and $attacked.id > 0 then
if maroundreachable(7, unpack(MONSTERS)) >= MonstersToAreaRune+1 then
if UseAreaSpell and Self.MonstersAroundSpell(spellType, false, unpack(MONSTERS)) >= MonsterCount and maround_ib(7, unpack(MONSTERS))-3 <= Self.MonstersAroundSpell(spellType, false, unpack(MONSTERS)) and cancastspell(SpellName) then
cast(SpellName)
elseif itemcount(AreaRuneName, 'all') > 0 and shootarearune(AreaRuneName, MonstersToAreaRune-1, unpack(MONSTERS)) then
end
else
if UseAreaSpell and Self.MonstersAroundSpell(spellType, false, unpack(MONSTERS)) >= MonsterCount and maround_ib(7, unpack(MONSTERS))-3 <= Self.MonstersAroundSpell(spellType, false, unpack(MONSTERS)) and cancastspell(SpellName) then
cast(SpellName)
elseif itemcount(AreaRuneName, 'all') > 0 and maround_ib(7, unpack(MONSTERS)) >= MonstersToAreaRune and shootarearune(AreaRuneName, MonstersToAreaRune-1, unpack(MONSTERS)) then
elseif table.find(MONSTERS, $attacked.name) then
for INDEX, SPELL in ipairs(SPELLS) do
if maround_ib(7, unpack(MONSTERS)) <= SPELL.MAX_MONSTERS and $attacked.dist <= SPELL.DIST and (SPELL.TARGETS == 1 or table.find(SPELL.TARGETS, $attacked.name)) then
if SPELL.NAME == "sudden death rune" and itemcount("sudden death rune", 'all') > 0 and correctHPPC($attacked.name, INDEX) then
useoncreature(SPELL.NAME, $attacked.id)
break
elseif SPELL.NAME ~= "sudden death rune" and cancastspell(SPELL.NAME) and correctHPPC($attacked.name, INDEX) and ((SPELL.NEED_ALIGN and dirToMove() ~= "") or not SPELL.NEED_ALIGN) then
if not SPELL.NEED_ALIGN then
cast(SPELL.NAME)
break
else
while not isTargetInLine() and dirToMove() ~= "" do
move(dirToMove())
wait(80, 90)
end
for i = 1, 3 do
if isTargetInLine() and $attacked.dist <= SPELL.DIST then
turnToFace()
wait(25, 30)
end
end
if isTargetInLine() then
cast(SPELL.NAME)
break
end
end
end
end
end
else
cast(SPELLS[#SPELLS].SPELL.NAME)
end
end
end
I also got a problem with the bot running upto doors, closing them, and then opening them, and then bugging and forexample not selling loot to the npc in that area.
lucas os scritp q eu converti Buga no Wainpont
faz umas atualiaçao
ai axo q arruma os bug
ve direitinho
eu tenho um scritp do ibot d-lair famrine ele buga em ums Wainpoint se vc kize eu te passo o scritp vc da uma olhada
Hey Lucas Terra. First, thanks for fixing my trial days.
I tried to convert Hive Surface BugWT script, but my character doesn't open the backpack properly. He's trying to open the backpacks in the beginning, but he opens and closes all the time, getting stuck. It isn't mana potions, marks on map, or backpack names. I was using it on iBot without problems.
Can you help me to fix it? Any tip? I saw the new interface on "cavebot settings" in one picture that you post, but i can't see this image on my Windbot. The only Setup that i can see is in the Persistent tab, that Windbot says that it is already converted.
I asked him and he said: post on Lucas Terra thread. x.x
Thanks!
bugs with open bps,
while windowcount_ib(MainBP) ~= 1 or windowcount_ib(AmmoBP) ~= 1 or windowcount_ib() ~= 2 do
closewindows()
wait(400, 600)
openitem(MainBP, 'back')
wait(400, 600)
resizewindows(0, MainBP, true)
wait(400, 600)
openitem(AmmoBP, MainBP, true)
wait(400, 600)
resizewindows(0, AmmoBP, true)
wait(400, 600)
end
later open bps, bot close all
or this
setlooting('no')
setsetting("Looting/OpenNextBP", "no")
targetNothing()
setsetting("Persistent/Scripts/keep haste/Enabled", "yes")
-------opening backpacks-------
while windowcount_ib(MainBP) ~= 1 or windowcount_ib(AmmoBP) ~= 1 or windowcount_ib(LootBP) ~= 1 or windowcount_ib(GoldBP) ~= 1 or windowcount_ib() < 4 do
closewindows()
wait(400, 600)
openitem(MainBP, 'back')
wait(400, 600)
resizewindows(0, MainBP, true)
wait(400, 600)
openitem(AmmoBP, MainBP, true)
wait(400, 600)
resizewindows(0, AmmoBP, true)
wait(400, 600)
openitem(LootBP, MainBP, true)
wait(400, 600)
resizewindows(0, LootBP, true)
wait(400, 600)
openitem(GoldBP, MainBP, true)
wait(400, 600)
resizewindows(0, GoldBP, true)
wait(400, 600)
end
setsetting("Looting/OpenNextBP", "yes")
close bps wnehn open all