Enabled login server anti-freeze by default
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@933 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
998440070f
commit
ffdc190fe3
@ -1,5 +1,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
01/07
|
01/07
|
||||||
|
* Enabled login server 'anti-freeze' by default as a temporary solution
|
||||||
|
to char-login disconnection [celest]
|
||||||
* The TXT char server was rejecting login's "i'm alive" packet and disconnecting
|
* The TXT char server was rejecting login's "i'm alive" packet and disconnecting
|
||||||
it... fixed [celest]
|
it... fixed [celest]
|
||||||
* Stall_time wasn't being read in login_athena at all (not by the login server,
|
* Stall_time wasn't being read in login_athena at all (not by the login server,
|
||||||
|
@ -138,9 +138,9 @@ dynamic_account_ban: 1
|
|||||||
dynamic_account_ban_class: 0
|
dynamic_account_ban_class: 0
|
||||||
|
|
||||||
// Anti-freeze system enable
|
// Anti-freeze system enable
|
||||||
anti_freeze_enable: 0
|
anti_freeze_enable: 1
|
||||||
// Anti-freeze system interval (in seconds)
|
// Anti-freeze system interval (in seconds)
|
||||||
anti_freeze_interval: 15
|
anti_freeze_interval: 30
|
||||||
|
|
||||||
// Enable I'm Alive?
|
// Enable I'm Alive?
|
||||||
imalive_on: 0
|
imalive_on: 0
|
||||||
|
@ -1696,6 +1696,14 @@ int parse_tologin(int fd) {
|
|||||||
RFIFOSKIP(fd,50);
|
RFIFOSKIP(fd,50);
|
||||||
break;
|
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
|
case 0x2721: // gm reply
|
||||||
if (RFIFOREST(fd) < 10)
|
if (RFIFOREST(fd) < 10)
|
||||||
return 0;
|
return 0;
|
||||||
@ -1958,14 +1966,6 @@ int parse_tologin(int fd) {
|
|||||||
RFIFOSKIP(fd,RFIFOW(fd,2));
|
RFIFOSKIP(fd,RFIFOW(fd,2));
|
||||||
break;
|
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:
|
default:
|
||||||
printf("parse_tologin: unknown packet %x! \n", RFIFOW(fd,0));
|
printf("parse_tologin: unknown packet %x! \n", RFIFOW(fd,0));
|
||||||
session[fd]->eof = 1;
|
session[fd]->eof = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user