diff options
-rw-r--r-- | Changelog.txt | 2 | ||||
-rw-r--r-- | src/char/char.c | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Changelog.txt b/Changelog.txt index d19f93fca..09b15be74 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,7 @@ Date Added 01/07 + * The TXT char server was rejecting login's "i'm alive" packet and disconnecting + it... fixed [celest] * Stall_time wasn't being read in login_athena at all (not by the login server, because the code didn't read it, nor by TXT map server, since its in the SQL inter_athena.conf reading)... so moved it to inter_athena.conf, and diff --git a/src/char/char.c b/src/char/char.c index f2d4b33d2..cdef7bc8b 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1958,7 +1958,16 @@ int parse_tologin(int fd) { RFIFOSKIP(fd,RFIFOW(fd,2)); break; + // login-server alive packet + case 0x2718: + if (RFIFOREST(fd) < 2) + return 0; + // do whatever it's supposed to do here + RFIFOSKIP(fd,2); + break; + default: + printf("parse_tologin: unknown packet %x! \n", RFIFOW(fd,0)); session[fd]->eof = 1; return 0; } |