From b4b4c4d6025027a6a3351de0a6160ed57b963498 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Wed, 11 Jan 2017 11:10:15 -0600 Subject: [PATCH] log the ones we let through to see what is going on --- engine/server/library/serverGame/src/shared/core/Client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/server/library/serverGame/src/shared/core/Client.cpp b/engine/server/library/serverGame/src/shared/core/Client.cpp index e7e0b3e9..51ff8010 100755 --- a/engine/server/library/serverGame/src/shared/core/Client.cpp +++ b/engine/server/library/serverGame/src/shared/core/Client.cpp @@ -920,6 +920,8 @@ void Client::receiveClientMessage(const GameNetworkMessage &message) { #else if (allowFromClient) { #endif + LOG("AllowedObjControllerMsgs", ("Allowing player %s at %s controller message %d for object %s", PlayerObject::getAccountDescription(getCharacterObjectId()).c_str(), getIpAddress().c_str(), o.getMessage(), o.getNetworkId().getValueString().c_str())); + ServerObject *target = findControlledObject(o.getNetworkId()); if (target != 0) { // apply the controller message