elite-scripts/README.md
alterNERDtive c255277e89 explorationtools: added findCommander
Let’s you, duh, find a Commander’s last known system if they are on EDSM
and have their flight logs public.
2020-01-05 19:20:20 +01:00

75 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# A collection of useful scripts around Elite Dangerous #
## edsm-getnearest.py ##
```
usage: edsm-getnearest.py [-h] --system SYSTEM [--short] [--gui | --text]
CMDR [CMDR ...]
Locate your CMDRs using EDSM and find their distance to a given system.
positional arguments:
CMDR a list of CMDR names (must have their location public on
EDSM!)
optional arguments:
-h, --help show this help message and exit
--system SYSTEM the target system (must be in EDDN!)
--short short output (only makes sense with `--text`)
--gui explicitly run the GUI
--text explicitly give text output
```
## explorationtools.py ##
```
usage: explorationtools.py [-h] {bodycount,distancebetween,findCommander} ...
A collection of tools useful for exploration.
optional arguments:
-h, --help show this help message and exit
subcommands:
{bodycount,distancebetween,findCommander}
sub-command help
bodycount Returns the number of bodies in a system. Will exit
with code 1 on server error and code 2 if the system
could not be found in EDSM.
distancebetween Calculates the distance between two systems. Will exit
with code 1 on server error and code 2 if (one of) the
systems could not be found on EDSM.
findCommander Attempts to find a CMDRs last known position. Will
exit with code 1 on server error and code 2 if the
CMDR could not be found on EDSM.
```
```
usage: explorationtools.py bodycount [-h] system
positional arguments:
system
optional arguments:
-h, --help show this help message and exit
```
```
usage: explorationtools.py distancebetween [-h] system system
positional arguments:
system
optional arguments:
-h, --help show this help message and exit
```
```
usage: explorationtools.py findCommander [-h] name
positional arguments:
name
optional arguments:
-h, --help show this help message and exit
```