Ta ai o script inteiro mano.
Attachment 1062
Só baixar colocar acc e pass do char conforme o Lucas falou e por pra rodar, porem ao ativar o cavbot o char fica parado no sqm do depot sem fazer nada....
auto(800, 1000)
local itemsToUnrust = {'chain armor', 'scale armor', 'brass armor', 'plate armor', 'plate legs', 'brass legs'}
local rustyArmors = {8895, 8896, 8898, 8899}
if ((maround(7) == 0) and ((lootbodies>0) == 0))
then
for i,j in ipairs(rustyArmors)
do
if itemcount(j) > 0 and itemcount("flask of rust remover") > 0
then
useitemon_ib("flask of rust remover",j,LootBP)
wait(2000)
end
end
for _, v in ipairs(itemsToUnrust)
do
if itemcount(v) > 0
then
moveitems(v, LootBP, 'ground', 1)
wait(1000, 2000)
break
end
end
end
if itemcount(6558, LootBP) > 0 and maround(4) == 0 then
useitem(6558, LootBP)
wait(200, 250)
end
if maround(7) == 0 and itemcount("strong mana potion", LootBP) > 0 then
moveitems("strong mana potion", LootBP, AmmoBP, 100)
wait(200, 250)
end
Im having alot of problems with almost all scripts i try to convert. 08:01:30 ERROR: using items:>> :5:30: Unexpected Symbol `$` in source.
07:59:49 error in Persistent script using items:
["if ((maround(7) == 0) and ((lootbodies>..."]:using items:5 attempt to compare number with nil
it says that everytime i delete the $ symbol. Its happening on about every script but 1 ive tried so far.
Thanks
@Gigio, reabra seu bot e atualize a lib. O problema do AntiFurnitureTrap será corrigido.
ye but it wont work with it there, thats why i tried to delete it and it still dont work.
k i fooled around with it now and its saying
08:33:58 (using items) Couldn't find item named 'flasks of rust remover'. Future warnings for this script will be shown in the Debug Script Log.
Is it not added into the bot yet? or is it another problem?
Last edited by Jflem; 02-16-2014 at 02:40 PM.
ahh ok, ty![]()
-- // Do not edit anything below:
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
while (windowcount("Depot Chest") == 0)
do
openitem(3502, "locker")
wait(700,900)
end
wait(1500, 2000)
while (windowcount(mainDpBp) == 0)
do
openitem(mainDpBp, "Depot Chest")
wait(700,900)
end
wait(1500, 2000)
--Stack Items to Deposit:
local getStackItemsToDeposit = stackItemsToDeposit
--Non-Stack Items to Deposit:
local getNonStackItemsToDeposit = nonStackItemsToDeposit
--Number of Loot Backpacks to open:
local getAmountLootBackpacks = AmountLootBackpacks
--Engine:
for i = 1, getAmountLootBackpacks
do
depotdeposit_ib(stackDpBp, unpack(getStackItemsToDeposit))
wait(100, 150)
depotdeposit_ib(nonStackDpBp, unpack(getNonStackItemsToDeposit))
wait(100, 150)
openitem(lootBp, lootBp, false)
wait(1500, 2000)
end
Can Someone help me with this action? Its not working... later he deposite all the loots, the bot stop, dont go to the other waypoint...