Query Halo Custom Edition servers for valuable information
Project description
Halo Server Query
Query and retrieve information about Halo: Custom Edition servers (based on Chaosvex's "Halo-Status")
example
Example Usage:
from pprint import PrettyPrinter
from haloserverquery import queryServer
printer = PrettyPrinter(indent=4)
serverInfo = queryServer("127.0.0.1", 2302)
printer.pprint(serverInfo)
Example Output:
{ 'dedicated': '1',
'final': 'Sapp',
'fraglimit': '50',
'game_classic': '0',
'game_flags': '26',
'gamemode': 'openplaying',
'gametype': 'Slayer',
'gamevariant': 'TeamPistols',
'gamever': '01.00.10.0621',
'hostname': 'server name',
'hostport': '23900',
'mapname': 'carousel',
'maxplayers': '16',
'nextmap': 'carousel',
'nextmode': 'TeamPistols',
'numplayers': '7',
'password': '0',
'player_flags': '1101561860,136',
'players': { 0: { 'name': 'Extreme',
'ping': '108',
'score': '0',
'slot': 0,
'team': '0'},
1: { 'name': 'ext',
'ping': '90',
'score': '30',
'slot': 1,
'team': '1'},
2: { 'name': 'sL Bryan',
'ping': '90',
'score': '13',
'slot': 2,
'team': '0'},
3: { 'name': 'Lizmari',
'ping': '96',
'score': '8',
'slot': 3,
'team': '0'},
4: { 'name': 'timefreeze',
'ping': '110',
'score': '2',
'slot': 4,
'team': '0'},
5: { 'name': 'gjldfaghgk',
'ping': '85',
'score': '1',
'slot': 5,
'team': '1'},
6: { 'name': 'PAUL S2',
'ping': '98',
'score': '4',
'slot': 6,
'team': '1'}},
'queryid': '1.1',
'sapp': '10.2.1 CE',
'sapp_flags': '1',
'score_t0': '23',
'score_t1': '37',
'team_t0': 'Red',
'team_t1': 'Blue',
'teamplay': '1'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
HaloServerQuery-1.0.1.tar.gz
(16.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HaloServerQuery-1.0.1.tar.gz.
File metadata
- Download URL: HaloServerQuery-1.0.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b43f91d4db774ae078847c29bc26199d1098642056979f5eb6298320f2769a3
|
|
| MD5 |
210e66e58ae44440ef44245037f77516
|
|
| BLAKE2b-256 |
55d2fbe86345c1bb9e388c2bb6a1104e0522fd75bc463db20d34778d2f46334d
|
File details
Details for the file HaloServerQuery-1.0.1-py3-none-any.whl.
File metadata
- Download URL: HaloServerQuery-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb323179c17d4fb0058e8e9d538b2aef65928868abf3a383326de978006072b1
|
|
| MD5 |
0f39a08b0e63f7467e6970a83e03d369
|
|
| BLAKE2b-256 |
9c96cf3fa56f1a8d2d135519e7bb851c917aeca2dc2d939a76099c7a70e3836f
|