hello , i need hotkey to screensahot when lvl up or death ;D
Printable View
hello , i need hotkey to screensahot when lvl up or death ;D
i need mana walk, prismatic necklace changer/garlic necklace, prismatic ring if mobs > 3
plax food eater & full light.
Any HUD to show your current position?
auto(200)
equipitem('scarf', 'neck')
wait(300, 500)
http://forums.tibiawindbot.com/showt...ll=1#post11372
1. Mana walk
auto(200)
if maround(6) > 1 then
setsetting('PotionHealer/Rules/Mana Potion/ConditionValue', '40 to 50%')
else
setsetting('PotionHealer/Rules/Mana Potion/ConditionValue', '70 to 80%')
end
2. Amulets
auto(200)
equipitem('prismatic necklace', 'neck')
wait(300, 500)
3. Rings
auto(200)
if maround(8) > 3 then
equipitem('prismatic ring', 'finger')
wait(300, 500)
eatfoodfull()
Try this out, give feedback.
Oh, and download this version of Lucas' lib before doing so: https://docs.google.com/uc?export=do...HpHWG9UZmZkSnM
init start
local capMin = 100
local lootCat = 's'
local lootRange = 3
-- DO NOT EDIT BELOW THIS LINE --
local items, tile, foundItems, maxRatio, curDist, minDist, bestTile, isTopItem
init end
auto(100, 200)
if $cap > capMin and maround() == 0 then
maxRatio, minDist, bestItem, items = 0, math.huge, nil, {}
-- Build looting list items
foreach lootingitem l lootCat do
-- Add it to list only if we have enough capacity to loot it and still
-- remain above minimum capacity
if $cap > capMin + l.weight then
table.insertsorted(items, {id = l.id, dest = l.destination, ratio = l.sellprice / l.weight}, 'ratio', 'desc')
end
end
-- Find best item/location to collect
for y = -lootRange, lootRange do
for x = -lootRange, lootRange do
if tilereachable($posx + x, $posy + y, $posz) then
tile = gettile($posx + x, $posy + y, $posz)
-- We do it the other way around so that we can know if the
-- item we got is the top one or not, by excluding the top if
-- it is a creature
isTopItem = true
for i = tile.itemcount, 1, -1 do
if tile.item[i].id ~= 99 then -- If it's not a creature
for _, v in ipairs(items) do
if tile.item[i].id == v.id then
curDist = math.max(0, math.abs(x) - 1) + math.max(0, math.abs(y) - 1)
if v.ratio > maxRatio or (v.ratio == maxRatio and curDist < minDist) then
maxRatio = v.ratio
minDist = curDist
bestItem = {
id = v.id,
dest = v.dest,
index = i,
isTop = isTopItem,
x = $posx + x,
y = $posy + y
}
end
end
end
isTopItem = false
end
end
end
end
end
if bestItem ~= nil then
set('Cavebot/Enabled', 'no')
-- Only reach if we have to
if minDist ~= 0 then
reachlocation(bestItem.x, bestItem.y, $posz)
waitping()
end
-- Only use browse field if we have to
if bestItem.isTop then
moveitems(bestItem.id, bestItem.dest, ground(bestItem.x, bestItem.y, $posz))
waitping()
else
-- We won't be handling pages here because gettile() only provides
-- information up to a depth of 10 items.
contextmenu('Browse Field', 0, ground(bestItem.x, bestItem.y, $posz))
waitping()
moveitems(bestItem.id, bestItem.dest, 'Browse Field')
waitping()
end
set('Cavebot/Enabled', 'yes')
end
end
Try it out.
Make sure you have different waypoint sections for hunting and refilling, else it will fuck up.
init start
local huntSection = 'hunt' -- Hunting section
local reffilSection = 'refill' -- Refill section; must be diff from hunting
local reffilLabel = 'goback' -- Refill label
init end
auto(100, 200)
if needresupply(math.huge, '') and $wptsection == huntSection then
set('Targeting/Enabled', 'no')
gotolabel(reffilLabel, reffilSection)
end
ammo refiler / auto spell heal and potion use
Food Eater Done:
http://forums.tibiawindbot.com/showt...537-Food-Eater
(It actually surprises me we didn't have one of these on examples or even on forums yet)
Full Light:
On Tibia, go Options > Graphics > Advanced > Uncheck Show Light Effects
Raphael , do you remember you did a hotkey( really a hotkey) to show the time to get the skill? (btw neotimes) Could you do it again for me :)? would be awesome . Thx
@Raphael
This Lib will be Included in newest bot Version ? ;> because with this one Hotkey for loot pick uping works and with this one in 1.3.0 isn't ;>
Regards
Yes, @Lucas Terra 's fixed lib should be included in the next release.
By the way, don't bold when tagging, it makes tagging not work.
Okey, and There will be any Advanced area rune shooter? not only shootarerune() ?
http://forums.tibiawindbot.com/image...quote_icon.png Originally Posted by So Kol http://forums.tibiawindbot.com/image...post-right.png
Hello. I'm lookin' for hotkey supplies checker, if its lower then set in supplies the bot will turn off the targetin and go to wpt refill
Raphael, is not better if instead set targeting off, set all creatures "only if traped" ? I was thinking about this because they could be trapped easily, not?
Hello I used this script to not be disturbed by all those lvl 1 spamming about goldselling etc, can you remake so it suits Windbot? :)
Code:
local CONFIG = {
MINIMUM_LEVEL = 10, -- It'll play alarm with people that are highest than this level
}
--[[ DON'T EDIT BELOW THIS LINE --]]
AUTO_ALERTS = AUTO_ALERTS or {
TIME_BETWEEN_RESPONCES = 2,
RESPONCE_TIMER = os.time(),
INITIALIZED = false
}
if not AUTO_ALERTS.INITIALIZED then
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\PlaySound", "no")
print('AUTO_ALERTS: Alets for private message changed in bot.')
AUTO_ALERTS.INITIALIZED = true
end
local MESSAGES = getnewmessages("Local Chat")
for INDEX = 0, MESSAGES.count - 1 do
local m = {text = MESSAGES[INDEX].text, sender = MESSAGES[INDEX].sender or '', type = MESSAGES[INDEX].type, content = MESSAGES[INDEX].text:match('%b[]: (.+)') or '', time = MESSAGES[INDEX].text:sub(1, 5), level = tonumber((tostring(string.match(MESSAGES[INDEX].text, '.+ (%b[]): .+')):gsub("[^%d]", ''))) or 0}
if m.sender:lower() ~= name:lower() and table.find({6}, m.type) and m.level >= CONFIG.MINIMUM_LEVEL and os.difftime(os.time(), AUTO_ALERTS.RESPONCE_TIMER) >= AUTO_ALERTS.TIME_BETWEEN_RESPONCES then
playsound('private.wav')
end
end
Hello!
I would like a script that does an area spell whenerver a creature (enlightened of the cult as an example) goes invisible.
I've been trying to figure the script out myself but haven't been able to come up with anything that actually works well.
I think it should be something that waits a while if the monster goes invisible and if it still doesn't see it, will cast an area spell.
And yes, I've tried the anti-stalker script but it doesn't actually work for this scenario whilst cavebotting,
because the character will just quickly change the floor when the creature goes invisible.
Many thanks in advance!
hey just a simple one. Alarms when Ping getting over X, would be good if I could decide which soundfile it will play.
Hello, im looking for a script that somehow getting warlocks back out from stealth. By using maybe, stoneshower on the last known sqm there was a warlock?
When all my bps is getting full im putting all my loot on market for a price noone buy for. And when I want to sell all loot, I simply cancel all the offers on market and all the loot gets into Inbox where I mostly have like 40 pages of loot.
What im looking for is a script that sorts all the loot (rashid, blue, green etc)from Inbox into Backpacks which I have inside depot.
Thx in advance
Hello man, jakub made this one for me, but what he didnt know about is that the bot spams exura gran mas res if both me and the ek are under certain health.
He didn't think of the mass res cooldown, that between them u can fit a normal heal on yourself if your health demands it.
So my question is:
Could u edit this and add a checker, if mass ress on CD and my health% below sio, and EK low health (below the health so i should sio him) health self. cuz it keeps spamming mass res and im death if i cant fit a heal inbetween.
would mean the world !
This is the thread.
http://forums.tibiawindbot.com/showt...s-Spell-Healer
quote from his thread:
Quote:
Post feedback please also feel free to improve! It lacks checking if enough mana to cast spells. Also could be improved to sio player with least hp.
Found out LucasLib has massheal and sio functions, but anyway this might be usefull.
PHP Code:
init start
local friends = {
{name = 'Friend1', hppc = 90},
{name = 'Friend2', hppc = 30},
-- you can delete or add friends by copying lines
}
local selfhppc = 90 -- % of your HP to mas res self (if enough people are in range), if your HP% is below will not sio friends.
local mininrange = 2 -- Atleast how many peope has to be in range of mas res to use it (including you only if your HP% is below selfhppc)
-- If theres no action to take it will run SPELL HEALER.
init end
auto(20,50)
local inrange = 0
local tosioname = nil
if $hppc <= selfhppc then
inrange = inrange + 1
end
foreach creature m 'pt' do
for k, v in ipairs(friends) do
if m.name == v.name and m.hppc <= v.hppc then
if tosioname == nil then
tosioname = m.name
end
if m.dist <=3 then
inrange = inrange + 1
end
end
end
end
if inrange >= mininrange then
if getsetting('SpellHealer/Enabled') == 'yes' then
setsetting('SpellHealer/Enabled', 'no')
end
if cancastspell('Mass Healing') then
cast('exura gran mas res')
end
return
end
if tosioname ~= nil and $hppc >= selfhppc then
if getsetting('SpellHealer/Enabled') == 'yes' then
setsetting('SpellHealer/Enabled', 'no')
end
if cancastspell('Heal Friend') then
cast('exura sio "' .. tosioname)
end
return
end
if getsetting('SpellHealer/Enabled') == 'no' then
setsetting('SpellHealer/Enabled', 'yes')
end
A proper fish water elemental hotkey, the ones I've tried stops and wait for it to be possible to fish