log the ones we let through to see what is going on

This commit is contained in:
DarthArgus
2017-01-11 11:10:15 -06:00
parent 2265a5c00e
commit b4b4c4d602

View File

@@ -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