poryaei / all-in-one Goto Github PK
View Code? Open in Web Editor NEWAutomatic clicker for the (Hamster ~ TapSwap ~ Cex IO) bots.
License: MIT License
Automatic clicker for the (Hamster ~ TapSwap ~ Cex IO) bots.
License: MIT License
Can the bot claim the collected coins or does it just click?
[!] Error in Cex_IO:check_for_clicks: 'farmStartedAt'
"Create a sessions folder where all sessions can be saved, or copy the current login session and paste it into the sessions folder so that you don't have to log in repeatedly and the bot can run multiple accounts."
Hi,
Thank you for this excellent code. Could you please add BlumCryptoBot?
You forgot to add Thread(target=cex_io_client.do_tasks).start()
or something like this
من دوباره تست گرفتم ولی بلاک نمیشه اون لینک و بدون مشکل باز میشه ولی ارور میده
$ curl -H "Accept: application/json" -X GET https://poeai.click/tapswap/headers.json
{"ok": true, "last_update": 1718464493, "human_readable_time": "2024-06-15 15:14:53", "login": {"Content-Type": "application/json", "Referer": "https://app.tapswap.club/", "x-app": "tapswap_server", "x-bot": "no", "x-cv": "627"}, "send_tap": {"Content-Type": "application/json", "Referer": "https://app.tapswap.club/", "x-app": "tapswap_server", "x-bot": "no", "x-cv": "627"}}
Hi there
just prints start tapping
Since today I have the error below on TapSwap python app.py
INFO | 2024-06-20 10:57:46 | TapSwap | User: 1 | [~] ByPass CHQ: False
WARNING | 2024-06-20 10:57:46 | TapSwap | User: 1 | [!] There is no access_token in response
WARNING | 2024-06-20 10:57:50 | TapSwap | User: 1 | [!] There is no access_token in response
WARNING | 2024-06-20 10:57:53 | TapSwap | User: 1 | [!] There is no access_token in response
WARNING | 2024-06-20 10:57:56 | TapSwap | User: 1 | [!] There is no access_token in response
WARNING | 2024-06-20 10:57:59 | TapSwap | User: 1 | [!] There is no access_token in response
WARNING | 2024-06-20 10:58:00 | mainapp | [!] Error in click all: 'TapSwap' object has no attribute '_time_to_recharge'
how turn off level up card in hamster
when i add my accounts it works but when i restart the multi-account file it gives 'ignoring'
How to turn off Automatic updates cards
start_hamster_client
is trying to obtain next_hamster_click
value from the cache and just returns if it is None
or less then the current time.
The thing is - it is never set to an actual value.
I believe that
if next_hamster_click == None or time.time() < next_hamster_click:
return
should be changed to
if next_hamster_click is not None and time.time() < next_hamster_click:
return
Trackback (last call):
"C:\Users\sbyte\Desktop\coin\All-In-One\multi-account.py" file, line 4,
import from scripts.tapswap TapSwap
File "C:\Users\sbyte\Desktop\coin\All-In-One\scripts\tapswap.py", line 8,
in js2py import
ModuleNotFoundError: No module named 'js2py'
I downloaded the file but I still get the same error
reason: 'Internal Server Error'
Server sent a very new message with ID 7380731668087181321, ignoring (see FAQ for details)
Server sent a very new message with ID 7380731668771020801, ignoring (see FAQ for details)
i have brand new error :
WARNING | 2024-06-15 08:40:40 | TapSwap | User: 1 | [!] Error in update headers: HTTPSConnectionPool(host='poeai.click', port=443): Max retries exceeded with url: /tapswap/headers.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6b2529f290>: Failed to establish a new connection: [Errno 111] Connection refused'))
C:\Users\root\Desktop\All-In-One-main>python app.py
Traceback (most recent call last):
File "C:\Users\root\Desktop\All-In-One-main\app.py", line 5, in
from scripts.tapswap import TapSwap
ModuleNotFoundError: No module named 'scripts.tapswap'
I get this error when I start the bot
youre code is very spicial thanks for share in github ,for a neew idea add more bots and also add pyrogram session support Thanks a lot of .
Hi abolfazl Thanks for your Repo :)
Please guide me
I want the hamster robot to only go online and do TAP
I don't want to buy another card
How should I do this?
INFO | 2024-06-21 20:18:39 | mainapp | Client is Ready!
WARNING | 2024-06-21 20:18:40 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:43 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:46 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:49 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:52 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:56 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:18:59 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
WARNING | 2024-06-21 20:19:02 | TapSwap | User: 1 | [!] Error in auth: Header part (1) from ('x-touch', 1) must be of type str or bytes, not <class 'int'>
ERROR | 2024-06-21 20:19:05 | TapSwap | User: 1 | [!] We ran into trouble with the get auth token! 🚫The class is not ready.
Oh and tapswap.py was changed by new
python3 multi-account.py
Traceback (most recent call last):
File "/root/All-In-One/venv/lib/python3.10/site-packages/seleniumbase/core/browser_launcher.py", line 3862, in get_local_driver
driver = webdriver.Chrome(options=chrome_options)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 208, in init
self.start_session(capabilities)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /root/.cache/selenium/chrome/linux64/126.0.6478.61/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x55fc3da9b6aa
#1 0x55fc3d77e0dc
#2 0x55fc3d7b302a
#3 0x55fc3d7af43b
#4 0x55fc3d7f9ef9
#5 0x55fc3d7ed613
#6 0x55fc3d7bd4f7
#7 0x55fc3d7bde4e
#8 0x55fc3da6187b
#9 0x55fc3da65921
#10 0x55fc3da4d36e
#11 0x55fc3da66482
#12 0x55fc3da31ccf
#13 0x55fc3da8b0a8
#14 0x55fc3da8b280
#15 0x55fc3da9a7dc
#16 0x7f2cfb12aac3
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/All-In-One/multi-account.py", line 10, in
from scripts.bypass_js import driver_instance
File "/root/All-In-One/scripts/bypass_js.py", line 66, in
driver_instance = SingletonDriver()
File "/root/All-In-One/scripts/bypass_js.py", line 13, in new
cls._instance.driver_context = DriverContext()
File "/root/All-In-One/venv/lib/python3.10/site-packages/seleniumbase/plugins/driver_manager.py", line 44, in init
self.driver = Driver(*args, **kwargs)
File "/root/All-In-One/venv/lib/python3.10/site-packages/seleniumbase/plugins/driver_manager.py", line 529, in Driver
driver = browser_launcher.get_driver(
File "/root/All-In-One/venv/lib/python3.10/site-packages/seleniumbase/core/browser_launcher.py", line 1657, in get_driver
return get_local_driver(
File "/root/All-In-One/venv/lib/python3.10/site-packages/seleniumbase/core/browser_launcher.py", line 3944, in get_local_driver
driver = webdriver.Chrome(
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 208, in init
self.start_session(capabilities)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "/root/All-In-One/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /root/.cache/selenium/chrome/linux64/126.0.6478.61/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x5623287a46aa
#1 0x5623284870dc
#2 0x5623284bc02a
#3 0x5623284b843b
#4 0x562328502ef9
#5 0x5623284f6613
#6 0x5623284c64f7
#7 0x5623284c6e4e
#8 0x56232876a87b
#9 0x56232876e921
#10 0x56232875636e
#11 0x56232876f482
#12 0x56232873accf
#13 0x5623287940a8
#14 0x562328794280
#15 0x5623287a37dc
#16 0x7fbb41296ac3
Exception ignored in: <function SingletonDriver.del at 0x7f144dc71870>
Traceback (most recent call last):
File "/root/All-In-One/scripts/bypass_js.py", line 63, in del
AttributeError: 'SingletonDriver' object has no attribute 'driver_context'
WARNING | 2024-06-16 09:42:08 | TapSwap | User: 1 | [!] There is no access_token in response
ERROR | 2024-06-16 09:42:11 | TapSwap | User: 1 | [!] We ran into trouble with the get auth token! 🚫 The script is stopping.
The problem I have is that the robot does not collect coins in TapSwap and it does not work, and I need to start the robot again from the beginning.
i tried to inspect hamster api but didn't work enev i change user agent
Привет, пишу потому что в аналогах этого бота по какой-то причине не покупаются некоторые карты из раздела Specials в hamster kombat. Есть ли такая проблема в этом боте? Нет возможности самому проверить. Примеры таких карт: "Consensus Piranha Pass", "Bitcoin Pizza day", "Top 10 Global Ranking", "Special Hamster Conference".
Salam Dadash Chetori Age Hamster Ro Ham Tanha Bezari Mesle Tapswap Mamnon MiSham Pv Telegramet Bastas
Hi thanks for your work i got this warning
WARNING | 2024-06-15 18:57:01 | mainapp | User: | Error in Hamster Click: local variable 'sorted_upgrades' referenced before assignment
i also set max_days_return to 1 for not buying cards to only click
Hi thanks for this code i get this error
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
WARNING | TapSwap | [!] Error in auth: Expecting value: line 1 column 1 (char 0)
ERROR | TapSwap | [!] We ran into trouble with the get auth token! 🚫 The script is stopping.
INFO | 2024-06-21 17:29:25 | TapSwap | User: 5637571206 | [~] ByPass CHQ: 538830
{'statusCode': 400, 'message': 'invalid_chr[2]'}
WARNING | 2024-06-21 17:29:25 | TapSwap | User: 5637571206 | [!] There is no access_token in response
Hello again. I see that you have made multiaccount possible, for which thank you very much. Such a question is when I launched it in multiaccount mode, the bot in the telegram stopped responding to requests for /help, /balance, and so on. What could this be related to?
Hay Developer I like and Salute your work, please add Memefi, Yescoin, Ocean coin, Pixelversexyz, and Vertus, W coin and Blum Bot thanks
Hi @Poryaei. Thanks for the hard work. I really appreciate it.
I get telethon.errors.rpcerrorlist.FloodWaitError: A wait of X seconds is required (caused by ResolveUsernameRequest)
on line 68 or 69 of app.py
on some of my accounts the first time I run the app. Looks like you try to send messages to the bots without any sleeping here in
Line 68 in 1c13c0b
It's not a big problem at all. It resolves by itself after waiting a few minutes. However, the app crashes after this exception is thrown. I think it's a good idea if you catch the exception and wait a short time between resolves.
!!! w-coin
prick
cedex_tap_bot
TheBaboon_Bot
pixelversexyzbot
gamee
cedex_tap_bot
!!! BlumCryptoBot
seed_coin_bot
geMzcoin_bot
!!! herewalletbot
Chrome extension : Ignore X-Frame-Options
Permit multiple account to run at a same time
Traceback (most recent call last):
File "C:\Users\abc\Desktop\Crypto_Mining\All-In-One-main_New\app.py", line 36, in
cexio_ref_code = data['cexio_ref_code']
~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'cexio_ref_code'
C:\Users\abc\Desktop\Crypto_Mining\All-In-One-main_New>
Hello there,
Thank you so much for creating this bot. I have encountered an error and need your help.
INFO | mainapp | Client is Ready!
INFO | TapSwap | [~] ByPass CHQ: 1154
INFO | TapSwap | Auth Token fetched successfully.
INFO | Hamster | Auth Token fetched successfully.
Exception in thread Thread-1 (do_tasks):
Traceback (most recent call last):
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\util\connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Users\UseR\AppData\Local\Programs\Python\Python310\lib\socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen
response = self._make_request(
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
raise new_e
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connection.py", line 616, in connect
self.sock = sock = self._new_conn()
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connection.py", line 205, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002BB1F6905B0>: Failed to resolve 'cexp.cex.io' ([Errno 11001] getaddrinfo failed)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cexp.cex.io', port=443): Max retries exceeded with url: /api/getUserInfo (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000002BB1F6905B0>: Failed to resolve 'cexp.cex.io' ([Errno 11001] getaddrinfo failed)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\UseR\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "C:\Users\UseR\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "D:\Cris\airdrop\taptap\All-In-One\scripts\cexio.py", line 193, in do_tasks
r = self.getUserInfo()
File "D:\Cris\airdrop\taptap\All-In-One\scripts\cexio.py", line 37, in getUserInfo
r = self.session.post(
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\requests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\Cris\airdrop\taptap\All-In-One\venv\lib\site-packages\requests\adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cexp.cex.io', port=443): Max retries exceeded with url: /api/getUserInfo (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000002BB1F6905B0>: Failed to resolve 'cexp.cex.io' ([Errno 11001] getaddrinfo failed)"))```
How to turn off upgrade cards?
Cexio's thread logs this exception recently:
Exception in thread Thread-1 (do_tasks):
Traceback (most recent call last):
File "All-In-One/venv/lib/python3.10/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "All-In-One/scripts/cexio.py", line 193, in do_tasks
r = self.getUserInfo()
File "All-In-One/scripts/cexio.py", line 40, in getUserInfo
).json()
File "All-In-One/venv/lib/python3.10/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.