Breaks all items that can't be walked over, such as Troughs and Flower Pots. It uses browse field if the item is trapped by other items.
Configuration
Just set the meele item name you want to use to break items and the stand time, in seconds, to start running script. Be sure to have the item on your hotkeys as crosshair or at least being visible on the opened backpacks.
nice job :) Will for sure use this on all scripts!
01-07-2014, 03:13 AM
Imba
Nice, i was missing it on noobchars. There are so many pkers with troughs on my server.
Will it work if i put name of weapon from equipment?
01-07-2014, 02:20 PM
Leonardo
Quote:
Originally Posted by Imba
Nice, i was missing it on noobchars. There are so many pkers with troughs on my server.
Will it work if i put name of weapon from equipment?
Yes it works, but works even better with items binded on hotkeys like F1-F12.
01-07-2014, 02:49 PM
SuNe
Awesome :) Great work.
01-07-2014, 03:07 PM
Dworak
Thanks a lot ;-) For sure will help !: D
01-07-2014, 09:41 PM
Raphael
This is pretty awesome work, amazing job mate!
01-07-2014, 09:55 PM
mistgun
LoL needed this Ty Leo!
01-15-2014, 05:07 AM
Fisen
LEONARDO i was botting normally in a cave, when i see some antibot players, the put a furniture and in top some vials, and the bot cant destroy the furnitures, then i can die but i was in the pc, but what happend if i afk?, they can kill me easyly, so i think is good to add any method to move those shit from furniture!
01-15-2014, 11:20 AM
Leonardo
Quote:
Originally Posted by Fisen
LEONARDO i was botting normally in a cave, when i see some antibot players, the put a furniture and in top some vials, and the bot cant destroy the furnitures, then i can die but i was in the pc, but what happend if i afk?, they can kill me easyly, so i think is good to add any method to move those shit from furniture!
Yes I thought that could be possible but, how could they put items on unwalkable items if they block all tile ?
Can you send an image of the furniture they used on you ?
01-22-2014, 06:23 AM
InfeCtlll3
Quote:
Originally Posted by Leonardo
Yes I thought that could be possible but, how could they put items on unwalkable items if they block all tile ?
Can you send an image of the furniture they used on you ?
Its happening more often, cant even bot at firestarters anymore, 5 deads in less than 4 days there.
they trap you with a pendulum clock and throw vials and shit on it, and voilą machete doesnt break the clock.
hope you update it soon.
Updated script to use browse field on cases the top item is not the furniture.
Script now saves house positions on the world database.
Ty man :)
Quote:
Originally Posted by Nightshade
wtf, how they do that?
idk unoccupied ppl find out how to fuck each other's life
EDIT
Seems like the rats are in this forum.
as you updated the script, they also have updated their methods.
a fucking lvl 350 tried to kill me ¬¬. anyway cant find anywhere the id of this. http://img811.imageshack.us/img811/6049/o8lf.png
17373 this motherfucking vase ID
01-27-2014, 06:38 PM
Leonardo
Quote:
Originally Posted by InfeCtlll3
Ty man :)
idk unoccupied ppl find out how to fuck each other's life
EDIT
Seems like the rats are in this forum.
as you updated the script, they also have updated their methods.
a fucking lvl 350 tried to kill me ¬¬. anyway cant find anywhere the id of this. http://img811.imageshack.us/img811/6049/o8lf.png
17373 this motherfucking vase ID
It should have worked with any ID but well, I'll take a look later, and please add "@my name" if you want to call me back to an edited post, otherwise I won't look into it immediately.
01-27-2014, 07:57 PM
Imba
I think problem with this flower is you can put items on it, but its not walkable
Here it is the info extracted from the ID you gave, it's exactly as any other furniture that can be walked on, are you sure that your bot have the last anti furniture version ? Because it should use browse field to break it in those cases...
I'm having problems with this, i think the problem is they are making the trap with the furniture in page 2 of browse field, your script is opening browse field and closing and never find the furniture to break.
I'm having problems with this, i think the problem is they are making the trap with the furniture in page 2 of browse field, your script is opening browse field and closing and never find the furniture to break.
LOL how the fuck they do that ?
I will rework this code but this feature of seeking pages will be hard to do, so don't expect it to come too soon.
03-11-2014, 08:29 PM
arruda
Quote:
Originally Posted by Leonardo
LOL how the fuck they do that ?
I will rework this code but this feature of seeking pages will be hard to do, so don't expect it to come too soon.
If i see this happening again i'll take an ss. They are using venore plants, but i don't know if this changes something about the way they do this =p
03-17-2014, 01:49 PM
Imba
My problem is that even if i set time to 60 seconds, anti furniture is starting to destroy objects earlier, for example 10 seconds, and then my bot is screwd cause its trying to talk to npc while out of range. This happens in veno bank and magic shop. Anyone have fix for this?
03-17-2014, 04:02 PM
pvzin
Quote:
Originally Posted by Imba
My problem is that even if i set time to 60 seconds, anti furniture is starting to destroy objects earlier, for example 10 seconds, and then my bot is screwd cause its trying to talk to npc while out of range. This happens in veno bank and magic shop. Anyone have fix for this?
I use the default settings and have no problems at Venore.
03-17-2014, 08:42 PM
Leonardo
Quote:
Originally Posted by Imba
My problem is that even if i set time to 60 seconds, anti furniture is starting to destroy objects earlier, for example 10 seconds, and then my bot is screwd cause its trying to talk to npc while out of range. This happens in veno bank and magic shop. Anyone have fix for this?
Ye it's really bugged, something I did wrong and will be fixed. Can be replaced temporally with this another variation:
if $standtime >= 60000 then
antifurnituretrap('Machete')
end
Guys I've managed to use browse field and search on the next pages, but there's a big problem, and you'll need to deal with that.
Tibia doesn't allow any bot read all the tile items, it's limited to 10 items max. And browse field returns 30 slots. So it'll only work if the furniture is up to 10th item in each page.
i.e 10th, 40th, 70th item on the tile field.
I can't improve it further. It's not a bot limitation but the Tibia memory that doesn't return the information I need.
04-03-2014, 03:49 PM
wimme
@Leonardo , after the new update, my bot somethimes try to destroy furniture in houses. Saw the bot trying to enter a house to destroy, well I think it wanted to destroy that piece of furniture since I didnt see any other furniture in the house standing, those venore plants "Areca Palm", but yea since he isnt invited he just keeps trying to enter... Never had any problems before the update tough
04-03-2014, 03:58 PM
Leonardo
Quote:
Originally Posted by wimme
@Leonardo , after the new update, my bot somethimes try to destroy furniture in houses. Saw the bot trying to enter a house to destroy, well I think it wanted to destroy that piece of furniture since I didnt see any other furniture in the house standing, those venore plants "Areca Palm", but yea since he isnt invited he just keeps trying to enter... Never had any problems before the update tough
He tries to reach every item, even inside houses, but when the message "You are not invited" appear it'll stop from entering it again. Each time you reset the libraries it'll reset those houses positions.
But the bot itself adds a special area in the door house if you are trying to enter for a long time, so you shouldn't worry.
04-05-2014, 09:40 AM
Urukhaiattack
At venore bank the bot is bugging even when i put that on hotkey it dont brake trough of water, it just goes from back and forth between waypoints @Leonardo
04-15-2014, 03:53 PM
Karmazyn
Work on Goblin Statue, Trough? I need just for those two items for my Rookstayer. By the way, could you explain me where should I paste it? Anyone know what should I do for walkable items like a wooden chairs, boxes, creates etc. ?
Thanks in advance for the help.
04-28-2014, 04:15 AM
joraanpe
Quote:
Originally Posted by Leonardo
He tries to reach every item, even inside houses, but when the message "You are not invited" appear it'll stop from entering it again. Each time you reset the libraries it'll reset those houses positions.
But the bot itself adds a special area in the door house if you are trying to enter for a long time, so you shouldn't worry.
Any updates over here mate? On my side, it still tryes to reach any furniture not considering any stand time, even when using the conditional $standtime
07-18-2014, 12:15 PM
mooty
Quote:
Originally Posted by Nightshade
i really want to know how they do that?, anyone?
A bit late reply as I see this thread is ooooooooold, but I will tell you how:
Put a potion on the ground, put a block item on top, use browse field and use potion on yourself.
Vial lands on block item.
Hey @Leonardo, is the code now really working with the browse field feature?
I saw the thing about the tile count limit, but I wanna know about the rest for sure.
And any news on the stand time / waiting period for the action to kick in?
Thx, buddy!
08-05-2014, 02:53 AM
Leonardo
Quote:
Originally Posted by pvzin
Hey @Leonardo, is the code now really working with the browse field feature?
I saw the thing about the tile count limit, but I wanna know about the rest for sure.
And any news on the stand time / waiting period for the action to kick in?
Thx, buddy!
Yes it's working well except for the limitation of tile I've mentioned. But I've never been stuck by furnitures using this.
08-31-2014, 10:03 AM
Moriarty
What to do when player is on trough (on the ladder sqm or rope? Bot get stuck because of it.
09-04-2014, 05:44 PM
Moriarty
Any ideas?
09-04-2014, 06:19 PM
Leonardo
Quote:
Originally Posted by Moriarty
Any ideas?
It should be breaking troughs anyway, how's your script like ?
09-04-2014, 06:57 PM
Moriarty
Quote:
Originally Posted by Leonardo
It should be breaking troughs anyway, how's your script like ?
for i=-1,1 do
for j=-1,1 do
local x,y,z = $posx+i,$posy+j,$posz
if table.binaryfind(blockwalkids,topitem(x,y,z).id) then
if tilereachable(x,y,z) then
pausewalking(10000)
local topid = topitem(x,y,z).id
while tilereachable(x,y,z) and (math.abs($posx-x) > 1 or math.abs($posy-y) > 1) do
reachlocation(x,y,z)
wait(100,200)
end
while topitem(x,y,z).id == topid and $posz == z and (math.abs($posx-x) <= 1 and math.abs($posy-y) <= 1) do
useitemon(weapontouse,topitem(x,y,z).id,ground(x,y,z))
pausewalking(5000)
wait(400,500)
for i=-1,1 do
for j=-1,1 do
local x,y,z = $posx+i,$posy+j,$posz
if table.binaryfind(blockwalkids,topitem(x,y,z).id) then
if tilereachable(x,y,z) then
pausewalking(10000)
local topid = topitem(x,y,z).id
while tilereachable(x,y,z) and (math.abs($posx-x) > 1 or math.abs($posy-y) > 1) do
reachlocation(x,y,z)
wait(100,200)
end
while topitem(x,y,z).id == topid and $posz == z and (math.abs($posx-x) <= 1 and math.abs($posy-y) <= 1) do
useitemon(weapontouse,topitem(x,y,z).id,ground(x,y,z))
pausewalking(5000)
wait(400,500)
end
pausewalking(0)
end
end
end
end
It's not my script, I'm 99% the one I did is capable of breaking even with players above it. Check main post of this thread.
09-05-2014, 08:46 AM
Moriarty
Quote:
Originally Posted by Leonardo
It's not my script, I'm 99% the one I did is capable of breaking even with players above it. Check main post of this thread.
Okay, sorry. Yes it breaks trough even if player is above it but your script doesn't break trough when it is on rope place or ladder place like this