Skip to content

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.

🗺️ Features

Only available for knight/paladin

FeaturesDone
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:

ControlsGeneral HotkeysAction Bar HotkeysCustom hotkeysInterfaceHUDConsoleGame WindowAction BarsGraphicsEffectsMiscGameplay

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:

HotkeyItem
1Health Potion
2Mana Potion
3Health food
4Mana food
5Light healing(exura ico)
6Critical healing(exura med ico)
7utura
8utura gran
9exana kor
0exana pox
f1exori
f2exori gran
f3exori ico
f4exori hur
f5exori mas
f6exori min
f7utamo tempo
f8utito tempo
f9ring
f10amulet
f11tank ring
f12main ring
utank amulet
imain amulet
orope
pshovel
ffood

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!

Topics

Resources

Stars

288 stars

Watchers

21 watching

Forks

Used by

Contributors

Languages