From a46ba0efb55be86450e4e02efc4e8c6ecec193c9 Mon Sep 17 00:00:00 2001 From: Pontus Fransson Date: Fri, 21 Feb 2014 11:12:24 +0100 Subject: [PATCH] Added print out for disconnect --- Code/Game/GameServer/Implementation/GameSession_Gameplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Game/GameServer/Implementation/GameSession_Gameplay.cpp b/Code/Game/GameServer/Implementation/GameSession_Gameplay.cpp index 737ef1c9..c919c159 100644 --- a/Code/Game/GameServer/Implementation/GameSession_Gameplay.cpp +++ b/Code/Game/GameServer/Implementation/GameSession_Gameplay.cpp @@ -78,6 +78,7 @@ using namespace DanBias; { if(this->gClients[temp]->IncrementFailedProtocol() >= 5/*client->threshold*/) { + printf("\t(%i : %s) - EventType_Disconnect\n", cl->GetClient()->GetID(), e.sender->GetIpAddress().c_str()); Protocol_ObjectDisconnectPlayer prot(this->gClients[temp]->GetPlayer()->GetID()); for (unsigned int i = 0; i < this->gClients.Size(); i++) {