Skip to content

codycjy/GalaxyEmpire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GalaxyEmpire

This is a tool for Next2fun game Galaxy Empire.
Wish you have fun here.

How to use

  1. Download the source code.
git clone https://github.com/codycjy/GalaxyEmpire.git
  1. Install python3.8 or above.
  2. Install the requirements.
pip install -r requirements.txt
  1. open the main.py and setup config.
  2. run the main.py
python3 main.py

Config

There are three main func in this tool.

  1. attack
  2. explore
  3. escape

Attack

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.

Explore

Almost all the config is the same as attack.

Fleet

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

Supported ships

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

Escape

Just open and it works.

Planet ID

For the first time, you can set showPlanetID to True to get the planet ID.

About planet ID

  • This won't change if you migrate to another planet.
  • When server merge, your planet ID may change.

TODO

  • Add CMD README
  • Test CMD func

Welcome to contribute to this project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages