diff options
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/login/login.c b/src/login/login.c index e687ff986..eb4a559ba 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3016,7 +3016,7 @@ int parse_login(int fd) case 0x0064: // request client login case 0x01dd: // request client login (encryption mode) - case 0x0277: // New login packet (layout is same as 0x64 but different length) + case 0x0277: // New login packet (kRO 2006-04-24aSakexe langtype 0) case 0x02b0: // New login packet (kRO 2007-05-14aSakexe langtype 0) { int packet_len = RFIFOREST(fd); // assume no other packet was sent @@ -3042,8 +3042,8 @@ int parse_login(int fd) // S 0064 <version>.l <account name>.24B <password>.24B <version2>.B // S 01dd <version>.l <account name>.24B <md5 binary>.16B <version2>.B - // S 0277 ?? - // S 02b0 <version>.l <account name>.24B <password>.24B <?>.B <ip address>.16B <?>.13 <version2>.B + // S 0277 <version>.l <account name>.24B <password>.24B <junk?>.29B <version2>.B + // S 02b0 <version>.l <account name>.24B <password>.24B <junk?>.30B <version2>.B memset(&account, 0, sizeof(account)); account.version = RFIFOL(fd,2); @@ -3111,7 +3111,7 @@ int parse_login(int fd) auth_fifo[auth_fifo_pos].ip = session[fd]->client_addr; auth_fifo_pos++; } else { // if no char-server, don't send void list of servers, just disconnect the player with proper message - ShowStatus("Connection refused: there is no char-server online (account: %s, ip: %s).", account.userid, ip); + ShowStatus("Connection refused: there is no char-server online (account: %s, ip: %s).\n", account.userid, ip); login_log("Connection refused: there is no char-server online (account: %s, ip: %s)." RETCODE, account.userid, ip); WFIFOW(fd,0) = 0x81; |