Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapa novo #205

Open
veenx67 opened this issue Jun 18, 2022 · 4 comments
Open

Mapa novo #205

veenx67 opened this issue Jun 18, 2022 · 4 comments

Comments

@veenx67
Copy link

veenx67 commented Jun 18, 2022

Bom dia, sempre que o mapa termina, acontece isso.

2022-06-18 01:34:17 - Wait for 5 seconds, to show your TOKENS
2022-06-18 01:34:22 - Your Chest image created
Traceback (most recent call last):
File "C:\bot\index.py", line 51, in
main()
File "C:\bot\index.py", line 37, in main
multi_account.start()
File "C:\bot\src\multi_account.py", line 55, in start
self.botMultiAccount()
File "C:\bot\src\multi_account.py", line 114, in botMultiAccount
self.activeWindow(last, window)
File "C:\bot\src\multi_account.py", line 203, in activeWindow
self.steps(last)
File "C:\bot\src\multi_account.py", line 149, in steps
self.game.clickNewMap()
File "C:\bot\src\game.py", line 62, in clickNewMap
self.tokens.getSens()
File "C:\bot\src\tokens.py", line 33, in getSens
cropped = image[y:y+h, x:x+w]
TypeError: 'NoneType' object is not subscriptable
Starting bot with infinite execution!

@newerton
Copy link
Owner

Está usando multi account? Verifica se ele está abrindo o seu bau para verificar a quantidade de SENS que você tem.

@veenx67
Copy link
Author

veenx67 commented Jun 18, 2022

sim, multi account; ele clica no botão do novo mapa, e vai pro bau, quando ele fecha o bau o crash vem

@newerton
Copy link
Owner

newerton commented Jun 18, 2022

@Pygew Vou testar aqui, está usando Windows ou Linux?

No seu projeto tem uma pasta com o nome de "temp", outra dúvida, está usando o serviço do Telegram?

@veenx67
Copy link
Author

veenx67 commented Jun 19, 2022

Estou usando no Windows 10 versão 19044.1766

Sim, tem a pasta temp, com 2 arquivos dentro ".gitignore" e "tokens-box.png"

O telegram esta desativado.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants