Make World Server reconnect to LS despite FatalError
never disable retry attempts to connect to LS from world
This commit is contained in:
parent
93f8bb1b7b
commit
30761b52eb
1 changed files with 6 additions and 2 deletions
|
@ -184,8 +184,8 @@ bool LoginServer::Process() {
|
|||
{
|
||||
LogWrite(OPCODE__DEBUG, 1, "Opcode", "Opcode 0x%X (%i): ServerOP_LSFatalError", pack->opcode, pack->opcode);
|
||||
|
||||
LogWrite(WORLD__ERROR, 0, "World", "Login Server returned a fatal error: %s\nDisabling reconnect.", pack->pBuffer);
|
||||
pTryReconnect = false;
|
||||
LogWrite(WORLD__ERROR, 0, "World", "Login Server returned a fatal error: %s\n", pack->pBuffer);
|
||||
tcpc->Disconnect();
|
||||
ret = false;
|
||||
break;
|
||||
}
|
||||
|
@ -448,6 +448,10 @@ bool LoginServer::Process() {
|
|||
}
|
||||
}
|
||||
safe_delete(pack);
|
||||
|
||||
// break out if ret is now false
|
||||
if (!ret)
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue