Code Monkey home page Code Monkey logo

tibiaauto12's Introduction

TibiaAuto12

Project Status: In development
Just For Tibia Clients 11+ Versions
OT Is Supported ? ✔️
Global Is Supported ? ✔️

Table of contents

Needed Python and Libs to Run

  • Python 3.10.1

  • python -m pip install -r requirements.txt

Features Status

How To Use

Setup OBS and Tibia

To configure your OBS, you must open a game capture with tibia's window selected.

  • Alt text

Click on Preview with a right mouse button for open the options and select this option:

  • Alt text

Put the oppened window behind off tibia, must be identical with the tibia window for work of the Bot.

After it, Set the tibia life like this:

  • Alt text

And you is ready to start a Bot.

Starting the Bot

The first step is install all libs needed to run the Bot, After this, if you want use with loggin in console, execute the file with name Main.py.

Running it will open the following window:

  • Alt text

Join with your character in tibia to Bot find your tibia window, after this click on Configure and this window will oppened:

  • Alt text

If you want to play on the global client, leave the options as they are.
If you want to play in OT client you can mark this Option:

  • Alt text

Click on button create for configure your tibia's positions, after it, verify the file NewConfig (it name can be edited in Choose Your Config window) or in your console, all status should be defined with true, none of the values ​​can be 0

  • Console View

  • Alt text

  • Json File View

  • Alt text

If all positions is correctly setted, your TibiaAuto12 will open with the main window:

  • Alt text

Available Modules:

Auto Life Module

  • Alt text

Auto Mana Module

  • Alt text

Auto Hur Module

  • Alt text

Auto SSA Module

  • Alt text

Auto Ring Module

  • Alt text

Cave Bot Module

  • Alt text

tibiaauto12's People

Contributors

abrahamferga avatar digonalha avatar maanisim avatar murilochianfa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tibiaauto12's Issues

Como colocar o Hook direto no Tibia sem usar o OBS Studio (Para OtServer's)

como eu posso retirar o hook do OBS Studio e colocar para ele dar Hook diretamente no tibia (para otservers)?

fui na pasta TibiaAuto12-master\Core\HookWindow.py
e mudei a linha
"hwnd = GetHWND('Windowed Projector')"
para
"hwnd = GetHWND('Tibia -')"

porem ele esta dando erro na hora de pegar as Coordenadas. ele reconhece o Tibia ao invés do OBS mas as coordenadas não estão sendo "hookadas" com exito

this is not

eu quero usar ele em linux consege me ajudar?

Cavebot

Olá boa tarde!!! Tudo bem?

Estou com um problema com monster atk, crio uma nova imagem, coloco na pasta, acrescento ele no script, mas não atk o monsto.
No cavebot estou com outra dificuldade, principalmente para criar o script. todas as vezes que eu tento da algum erro ou simplesmente não sai do lugar.

Poderia me ajudar com isso?

Erro nas posições

Quando eu inicio para ele configurar, as posições ficam todas erradas.
No total dão 8 Erros:
Life, Mana, Battle, Statusbar, Map, Player, GameWindow, e Sqmposition.
todas essas posições ele não consegue pegar automaticamente e eu já tentei achar o config manualmente para tentar mudar mas não encontrei.

When new changes?

For that moment only well job do mana/life and amulets with utani hur but for example cavebot are running slow, not attacks monsters, no looting and no walking.

nao consigo abrir o bot

estou com um problema ao instalar o python e executar os comandos o bot e etc o bot abre porem trava muito a maquina toda sera devido a ser processador amd ?

running out of memory

Okay, so i've encountered some problem about stability. Sometimes when i run any module my system is slowing down so badly it is not possible to open any window and mouse is lagging. All i can to is to reset system. I've given more virtual memory but it didn't help much. Obs on it's own isn't draining much of memory but running bot is draining it. Any idea on how to fix it? I have 8 Gbs of ram and 4gb of gpu ram, should i add more?

erro bot

Estava a realizar alguns testes porem, uma hora ele funcionaval o auto hur e nao funcionava o healling nem o cavebot ficava dando magia para healar sem parar e o cavebot ficava andando em círculos

apos fechar e abrir novamente o auto hur ja nao funcionava mais ficava dando magia sem parar, seria um problema de resolução ?

Cavebot Targeting

Boa tarde,

Percebi que o target fica trocando varias vezes, creio que a função IsAttacking / ScannerAttack do Engine/CaveBot/Scanners.py esteja com algum bug.
Fiz um debug e verifiquei que mesmo quando não estava atacando algum monstro o objeto ImagesAttacking ficava em sua maioria "True", mesmo alterando a precisão do algoritmo do opencv ainda estava com o problema.

Outra questão é uma duvida, no CaveBotController.IsAttacking deveria retornar True se ele estivesse atacando algum monstro?

Alguns erros que encontrei e sujestões.

Olá,
Parabéns cara, seu bot está muito bom! Tenho tendinite e amo jogar Tibia por horas, logo o único jeito de fazer isso é diminuindo ao máximo meus clicks, por isso eu comecei a desenvolver um bot.
Seu bot me ajudou a superar o problema do anti-screenshot do battleeye no meu código, mas ao usar o seu me deparei com alguns problemas:
#1 - Ao rodar o cave bot não é possível parar o script sem fechar a GUI. pois ela trava.
#2 - No meu código eu tenho uma função que verifica se o char ta parado ou andando. Fazendo que não seja necessário definir tempo pra chegar de um waypont a outro( o que da problema quando tem lag).
#3 - Não consegui criar um script de movimento. A GUI trava e não consigo salvar.

fora isso, só queria entender algumas funções do seu bot. Se poder mandar um contato pra ficar mais fácil de reponder eu agradeço, o nick do discord que você mandou não funciona.

Erro modulo io.py

Bom dia, não estou conseguindo inicializar

Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\io.py", line 51, in

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Edit1: Eu não tinha o python3.8.2 instalado e sim outras versões, mas mesmo assim persiste erro

contact

how can i contact you?
i have question regardless your coding skills which could be used in another mmorpg :)

loot problem coordinates

regards :) nice bot

Is there any way to change the coordinates?

I already changed the sizes of the sidesbars but i can't get any loot from corpses because the coordinates always are on the wrong way.

I can attack, but not get loot
I can't attack, but get loot (attacking manually)

Black screen

Hello,
I was working on a bot of my own and have run in to your project by accident while googling

Do you not encounter the problem of a black screen after a few minutes/5 screenshots? I have tested your method with OBS and its the same for me, the screen is black

Numpy buga ao tentar abrir o BOT

eu abro o StartBot.py ele diz alguns erros e fecha o cmd logo em seguida muito rapidamente. consegui tirar um print do cmd antes dele fechar

image

Hey

e aí, bora trocar uma ideia sobre bots p tibia em python?

Map coordinates

Hello,
I tried to contact you on discord you passed in a different thread but without any luck

How did you manage to calculate the current coordinates of the character in the tibia map? Do you compare the minimap to the tibia map .pngs?

Remove dependency on OBS Studio

I'm aware of the battleye protection against screenshots, and that is why you are using ODS Studio, but not all users will be able to setup all of this.

I think there could be a way to get around this. Using the Dwm api DwmRegisterThumbnail you receive a thumbnail of a window that is renderer on top of another window. You cannot take screenshots directly but I believe that there is a way to make this work.
https://docs.microsoft.com/en-us/windows/win32/dwm/thumbnail-ovw

I didn't deep into the topic but here could be some helpful links:
[https://github.com/factormystic/FMUtils.Screenshot/blob/master/Screenshot.cs](Some code in C# that i think is doing this)

Haven't tested anything on this, but I'll try to have some examples for this week.

Greets

Todos os y estao errados no meu

Ele nao da nenhum tipo de erro porem se vou ver os pixeis que ele ta dizendo ser os y, eles estao errados e por isso não funciona =/ resolução 1920x1080
vc deveria fazer um server no discord, por la ia ser tudo mais facil :)

Contribuir com alguns modulos

Tenho alguns scripts que utilizo (rune maker, diamond arrow), se eu fizer um fork pra implementar tu da uma olhada no pull request?

Preciso De Ajuda Com o PIP

boa noite, baixei agora o seu bot e achei muito bom so que nao consigo instalar essas coisas no py fala que o pip nao é executavel, sabe q qeu faço?

Cave Bot Issue

Hello,

Great work on the bot however the cave bot is not working on Tibia 12.5 OT Server. It constantly print a message that the "Destination is out of range." and "There is no way.", it also doesn't attack monsters even when I am surrounded by them. Any idea what is going off?

1
2

Loot Option

Hello :)

I'm trying to see how bot loot from monsters but it just kills and walk.

My bot kills monters but no loot... Is there anything I need to click/add to make it loot ?

Problema ao ler o OBS ?

Quando eu clico em create na janela de choose your config, não acontece nada, o bot fica travado e não abre a janela do menu do bot. Também não da pra abrir o console ele minimiza imediatamente e volta pra janela do OBS. Olhando o console pela funcionalidade do windows 10 aparece "Your Configure Stats: False" e também "Coping Default Json". Sabe oque poderia ser? Já estou com o OBS em modo janela do mesmo tamanho do tibia.
image

Waypoints Cavebot e Compatibilidade OS

Bom dia, estou vendo o cavebot e na imagem do Cave Bot Module tem opções por waypoints (X,Y,Z) como é realizado a leitura via memoria?

A questão de compatibilidade com SO Linux existe? Verifiquei que tem algumas classes para Linux.

Não inicializa

Todos os requerimentos foram instalados com sucesso. Quando eu tento inicializar, aparece uma mensagem de erro e finaliza. Uso Windows 10, está atualizado e o cliente do Tibia é a última versão também. Alguma ideia do que pode estar acontecendo?

(Obs: postei o código inicialmente, mas ficou com formatação bizarra, então editei colocando um print do código)
image

Iniciar sem OBS direto no otserv

Boa noite Murilo, antes de qualquer coisa, parabens pelo projeto, utilizo win10 pro 64bits, instalei tudo do python porém o StartBot.py não inicia, até abre um prompt quando tentei abrir direto pelo arquivo, pelo cmd tentei das 2 formas, executando no prompt e executando no prompt do python, a dúvida é se esse projeto só funciona no OBS, eu jogo um otzinho maroto 12.6 e queria tentar mas não tive sucesso, tem alguma dica de solução?

Amazing

thanks fo rlrease this and for free i going to test

Tela "piscando"

Salve mano, tava procurando BOT pra jogar OT 11+, aí encontrei o seu, gostei do projeito, trabalhei um pouco nele pra deixar mais simples, retirei o hook do OBS pois estava pesando, está tudo funcionando porém minha tela fica piscando quando uso ele hookado na tela do tibia, a tela do tibia fica dando uns blinks brancos as vezes quando faz as verificacoes (life. mana, ring, hur, amulet), com autoring e amulet pisca tanto que fica impossivel jogar.... Não sei se é a função takepicture, ou pixel search ou algum bug do python... Vc teria alguma sugestão???
OBS: Hookando o OBS o BOT funciona certinho, mas fica muito pesado pro meu PC...

ajuda na instalacao

Fiz todos os comandos e instalei o obs e etc porem ele nao abre o bot na hora de abrir abre o console escreve algumas mensagens e fecha sem dar para ler o que esta escrito

[resquest] Aimbot read pixel for old school otserver

Could be possibe that you add a a feature like this to the bot?

i have done an aimbot pixel search on ahk to shoot sd on target, but it fails so much that even doing a clik reuse maco you have a better change to shoot on player, but im tire of this, i have the pointer addreses of the server but dunno how to implement them. anyway i don't this this info would be useless her sine this ot uses read pixel system too, right'?

or could you make this for me? im able to pay
just an aimbot that shoot sd on pixel ( red sqeuare ) directly on screen ofc not via battle windows)
+56975981031

Problem

Hello im stuck on this, anyone can help?
Bez tytułu

Programa não abre

Boa noite, estou com esse problema ao tentar rodar. Ele abre o cmd muito rápido e fecha logo em seguida, mas consegui tirar um print
image

Use cavebot for deposit items

Hi, how is the way to deposit the items in the dp?, since the bot looks for the marks on the map, and there is only walk, shovel and rope. Will we need a USE?

HookWindow - "images//tmp_screen.png"

Boa tarde!
Na classe Hooker dentro de HookWindow achei referencia de consulta nessa imagem, mas não possui nos arquivos nem referencia de criação no projeto.. pode me ajudar pra que ela serve ?

Guide how to create own cavebot script

Hello

I wanna know how i can add new monsters to the section in cavebot where i can only find rats, orcs etc. Also i gonna be very happy when u add a runemaking option or at least foodeater becouse it seems quite easy to create and it helps a lot for raising mlvls ;D

I love your program man, big thanks for your hard work

Erro ao compilar

Boa tarde!

Como posso compilar o projeto?

Não tenho experiência em Python mas gostaria de analisar o código fonte.

Baixei o PyCharm e ao compilar obtenho o erro "TypeError: _locateAll_python() got an unexpected keyword argument 'confidence'".

Poderia me ajudar?

Email: [email protected]
WhatsApp: 54-98119-0889

Having troubles running it

I have followed the instructions, Installed python 3.8 and all of required libs.
I have set up the OBS as described, the OBS window reflecting the Tibia window behind.
Yet i can not start it, when I just open Startbot.py nothing happens.
When i try to use the command line, here is what i get:
image

Não acontece nada

na parte Choose your config, quando eu clico em create o programa minimiza e nao acontece nada, nao consigo nem voltar ele pra tela principal

Loot

Ola, tudo bem? Paraben pelo bot, muito massa! Não estou conseguindo fazer o char lootear, ele anda, mata mas não looteia. Pode me ajudar?

Ativo?

Murilo, tá ativo nesse projeto ainda mano?
Tentei te stalkear mas vc não responde...
Abraço

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.