Soft boots refiller in all scripts yeah ?
Soft boots refiller in all scripts yeah ?
Tried your Yalahar Mutated Humans w/ offiline training. Everything is working fine except for the item depositing. It doesn't move the items ..
but it was a simple fix;
Just remove the action that opens the depot backpack & it should be resolved. After a few tweaks it works perfect
Thank you wesker!!!!
Last edited by oscarposcar; 09-03-2014 at 01:20 PM.
You can use it as a persistent, as a waypoint action as toilet paper (if you print it first)
it will sell all the items and add their value -10 if stackable or value -100 if non-stackable
Selling items on Market Script
skerW kerW kerWe kerWeskerWe sker s Wesker ker skerWeskerW kerWeskerW
skerW kerW kerWe kerWeskerWes WeskerWesk Weske ker skerWeskerWe kerWeskerWe
kerW kerW kerW kerW rWes rWesk Wesk esk sk sker erWe erW rWe
erW erW ker erW rWesk esk es ker erWeskerWe
erW kerW ke erWesk Weske eskerWe kerWes erWeskerW
rW kerWeske erWeske kerWe eskerWe kerWesk erWesker
rWeskerWeske erWeske erWe eskerWe kerWesk erWeskerW
WeskerWeske erW rWes esk Wes ker erW erW k
esk Wesk erWe Wes rWes rWes esk Wes kerW rWe erW erWesk
es Wesk kerWesk rWes rWeskerWes Weske WeskerW skerWes erWe kerWe erWesk
es es kerWeskerWes rWeskerWe rWeske WeskerW skerWeskerWe kerWe rWes
setsetting('Settings/OpenMenuPolicy', 'Do nothing')
setsetting('Settings/StuckCursorPolicy', 'Do Nothing')
setsetting('Settings/FocusPolicy', 'Don\'t auto-focus')
local SellLoot = {"strange helmet","shard","strong health potion","guardian shield","ice rapier"}
openmarket()
for a = 1, #SellLoot do
if itemproperty(SellLoot[a], ITEM_STACKABLE) then
local SellAts = tonumber((itemvalue(""..SellLoot[a].."")) - 10)
setlifetime(50000)
sellitemsmarket(SellLoot[a], SellAts, 999, true)
print(""..SellLoot[a].." : "..SellAts.."")
else
local SellAt = tonumber((itemvalue(""..SellLoot[a].."")) - 100)
setlifetime(50000)
sellitemsmarket(SellLoot[a], SellAt, 999, true)
print(""..SellLoot[a].." : "..SellAt.."")
end
end
closemarket()
setsetting('Cavebot/Enabled', 'no')
setsetting('Settings/FocusPolicy', 'Don\'t auto-focus')
setsetting('Settings/StuckCursorPolicy', 'Release Instantly')
setsetting('Settings/OpenMenuPolicy', 'Confirm if cavebotting')
Depositer~
setsetting('Looting/OpenNextBP', 'no')
while windowcount('Depot Chest') == 0 do
opendepot(true)
openitem('Depot Chest')
waitcontainer('Depot Chest')
end
local Ignore = {'gold coin', 'platinum coin'}
table.id(Ignore)
local stackableId = depotindextoid(tonumber(getuseroption('StackDP'))) ---------- edit
local nonstackableId = depotindextoid(tonumber(getuseroption('LootDP'))) ------------ edit
while true do
foreach lootingitem i "a" do
if not table.find(Ignore, i.id) then
while itemcount(i.id,"backpack") > 0 do
if itemproperty(i.id, ITEM_STACKABLE) then
moveitemsonto(i.id, stackableId, 1, 'depot chest', i.destination, itemcount(i.id))
else
moveitemsonto(i.id, nonstackableId, 1, 'depot chest', i.destination)
end
end
end
end
break
end
setsetting('Looting/OpenNextBP', 'yes')
Code goes as follows :
Deposit every item in category A to the depot of stackables (you need to edit the depot index yourself)
Withdraw
setsetting('Looting/OpenNextBP', 'no')
local MainBp = string.lower(getuseroption('MainBp'))
while windowcount('Depot Chest') == 0 do
opendepot(true)
openitem('Depot Chest')
waitcontainer('Depot Chest')
end
local stackableId = depotindextoid(tonumber(getuseroption('StackDP')))
while itemcount(stackableId) > 0 do
openitem(stackableId, 'Depot Chest', false)
end
while itemcount(3032, MainBp) < 20 or itemcount(677, MainBp) < 20 do
local Gema = 20 - itemcount(3032, MainBp)
local Gema1 = 20 - itemcount(677, MainBp)
moveitems(3032, MainBp, stackableId, Gema)
moveitems(677, MainBp, stackableId, Gema)
end
setsetting('Looting/OpenNextBP', 'yes')
setsetting('Cavebot/Enabled', 'no')