Skip to content

πŸ€– Fastest Tibia PixelBot. A great bot for Auto, Cavebot, Healing, Macro, Refill, Targeting and Training!

License

Notifications You must be signed in to change notification settings

TheGlitchLab/PyTibia

Β 
Β 

Repository files navigation

πŸ“ Description

Fastest Tibia PixelBot developed in python to get unlocked fps.

Read this in other languages: English, Brazilian Portuguese.

This BOT works locating image around the screen and applies cache to avoid image redetection and thus avoid excessive cpu/gpu usage.

This BOT is all based on matrix calculation, also applies parallelism and also pre-processing, as it is the only way to have maximum performance(nanoseconds/microseconds).

This BOT also uses data structure, arrays, path finding, among other important things to have smart decisions and gameplay.

This BOT walks by keyboard and make human mouse movimentation.

I created this BOT to learn python, to stream on twitch, to make friends, to apply my knowledgments in deep learning, path finding, matrix, etc.

I'm not going to sell subscription to this BOT, but it will work on "global" and you can use it, it's at your own risk.

This BOT ins't ready yet, this BOT still under construction.

Be free to use any function to create your custom BOT or wait for the release of v0.

πŸ€– BearSharp

Due to personal commitments that demand my attention, I'm temporarily pausing the development of the bot project for Tibia. However, I'm happy to share that my friend has a fantastic project called BearSharp which offers excellent features and is continually updated. While my project is down, I encourage you to check out BearSharp's exceptional work. I'm sure you'll find everything you need and more there.

Here is the BearSharp discord link: https://discord.gg/rqm9E3EGBr

Thank you for your understanding and I continue to look forward to resuming my work as soon as possible.

πŸ—ΊοΈ Features

Only available for knight/paladin

Features Done
Alerts ❌
Auto amulet βœ”οΈ
Auto login ❌
Auto ring βœ”οΈ
Auto server save ❌
Cavebot βœ”οΈ
Combo Spells βœ”οΈ
Drop flasks βœ”οΈ
Deposit gold βœ”οΈ
Deposit non stacked items βœ”οΈ
Deposit stacked items βœ”οΈ
Fish ❌
Food eater βœ”οΈ
Healing βœ”οΈ
Smart Targeting βœ”οΈ
Refill βœ”οΈ
Quick loot βœ”οΈ
Sell flasks ❌
Sell items ❌
Train ❌

⚽ Goals

  • Detect every necessary information in the client in (milli/macro/nano)seconds
  • Control every pixel of the mouse to make human movements
  • Use convolutionals neural networks to detect relevant stuffs like blockable objects, dropped loots, etc
  • Use recurrent neural networks to use natural language processing to chat with others players
  • Make party gameplay

🧰 Installation

Tibia client options

Before installing the python packages, PyTibia requires that the Tibia client has some necessary settings for it to work correctly. Please leave the options exactly as in the next images:

Controls General Hotkeys Action Bar Hotkeys Custom hotkeys Interface HUD Console Game Window Action Bars Graphics Effects Misc Gameplay

In the Tibia client, open the skills panel, the battle list, and set the gameWindow to the highest resolution, exactly like in the picture below:

Client

For now PyTibia's hotkeys are not configurable, it is necessary to leave it exactly like table below:

Hotkey Item
1 Health Potion
2 Mana Potion
3 Health food
4 Mana food
5 Light healing(exura ico)
6 Critical healing(exura med ico)
7 utura
8 utura gran
9 exana kor
0 exana pox
f1 exori
f2 exori gran
f3 exori ico
f4 exori hur
f5 exori mas
f6 exori min
f7 utamo tempo
f8 utito tempo
f9 ring
f10 amulet
f11 tank ring
f12 main ring
u tank amulet
i main amulet
o rope
p shovel
f food

Default Hotkeys

Prerequisites

Install packages before continue

poetry install

⌨ Development

βš™ Running the app

poetry run python main.py

πŸ§ͺ Running tests

# unit tests
poetry run python -m pytest

# unit tests with code coverage
poetry run python -m pytest --cov=src

βœ… TODO

  • Add logout waypoint
  • Add alert when editing specific label already being used
  • Avoid inserting duplicate labels on waypoints
  • Translate README for Spanish language
  • Add api docs
  • Add apidocs(github pages) deploy on CI
  • Add mypy
  • Add mypy to CI
  • Add unit tests to CI
  • Add screenshot adapter on linux

πŸ‘· Authors

See also the list of contributors who participated in this project.

If you want to become a contributor, send a message to my linkedin.

❀️ Development inspiration

A special thanks to Murilo Chianfa, the owner of TibiaAuto12. I started this bot especially to overcome TibiaAuto12 slowdowns.

You can check the bot development at https://twitch.tv/lucasmonstrocs.

πŸ“ License

Copyright Β© 2023 lucasmonstro
This project is MIT licensed

About

πŸ€– Fastest Tibia PixelBot. A great bot for Auto, Cavebot, Healing, Macro, Refill, Targeting and Training!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%