diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-03 13:06:26 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-03 14:00:17 -0600 |
commit | 95cb791d734229c7f06de357fc7c937dfe12a505 (patch) | |
tree | 3ed53649f6a5b094d0f8562bf2f098f03afe7c73 | |
parent | 7642fdf488c5cd06363297ab88ef70b4f1caa4c6 (diff) | |
download | tmwa-95cb791d734229c7f06de357fc7c937dfe12a505.tar.gz tmwa-95cb791d734229c7f06de357fc7c937dfe12a505.tar.bz2 tmwa-95cb791d734229c7f06de357fc7c937dfe12a505.tar.xz tmwa-95cb791d734229c7f06de357fc7c937dfe12a505.zip |
Change the version information sent to clients
Just making sure we look different from a normal eAthena server.
-rw-r--r-- | src/login/login.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/login/login.c b/src/login/login.c index e7ae640..af70fb1 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -2992,13 +2992,13 @@ int parse_login(int fd) { case 0x7530: // Request of the server version login_log("Sending of the server version (ip: %s)" RETCODE, ip); WFIFOW(fd,0) = 0x7531; - WFIFOB(fd,2) = ATHENA_MAJOR_VERSION; - WFIFOB(fd,3) = ATHENA_MINOR_VERSION; - WFIFOB(fd,4) = ATHENA_REVISION; - WFIFOB(fd,5) = ATHENA_RELEASE_FLAG; - WFIFOB(fd,6) = ATHENA_OFFICIAL_FLAG; - WFIFOB(fd,7) = ATHENA_SERVER_LOGIN; - WFIFOW(fd,8) = ATHENA_MOD_VERSION; + WFIFOB(fd,2) = -1; + WFIFOB(fd,3) = 'T'; + WFIFOB(fd,4) = 'M'; + WFIFOB(fd,5) = 'W'; + WFIFOB(fd,6) = ' '; + WFIFOB(fd,7) = 'e'; + WFIFOW(fd,8) = 'A'; WFIFOSET(fd,10); RFIFOSKIP(fd,2); break; @@ -3114,7 +3114,7 @@ int parse_login(int fd) { //------------------------------------------------- // Return numerical value of a switch configuration -// on/off, english, français, deutsch, español +// on/off, english, fran�ais, deutsch, espa�ol //------------------------------------------------- int config_switch(const char *str) { if (strcmpi(str, "on") == 0 || strcmpi(str, "yes") == 0 || strcmpi(str, "oui") == 0 || strcmpi(str, "ja") == 0 || strcmpi(str, "si") == 0) |