[General] Print action used for ID_CONTAINER when receiving one

pull/158/head
David Cernat 8 years ago
parent 24251cafd0
commit ed91f20cd3

@ -189,6 +189,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
});
myPacket->Send(player, true); //send to other clients
Script::Call<Script::CallbackIdentity("OnPlayerCellChange")>(player->getId());
}
else
@ -599,6 +600,8 @@ void Networking::processWorldPacket(RakNet::Packet *packet)
myPacket->Read(baseEvent);
LOG_APPEND(Log::LOG_WARN, "- action: %i", baseEvent->action);
// Until we have a timestamp-based system, send packets pertaining to more
// than one container (i.e. replies to server requests for container contents)
// only to players who have the container's cell loaded

@ -747,6 +747,7 @@ void Networking::processWorldPacket(RakNet::Packet *packet)
if (!ptrCellStore) return;
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Received ID_CONTAINER");
LOG_APPEND(Log::LOG_WARN, "- action: %i", event->action);
// If we've received a request for information, comply with it
if (event->action == mwmp::BaseEvent::REQUEST)

Loading…
Cancel
Save