Streams work on all of the servers now

This commit is contained in:
KimLS
2016-09-29 22:21:39 -07:00
parent a76149c8e3
commit 7a3147a3b3
25 changed files with 128 additions and 181 deletions
+3 -4
View File
@@ -18,7 +18,7 @@
#include "../common/global_define.h"
#include "../common/types.h"
#include "../common/opcodemgr.h"
#include "../common/eq_stream_factory.h"
#include "../common/event/event_loop.h"
#include "../common/timer.h"
#include "../common/platform.h"
#include "../common/crash.h"
@@ -29,7 +29,6 @@
#include <string>
#include <sstream>
TimeoutManager timeout_manager;
LoginServer server;
EQEmuLogSys Log;
bool run_server = true;
@@ -199,8 +198,8 @@ int main()
Timer::SetCurrentTime();
server.client_manager->Process();
server.server_manager->Process();
timeout_manager.CheckTimeouts();
Sleep(100);
EQ::EventLoop::Get().Process();
Sleep(1);
}
Log.Out(Logs::General, Logs::Login_Server, "Server Shutdown.");