From 7516288634b33b4880e1c1c16b8bc854ca3a7bee Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 16 Dec 2019 16:12:04 +0000 Subject: missing files --- .../Region/ClientStack/Linden/UDP/LLClientView.cs | 24 +++++++++++++++------- .../Region/ClientStack/Linden/UDP/LLUDPServer.cs | 2 +- 2 files changed, 18 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index c395890..645d00b 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -3037,9 +3037,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void SendAlertMessage(string message) { AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); - alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; - alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); - alertPack.AgentInfo[0].AgentID = AgentId; + //alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; + //alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); + //alertPack.AgentInfo[0].AgentID = AgentId; alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); alertPack.AlertData.Message = Util.StringToBytes256(message); alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0]; @@ -3049,9 +3049,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void SendAlertMessage(string message, string info) { AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); - alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; - alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); - alertPack.AgentInfo[0].AgentID = AgentId; + //alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; + //alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); + //alertPack.AgentInfo[0].AgentID = AgentId; alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); alertPack.AlertData.Message = Util.StringToBytes256(message); alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[1]; @@ -6591,6 +6591,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP LLSDxmlEncode.AddEndMapAndArray(sb); + LLSDxmlEncode.AddArrayAndMap("ParcelEnvironmentBlock", sb); + LLSDxmlEncode.AddElem("ParcelEnvironmentVersion", -1, sb); + LLSDxmlEncode.AddElem("RegionAllowEnvironmentOverride", false, sb); + LLSDxmlEncode.AddEndMapAndArray(sb); + + bool accessovr = Scene.RegionInfo.EstateSettings.TaxFree; + LLSDxmlEncode.AddArrayAndMap("RegionAllowAccessBlock", sb); + LLSDxmlEncode.AddElem("RegionAllowAccessOverride", accessovr, sb); + LLSDxmlEncode.AddEndMapAndArray(sb); OSDllsdxml ev = new OSDllsdxml(eq.EndEvent(sb)); eq.Enqueue(ev, AgentId); @@ -15437,7 +15446,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP } } } - return ret; // ??? + + return ret; } } } diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index e313934..2863b8d 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -1172,7 +1172,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP int dataLength = buffer.DataLength; // only append acks on plain reliable messages - if (flags == Helpers.MSG_RELIABLE && outgoingPacket.UnackedMethod == null) + if (flags == Helpers.MSG_RELIABLE) { // Keep appending ACKs until there is no room left in the buffer or there are // no more ACKs to append -- cgit v1.1