TWBot


NameTWBot JSON
Version 2.0.2 PyPI version JSON
download
home_pageNone
SummaryTribal Wars Bot
upload_time2024-06-23 20:45:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tribal Wars Bot (TWB)
## An open source bot for the Tribal Wars game

## Update 1.8 notice
If you experience issues starting the bot you might have to update the dependencies by running the following command in the bot folder:
` python -m pip install --upgrade requirements.txt`

We also created a [Discord](https://discord.gg/8PuzHjttMy) server so you can seek help from other users.

*Features:*
- Cooperative mode (you can keep playing using the browser while the bot manages stuff in the background)
- Building management
- Defence management
- Troop management
- Flag management
- Automatically adds conquered villages
- Farm management
- Market management
- Premium market (free premium points :D)
- Research management (including level systems)
- Automatic snob creation
- Report management
- ReCaptcha "bypass" by using browser cookie string (bot works if browser session is valid)

*How To:*
- Install Python 3.x
- Install the requirements (pip install -r requirements.txt)
- Either copy config.example.json to config.json and edit the following things:
	- add at least the endpoint and server
	- change the village_template configuration section to your needs
- Or just run `python twb.py` and enter the requested information


- Start the bot by running python twb.py and supply the cookie string from your browser
- If login works you can adjust the config.json to your needs, it will automatically reload on change.
- Your villages will be added to the config automatically, disable the "managed" parameter to make the bot skip the village
- Additional properties can be tweaked by running the manager.py script
- You might want to set the bot user-agent in core/request.py to your own user agent. They probably wont notice but just in case :)

You can find the cookie string in the following location (Chrome):

![Screenshot](readme/network.JPG)

You need to use the cookie: header value

*optional: If everything is set-up correctly and the bot is running you can `cd` into the webmanager directory and start the bot interface by running `server.py`. You can access this dashboard by visiting http://127.0.0.1:5000/ in your browser.
A lot of new features will be added to the dashboard soon.*

More information about configuring the bot can be found in the readme directory!


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "TWBot",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "matthewmoorcroft <matthewmoorcroft@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/6c/90/04a9c3ecbdf349076131bc23476f52fa8598b481644bbf9aeb882608c149/twbot-2.0.2.tar.gz",
    "platform": null,
    "description": "# Tribal Wars Bot (TWB)\n## An open source bot for the Tribal Wars game\n\n## Update 1.8 notice\nIf you experience issues starting the bot you might have to update the dependencies by running the following command in the bot folder:\n` python -m pip install --upgrade requirements.txt`\n\nWe also created a [Discord](https://discord.gg/8PuzHjttMy) server so you can seek help from other users.\n\n*Features:*\n- Cooperative mode (you can keep playing using the browser while the bot manages stuff in the background)\n- Building management\n- Defence management\n- Troop management\n- Flag management\n- Automatically adds conquered villages\n- Farm management\n- Market management\n- Premium market (free premium points :D)\n- Research management (including level systems)\n- Automatic snob creation\n- Report management\n- ReCaptcha \"bypass\" by using browser cookie string (bot works if browser session is valid)\n\n*How To:*\n- Install Python 3.x\n- Install the requirements (pip install -r requirements.txt)\n- Either copy config.example.json to config.json and edit the following things:\n\t- add at least the endpoint and server\n\t- change the village_template configuration section to your needs\n- Or just run `python twb.py` and enter the requested information\n\n\n- Start the bot by running python twb.py and supply the cookie string from your browser\n- If login works you can adjust the config.json to your needs, it will automatically reload on change.\n- Your villages will be added to the config automatically, disable the \"managed\" parameter to make the bot skip the village\n- Additional properties can be tweaked by running the manager.py script\n- You might want to set the bot user-agent in core/request.py to your own user agent. They probably wont notice but just in case :)\n\nYou can find the cookie string in the following location (Chrome):\n\n![Screenshot](readme/network.JPG)\n\nYou need to use the cookie: header value\n\n*optional: If everything is set-up correctly and the bot is running you can `cd` into the webmanager directory and start the bot interface by running `server.py`. You can access this dashboard by visiting http://127.0.0.1:5000/ in your browser.\nA lot of new features will be added to the dashboard soon.*\n\nMore information about configuring the bot can be found in the readme directory!\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Tribal Wars Bot",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/matthewmoorcroft/TWBot",
        "Repository": "https://github.com/matthewmoorcroft/TWBot"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60a3dec5861166f8b2e6159b39be3b0b63c88fef5e66e603a1ccf44e8729ca6b",
                "md5": "1ef2e6de7c74cf5531caa5930d51e35e",
                "sha256": "adaa7780b5c03b592e384692dc649a37012365ad2d9bac37cede61fdec545054"
            },
            "downloads": -1,
            "filename": "twbot-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ef2e6de7c74cf5531caa5930d51e35e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 172819,
            "upload_time": "2024-06-23T20:45:31",
            "upload_time_iso_8601": "2024-06-23T20:45:31.152758Z",
            "url": "https://files.pythonhosted.org/packages/60/a3/dec5861166f8b2e6159b39be3b0b63c88fef5e66e603a1ccf44e8729ca6b/twbot-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c9004a9c3ecbdf349076131bc23476f52fa8598b481644bbf9aeb882608c149",
                "md5": "99881e193381dce9b92730e890bdcb20",
                "sha256": "c78e64270afee162c5cc0a7cc0a70ff7b0ce62ff3b38d0c65b0f763a12519fec"
            },
            "downloads": -1,
            "filename": "twbot-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "99881e193381dce9b92730e890bdcb20",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 143887,
            "upload_time": "2024-06-23T20:45:37",
            "upload_time_iso_8601": "2024-06-23T20:45:37.682402Z",
            "url": "https://files.pythonhosted.org/packages/6c/90/04a9c3ecbdf349076131bc23476f52fa8598b481644bbf9aeb882608c149/twbot-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-23 20:45:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "matthewmoorcroft",
    "github_project": "TWBot",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "twbot"
}
        
Elapsed time: 0.25167s