diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-21 21:28:56 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-21 21:28:56 +0000 |
| commit | 9ef96af0545ed33e326bb863fb740705dd0b17c5 (patch) | |
| tree | 7d98f1f67d1d7ed4514dfa73de016339dd42c028 /src/mastersrv/mastersrv.h | |
| parent | 4229cee5040516a5968a22549a40050c4739e1ba (diff) | |
| download | zcatch-9ef96af0545ed33e326bb863fb740705dd0b17c5.tar.gz zcatch-9ef96af0545ed33e326bb863fb740705dd0b17c5.zip | |
fixed alot of masterserver fixes
Diffstat (limited to 'src/mastersrv/mastersrv.h')
| -rw-r--r-- | src/mastersrv/mastersrv.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mastersrv/mastersrv.h b/src/mastersrv/mastersrv.h index fd59808f..cd98bec2 100644 --- a/src/mastersrv/mastersrv.h +++ b/src/mastersrv/mastersrv.h @@ -1,4 +1,3 @@ -static const char *MASTERSERVER_ADDRESS = "localhost"; static const int MASTERSERVER_PORT = 8383; static const int MAX_SERVERS = 200; @@ -13,7 +12,14 @@ static const int MAX_SERVERS = 200; };*/ static const unsigned char SERVERBROWSE_HEARTBEAT[] = {255, 255, 255, 255, 'b', 'e', 'a', 't'}; + static const unsigned char SERVERBROWSE_GETLIST[] = {255, 255, 255, 255, 'r', 'e', 'q', 't'}; static const unsigned char SERVERBROWSE_LIST[] = {255, 255, 255, 255, 'l', 'i', 's', 't'}; + static const unsigned char SERVERBROWSE_GETINFO[] = {255, 255, 255, 255, 'g', 'i', 'e', 'f'}; static const unsigned char SERVERBROWSE_INFO[] = {255, 255, 255, 255, 'i', 'n', 'f', 'o'}; + +static const unsigned char SERVERBROWSE_FWCHECK[] = {255, 255, 255, 255, 'f', 'w', '?', '?'}; +static const unsigned char SERVERBROWSE_FWRESPONSE[] = {255, 255, 255, 255, 'f', 'w', '!', '!'}; +static const unsigned char SERVERBROWSE_FWOK[] = {255, 255, 255, 255, 'f', 'w', 'o', 'k'}; +static const unsigned char SERVERBROWSE_FWERROR[] = {255, 255, 255, 255, 'f', 'w', 'e', 'r'}; |