Is there any function that destroys unwalkable furniture?
It could be sth like that
if any furnirute that you can walk on is on screen
then
pause walker/looter/targeting
useitem(machete) on item(furniture)
enable walker/targeting/looter.
This is gettin more and more annoying when someone blocks entrance to manashop with some plants and you can refil and bot gets stuck for hours until you're home
desche188
06-09-2012, 02:19 PM
thank you for suggesting this i would also like to know if there is such a script as people at swamp trolls trap and kill other players with fire on non-pvp and if you could stop and break the furniture it would be great
XtrmJosh
06-09-2012, 04:12 PM
This is already possible using Lua, I think :p
Im not really good at scripting 'hotkeys', but I might try do to something
This was for Neobot. Just need to change a little bit.
init start local blockwalkids = {2025, 2029, 2030, 2043, 2044, 2045, 2046, 2047, 2048, 2059, 2060, 2061, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2465, 2466, 2467, 2468, 2524, 2904, 2959, 2960, 2961, 2962, 2963, 2964, 2975, 2976, 2979, 2982, 2986, 2997, 2998, 2999, 3000, 3484, 3485, 3486, 3487, 3510, 3511, 3512, 3513, 5046, 5055, 5056, 6109, 6110, 6111, 6112, 6367, 6368, 6369, 6370, 7860, 7861, 7862, 7863, 9132, 9141, 10208, 10210, 10211, 10212, 10213, 10214, 10215}
table.newsort(blockwalkids)
init end
auto(100)
for i=-7,7 do for j=-7,7 do local x,y,z = $posx+i,$posy+j,$posz
if tilereachable(x,y,z) and table.binaryfind(blockwalkids,topitem(x,y,z).id)
then
pausewalking(10000)
local topid = topitem(x,y,z).id
while tilereachable(x,y,z) and $posz == z and (math.abs($posx-x) > 1 or math.abs($posy-y) > 1)
do
reachlocation(x,y,z)
end
local weaponlocation, weaponid = findweapontouse() while topitem(x,y,z).id == topid and $posz == z and (math.abs($posx-x) <= 1 and math.abs($posy-y) <= 1)
do
useitemon(weaponid,topitem(x,y,z).id,ground(x,y,z) ,weaponlocation) pausewalking(5000) wait(200,300) end pausewalking(0)
end
end
end
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.