poryaei / tapswap-clicker Goto Github PK
View Code? Open in Web Editor NEWA Python bot and automated clicker for accumulating TapSwap on Telegram.
Home Page: https://t.me/tapswap_bot
License: MIT License
A Python bot and automated clicker for accumulating TapSwap on Telegram.
Home Page: https://t.me/tapswap_bot
License: MIT License
I run the script in Python as below in the background
python clicker.py &
But with the passage of time, the time of the next click will change to a negative number and it will become a bug and no more clicks will work
How can I run the script in the background of my Ubuntu server without problems?
I would like add support for memefi and others, but I need help understanding how to get the api endpoints and access Token. Can educate me on your method thanks.
Hi again! When i use the latest update i got this error
KeyError 3
after that i re download python and clicker but still not solve my problem
Thank you for your help
Hi thanks for code i get this error
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] Error in auth: Expecting value: line 1 column 1 (char 0)
[!] We ran into trouble with the get auth token! 🚫 The script is stopping.
Client is Ready!
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] We ran into trouble with the updates to the headers! 🚫 The script is stopping.
on latest version
درود ابولفضل جان
درحال حاضر تایم هر کلیک به 30 دقیقه افزایش یافته درسته؟
بنابر این برای اینکه ساعتی 20 هزارتا ماین بشه نیاز هست که مخزن تا لول 20 اپگرید بشه
این درسته؟
when accessing telegram, it says error.
can't it be IP? i tried everything
Hi
after the new announce they will ban everyone who using bot to collect the coins, can u set some setup to reduce the tap number?
Script is working hard but, I want to know how you get apis.
Hi
thank you for your codes
there is problem with submit_taps even also added content-id
sometimes result is {"statusCode":400,"message":"invalid_request[2]"}
any solutions?
hi Dude can you add some future for multiple Account supporting?
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\js2py\base.py", line 165, in Js
return PyJsFunction(val, FunctionPrototype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\js2py\base.py", line 1377, in init
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\js2py\utils\injector.py", line 27, in fix_js_args
code = append_arguments(six.get_function_code(func), ('this', 'arguments'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\js2py\utils\injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^KeyError: 3
Hi can u create bot for Tetherwalletbots_bot please
Traceback (most recent call last):
File "C:\Users\abbypro\Downloads\Compressed\TapSwap-Clicker\app.py", line 5, in
from tapswap import TapSwap
File "C:\Users\abbypro\Downloads\Compressed\TapSwap-Clicker\tapswap.py", line 8, in
import js2py
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py_init_.py", line 72, in
from .base import PyJsException
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\base.py", line 2965, in
@js
^^
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\base.py", line 165, in Js
return PyJsFunction(val, FunctionPrototype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\base.py", line 1377, in init
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\utils\injector.py", line 27, in fix_js_args
code = append_arguments(six.get_function_code(func), ('this', 'arguments'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbypro\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3
{'chq': 'blah blah blah'}
[!] Error in auth: 'player'
what is the problem?
Client is Ready ;)
Traceback (most recent call last):
File "/root/tap/TapSwap-Clicker/clicker.py", line 37, in
client.send_message('tapswap_bot', f'/start r_{admin}')
File "/usr/local/lib/python3.10/dist-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/telethon/client/messages.py", line 905, in send_message
result = await self(request)
File "/usr/local/lib/python3.10/dist-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "/usr/local/lib/python3.10/dist-packages/telethon/client/users.py", line 87, in _call
result = await future
telethon.errors.rpcerrorlist.UserIsBotError: Bots can't send messages to other bots (caused by SendMessageRequest)
Segmentation fault (core dumped)
Hi can u create bot for memefi please
[!] Error in X-CV: list index out of range
[!] We ran into trouble with the updates to the headers! 🚫 The script is stopping.
Client is Ready!
{'accept': '/', 'accept-language': 'en-US,en;q=0.9,fa;q=0.8', 'content-type': 'application/json', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'same-site', 'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 13; iPhone 15 Pro Max) AppleWebKit/533.2 (KHTML, like Gecko) Version/122.0 Mobile/15E148 Safari/533.2', 'Authorization': 'Bearer ', 'x-cv': '617', 'X-App': 'tapswap_server', 'x-bot': 'no', 'Content-Type': 'application/json', 'Referer': 'https://app.tapswap.club/', 'x-app': 'tapswap_server'}[!] There is no access_token in response
[!] There is no access_token in response
[!] There is no access_token in response
[!] There is no access_token in response
[!] There is no access_token in response
[!] There is no access_token in response
[!] We ran into trouble with the get auth token! 🚫 The script is stopping.
pls give me the version of this libs you use :
asyncio
requests
telethon
urllib3
aiocron
psutil
I searched and couldn't find the solution. Looks like Telegram doesn't allow to create new apps
hi! I've been using your clicker for about a few days. I encountered an error this morning...
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] We ran into trouble with the get auth token! 🚫 The script is stopping.
What can I do to fix this error? Thanks
Client is Ready!
{'accept': '/', 'accept-language': 'en-US,en;q=0.9,fa;q=0.8', 'content-type': 'application/json', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'same-site', 'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 13; iPhone 15 Pro Max) AppleWebKit/533.2 (KHTML, like Gecko) Version/122.0 Mobile/15E148 Safari/533.2', 'Authorization': 'Bearer ', 'x-cv': '623', 'X-App': 'tapswap_server', 'x-bot': 'no', 'Content-Type': 'application/json', 'Referer': 'https://app.tapswap.club/', 'x-app': 'tapswap_server'}
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
[!] Error in auth: list index out of range
Time: 4.1961669921875e-05 S
1280.3333333333333
Time: 1.621246337890625e-05 S
1224.0
Time: 1.6927719116210938e-05 S
1167.6666666666667
why when i run clicker.py i got this error ??
Traceback (most recent call last):
File "clicker.py", line 13, in
data = json.load(f)
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 5 column 21 (char 123)
I only want the bot to wait for it to regenerate when it runs out of energy, not for anything else, and for the clicks to be fast enough that I can do it with a simple clicker app on the phone.
I have some knowledge of Python, but it would be safer for me to follow the developer's instructions on which parts of the code I should change.
Thanks...
hello
i get this error
Exception in callback Cron.set_result(<_GatheringFu...assignment")]>)
handle: <Handle Cron.set_result(<_GatheringFu...assignment")]>)>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.10/dist-packages/aiocron/init.py", line 112, in set_result
raise result
File "/root/TapSwap-Clicker/clicker.py", line 578, in sendTaps
if not fulltank:
UnboundLocalError: local variable 'fulltank' referenced before assignment
Hi, how can I use ur bot, for multi account?
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] Error in X-CV: list index out of range
[!] We ran into trouble with the updates to the headers! 🚫 The script is stopping.
after new update
When you use /help it shows a help menu that includes this text
🟣 /click on
- Start collecting Not Coins
🟣 /click off
- Stop collecting Not Coins
I think it might be a problem cuz we collect tap swap coins.
Lines: 446 & 447
memefi bot
'player'
Exception in callback Cron.set_result(<_GatheringFu...assignment")]>)
handle: <Handle Cron.set_result(<_GatheringFu...assignment")]>)>
Traceback (most recent call last):
File "C:\Program Files\Python3913\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, self.args)
File "c:\Users\TSNQB\Desktop\TapSwap-Clicker.venv\lib\site-packages\aiocron_init.py", line 112, in set_result
raise result
File "c:\Users\TSNQB\Desktop\TapSwap-Clicker\clicker.py", line 610, in sendTaps
time_to_recharge = ((energy_level500)-energy) / charge_level
UnboundLocalError: local variable 'energy_level' referenced before assignment
Hey, I am sorry if this is a stupid question, I am still new to all these.
Does this repository allow me to create my own TapSawp bot, and edit the details such as: edit the bot name and other telegram users can use my bot, etc.
{'statusCode': 400, 'message': 'invalid_request'}
Traceback (most recent call last):
File "c:\Users\Administrator\Downloads\TapSwap-Clicker-main new\TapSwap-Clicker-main\clicker.py", line 513, in
auth = authToken(url)
^^^^^^^^^^^^^^
File "c:\Users\Administrator\Downloads\TapSwap-Clicker-main new\TapSwap-Clicker-main\clicker.py", line 116, in authToken
return response['access_token']
~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'access_token'
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.