shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
439 stars 131 forks source link

Traceback TypeError: unsupported operand type(s) for: 'type' and 'type' #240

Closed nimakhooye2 closed 2 weeks ago

nimakhooye2 commented 3 weeks ago

What is error? Traceback (most recent call last): File "main.py", line 4, in from bot.utils.launcher import process File "/root/HamsterKombatBot/bot/utils/init.py", line 2, in from . import launcher File "/root/HamsterKombatBot/bot/utils/launcher.py", line 8, in from better_proxy import Proxy File "/usr/local/lib/python3.8/dist-packages/better_proxy/init.py", line 1 , in from .proxy import Proxy File "/usr/local/lib/python3.8/dist-packages/better_proxy/proxy.py", line 16, in def _load_lines(filepath: Path | str) -> list[str]: TypeError: unsupported operand type(s) for |: 'type' and 'type'

Mik-chan commented 3 weeks ago

You're using version of Python too old. You need to install Python 3.10 or higher

nimakhooye2 commented 3 weeks ago

You're using version of Python too old. You need to install Python 3.10 or higher

I updated it and it still gives these errors

ButCheR-PRO commented 2 weeks ago

Dupe: https://github.com/shamhi/HamsterKombatBot/issues/165

Installation:

Download and install: Python 3.10.9 Then synchronize the system time on your computer. Download the latest version of the bot HamsterKombatBot and unpack it. Then run INSTALL.bat. Then you need to configure the .env config according to the documentation in README.md After this, you need to create a session via START.bat by selecting option 1. And only then launch the configured clicker through START.bat by selecting point 2.

in proxy list use SOCK5