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