when i lauch console give me that error ;/
16:40:03 error in Cavebot script NewCavebotScript1:
[" _stake(Range, waitFreshBo..."]:NewCavebotScript1:163 attempt to call global '_stake' (a nil value)
when i lauch console give me that error ;/
16:40:03 error in Cavebot script NewCavebotScript1:
[" _stake(Range, waitFreshBo..."]:NewCavebotScript1:163 attempt to call global '_stake' (a nil value)
stucking when other monster die above staker body
Last edited by downloadkct; 07-15-2016 at 11:06 AM.
Old 'n Proud Neobot-Elfbot and blackd user
Thanks dude
But now im using
And working perfectly, some times i got the same trouble, but i will add the "lootbodies"PHP Code:
init start
listas('Stake/Skin Bodies')
listcolor(0x00e5e5)
init end
auto(500)
if getsetting('Looting/Enabled') == 'no' then setsetting('Looting/Enabled', 'yes') end
if itemcount('blessed wooden stake') > 0 then
if maround() == 0 and stakespots(5, true, false) > 0 then
setsetting('Looting/Enabled', 'no')
setlifetime(3000)
stake(7,true,false)
elseif itemcount('obsidian knife') > 0 then
if maround() == 0 and skinspots(5, true, false) > 0 then
setsetting('Looting/Enabled', 'no')
setlifetime(3000)
skin(5,true,false)
end
end
end
Code:init start listas('Stake Bodies') listcolor(0x00e5e5) init end auto(500) if getsetting('Cavebot/Enabled') == 'no' then setsetting('Cavebot/Enabled', 'yes') end if itemcount('blessed wooden stake') > 0 then if (maround(7,false) == 0 and $lootbodies == 0 and stakespots(5, true, false) > 0) then setsetting('Cavebot/Enabled', 'no') setlifetime(3000) stake(7,true,false) end end