Fixed
Printable View
Decided to rewrite almost the entire HUD from scratch, because the code was ugly as fuck. Feature-wise it's almost exactly the same as the old one. However, the new one will automatically move itself around when you resize the game window. But if you don't care about that, then there's not much reason to upgrade. Unless you want to read the code, that is.
I'm quite pleased with the new code. It's based around a publisher-subscriber pattern where there's one module that gathers data about the character and the actual HUDs subscribe to changes in that data. The HUDs are also organized into recursive containers which utalize a flow-based layout to automatically resize themselves when nearby containers grow.
Same download link as usual, you'll find it in the index.
Also, I recently changed it handle coin changing on OTs and moved the item lists to the right side of the screen. Those updates are included in the new version.
Didn't see that coming :) thanks
Fixed a bug in the new hud that could sometimes cause it to count used potions as both loot and waste.
Fixed a bug in the furniture destroyer that made it possible to trick it by hiding a piece of furniture under so many other items that it was no longer visible.
Also added a "Totals" section to the hud:
http://i.imgur.com/f5NCZHS.png
This "totals" make the HUD perfect! By the way you updated the link? I downloaded and I this section doesnt appear on the hud
Many very high level players use looting scripts. They're safe.
I saw you have a pic with a nice lua, and this isnt the one i saw, Witch one is you useing?
Can you make some good "Sio" scripte?
@shadowart hi, do you have any good follow script that will work good or disable itself while targeting is on?
Which script is for looting playing manual?
Can u add code if cap < x then drop gold from corpse to ground?
Hey, very nice project. I have one question, where i can download this Hud for all places to exp or How i can create that Huds for few other place? Ty for help, be care
http://forums.xenobot.net/showthread...l=1#post457477
https://goo.gl/fYaO0K
here you can download it
Yes i know but i wanna exchange one thing, how i can grow up the picture of items?
You're welcome to download the script and read the code.
What must i do to take this view items bigger than they're? I check with image size 5 and 20 and 50 and they dont change
This is a spell shooter for mages with very conservative pvp safety checks. I wrote it since I couldn't make even a single hunt without taking a skull when sharing a cave -- with another bot, he wasn't even trying to make me get skulled. At the time, I was botting on Hexera, I am unsure if the built-in shooter performs as badly on real Tibia pvp servers since I don't play those.
This spell shooter supports:
- UE with 3 squares buffer when checking pvp safety.
- Aoe runes with 3 squares buffer when checking pvp safety.
- Strikes with 2 squares buffer around your look-position when checking pvp safety. It will also try to turn away from nearby players before retrying if the pvp check fails.
- The shooter will not do shit like using Exori Flam on 5 Glooth Bandits. If the shooter determines that a spell should be cast, but it fails to cast it (frequently happens due to either movement or potions useage) it will not fall through to the next option but rather retry. It only falls through when an options cannot be cast at all (is on cooldown for more than 2s or cannot be cast in any pvp safe locations or cannot hit enough targets).
- Pvp safety can be disabled and checking the floor above and the floor below you for players is optional (note that level spy doesn't work between the surface and the first underground level).
- There's an option to ignore party members when checking pvp safety.
The spell shooter does not support:
- Single target runes.
- Health and mana checks.
- Waves and beams.
- Configurable buffer sizes.
- Multi-floor checks only around holes and stairs etc.
In roughly the order I may add them.
Just another level shadowart, xenobot lua code looks very flexible, missing this since elfbot.
Thanks!
Thanks.
I've rewritten my shooter from scratch in order to be able to support more complex decision. New things include:
- Configurable pvp safety margins.
- A configurable blacklist where you can add the ids for holes and stairs etc. If you add all floor changers in your spawn you won't need multi-floor checks.
- A bundled potions drinker that minimizes interference with the rune shooter.
- Hp percent checks on creatures.
- Mana checks on all spells.
- "At least one" checks that allow you to configure stuff like "use an avalanche on at least two creatures if at least one of the creatures is a demon skeleton".
- Single target runes.
- Performance improvements.
I have a lot of testing left though before I'm going to upload the new version. Anyone have any more ideas? Waves/beams won't make it into this release.
Thanks!
u have one reconnect lua script??
Reconnect is built into the bot.
Good morning buddy, would u mind helping me to code: A script that changes knife to fire sword when 3 or more mobs (rotworm, carrion rotworm) on screen. Please help me, thanks.
Thanks @shadowart
love you :D
thanks
Could you make a script that beeps when a player with a given name or a GM appears on the screen? The Alarms of the xenobot itself whistle with anyone and I do not want this.
the dynamic looting script doesn't open the corpses
Hello, I'm in need of a very simple script.lua, but I do not know how to do it. I need a Elder Druid script that always throws wild growth in front of me or 2 sqm away.
Where:
Me-#-#-@
FR-#-#-@
Me = myself
FR = my friend Master Sorcerer
# = free sqm
@ = wild growth
It's simple, I hope someone gets it for me.
about this how do i add check potions or checker when i use labele what are my lable commands?
Sadly all your links are broken :( I couldnt test anything
are u able how to explain waypoint maker to talk to npc n check supplys?