aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rwxr-xr-xOpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs19
1 files changed, 12 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index f8a5636..07d96f0 100755
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -989,11 +989,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
989 //RegionInfo4 block 989 //RegionInfo4 block
990 990
991 //RegionFlagsExtended 991 //RegionFlagsExtended
992 zc.AddZeros(1); // we dont have this 992 //zc.AddZeros(1); // if we dont have this else
993 //zc.AddByte(1); 993 zc.AddByte(1);
994 //zc.AddUInt64(regionFlags); // we have nothing other base flags 994 zc.AddUInt64(regionFlags); // we have nothing other base flags
995 //RegionProtocols 995 //RegionProtocols
996 //zc.AddUInt64(0); // bit 0 signals server side texture baking" 996 // bit 0 signals server side texture baking
997 // bit 63 signals more than 6 baked textures support"
998 zc.AddUInt64(1UL << 63);
997 999
998 buf.DataLength = zc.Finish(); 1000 buf.DataLength = zc.Finish();
999 m_udpServer.SendUDPPacket(m_udpClient, buf, ThrottleOutPacketType.Unknown); 1001 m_udpServer.SendUDPPacket(m_udpClient, buf, ThrottleOutPacketType.Unknown);
@@ -4434,7 +4436,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4434 //0xff, 0xff, 0, 1, 158 // ID 158 (low frequency bigendian) zeroencoded 4436 //0xff, 0xff, 0, 1, 158 // ID 158 (low frequency bigendian) zeroencoded
4435 }; 4437 };
4436 4438
4437 public void SendAppearance(UUID targetID, byte[] visualParams, byte[] textureEntry) 4439 public void SendAppearance(UUID targetID, byte[] visualParams, byte[] textureEntry, float hover)
4438 { 4440 {
4439 // doing post zero encode, because odds of beeing bad are not that low 4441 // doing post zero encode, because odds of beeing bad are not that low
4440 UDPPacketBuffer buf = m_udpServer.GetNewUDPBuffer(m_udpClient.RemoteEndPoint); 4442 UDPPacketBuffer buf = m_udpServer.GetNewUDPBuffer(m_udpClient.RemoteEndPoint);
@@ -4469,7 +4471,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4469 // no AppearanceData 4471 // no AppearanceData
4470 data[pos++] = 0; 4472 data[pos++] = 0;
4471 // no AppearanceHover 4473 // no AppearanceHover
4472 data[pos++] = 0; 4474 data[pos++] = 1;
4475 Utils.FloatToBytesSafepos(0, data, pos); pos += 4;
4476 Utils.FloatToBytesSafepos(0, data, pos); pos += 4;
4477 Utils.FloatToBytesSafepos(hover, data, pos); pos += 4;
4473 4478
4474 buf.DataLength = pos; 4479 buf.DataLength = pos;
4475 m_udpServer.SendUDPPacket(m_udpClient, buf, ThrottleOutPacketType.Task | ThrottleOutPacketType.HighPriority, null, false, true); 4480 m_udpServer.SendUDPPacket(m_udpClient, buf, ThrottleOutPacketType.Task | ThrottleOutPacketType.HighPriority, null, false, true);