will it works if i change bodys ID and item's to use name from blessed wooden stake to for example knife etc?
will it works if i change bodys ID and item's to use name from blessed wooden stake to for example knife etc?
Managed staff .. who needs is below ..
init start
local dust = {5905}
init end
auto(100)
if (maround(7,false) == 0 and $lootbodies == 0) and $wptsection ~= "Spawn" then
local count = {}
for index,id in ipairs(dust) do
count[index] = itemcount(id)
end
setsetting('Cavebot/Enabled', 'no')
stake(7, true, true)
setsetting('Cavebot/Enabled', 'yes')
pausewalking(0)
setsetting('Cavebot/Enabled', 'yes')
wait(300)
for index,id in ipairs(dust) do
local newcount = itemcount(id)
if (newcount > count[index]) then
increaseamountlooted(id, newcount-count[index])
setsetting('Cavebot/Enabled', 'yes')
end
end
end
Also add another persistent to guarantee
They will not have problems ..
below
auto(200)
if $standtime >= 30*1000
then
setsetting('Cavebot/Enabled', 'yes')
end
@Garkstal
You can help me to improve?
Last edited by diabooo; 02-23-2016 at 06:53 AM.
http://i.imgur.com/lkWkIMg.png
........................Script Name......................
Profession
Asura Palace ED + EK Characters for sale! | Like Our Facebook! | Sell Tibia Gold
If I use so he is back in the dead body
until the body disappears and no stake and does not hunt ..
if (maround(7,false) == 0 and $lootbodies == 0) and $wptsection ~= "Spawn" then
local count = {}
for index,id in ipairs(dust) do
count[index] = itemcount(id)
end
pausewalking(5000)
stake(7, true, true)
pausewalking(0)
setsetting('Cavebot/Enabled', 'yes')
wait(300)
for index,id in ipairs(dust) do
local newcount = itemcount(id)
if (newcount > count[index]) then
increaseamountlooted(id, newcount-count[index])
setsetting('Cavebot/Enabled', 'yes')
end
end
end
but the way I did of some incompatibilities, because it disables caveboot time ..
I need a persistent functional stake ^^
hmmm i thinkkk about use it on rottin wood, to skin rabbits
13:53:13 error in Persistent script blessed stake:
[" _stake(Range, waitFreshBodies..."]:blessed stake:163 attempt to call global '_stake' (a nil value) @Garkstal
09:11:32 error in Persistent script Blessed stake:
[" _stake(Range, waitFreshBo..."]:Blessed stake:163 attempt to call global '_stake' (a nil value)
Help please im new to windbot...
23:36:42 error in Cavebot script NewCavebotScript:
[" _stake(range)"]:NewCavebotScript:163 attempt to call global '_stake' (a nil value)
14:40:52 error in Cavebot script StakeSkin:
[" _stake(Range, waitFreshBodies)"]:StakeSkin:163 attempt to call global '_stake' (a nil value)
Did you update this since you can skin immidiately now?