From d550b485f1409030149447c71b3de881232d4897 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 24 Oct 2016 10:23:31 +0100 Subject: viewer crash bug fix: fis the udp packets split of SendEstateList() large lists; Enforce size limits on the estate lists since currently required for viewers compatibily; improve handling of changes with large selected items. This is still bad, users may need to close and reopen the region/estate information to get correct Allowed and Banned lists after a change. This happens because of viewer resent/outOfOrder packets that completly break this lists updates protocol --- OpenSim/Framework/Constants.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Constants.cs') diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 3ba264c..209c991 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs @@ -46,12 +46,20 @@ namespace OpenSim.Framework public enum EstateAccessCodex : uint { - AccessOptions = 1, + AllowedAccess = 1, AllowedGroups = 2, EstateBans = 4, EstateManagers = 8 } + public enum EstateAccessLimits : int + { + AllowedAccess = 500, + AllowedGroups = 63, + EstateBans = 500, + EstateManagers = 10 + } + [Flags]public enum TeleportFlags : uint { /// No flags set, or teleport failed -- cgit v1.1