It's not working, added it to script section and its ignoring all the bodies :|
@edit
Nvm, working fine already
It's not working, added it to script section and its ignoring all the bodies :|
@edit
Nvm, working fine already
Last edited by maciantochuj; 10-12-2014 at 03:05 PM. Reason: solved problem
try this:
auto(100)
local item1 = itemid('hardened bone')
local WaitForSkin = true --Should it wait for body to be skinable?
if maround(7) == 0 and $lootsaround == 0 and itemcount("Obsidian knife") > 0 then
local count1 = itemcount(item1)
pausewalking(2000)
skin(6,true,WaitForSkin)
local delta1 = itemcount(item1) - count1
if (delta1 > 0) then
increaseamountlooted("hardened bone", delta1)
pausewalking(0)
end
end
Well, the persistent works... but it gets conflituous with cavebotting. i mean: when it tries to skin, the cavebotting is already map clicking to continue the hunting! Anyway to solve this problem?
try this
auto(100)
local item1 = itemid('hardened bone')
local WaitForSkin = true --Should it wait for body to be skinable?
if maround(7) == 0 and $lootsaround == 0 and itemcount("Obsidian knife") > 0 then
local count1 = itemcount(item1)
setsetting('Cavebot/Enabled', 'no')
skin(6,true,WaitForSkin)
local delta1 = itemcount(item1) - count1
if (delta1 > 0) then
increaseamountlooted("hardened bone", delta1)
setsetting('Cavebot/Enabled', 'yes')
end
end
humm.. it´s not working.. it just turns off cavebotting while i am in town for example
I activated the script and killed a minotaur to test it was on , but it worked . You need the cavebot is connected to run the script?