summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-10 10:52:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-10 10:52:30 +0000
commita609841386e0eaa2b063a318d698e60fe21f02de (patch)
tree3edbb47eed62164a96d67b67fa8d7ceda3559787 /src/login
parent76192f96dda6a98ce9c05027230dea33990dc392 (diff)
downloadhercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.gz
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.bz2
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.xz
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.zip
- added proper comments to login packet 0x277
- added a missing \n to one login server warning - silenced one "dc[4] might be uninitialized" warning - fixed an apparently wrong abra_db.txt entry (venom splasher: 40000) - removed .gat from the remaining npcs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c8
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;