diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-08 03:00:13 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-08 03:00:13 +0000 |
commit | 1d3965a7c67156d705a16abb22aa999fd188808c (patch) | |
tree | 7903c4dffdf8dcbcdcbffd4135590d25746449a9 /src/char_sql | |
parent | a333f75d696e02eb0835da87dbccad0fd3ba5242 (diff) | |
download | hercules-1d3965a7c67156d705a16abb22aa999fd188808c.tar.gz hercules-1d3965a7c67156d705a16abb22aa999fd188808c.tar.bz2 hercules-1d3965a7c67156d705a16abb22aa999fd188808c.tar.xz hercules-1d3965a7c67156d705a16abb22aa999fd188808c.zip |
Added alive packet sending to SQL char and login
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@934 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 0eccfe537..d7f17515b 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1556,6 +1556,14 @@ int parse_tologin(int fd) { RFIFOSKIP(fd,50); 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; + /* case 0x2721: // gm reply. I don't want to support this function. printf("0x2721:GM reply\n"); { |