Put Browser on the TOP and should be fine, check also if you you have High DPI in properities of Tibia Shortcut
Printable View
o meu não está abrindo.
Alguma ajuda?
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
openitem("depot chest", "locker")
wait(700,900)
Works great on the depot action
For those who dont understand as i struggled a little i just added this
reachgrounditem("depot")
setfavoritedepot(5)
and it worked!
dont know about the skinning thing yet
Great job Lucas!
I got a problem with garkstals demons script, it open main dpbp and put items etc, but then it open the boxs again to take soils, but it dont open that backpack! whats its wrong?
If the character has not the item to skin he got stuck beside the corpse.
It should be nice to still hunting normaly if has not the item in backpack
Follow the code:
auto(1000)
if skinspots(7, true, true) > 0 and $target.id == 0 and $lootsaround == 0 then
pausewalking(10000)
skin(7, true, true)
pausewalking(0)
end
Is $favoritedepot supposed to reset everytime you restart Tibia client & bot? Because that's what's happened to me. Seems rather stupid that it doesn't save to userdata like scriptuser options do.
IT IS OK??
--Reach Depot/Open Dp/Deposit
setfavoritedepot(2)
stackdp = getlootingdestination('stackdp')
nonstackdp = getlootingdestination('nonstackdp')
lootbp = getlootingdestination('lootbp')
maindpbp = getlootingdestination('maindpbp')
local CONFIG = {
LOOT_BACKPACK = lootbp,
MAIN_DP_BACKPACK = maindpbp,
STACKABLE_BACKPACK = stackdp,
NOT_STACKABLE_BACKPACK = nonstackdp,
}
clearlastonto()
while (true) do
foreach lootingitem ITEM_ENTRY do
while (itemcount(ITEM_ENTRY.id, CONFIG.LOOT_BACKPACK) > 0) do
if (itemproperty(ITEM_ENTRY.id, ITEM_STACKABLE)) then
moveitemsonto(ITEM_ENTRY.id, CONFIG.STACKABLE_BACKPACK, 1, CONFIG.MAIN_DP_BACKPACK, CONFIG.LOOT_BACKPACK) wait(600, 1200)
else
moveitemsonto(ITEM_ENTRY.id, CONFIG.NOT_STACKABLE_BACKPACK, $lastonto, CONFIG.MAIN_DP_BACKPACK, CONFIG.LOOT_BACKPACK) wait(600, 200)
end
end
end
if (itemcount(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then
openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) waitcontainer(CONFIG.LOOT_BACKPACK, false)
else
break
end
wait(100)
end
It is indeed. Why though?
You need have also this
while windowcount("Depot Box I") == 0 do
opendepot()
waitping(3,4)
end
while windowcount(maindpbp) == 0 do
openitem(maindpbp, "Depot Box I")
wait(1000)
resizewindows(1000,maindpbp)
wait(300,500)
end
But maindpbp should be declared ;>
Well if you want to have depot remind then yes ;)
for some reason when i skin a monster now the lootcount messes up, ill have looted 12 and it will tell me i have 30+
bot still opening false depot box... i was setup VII but but opening one time depot box 3, next time depot box XI.....
PHP Code:
setsetting('Cavebot/WalkThroughPlayers', 'no')
setfavoritedepot(7)
local extraitembp = getuseroption("SpearBP")
local Location = getuseroption("MainBP")
local AmmoNameS = getuseroption("AmmoName")
local AmmoID = itemid(AmmoNameS)
local AmmoToBuy = getuseroption("AmmoToBuy")
local CurrentAmmo = itemcount(AmmoNameS, Location) + $rhand.count
local AmmoAmount = AmmoToBuy - CurrentAmmo
setsetting('Looting/OpenNextBP', 'no')
waitping()
reopenbp()
while windowcount(extraitembp) == 0 do
while windowcount("depot box VII") == 0 do
opendepot()
wait(300,500)
end
while windowcount(extraitembp) == 0 do
openitem(extraitembp, "depot box VII", false)
wait(800,1000)
end
end
resizewindows(1, extraitembp)
wait(700,1000)
if itemcount(AmmoNameS, extraitembp) < 1 then
openitem(extraitembp, extraitembp, false)
if itemcount(AmmoNameS, extraitembp) < AmmoAmount and itemcount(extraitembp, extraitembp) == 0 and AmmoAmount > 0 then
printerror('BRAK AMUNICJI', $name)
wait(1000)
closeclient()
end
end
if AmmoAmount > 0 then
moveitems(AmmoNameS, 'rhand', extraitembp, AmmoAmount)
wait(500)
end
if AmmoAmount > 0 then
gotolabel("OpenBPS", $wptsection)
end
pra quem não conseguiu ainda pessoal: "pelomenos nos meus scripts está rodando"
setfavoritedepot(8)
opendepot()
wait(700,900)
openitem("depot chest", "locker")
wait(700,900)
openitem(MainDPBP)
depotdeposit_ib(StackableDPBP,"Tarantula Egg","Steel Helmet")
depotdeposit_ib(LootDPBP,"Tarantula Egg","Time Ring")
Yea I think, eventually, most scripters will do that. It's a simple way to make scripts feel easier/more well thought out. I've done it to the ones I use that are my own too, and ofcourse to most others I've hardcoded it into depot action. It feels unecessary to run it everytime though so I did like this;
local favDepot = 13
if($favoritedepot ~= favDepot) then
setfavoritdepot(favDepot)
end
Fav depo is awesome, just edited my scripts for facc pally to refil ammo from one of depot boxes
With the good quality of windbot right now, i really am excited for when 3.0 gets released :D , take your time and make it perfect :)
cant download client, please fix it !
@Lucas Terra How's the stake function supposed to work? I've tried to use it , but the char just stands there unless you're close to the dead body to stake
Thanks in advance
I can't download it aswell... After reaching 10.7mb of it it stops and says unknown error.