Fixed char server rejecting i'm alive packet
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@932 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
3cdf446201
commit
998440070f
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user