From 752737c49428dcf0d8aec0145a840d809d5532ad Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 1 Jan 2017 01:53:55 -0600 Subject: [PATCH] more debgu --- .../ConnectionServer/src/shared/ClientConnection.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/server/application/ConnectionServer/src/shared/ClientConnection.cpp b/engine/server/application/ConnectionServer/src/shared/ClientConnection.cpp index 5dd3e235..d934629f 100755 --- a/engine/server/application/ConnectionServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/ConnectionServer/src/shared/ClientConnection.cpp @@ -250,6 +250,10 @@ void ClientConnection::sendPlayTimeInfoToGameServer() const { // ---------------------------------------------------------------------- void ClientConnection::handleSelectCharacterMessage(const SelectCharacter &msg) { + if (!m_sessionValidated) { + + } + //Only accept this message from clients who have been validated and //haven't already selected. if (m_hasSelectedCharacter || m_validatingCharacter || !m_hasBeenValidated || !m_sessionValidated) { @@ -371,6 +375,8 @@ void ClientConnection::handleClientIdMessage(const ClientIdMsg &msg) { static const std::string loginTrace("TRACE_LOGIN"); LOG(loginTrace, ("ClientConnection SUID = %d", m_suid)); + } else { + printf("\ttoken is 0\n"); } if (result) { //check for duplicate login