mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 21:45:32 +00:00
[General] Print action used for ID_CONTAINER when receiving one
This commit is contained in:
parent
24251cafd0
commit
ed91f20cd3
2 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue