aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs17
1 files changed, 13 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 8b41c49..f9a6643 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -441,6 +441,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
441 public LLClientView(EndPoint remoteEP, Scene scene, LLUDPServer udpServer, LLUDPClient udpClient, AuthenticateResponse sessionInfo, 441 public LLClientView(EndPoint remoteEP, Scene scene, LLUDPServer udpServer, LLUDPClient udpClient, AuthenticateResponse sessionInfo,
442 UUID agentId, UUID sessionId, uint circuitCode) 442 UUID agentId, UUID sessionId, uint circuitCode)
443 { 443 {
444// DebugPacketLevel = 1;
445
444 RegisterInterface<IClientIM>(this); 446 RegisterInterface<IClientIM>(this);
445 RegisterInterface<IClientChat>(this); 447 RegisterInterface<IClientChat>(this);
446 RegisterInterface<IClientIPEndpoint>(this); 448 RegisterInterface<IClientIPEndpoint>(this);
@@ -6001,7 +6003,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6001 // for the client session anyway, in order to protect ourselves against bad code in plugins 6003 // for the client session anyway, in order to protect ourselves against bad code in plugins
6002 try 6004 try
6003 { 6005 {
6004
6005 byte[] visualparams = new byte[appear.VisualParam.Length]; 6006 byte[] visualparams = new byte[appear.VisualParam.Length];
6006 for (int i = 0; i < appear.VisualParam.Length; i++) 6007 for (int i = 0; i < appear.VisualParam.Length; i++)
6007 visualparams[i] = appear.VisualParam[i].ParamValue; 6008 visualparams[i] = appear.VisualParam[i].ParamValue;
@@ -11219,9 +11220,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11219 /// <summary> 11220 /// <summary>
11220 /// Send a response back to a client when it asks the asset server (via the region server) if it has 11221 /// Send a response back to a client when it asks the asset server (via the region server) if it has
11221 /// its appearance texture cached. 11222 /// its appearance texture cached.
11222 ///
11223 /// At the moment, we always reply that there is no cached texture.
11224 /// </summary> 11223 /// </summary>
11224 /// <remarks>
11225 /// At the moment, we always reply that there is no cached texture.
11226 /// </remarks>
11225 /// <param name="simclient"></param> 11227 /// <param name="simclient"></param>
11226 /// <param name="packet"></param> 11228 /// <param name="packet"></param>
11227 /// <returns></returns> 11229 /// <returns></returns>
@@ -11231,7 +11233,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11231 AgentCachedTexturePacket cachedtex = (AgentCachedTexturePacket)packet; 11233 AgentCachedTexturePacket cachedtex = (AgentCachedTexturePacket)packet;
11232 AgentCachedTextureResponsePacket cachedresp = (AgentCachedTextureResponsePacket)PacketPool.Instance.GetPacket(PacketType.AgentCachedTextureResponse); 11234 AgentCachedTextureResponsePacket cachedresp = (AgentCachedTextureResponsePacket)PacketPool.Instance.GetPacket(PacketType.AgentCachedTextureResponse);
11233 11235
11234 if (cachedtex.AgentData.SessionID != SessionId) return false; 11236 if (cachedtex.AgentData.SessionID != SessionId)
11237 return false;
11235 11238
11236 // TODO: don't create new blocks if recycling an old packet 11239 // TODO: don't create new blocks if recycling an old packet
11237 cachedresp.AgentData.AgentID = AgentId; 11240 cachedresp.AgentData.AgentID = AgentId;
@@ -11629,6 +11632,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11629 if (DebugPacketLevel <= 50 && packet.Type == PacketType.ImprovedTerseObjectUpdate) 11632 if (DebugPacketLevel <= 50 && packet.Type == PacketType.ImprovedTerseObjectUpdate)
11630 logPacket = false; 11633 logPacket = false;
11631 11634
11635 if (DebugPacketLevel <= 25 && packet.Type == PacketType.ObjectPropertiesFamily)
11636 logPacket = false;
11637
11632 if (logPacket) 11638 if (logPacket)
11633 m_log.DebugFormat( 11639 m_log.DebugFormat(
11634 "[CLIENT]: PACKET OUT to {0} ({1}) in {2} - {3}", 11640 "[CLIENT]: PACKET OUT to {0} ({1}) in {2} - {3}",
@@ -11686,6 +11692,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11686 if (DebugPacketLevel <= 100 && (packet.Type == PacketType.ViewerEffect || packet.Type == PacketType.AgentAnimation)) 11692 if (DebugPacketLevel <= 100 && (packet.Type == PacketType.ViewerEffect || packet.Type == PacketType.AgentAnimation))
11687 logPacket = false; 11693 logPacket = false;
11688 11694
11695 if (DebugPacketLevel <= 25 && packet.Type == PacketType.RequestObjectPropertiesFamily)
11696 logPacket = false;
11697
11689 if (logPacket) 11698 if (logPacket)
11690 m_log.DebugFormat( 11699 m_log.DebugFormat(
11691 "[CLIENT]: PACKET IN from {0} ({1}) in {2} - {3}", 11700 "[CLIENT]: PACKET IN from {0} ({1}) in {2} - {3}",