PyTibia icon indicating copy to clipboard operation
PyTibia copied to clipboard

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

πŸ“ Description

Fastest Tibia PixelBot developed in python to get unlocked fps.

This bot memorizes and applies cache to detect images and thus avoid excessive cpu/gpu usage.

This bot is all based on matrix calculation, applies parallelism and also pre-processing, as it is the only way to have maximum performance.

This bot also uses data structure, arrays, path finding(djkistra), among other important things to have smart gameplay.

πŸ—ΊοΈ MVP Features Status

  • ActionBar:
    • Counting slots :heavy_check_mark:
    • Getting cooldowns for knight:
      • attack :heavy_check_mark:
      • exori :heavy_check_mark:
      • exori mas :heavy_check_mark:
      • exori gran :heavy_check_mark:
  • BattleList:
    • Getting monsters :heavy_check_mark:
    • Checking if monster is being attacked :heavy_check_mark:
    • Is attacking any creature :heavy_check_mark:
  • Cavebot:
    • Attacking closest creature :heavy_check_mark:
    • Ignoring non target monsters :heavy_check_mark:
    • Resume coordinate :heavy_check_mark:
    • Retarget to another creature when current target is non attackable :heavy_check_mark:
    • Start attacking creature with less life :warning:
  • Chat:
    • Check if Server Log is selected :heavy_check_mark:
    • Talk to NPC's to trade :heavy_check_mark:
  • Equipment:
    • Count cap :heavy_check_mark:
    • Auto ring :heavy_check_mark:
  • Loot:
    • Get dead monsters by player
      • Parse server logs message to get loot notification :heavy_check_mark:
      • Get dead monster by target :heavy_check_mark:
      • Get dead monster by exori :heavy_check_mark:
    • Collect loot :warning:
      • When hunting, go to dead monster to collect :warning:
      • Detect container full :heavy_check_mark:
  • Healing:
    • Spell :heavy_check_mark:
    • Potion :heavy_check_mark:
  • HUD:
    • Getting coordinates(playable area) :heavy_check_mark:
    • Getting Monsters :heavy_check_mark:
  • Radar:
    • Floor level :heavy_check_mark:
    • Tracking coordinates :heavy_check_mark:
  • Refill:
    • Deposit items in depot :heavy_check_mark:
    • Detect trade container :heavy_check_mark:
    • Scroll until icon is detected :heavy_check_mark:
    • Buy necessary quantity of icon :heavy_check_mark:
  • Spell:
    • Apply exori when there are a certain number of monsters around :heavy_check_mark:
  • Status:
    • Getting Life :heavy_check_mark:
    • Getting Mana :heavy_check_mark:

⌨ Development

βš™ Running the app

# main file to track basic functions output like(is burning, has helmet equipped, etc)
python main.py

# to test last experiments with mess code
python test.py

βœ… TODO

  • Add python typings
  • Add way to make unit tests
  • Add way to make e2e tests into the tibia client

πŸ‘· Authors

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

❀️ Development inspiration

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

πŸ“ License

Copyright Β© 2021 lucasmonstro
This project is MIT licensed