diff --git a/.gitignore b/.gitignore index eeae5104..13f3c78a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.kdev4 latex html build*/ diff --git a/engine/server/application/ChatServer/src/shared/ConnectionServerConnection.cpp b/engine/server/application/ChatServer/src/shared/ConnectionServerConnection.cpp index ffe2ee1d..f6215393 100755 --- a/engine/server/application/ChatServer/src/shared/ConnectionServerConnection.cpp +++ b/engine/server/application/ChatServer/src/shared/ConnectionServerConnection.cpp @@ -91,13 +91,13 @@ void ConnectionServerConnection::onReceive(const Archive::ByteStream & message) { Archive::ReadIterator ri = message.begin(); GameNetworkMessage m(ri); - /* + static int count = 0; if ((count % 10) == 0) { ChatServer::getChatInterface()->Process(); } - ++count;*/ + ++count; ri = message.begin(); @@ -105,7 +105,7 @@ void ConnectionServerConnection::onReceive(const Archive::ByteStream & message) if(m.isType("ChatConnectAvatar")) { -//printf("ConnectionServerConnection -- ChatConnectAvatar\n"); + //printf("ConnectionServerConnection -- ChatConnectAvatar\n"); PROFILER_AUTO_BLOCK_DEFINE("ConnectionServer - ChatConnectAvatar"); ChatConnectAvatar c(ri); // break surname from last name @@ -118,7 +118,7 @@ void ConnectionServerConnection::onReceive(const Archive::ByteStream & message) else if(m.isType("ChatDisconnectAvatar")) { PROFILER_AUTO_BLOCK_DEFINE("ConnectionServer - ChatDisconnectAvatar"); -//printf("ConnectionServerConnection -- ChatDisconnectAvatar\n"); + //printf("ConnectionServerConnection -- ChatDisconnectAvatar\n"); static MessageDispatch::Transceiver disconn; ChatDisconnectAvatar d(ri); disconn.emitMessage(d);