This is a tool for Next2fun game Galaxy Empire.
Wish you have fun here.
- Download the source code.
git clone https://github.com/codycjy/GalaxyEmpire.git
- Install python3.8 or above.
- Install the requirements.
pip install -r requirements.txt
- open the main.py and setup config.
- run the main.py
python3 main.py
There are three main func in this tool.
- attack
- explore
- escape
ATTACKTARGET
: the target you want to attack.
A list of targets coordinates, each target should be a list of three integers.
You'd better set more than one target, because of the 2 hours cooldown of the attack.
ATTACKFROM
: the planet you want to attack from.
IMPORTANT: THIS ISN'T THE COORDINATE OF THE PLANET,
THIS IS THE ID OF THE PLANET (OR MOON) YOU WANT TO ATTACK FROM.
ATTACKLEVEL
: Choose the fleet you want to send.
Almost all the config is the same as attack.
The recommanded fleet is in main.py.
If you want to customize your fleet, please follow the format and keep in mind that level between 50 and 100 is for explore
Ship abbr | ship name |
---|---|
ds | Deathstar |
bs | Battleship |
cargo | Large Cargo |
satellite | Probe |
lf | Light Fighter |
hf | Heavy Fighter |
cr | Cruiser |
de | Destroyer |
bomb | Bomber |
guard | Guardian |
Just open and it works.
For the first time, you can set showPlanetID
to True
to get the planet ID.
- This won't change if you migrate to another planet.
- When server merge, your planet ID may change.
- Add CMD README
- Test CMD func
Welcome to contribute to this project.