A forked from MrFlamez/Wurzelimperium-Bot
Read this in other languages: English, German, Bulgarian
A Bot for the browsergame Wurzelimperium from Upjers. Enjoy free premium features in the game thanks to this bot!
Inhaltsverzeichnis
Usage of this bot is possible in various situations:
Like in example.py tasks can be created as script or automatically run on your pc.
This script automates a lot of garden work and can be run by GitHub actions.
Learn more automated_script.py
The fully automated script only allows passing your login credentials as arguments:
e.g. python3 ./automated_script.py 12 FooBar password1337 en
usage: automated_script.py [-h] [-p] [-l] server user password [lang]
positional arguments:
server server number
user username for login
password password for login
lang Set Language and Region for the Game and Bot
options:
-h, --help show this help message and exit
-p, --portal If -p or --portal Argument is passed, Portal Account Login will be used.
-l, --log If -l or --log Argument is passed, logging will be enabled.
With the program console.py you can run actions by using an interactive console.
The following commands are supported by the console:
bee Send bees
bonus Get the daily login bonus
details Show details to the products
Opt. argument: "all", "water"
buy Buy a given plant
exit Close connection and exit bot
grow Grow a given plant
grow-water Grow a given water plant
harvest Harvest all gardens
help Show all available commands
lowest Show the plant with the lowest stock (unequal zero)
Opt. argument: "single", "water"
stock Show all plants in stock
Opt. argument: "sort"
user Show details to the current user
water Water all plants
weed Remove all weed
wimp Process Wimp Customers in Gardens
You have two options to pass your credentials:
- Pass them as arguments:
e.g.python3 console.py --server 1 --user MyUserName --password AVerySecurePassword
- Set them in the file itself:
You can set your credentials in the area# Login data
usage: console.py [-h] [--server SERVER] [--user USER] [--password PASSWORD] [--lang LANG] [-p] [-l]
options:
-h, --help show this help message and exit
--server SERVER server number
--user USER username for login
--password PASSWORD password for login
--lang LANG Set Language and Region for the Game and Bot
-p, --portal If -p or --portal Argument is passed, Portal Account Login will be used.
-l, --log If -l or --log Argument is passed, logging will be enabled.
There is also a standalone executable file for windows. Win32-CLI-Standalone
- Headless login without need of a browser.
- Completely automated watering of gardens.
- Automated planting and harvesting.
You can set the focus to grow only given plants in the account notes:
e.g.growOnly: Sonnenblume, Apfel
orgrowOnly: Kaffee
- Automated processing of Wimps in gardens.
You can set the minimum stock in the account notes:
e.g.minStock: 100
orminStock(Apple): 200
- Automatically claiming of daily login bonus.
Using venv askUbuntu
- Install venv:
sudo apt install python3-venv
- Create a new virtual environment in directory named env:
python3 -m venv env
- Activate virtual environment:
source env/bin/activate
- Installation of requirements:
pip install -r ./requirements.txt
Requirements: Python 3
Installation of the dependencies: pip install -r ./requirements.txt
The installation script for linux is located in branch unix
.
Thanks to xRuffKez for developing the script.