Giter Club home page Giter Club logo

pytibia's People

Contributors

araujoluks avatar augustocrmattos avatar evitarafadiga avatar guizinhoyt avatar iuriimattos2 avatar lucasmonstrox avatar murilochianfa avatar raphaelmrezende 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

pytibia's Issues

[BUG] - Is not possible to get the target on creature when it goes to the edges of the hud

Describe the bug
When the creature goes to out of bounds of HUD the bot cant keep find them.

To Reproduce
Steps to reproduce the behavior:

  1. Go to some monster that have is ranged attack and which run with low life, like lizard in Chor.
  2. Let some with low life.
  3. Wait they goes through the HUD.
  4. See the error.

Screenshots
q2
q1

Desktop (please complete the following information):

  • OS: Windows
  • Tibia Version 12.64 [latest]

Contribuindo com o projeto.

Olá :)

Então, como programador (e jogador de tibia) tenho muito entusiasmo em ajudar no projeto.
Mas mexendo nele por alguns minutos, não consegui fazer ele funcionar, a não fazer uma captura da tela pelo OBS e capturando a tela do OBS, mas mesmo assim não tive tanto sucesso.

Se puder me passar as configurações necessárias (resoluções da tela talvez?), ou como vocês faz para conseguir capturar a tela do Tibia, teria total prazer em contribuir para o projeto.

Abraço, valeu.

[BUG] - DXCamera problem

Exception in thread DXCamera:
Traceback (most recent call last):
File "c:\users\pc\appdata\local\programs\python\python39\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "c:\users\pc\appdata\local\programs\python\python39\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\PC\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cxjxipsr-py3.9\lib\site-packages\dxcam\dxcam.py", line 161, in __capture
self.__timer_handle = create_high_resolution_timer()
File "C:\Users\PC\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-Cxjxipsr-py3.9\lib\site-packages\dxcam\util\timer.py", line 20, in create_high_resolution_timer
raise ctypes.WinError()
OSError: [WinError 87] The parameter is incorrect.

I'm running on bit oldie hardware, and my graphic card doesn't have CUDA, maybe that's why but i cannot be sure.

Bordas do mapa

Quando o personagem se encontra em areas em que são as extremidades do mapa geral do Tibia, o bot não consegue encontrar os waypoints.

[BUG] - error while starting application. any ideas?

I encountered this error while trying to run the application. I have poetry installed and also python. here's what my cmd says.

PyTibia-main>poetry run python main.py
Traceback (most recent call last):
File "Desktop\PyTibia-main\main.py", line 2, in
from src.gameplay.threads.pyTibia import PyTibiaThread
File "Desktop\PyTibia-main\src\gameplay\threads\pyTibia.py", line 12, in
from src.gameplay.core.middlewares.window import setTibiaWindowMiddleware
File "Desktop\PyTibia-main\src\gameplay\core\middlewares\window.py", line 2, in
import win32gui
ModuleNotFoundError: No module named 'win32gui'


keep in mind I have pywin32 already installed. idk what to do from here. I already did the command poetry install too.

[FEATURE] - Configurable hotkeys(other vocations support)

the bot currently only handles Eks, I think it should be in the plan to handle other vocations(Mages and Rps),

not all features at once just supporting auto-heal for them in the beginning will be sufficient,
then something like auto sio for ed, then targeting waves in the feature, then AOE runes, and so on
making hotkeys configurable will help with making the bot not vocation specific and will enable auto-heal for all.

[BUG] - Diretório com caracteres especiais

*Descrição do bug
Após instalar todas as bibliotecas necessárias e o poetry, assim como solicitado pelos devs, ao realizar o comando 'poetry run python main.py' recebo o seguinte erro:

[ WARN:[email protected]] global loadsave.cpp:244 cv::findDecoder imread_('C:\Users\Usu├írio\Documents\PyTibia\src\repositories\radar/images/floor-0.png'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "C:\Users\Usuário\Documents\PyTibia\main.py", line 2, in
from src.gameplay.threads.pyTibia import PyTibiaThread
File "C:\Users\Usuário\Documents\PyTibia\src\gameplay\threads\pyTibia.py", line 3, in
from src.gameplay.cavebot import resolveCavebotTasks, shouldAskForCavebotTasks
File "C:\Users\Usuário\Documents\PyTibia\src\gameplay\cavebot.py", line 2, in
from src.repositories.gameWindow.creatures import hasTargetToCreature
File "C:\Users\Usuário\Documents\PyTibia\src\repositories\gameWindow\creatures.py", line 8, in
from src.repositories.radar.config import walkableFloorsSqms
File "C:\Users\Usuário\Documents\PyTibia\src\repositories\radar\config.py", line 19, in
loadFromRGBToGray(
File "C:\Users\Usuário\Documents\PyTibia\src\utils\image.py", line 62, in loadFromRGBToGray
return np.array(RGBtoGray(load(path)), dtype=np.uint8)
File "C:\Users\Usuário\Documents\PyTibia\src\utils\image.py", line 78, in load
return np.array(cv2.cvtColor(cv2.imread(path), cv2.COLOR_BGR2RGB), dtype=np.uint8)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Tibia Version [Global]

[BUG] -

How are you bypassing the black screen?

[BUG] - Attacking creature protected by roof has some delay

Describe the bug
There seems to be a movement delay whenever the character attacks a creature that is protected by a roof.

The target creature is None since the "red border" is not showing when roof is on the screen.

To Reproduce
Steps to reproduce the behavior:

  1. Watch bot attacking a creature protected by a roof

Expected behavior
The character should immediately go and attack the creature.

Screenshots
image

Desktop (please complete the following information):

  • Windows 10
  • Tibia Version 12.64

[BUG] - Cannot get target creature when it is in black life

Describe the bug

Sometimes the char doesn't detect the target creature when it's in black life, so the char stops following the creature and stays still without moving.

To Reproduce
Attacking a creature that runs away and expects it to stay in black life.

Expected behavior
I want the char to keep following the creature.

Screenshots
image

Desktop (please complete the following information):

  • OS: windows 7
  • Tibia Version [13.x]

Running on Linux?

Anyone was able to run this on Linux?
I was able to install poetry and poetry was able to install everything.
But whenever I run "poetry run ..." it says tkinter wasn't installed.
I tried everything but couldn't get it to work.

If anyone can help me, it would be greatly appreciated.

Note: I'm running this on a VM on Linux Lite 6.4, which is derived from Ubuntu.

[BUG] - Creature has wrong sqm alignment on the HUD

Describe the bug
Some creatures like Minotaurs, Amazons and much more have wrong alignment on the HUD, the bot can't find the exaclty position of the corpse to loot it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to kill some dragons and loot it.
  2. Go to amazon's or minotaur's and loot it.
  3. See error

Expected behavior
Loot the corpses correctly.

Screenshots
q1
q2

Desktop (please complete the following information):

  • OS: Windows
  • Tibia Version 12.64 [latest]

[BUG] - cannot run bot

Hey!

It is not possible to run this bot - d3dshot requires different pillow version to scikit-image and the two are thus incompatible. Is there any solution for this?

Kind regards

[BUG] - win32gui error

Describe the bug
Bot does not start, returns ModuleNotFoundError: No module named 'win32gui'. Suggestion: add pywin32 to poetry dependencies.

Desktop (please complete the following information):

  • OS: Windows 11
  • Tibia Version: 13

help

hello
someone can share a video how to run it?

i got all the requeriments and the interface how as guide
but i dont have idea why is not working

when i run poetry run python -m pytest

i got

C:\Users\sanga\Appata\Local\pypoetry\Cache\virtualenvs\pytibia-1gKz31sh-py3.11\Scripts\pthon.exe: No module named pytest

Make a tutorial how to run it?

Can you make a vid how to run it or tell me how?

i installed the python version + all the requirements but still get core.py errors like:
Traceback (most recent call last):
File "test.py", line 41, in
main()
File "test.py", line 26, in main
hudImg = hud.core.getImgByCoordinate(screenshot, hudCoordinate)
File "\pytibia-main\hud\core.py", line 34, in getImgByCoordinate
return screenshot[coordinates[1]:coordinates[1] +
TypeError: 'NoneType' object is not subscriptable

would appriciate it.

[BUG] - Following creature is weird

Describe the bug
Whenever it attacks and goes to follow a creature, it seems that the character is drunk and makes random movements.

To Reproduce
Play and wait for character attacking a creature.

Expected behavior
Attack and correctly follow the creature

Screenshots

Desktop (please complete the following information):

  • OS: Windows 7
  • Tibia Version [13.x]

[FEATURE] - Add "exori min" to target

Is your feature request related to a problem? Please describe.
Use "exori min" directional to target

Describe the solution you'd like
detect where the target is and position the character in its direction

Describe alternatives you've considered
Don't Have.

Additional context
Don't Have.

[BUG] - Erro ao iniciar client

estou usando windows 10, fiz conforme a descrição, instalei Python 3.9.13 e Poetry mais atualizado disponível, instalei os packages:
pip install poetry
poetry install
poetry run task add-torch
poetry run task add-easyocr

Quando executo o comenda poetry run python main.py dentro da pasta raiz do projeto, ocorre vários erros, o que posso fazer? segue erro abaixo:

C:\Users\admlocal\Downloads\PyTibia-main\PyTibia-main>poetry run python main.py
CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Users\admlocal\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "C:\Users\admlocal\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1306, in run
self.function(*self.args, **self.kwargs)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\timeoutscheduler.py", line 83, in interval
sad.disposable = self.invoke_action(action, state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\scheduler.py", line 103, in invoke_action
ret = action(self, state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\scheduler\periodicscheduler.py", line 47, in periodic
state = action(state)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observable\timer.py", line 76, in action
observer.on_next(count)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 39, in on_next
obv.on_error(err)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
[Previous line repeated 9 more times]
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\internal\basic.py", line 34, in default_error
raise err
File "C:\Users\admlocal\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-ciAOrLk6-py3.9\lib\site-packages\rx\core\operators\map.py", line 37, in on_next
result = _mapper(value)
File "C:\Users\admlocal\Downloads\PyTibia-main\PyTibia-main\main.py", line 185, in handleBattleListCreatures
hasBattleListCreatures = len(copyOfContext['battleListCreatures']) > 0
TypeError: object of type 'NoneType' has no len()

[BUG] - Problema com a leitura de imagens na tela do OBS Studio para Tibia Global

Descrição do problema:

Estou tentando ler imagens Tibia Global no OBS Studio usando seu script do Python. No entanto, estou encontrando dificuldades, pois o código não consegue encontrar as imagens que preciso, no entanto no otserver funciona normalmente.

Informações adicionais:

Tentei várias abordagens, incluindo a utilização das bibliotecas win32gui, win32ui, ctypes, PIL, cv2, numpy, dxcam, pyautogui. No entanto, nenhuma dessas abordagens resultou em uma solução funcional, tentei modificar a transparência do tibia para 1 que no caso na teoria resolveria o problema, mas mesmo assim não deu, também modifquei alguns códigos para o projetor em janela do obs para ver se resolvia e também não mudou nada. Fiz inúmeros testes e ele não conseguiu ler a tela do tibia ou do obs, em alguns teste ele até conseguia ler a tela do obs utilizando o win32ui mas não conseguia executar os comandos na janela do tibia.

Anexos:

Tentei mudar para o projetor em janela para ver se ajudava:

def getTibiaWindows(self):
def enum_windows_callback(hwnd, results):
if win32gui.IsWindowVisible(hwnd):
window_title = win32gui.GetWindowText(hwnd)
if re.match(r"Projetor em janela (fonte) - tibia.*", window_title):
results.append(window_title)
results = []
win32gui.EnumWindows(enum_windows_callback, results)
return results

    def setTibiaWindowMiddleware(context: Context) -> Context:
if context['window'] is None:
    windowsList: list = []
    win32gui.EnumWindows(
        lambda hwnd, param: param.append(hwnd), windowsList)
    windowsNames = list(
        map(lambda hwnd: win32gui.GetWindowText(hwnd), windowsList))
    regex = re.compile(r'Projetor em janela \(fonte\) - tibia')
    windowsFilter = list(
        filter(lambda windowName: regex.match(windowName), windowsNames))
    if len(windowsFilter) > 0:
        context['window'] = gw.getWindowsWithTitle(windowsFilter[0])[0]
return context

[FEATURE] - Back to loot tab

Is your feature request related to a problem? Please describe.
After depositing gold and or buying items, it is necessary to go back to the loot tab, so that when you return to the hunt, you can detect new loots.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

[BUG] - ABRIR O BOT

Não entendi bem como funciona a inicialização do bot.
mas tentei pelos comandos no poetry e o comando: poetry run python -m pytest
deu o seguinte erro:


> ERROR collecting test session ____________________________________________
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\runner.py:341: in from_call
>     result: Optional[TResult] = func()
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\main.py:719: in collect
>     for direntry in visit(str(argpath), self._recurse):
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:698: in visit
>     yield from visit(entry.path, recurse)
> C:\Users\leleu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-AUqp0jeg-py3.9\lib\site-packages\_pytest\pathlib.py:683: in visit
>     for entry in os.scandir(path):
> E   PermissionError: [WinError 5] Acesso negado: 'C:\\WINDOWS\\system32\\LogFiles\\WMI\\RtBackup'
> =============================================== short test summary info ===============================================
> ERROR  - PermissionError: [WinError 5] Acesso negado: 'C:\\WINDOWS\\system32\\LogFiles\\WMI\\RtBackup'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection

Ou mesmo quando tento: poetry run python main.py
ele da o seguinte erro na ultima linha:

`

pywintypes.error: (1400, 'SetForegroundWindow', 'O identificador da janela é inválido.')

`

[BUG] - Instalation Issues

I used the next commands to install it

  • pip install poetry ✔️
  • poetry install ✔️
  • poetry run task add-torch ✔️ (executing it) (Why does it take alot of time? RIP)
  • poetry run task add-easyocr ✔️

When I executed, i got this errors.
image

image

[BUG] - Error getting speed breakpoint

Describe the bug
Sometimes I get error that it was not possible to get the speed breakpoint.

To Reproduce
It's very difficult to reproduce, but it happens in random SQMs.

Expected behavior
Get the correct speed breakpoint on any SQM in the game.

Screenshots

Desktop (please complete the following information):

  • OS: Windows 7
  • Tibia Version [13.x]

[FEATURE] - Add support to "exeta amp res"

Is your feature request related to a problem? Please describe.
Is a feature request.

Describe the solution you'd like
We need a support for "exeta amp res" skill, for hunting places like, asura...etc.

Describe alternatives you've considered
Don't have.

Additional context
Don't have.

[BUG] - Positions are None

Describe the bug
image

The positions are None, which results in a TypeError None.
The screenshot is all zero.

To Reproduce
Select Tibia window in the app. Click on Play.

Expected behavior
It detects the tabs correctly.

[BUG] - bot abre e fecha

Instalei todos os requirements corretamente, porém quando abro o bot ocorre este erro:
image

sabe como resolver ?

[BUG] -

quando tento rodar o arquivo main.py ele fica 'rodando' e nada acontece ... quando eu clico em stop ele da esse erro

Traceback (most recent call last):
  File "C:\Users\vanse\OneDrive\Documentos\GitHub\pytibia\main.py", line 288, in <module>
    main()
  File "C:\Users\vanse\OneDrive\Documentos\GitHub\pytibia\main.py", line 283, in main
    time.sleep(10)
KeyboardInterrupt

[https://imgur.com/gnPi7hJ]

  • OS: [e.g. iOS, Windows] w10
  • Tibia Version [e.g. 13.05.12613]

[BUG] - Bot doesn't work when "XP Boost" button is not present in Skills section

Describe the bug
Nothing works when you join an OT that doesn't have "XP Boost" button on Skills section

To Reproduce
Steps to reproduce the behavior:

  1. Try to play on Rubinot
  2. Run bot

Expected behavior
Bot should work fine - but it doesn't because all the values are read from below the "XP Boost" button, when in reality it should locate "Skills" section which is more generic and is present in any Tibia/OT client

Desktop (please complete the following information):

  • OS: Windows 11
  • Tibia Version 13

[BUG] -

Describe the bug
Cant run the main.py
[Python] 3.9.13 - installed
[Poetry]>=1.2.0 - installed

Expected behavior
PS C:\Users\Forma\Source\Repos\PyT> poetry run python main.py
Traceback (most recent call last):
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 116, in
main()
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 102, in main
context = handleGameData(context)
File "C:\Users\Forma\Source\Repos\PyT\main.py", line 41, in handleGameData
context = setChatTabsMiddleware(context)
File "C:\Users\Forma\Source\Repos\PyT\src\gameplay\core\middlewares\chat.py", line 7, in setChatTabsMiddleware
context['chat']['tabs'] = getTabs(context['screenshot'])
File "C:\Users\Forma\Source\Repos\PyT\src\repositories\chat\core.py", line 30, in getTabs
x, y, width, height = leftSidebarArrowsPosition[1] + 18, chatMenuPosition[1], chatMenuPosition[1] - (leftSidebarArrowsPosition[1] + 18), 20
TypeError: 'NoneType' object is not subscriptable

Screenshots

Desktop (please complete the following information):

[BUG] - Minimap

When trying to add a walk point it says the minimap should be visible, but it is

image

Desktop (please complete the following information):

  • OS: Windows
  • Tibia Version 13.12

[BUG] - Fail to start app

Error running: poetry run python main.py

CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Users\arthu\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "C:\Users\arthu\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1306, in run
self.function(*self.args, **self.kwargs)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\scheduler\timeoutscheduler.py", line 83, in interval
sad.disposable = self.invoke_action(action, state)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\scheduler\scheduler.py", line 103, in invoke_action
ret = action(self, state)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\scheduler\periodicscheduler.py", line 47, in periodic
state = action(state)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observable\timer.py", line 76, in action
observer.on_next(count)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\filter.py", line 34, in on_next
observer.on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\map.py", line 41, in on_next
obv.on_next(result)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\map.py", line 39, in on_next
obv.on_error(err)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\observer\autodetachobserver.py", line 34, in on_error
self._on_error(error)
[Previous line repeated 9 more times]
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\internal\basic.py", line 34, in default_error
raise err
File "C:\Users\arthu\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-L9h-_N0o-py3.9\lib\site-packages\rx\core\operators\map.py", line 37, in on_next
result = _mapper(value)
File "C:\Users\arthu\Documents\PyTibia\main.py", line 223, in handleBattleListCreatures
hasBattleListCreatures = len(gameContext['battleListCreatures']) > 0
TypeError: object of type 'NoneType' has no len()

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.