diff options
author | Skotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-08-10 16:53:47 +0000 |
---|---|---|
committer | Skotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-08-10 16:53:47 +0000 |
commit | 9242fc277751e76f7f9204ff7fca98ce59e6de57 (patch) | |
tree | 87c81eb475f1ae4e639ceea30f4a3d90e0a4fdcf /src/char_sql/char.c | |
parent | 09b2f259b86749e57b1179d795f19f495c5defab (diff) | |
download | hercules-9242fc277751e76f7f9204ff7fca98ce59e6de57.tar.gz hercules-9242fc277751e76f7f9204ff7fca98ce59e6de57.tar.bz2 hercules-9242fc277751e76f7f9204ff7fca98ce59e6de57.tar.xz hercules-9242fc277751e76f7f9204ff7fca98ce59e6de57.zip |
- added sending a dummy 0x08b9 packet in the char-server, required to support clients from this year.
- added a fix to status_heal to take into account that -int_max == int_max in some architectures, which leads to an infinite loop (bugreport:3410)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14930 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 1844295b8..535338177 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1942,6 +1942,16 @@ int parse_fromlogin(int fd) { // send characters to player mmo_char_send006b(i, sd); +#if PACKETVER >= 20110309 + // PIN code system, disabled + WFIFOHEAD(i, 12); + WFIFOW(i, 0) = 0x08B9; + WFIFOW(i, 2) = 0; + WFIFOW(i, 4) = 0; + WFIFOL(i, 6) = sd->account_id; + WFIFOW(i, 10) = 0; + WFIFOSET(i, 12); +#endif } } RFIFOSKIP(fd,62); |