mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
Added 'server ready' broadcast to UCS server so clients will reconnect after crash
This commit is contained in:
+4
-2
@@ -140,10 +140,12 @@ int main() {
|
||||
|
||||
worldserver = new WorldServer;
|
||||
|
||||
// now that we can send packets to world, see if there's a
|
||||
// broadcast opcode that tells the client to relog into ucs
|
||||
worldserver->ActivateBroadcastServerReadyTimer();
|
||||
|
||||
while(RunLoops) {
|
||||
// this triggers clients to 'reconnect' to ucs after server crash
|
||||
if (worldserver->HasBroadcastServerReadyTimer())
|
||||
worldserver->ProcessBroadcastServerReady();
|
||||
|
||||
Timer::SetCurrentTime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user