Giter Site home page Giter Site logo

tomarketod's Introduction

Tomarketod

Auto Claim for tomarket Telegram Bot

Table of Contents

Warning

All Risks are borne by the user!

Features

  • Auto Claim
  • Multi Account Support
  • Auto Play Game
  • Proxy Support

Register

Click the following url to register : https://t.me/Tomarket_ai_bot/app?startapp=0000009G

How to Use

About Config

Name Description
interval downtime between account
play_game value must bool (true/false) set true for enable auto play game after claim
game_point low : minimum earn from play game
high : maximum earn from play game
additional_time min : minimum addition time for next claim
max : maximum addition time for next claim

About Proxy

Register on this site to get free proxy : Here

You can add your proxy list in proxies.txt and proxy format is like example below :

Format :

http://host:port
http://user:pass@host:port

Example :

http://127.0.0.1:6969
http://user:[email protected]:6969
socks5://127.0.0.1:6969
socks5://user:[email protected]:6969

Windows

  1. Make sure you computer was installed python and git.

    python site : https://python.org

    git site : https://git-scm.com/

  2. Clone this repository

    git clone https://github.com/akasakaid/tomarketod.git
  3. goto tomarketod directory

    cd tomarketod
    
  4. install the require library

    python -m pip install -r requirements.txt
    
  5. Edit data.txt, input you data token in data.txt, find you token in How to Get Data. One line for one data account, if you want add you second account add in new line!

  6. execute the main program

    python bot.py
    

Linux

  1. Make sure you computer was installed python and git.

    python

    sudo apt install python3 python3-pip

    git

    sudo apt install git
  2. Clone this repository

    git clone https://github.com/akasakaid/tomarketod.git
  3. goto tomarketod directory

    cd tomarketod
  4. Install the require library

    python3 -m pip install -r requirements.txt
    
  5. Edit data.txt, input you data token in data.txt, find you token in How to Get Data. One line for one data account, if you want add you second account add in new line!

  6. execute the main program

    python bot.py
    

Termux

  1. Make sure you termux was installed python and git.

    python

    pkg install python
    

    git

    pkg install git
    
  2. Clone this repository

    git clone https://github.com/akasakaid/tomarketod.git
  3. goto tomarketod directory

    cd tomarketod
    
  4. install the require library

    python -m pip install -r requirements.txt
    
  5. Edit data.txt, input you data token in data.txt, find you token in How to Get Data. One line for one data account, if you want add you second account add in new line!

You can edit the data.txt with nano / vim / Visual Studio Code

  1. execute the main program
    python bot.py
    

How to Get Data

How to enable dev tool on teelgram PC : https://youtu.be/NYxHmck_GjE

Watch the following video to get data https://youtu.be/fdbdt-fEoVg

Javascript code for getting query (user= / query=)

copy(decodeURIComponent(sessionStorage.SourceTarget).split('#tgWebAppData=')[1].split('&tgWebAppVersion=')[0]);console.log('data copied !\npaste ctrl + v')

Run for 24/7

You can run the script bot for 24/7 using vps / rdp. You can use screen application in vps linux to running the script bot in background process

Discussion

If you have an question or something you can ask in here : @sdsproject_chat

Support My Work

To support me you can buy me a coffee via website in below

Thank you < 3

tomarketod's People

Contributors

akasakaid 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

Watchers

 avatar  avatar  avatar  avatar

tomarketod's Issues

Add fine tuning for claim schedule

Currently the script claims points every hour sharp. It could be suspicious for the game owners.
Maybe add settings in config.json like start_claim and end_claim. Set it by default to "00:00" and "00:00" respectively. The default parameters would mean the same as now "just claim every hour".
If script user would like to be on the safe side and turn off claiming to simulate sleep the user could set the parameters to e.g. "07:00" and "23:00" to prevent the script from claiming rewards during his/her night time.

The second proposal: make periods of claiming random. Like claim randomly every 60-75 minutes. To obfuscate script usage. Maybe add settings for the randomness of the interval between claims to config.json.

TypeError: string indices must be integers

How to fix this?

  • Python version:
    Python 3.10.6 and Python 3.11.2
  • Operating System:
    Windows and Ubuntu
Traceback (most recent call last):
  File "X:\xxx\xxx\tomarketod\bot.py", line 324, in <module>
    app.main()
  File "X:\xxx\xxx\tomarketod\bot.py", line 311, in main
    result = self.get_balance()
  File "X:\xxx\xxx\tomarketod\bot.py", line 155, in get_balance
    self.daily_claim()
  File "X:\xxx\xxx\tomarketod\bot.py", line 102, in daily_claim
    poin = data["today_points"]
TypeError: string indices must be integers

I keep getting error

I keep getting this error whenever I run the bot.py file

Traceback (most recent call last):
File "/data/data/com.termux/files/home/tomarketod/bot.py", line 342, in
app.main()
File "/data/data/com.termux/files/home/tomarketod/bot.py", line 335, in main
_min = min(list_countdown) - _tot
^^^^^^^^^^^^^^^^^^^
ValueError: min() arg is an empty sequence

Error!

_min = min(list_countdown) - _tot
       ^^^^^^^^^^^^^^^^^^^

ValueError: min() iterable argument is empty

Add proxy support?

Please, consider adding proxy support to be on the safe side in case the owners of the game will check for multi accounts connected from the same IP.

It could be separate file proxy.txt with list of proxies and their credentials.
And then the script choose one separate proxy for each account (line in data.txt) before marking API request.

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.