From 78c0028179923710949fea349baad2e6bebc49bd Mon Sep 17 00:00:00 2001 From: Talun Date: Mon, 9 Apr 2012 19:58:07 +0100 Subject: Mantis5502 implementation of some of the new constants Signed-off-by: Melanie --- .../Shared/Api/Implementation/LSL_Api.cs | 42 ++++++++++++---------- 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 291f52e..c38a52e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10358,19 +10358,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api break; // For the following 8 see the Object version below case ScriptBaseClass.OBJECT_RUNNING_SCRIPT_COUNT: - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(av.RunningScriptCount())); break; case ScriptBaseClass.OBJECT_TOTAL_SCRIPT_COUNT: - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(av.ScriptCount())); break; case ScriptBaseClass.OBJECT_SCRIPT_MEMORY: - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(av.RunningScriptCount() * 16384)); break; case ScriptBaseClass.OBJECT_SCRIPT_TIME: ret.Add(new LSL_Float(0)); break; case ScriptBaseClass.OBJECT_PRIM_EQUIVALENCE: - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(1)); break; case ScriptBaseClass.OBJECT_SERVER_COST: ret.Add(new LSL_Float(0)); @@ -10422,24 +10422,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api case ScriptBaseClass.OBJECT_CREATOR: ret.Add(new LSL_String(obj.CreatorID.ToString())); break; - // The following 8 I have intentionaly coded to return zero. They are part of - // "Land Impact" calculations. These calculations are probably not applicable - // to OpenSim, required figures (cpu/memory usage) are not currently tracked - // I have intentionally left these all at zero rather than return possibly - // missleading numbers case ScriptBaseClass.OBJECT_RUNNING_SCRIPT_COUNT: - // in SL this currently includes crashed scripts - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(obj.ParentGroup.RunningScriptCount())); break; case ScriptBaseClass.OBJECT_TOTAL_SCRIPT_COUNT: - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(obj.ParentGroup.ScriptCount())); break; case ScriptBaseClass.OBJECT_SCRIPT_MEMORY: // The value returned in SL for mono scripts is 65536 * number of active scripts - ret.Add(new LSL_Integer(0)); + // and 16384 * number of active scripts for LSO. since llGetFreememory + // is coded to give the LSO value use it here + ret.Add(new LSL_Integer(obj.ParentGroup.RunningScriptCount() * 16384)); break; case ScriptBaseClass.OBJECT_SCRIPT_TIME: - // Average cpu time per simulator frame expended on all scripts in the objetc + // Average cpu time per simulator frame expended on all scripts in the object + // Not currently available at Object level ret.Add(new LSL_Float(0)); break; case ScriptBaseClass.OBJECT_PRIM_EQUIVALENCE: @@ -10447,18 +10444,27 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // equivalent of the number of prims in a linkset if it does not // contain a mesh anywhere in the link set or is not a normal prim // The value returned in SL for normal prims is prim count - ret.Add(new LSL_Integer(0)); + ret.Add(new LSL_Integer(obj.ParentGroup.PrimCount)); break; + // The following 3 costs I have intentionaly coded to return zero. They are part of + // "Land Impact" calculations. These calculations are probably not applicable + // to OpenSim and are not yet complete in SL case ScriptBaseClass.OBJECT_SERVER_COST: - // The value returned in SL for normal prims is prim count + // The linden calculation is here + // http://wiki.secondlife.com/wiki/Mesh/Mesh_Server_Weight + // The value returned in SL for normal prims looks like the prim count ret.Add(new LSL_Float(0)); break; case ScriptBaseClass.OBJECT_STREAMING_COST: - // The value returned in SL for normal prims is prim count * 0.06 + // The linden calculation is here + // http://wiki.secondlife.com/wiki/Mesh/Mesh_Streaming_Cost + // The value returned in SL for normal prims looks like the prim count * 0.06 ret.Add(new LSL_Float(0)); break; case ScriptBaseClass.OBJECT_PHYSICS_COST: - // The value returned in SL for normal prims is prim count + // The linden calculation is here + // http://wiki.secondlife.com/wiki/Mesh/Mesh_physics + // The value returned in SL for normal prims looks like the prim count ret.Add(new LSL_Float(0)); break; default: -- cgit v1.1 From 78fd487a705c91720991a7572b860567f36366c4 Mon Sep 17 00:00:00 2001 From: Snoopy Pfeffer Date: Tue, 10 Apr 2012 21:49:43 +0200 Subject: New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244). --- .../Shared/Api/Implementation/OSSL_Api.cs | 55 ++++++++++++++++++++++ .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 3 ++ .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 ++++ 3 files changed, 68 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index a5dcba4..339166b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -3049,5 +3049,60 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return ScriptBaseClass.TRUE; } + + /// + /// Sets terrain estate texture + /// + /// + /// + /// + public void osSetTerrainTexture(int level, LSL_Key texture) + { + CheckThreatLevel(ThreatLevel.High, "osSetTerrainTexture"); + + m_host.AddScriptLPS(1); + //Check to make sure that the script's owner is the estate manager/master + //World.Permissions.GenericEstatePermission( + if (World.Permissions.IsGod(m_host.OwnerID)) + { + if (level < 0 || level > 3) + return; + + UUID textureID = new UUID(); + if (!UUID.TryParse(texture, out textureID)) + return; + + // estate module is required + IEstateModule estate = World.RequestModuleInterface(); + if (estate != null) + estate.setEstateTerrainBaseTexture(level, textureID); + } + } + + /// + /// Sets terrain heights of estate + /// + /// + /// + /// + /// + public void osSetTerrainTextureHeight(int corner, double low, double high) + { + CheckThreatLevel(ThreatLevel.High, "osSetTerrainTextureHeight"); + + m_host.AddScriptLPS(1); + //Check to make sure that the script's owner is the estate manager/master + //World.Permissions.GenericEstatePermission( + if (World.Permissions.IsGod(m_host.OwnerID)) + { + if (corner < 0 || corner > 3) + return; + + // estate module is required + IEstateModule estate = World.RequestModuleInterface(); + if (estate != null) + estate.setEstateTerrainTextureHeights(corner, (float)low, (float)high); + } + } } } \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 30bd3ef..545bbee 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -234,5 +234,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer osInviteToGroup(LSL_Key agentId); LSL_Integer osEjectFromGroup(LSL_Key agentId); + + void osSetTerrainTexture(int level, LSL_Key texture); + void osSetTerrainTextureHeight(int corner, double low, double high); } } diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 680cefb4..b94b9bf 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -878,5 +878,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase { return m_OSSL_Functions.osEjectFromGroup(agentId); } + + public void osSetTerrainTexture(int level, LSL_Key texture) + { + m_OSSL_Functions.osSetTerrainTexture(level, texture); + } + + public void osSetTerrainTextureHeight(int corner, double low, double high) + { + m_OSSL_Functions.osSetTerrainTextureHeight(corner, low, high); + } } } -- cgit v1.1 From 08e509978d81cb3451c205ed59648e3f5da91344 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 10 Apr 2012 21:25:05 +0100 Subject: Mantis 55025 Implement script time. Signed-off-by: nebadon --- .../Shared/Api/Implementation/LSL_Api.cs | 7 +- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 82 +++++++++++++--------- 2 files changed, 51 insertions(+), 38 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c38a52e..078a22a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10367,7 +10367,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ret.Add(new LSL_Integer(av.RunningScriptCount() * 16384)); break; case ScriptBaseClass.OBJECT_SCRIPT_TIME: - ret.Add(new LSL_Float(0)); + ret.Add(new LSL_Float(av.ScriptExecutionTime() / 1000.0f)); break; case ScriptBaseClass.OBJECT_PRIM_EQUIVALENCE: ret.Add(new LSL_Integer(1)); @@ -10435,9 +10435,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ret.Add(new LSL_Integer(obj.ParentGroup.RunningScriptCount() * 16384)); break; case ScriptBaseClass.OBJECT_SCRIPT_TIME: - // Average cpu time per simulator frame expended on all scripts in the object - // Not currently available at Object level - ret.Add(new LSL_Float(0)); + // Average cpu time in seconds per simulator frame expended on all scripts in the object + ret.Add(new LSL_Float(obj.ParentGroup.ScriptExecutionTime() / 1000.0f)); break; case ScriptBaseClass.OBJECT_PRIM_EQUIVALENCE: // according to the SL wiki A prim or linkset will have prim diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 7712076..b7903d5 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1907,45 +1907,59 @@ namespace OpenSim.Region.ScriptEngine.XEngine if (!topScripts.ContainsKey(si.LocalID)) topScripts[si.RootLocalID] = 0; -// long ticksElapsed = tickNow - si.MeasurementPeriodTickStart; -// float framesElapsed = ticksElapsed / (18.1818 * TimeSpan.TicksPerMillisecond); - - // Execution time of the script adjusted by it's measurement period to make scripts started at - // different times comparable. -// float adjustedExecutionTime -// = (float)si.MeasurementPeriodExecutionTime -// / ((float)(tickNow - si.MeasurementPeriodTickStart) / ScriptInstance.MaxMeasurementPeriod) -// / TimeSpan.TicksPerMillisecond; - - long ticksElapsed = tickNow - si.MeasurementPeriodTickStart; - - // Avoid divide by zerp - if (ticksElapsed == 0) - ticksElapsed = 1; + topScripts[si.RootLocalID] += CalculateAdjustedExectionTime(si, tickNow); + } + } - // Scale execution time to the ideal 55 fps frame time for these reasons. - // - // 1) XEngine does not execute scripts per frame, unlike other script engines. Hence, there is no - // 'script execution time per frame', which is the original purpose of this value. - // - // 2) Giving the raw execution times is misleading since scripts start at different times, making - // it impossible to compare scripts. - // - // 3) Scaling the raw execution time to the time that the script has been running is better but - // is still misleading since a script that has just been rezzed may appear to have been running - // for much longer. - // - // 4) Hence, we scale execution time to an idealised frame time (55 fps). This is also not perfect - // since the figure does not represent actual execution time and very hard running scripts will - // never exceed 18ms (though this is a very high number for script execution so is a warning sign). - float adjustedExecutionTime - = ((float)si.MeasurementPeriodExecutionTime / ticksElapsed) * 18.1818f; + return topScripts; + } - topScripts[si.RootLocalID] += adjustedExecutionTime; + public float GetScriptExecutionTime(List itemIDs) + { + if (itemIDs == null|| itemIDs.Count == 0) + { + return 0.0f; + } + float time = 0.0f; + long tickNow = Util.EnvironmentTickCount(); + IScriptInstance si; + // Calculate the time for all scripts that this engine is executing + // Ignore any others + foreach (UUID id in itemIDs) + { + si = GetInstance(id); + if (si != null && si.Running) + { + time += CalculateAdjustedExectionTime(si, tickNow); } } + return time; + } - return topScripts; + private float CalculateAdjustedExectionTime(IScriptInstance si, long tickNow) + { + long ticksElapsed = tickNow - si.MeasurementPeriodTickStart; + + // Avoid divide by zero + if (ticksElapsed == 0) + ticksElapsed = 1; + + // Scale execution time to the ideal 55 fps frame time for these reasons. + // + // 1) XEngine does not execute scripts per frame, unlike other script engines. Hence, there is no + // 'script execution time per frame', which is the original purpose of this value. + // + // 2) Giving the raw execution times is misleading since scripts start at different times, making + // it impossible to compare scripts. + // + // 3) Scaling the raw execution time to the time that the script has been running is better but + // is still misleading since a script that has just been rezzed may appear to have been running + // for much longer. + // + // 4) Hence, we scale execution time to an idealised frame time (55 fps). This is also not perfect + // since the figure does not represent actual execution time and very hard running scripts will + // never exceed 18ms (though this is a very high number for script execution so is a warning sign). + return ((float)si.MeasurementPeriodExecutionTime / ticksElapsed) * 18.1818f; } public void SuspendScript(UUID itemID) -- cgit v1.1 From ab7c0e75472b354e34325fdf6280b77edb0567fe Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 13 Apr 2012 22:32:33 +0100 Subject: Remove hardcoded god requirement from osSetRegionWaterHeight, osSetRegionSunSettings and, osSetEstateSunSettings no matter the threat level. Change threat level on osSetRegionSunSettings and osSetEstateSunSettings from nuisance to high to match similar functions. If you had enabled these functions but had relied on the hardcoded god check in the code, then please adjust your OSSL permissions config. Thanks to Oren Hurvitz for pointing this out. --- .../Shared/Api/Implementation/OSSL_Api.cs | 61 +++++++++------------- 1 file changed, 25 insertions(+), 36 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index a5dcba4..2c0de93 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1179,12 +1179,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api CheckThreatLevel(ThreatLevel.High, "osSetRegionWaterHeight"); m_host.AddScriptLPS(1); - //Check to make sure that the script's owner is the estate manager/master - //World.Permissions.GenericEstatePermission( - if (World.Permissions.IsGod(m_host.OwnerID)) - { - World.EventManager.TriggerRequestChangeWaterHeight((float)height); - } + + World.EventManager.TriggerRequestChangeWaterHeight((float)height); } /// @@ -1195,27 +1191,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api /// The "Sun Hour" that is desired, 0...24, with 0 just after SunRise public void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour) { - CheckThreatLevel(ThreatLevel.Nuisance, "osSetRegionSunSettings"); + CheckThreatLevel(ThreatLevel.High, "osSetRegionSunSettings"); m_host.AddScriptLPS(1); - //Check to make sure that the script's owner is the estate manager/master - //World.Permissions.GenericEstatePermission( - if (World.Permissions.IsGod(m_host.OwnerID)) - { - while (sunHour > 24.0) - sunHour -= 24.0; - while (sunHour < 0) - sunHour += 24.0; + while (sunHour > 24.0) + sunHour -= 24.0; + while (sunHour < 0) + sunHour += 24.0; - World.RegionInfo.RegionSettings.UseEstateSun = useEstateSun; - World.RegionInfo.RegionSettings.SunPosition = sunHour + 6; // LL Region Sun Hour is 6 to 30 - World.RegionInfo.RegionSettings.FixedSun = sunFixed; - World.RegionInfo.RegionSettings.Save(); + World.RegionInfo.RegionSettings.UseEstateSun = useEstateSun; + World.RegionInfo.RegionSettings.SunPosition = sunHour + 6; // LL Region Sun Hour is 6 to 30 + World.RegionInfo.RegionSettings.FixedSun = sunFixed; + World.RegionInfo.RegionSettings.Save(); - World.EventManager.TriggerEstateToolsSunUpdate(World.RegionInfo.RegionHandle, sunFixed, useEstateSun, (float)sunHour); - } + World.EventManager.TriggerEstateToolsSunUpdate( + World.RegionInfo.RegionHandle, sunFixed, useEstateSun, (float)sunHour); } /// @@ -1225,26 +1217,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api /// The "Sun Hour" that is desired, 0...24, with 0 just after SunRise public void osSetEstateSunSettings(bool sunFixed, double sunHour) { - CheckThreatLevel(ThreatLevel.Nuisance, "osSetEstateSunSettings"); + CheckThreatLevel(ThreatLevel.High, "osSetEstateSunSettings"); m_host.AddScriptLPS(1); - //Check to make sure that the script's owner is the estate manager/master - //World.Permissions.GenericEstatePermission( - if (World.Permissions.IsGod(m_host.OwnerID)) - { - while (sunHour > 24.0) - sunHour -= 24.0; - while (sunHour < 0) - sunHour += 24.0; + while (sunHour > 24.0) + sunHour -= 24.0; - World.RegionInfo.EstateSettings.UseGlobalTime = !sunFixed; - World.RegionInfo.EstateSettings.SunPosition = sunHour; - World.RegionInfo.EstateSettings.FixedSun = sunFixed; - World.RegionInfo.EstateSettings.Save(); + while (sunHour < 0) + sunHour += 24.0; - World.EventManager.TriggerEstateToolsSunUpdate(World.RegionInfo.RegionHandle, sunFixed, World.RegionInfo.RegionSettings.UseEstateSun, (float)sunHour); - } + World.RegionInfo.EstateSettings.UseGlobalTime = !sunFixed; + World.RegionInfo.EstateSettings.SunPosition = sunHour; + World.RegionInfo.EstateSettings.FixedSun = sunFixed; + World.RegionInfo.EstateSettings.Save(); + + World.EventManager.TriggerEstateToolsSunUpdate( + World.RegionInfo.RegionHandle, sunFixed, World.RegionInfo.RegionSettings.UseEstateSun, (float)sunHour); } /// -- cgit v1.1 From eced0916894709e20c16ffc260599772913d7ff3 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 13 Apr 2012 22:52:24 +0100 Subject: Change threat level of osNpcStopMoveToTarget from Low to High to match other NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo Thanks to Oren Hurvitz for pointing out these mistakes. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 72c1bf6..2680ad0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2514,7 +2514,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void osNpcStopMoveToTarget(LSL_Key npc) { - CheckThreatLevel(ThreatLevel.VeryLow, "osNpcStopMoveTo"); + CheckThreatLevel(ThreatLevel.High, "osNpcStopMoveToTarget"); m_host.AddScriptLPS(1); INPCModule module = World.RequestModuleInterface(); -- cgit v1.1 From 4d652c704186e9e399ffc6fc1bdf1f1dca056370 Mon Sep 17 00:00:00 2001 From: Talun Date: Sat, 14 Apr 2012 00:37:55 +0100 Subject: Missing or unimplemented LSL memory functions. Implemented to behave as if scripts were LSO. Signed-off-by: nebadon --- .../Shared/Api/Implementation/LSL_Api.cs | 40 +++++++++++++++------- .../ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 7 +++- .../Shared/Api/Runtime/LSL_Constants.cs | 3 ++ .../ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 25 ++++++++++++++ 4 files changed, 62 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 078a22a..a19427d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10949,34 +10949,50 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return 1; } - #region Not Implemented - // - // Listing the unimplemented lsl functions here, please move - // them from this region as they are completed - // + public LSL_Integer llGetMemoryLimit() + { + m_host.AddScriptLPS(1); + // The value returned for LSO scripts in SL + return 16384; + } - public void llGetEnv(LSL_String name) + public LSL_Integer llSetMemoryLimit(LSL_Integer limit) { m_host.AddScriptLPS(1); - NotImplemented("llGetEnv"); + // Treat as an LSO script + return ScriptBaseClass.FALSE; } - public void llGetSPMaxMemory() + public LSL_Integer llGetSPMaxMemory() { m_host.AddScriptLPS(1); - NotImplemented("llGetSPMaxMemory"); + // The value returned for LSO scripts in SL + return 16384; } - public void llGetUsedMemory() + public LSL_Integer llGetUsedMemory() { m_host.AddScriptLPS(1); - NotImplemented("llGetUsedMemory"); + // The value returned for LSO scripts in SL + return 16384; } public void llScriptProfiler(LSL_Integer flags) { m_host.AddScriptLPS(1); - NotImplemented("llScriptProfiler"); + // This does nothing for LSO scripts in SL + } + + #region Not Implemented + // + // Listing the unimplemented lsl functions here, please move + // them from this region as they are completed + // + + public void llGetEnv(LSL_String name) + { + m_host.AddScriptLPS(1); + NotImplemented("llGetEnv"); } public void llSetSoundQueueing(int queue) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 0f53bc3..11b21d4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -147,7 +147,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Vector llGetLocalPos(); LSL_Rotation llGetLocalRot(); LSL_Float llGetMass(); - void llGetNextEmail(string address, string subject); + LSL_Integer llGetMemoryLimit(); + void llGetNextEmail(string address, string subject); LSL_String llGetNotecardLine(string name, int line); LSL_Key llGetNumberOfNotecardLines(string name); LSL_Integer llGetNumberOfPrims(); @@ -185,6 +186,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_String llGetScriptName(); LSL_Integer llGetScriptState(string name); LSL_String llGetSimulatorHostname(); + LSL_Integer llGetSPMaxMemory(); LSL_Integer llGetStartParameter(); LSL_Integer llGetStatus(int status); LSL_String llGetSubString(string src, int start, int end); @@ -198,6 +200,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_String llGetTimestamp(); LSL_Vector llGetTorque(); LSL_Integer llGetUnixTime(); + LSL_Integer llGetUsedMemory(); LSL_Vector llGetVel(); LSL_Float llGetWallclock(); void llGiveInventory(string destination, string inventory); @@ -319,6 +322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void llSay(int channelID, string text); void llScaleTexture(double u, double v, int face); LSL_Integer llScriptDanger(LSL_Vector pos); + void llScriptProfiler(LSL_Integer flag); LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata); void llSensor(string name, string id, int type, double range, double arc); void llSensorRemove(); @@ -342,6 +346,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void llSetLinkTexture(int linknumber, string texture, int face); void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate); void llSetLocalRot(LSL_Rotation rot); + LSL_Integer llSetMemoryLimit(LSL_Integer limit); void llSetObjectDesc(string desc); void llSetObjectName(string name); void llSetObjectPermMask(int mask, int value); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index f58f9d6..fd7c41e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -381,6 +381,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public const int PRIM_SCULPT_FLAG_INVERT = 64; public const int PRIM_SCULPT_FLAG_MIRROR = 128; + public const int PROFILE_NONE = 0; + public const int PROFILE_SCRIPT_MEMORY = 1; + public const int MASK_BASE = 0; public const int MASK_OWNER = 1; public const int MASK_GROUP = 2; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index f8e3c36..3c2f7bd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -569,6 +569,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llGetMass(); } + public LSL_Integer llGetMemoryLimit() + { + return m_LSL_Functions.llGetMemoryLimit(); + } + public void llGetNextEmail(string address, string subject) { m_LSL_Functions.llGetNextEmail(address, subject); @@ -759,6 +764,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llGetSimulatorHostname(); } + public LSL_Integer llGetSPMaxMemory() + { + return m_LSL_Functions.llGetSPMaxMemory(); + } + public LSL_Integer llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); @@ -824,6 +834,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llGetUnixTime(); } + public LSL_Integer llGetUsedMemory() + { + return m_LSL_Functions.llGetUsedMemory(); + } + public LSL_Vector llGetVel() { return m_LSL_Functions.llGetVel(); @@ -1423,6 +1438,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llScriptDanger(pos); } + public void llScriptProfiler(LSL_Integer flags) + { + m_LSL_Functions.llScriptProfiler(flags); + } + public LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata) { return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata); @@ -1533,6 +1553,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_LSL_Functions.llSetLocalRot(rot); } + public LSL_Integer llSetMemoryLimit(LSL_Integer limit) + { + return m_LSL_Functions.llSetMemoryLimit(limit); + } + public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); -- cgit v1.1 From 4bdd9d51bc0ccfa5b15a6e77228f69dafada03b7 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sat, 14 Apr 2012 01:04:26 +0100 Subject: Correct whitespace error introduced by previous commit --- OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 11b21d4..69df392 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -148,7 +148,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Rotation llGetLocalRot(); LSL_Float llGetMass(); LSL_Integer llGetMemoryLimit(); - void llGetNextEmail(string address, string subject); + void llGetNextEmail(string address, string subject); LSL_String llGetNotecardLine(string name, int line); LSL_Key llGetNumberOfNotecardLines(string name); LSL_Integer llGetNumberOfPrims(); -- cgit v1.1 From 5655239f440dce36cdf9288db70be567aef2d565 Mon Sep 17 00:00:00 2001 From: Talun Date: Mon, 16 Apr 2012 20:24:56 +0100 Subject: Null reference in llGetObjectMass on a seated avatar. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a19427d..5581727 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -9255,7 +9255,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // child agents have a mass of 1.0 return 1; else - return (double)avatar.PhysicsActor.Mass; + return (double)avatar.GetMass(); } catch (KeyNotFoundException) { -- cgit v1.1 From 24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 17 Apr 2012 01:25:41 +0100 Subject: refactor: Rename EstateSettings.IsEstateManager() to EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | 6 +++--- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5581727..36c9d5e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10887,7 +10887,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api bool isAccount = false; bool isGroup = false; - if (!estate.IsEstateOwner(m_host.OwnerID) || !estate.IsEstateManager(m_host.OwnerID)) + if (!estate.IsEstateOwner(m_host.OwnerID) || !estate.IsEstateManagerOrOwner(m_host.OwnerID)) return 0; UUID id = new UUID(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index 77a784d..df20126 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs @@ -449,7 +449,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api LSShoutError("LightShare functions are not enabled."); return 0; } - if (!World.RegionInfo.EstateSettings.IsEstateManager(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) + if (!World.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) { LSShoutError("lsSetWindlightScene can only be used by estate managers or owners."); return 0; @@ -477,7 +477,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api LSShoutError("LightShare functions are not enabled."); return; } - if (!World.RegionInfo.EstateSettings.IsEstateManager(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) + if (!World.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) { LSShoutError("lsSetWindlightScene can only be used by estate managers or owners."); return; @@ -500,7 +500,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api LSShoutError("LightShare functions are not enabled."); return 0; } - if (!World.RegionInfo.EstateSettings.IsEstateManager(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) + if (!World.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_host.OwnerID) && World.GetScenePresence(m_host.OwnerID).GodLevel < 200) { LSShoutError("lsSetWindlightSceneTargeted can only be used by estate managers or owners."); return 0; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2680ad0..fe94b79 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -369,7 +369,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("ESTATE_MANAGER")) { //Only Estate Managers may use the function - if (World.RegionInfo.EstateSettings.IsEstateManager(ownerID) && World.RegionInfo.EstateSettings.EstateOwner != ownerID) + if (World.RegionInfo.EstateSettings.IsEstateManagerOrOwner(ownerID) && World.RegionInfo.EstateSettings.EstateOwner != ownerID) { return; } -- cgit v1.1 From ea73a035531a0e957f54fe897f3a3ff7ca3dc22d Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 18 Apr 2012 20:01:41 +0100 Subject: Don't re-add the assembly resolver for each script if not creating the appdomain --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index b7903d5..ad2f12e 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1021,11 +1021,18 @@ namespace OpenSim.Region.ScriptEngine.XEngine AppDomain sandbox; if (m_AppDomainLoading) + { sandbox = AppDomain.CreateDomain( m_Scene.RegionInfo.RegionID.ToString(), evidence, appSetup); + m_AppDomains[appDomain].AssemblyResolve += + new ResolveEventHandler( + AssemblyResolver.OnAssemblyResolve); + } else + { sandbox = AppDomain.CurrentDomain; + } //PolicyLevel sandboxPolicy = PolicyLevel.CreateAppDomainLevel(); //AllMembershipCondition sandboxMembershipCondition = new AllMembershipCondition(); @@ -1037,9 +1044,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine m_AppDomains[appDomain] = sandbox; - m_AppDomains[appDomain].AssemblyResolve += - new ResolveEventHandler( - AssemblyResolver.OnAssemblyResolve); m_DomainScripts[appDomain] = new List(); } catch (Exception e) @@ -1984,4 +1988,4 @@ namespace OpenSim.Region.ScriptEngine.XEngine // m_log.DebugFormat("[XEngine]: Could not find script with ID {0} to resume", itemID); } } -} \ No newline at end of file +} -- cgit v1.1 From beb7b8d189a99b4385392b2209930e20b489a0c9 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 18 Apr 2012 23:23:37 +0100 Subject: Fix a logic error in app domain creation --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index ad2f12e..23a4cf9 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1025,7 +1025,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine sandbox = AppDomain.CreateDomain( m_Scene.RegionInfo.RegionID.ToString(), evidence, appSetup); - m_AppDomains[appDomain].AssemblyResolve += + sandbox.AssemblyResolve += new ResolveEventHandler( AssemblyResolver.OnAssemblyResolve); } -- cgit v1.1 From 679da63da617d031e5e7ae3f2d2a29db1a23ace3 Mon Sep 17 00:00:00 2001 From: Talun Date: Sun, 22 Apr 2012 23:07:50 +0100 Subject: Mantis 5977 Corrections to llRegionSayTo Signed-off-by: BlueWall --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 36c9d5e..a2176ba 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -839,13 +839,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); + if (channel == ScriptBaseClass.DEBUG_CHANNEL) + { + return; + } + UUID TargetID; UUID.TryParse(target, out TargetID); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - if (!wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg, out error)) - LSLError(error); + wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg); } public LSL_Integer llListen(int channelID, string name, string ID, string msg) -- cgit v1.1 From 60065f06b3fd6f680202405e117402b22d62f902 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 23 Apr 2012 22:23:47 +0100 Subject: refactor: Replace calls to InventorySelf() with existing m_itemID in LSL_Api There's no point look up an item ID that we already have. --- .../Shared/Api/Implementation/LSL_Api.cs | 136 +++++++-------------- 1 file changed, 42 insertions(+), 94 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 36c9d5e..6000293 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -85,7 +85,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected IScriptEngine m_ScriptEngine; protected SceneObjectPart m_host; protected uint m_localID; + + /// + /// The UUID of the item that hosts this script + /// protected UUID m_itemID; + protected bool throwErrorOnNotImplemented = true; protected AsyncCommandManager AsyncCommands = null; protected float m_ScriptDelayFactor = 1.0f; @@ -267,25 +272,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - protected UUID InventorySelf() - { - UUID invItemID = new UUID(); - - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Type == 10 && inv.Value.ItemID == m_itemID) - { - invItemID = inv.Key; - break; - } - } - } - - return invItemID; - } - protected UUID InventoryKey(string name, int type) { m_host.AddScriptLPS(1); @@ -2697,17 +2683,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llGiveMoney(string destination, int amount) { - UUID invItemID=InventorySelf(); - if (invItemID == UUID.Zero) - return 0; - m_host.AddScriptLPS(1); - TaskInventoryItem item = m_host.TaskInventory[invItemID]; + TaskInventoryItem item; lock (m_host.TaskInventory) { - item = m_host.TaskInventory[invItemID]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter == UUID.Zero) @@ -2955,10 +2937,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter != UUID.Zero) @@ -2983,10 +2965,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } m_host.AddScriptLPS(1); @@ -3026,10 +3008,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter != m_host.OwnerID) @@ -3058,10 +3040,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter != m_host.OwnerID) @@ -3313,18 +3295,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - UUID invItemID = InventorySelf(); - if (invItemID == UUID.Zero) - return; - TaskInventoryItem item; lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter == UUID.Zero) @@ -3350,18 +3328,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - UUID invItemID=InventorySelf(); - if (invItemID == UUID.Zero) - return; - TaskInventoryItem item; lock (m_host.TaskInventory) { - if (!m_host.TaskInventory.ContainsKey(InventorySelf())) + if (!m_host.TaskInventory.ContainsKey(m_itemID)) return; else - item = m_host.TaskInventory[InventorySelf()]; + item = m_host.TaskInventory[m_itemID]; } if (item.PermsGranter == UUID.Zero) @@ -3417,21 +3391,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llRequestPermissions(string agent, int perm) { - UUID agentID = new UUID(); + UUID agentID; if (!UUID.TryParse(agent, out agentID)) return; - UUID invItemID = InventorySelf(); - - if (invItemID == UUID.Zero) - return; // Not in a prim? How?? - TaskInventoryItem item; lock (m_host.TaskInventory) { - item = m_host.TaskInventory[invItemID]; + item = m_host.TaskInventory[m_itemID]; } if (agentID == UUID.Zero || perm == 0) // Releasing permissions @@ -3466,8 +3435,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[invItemID].PermsGranter = agentID; - m_host.TaskInventory[invItemID].PermsMask = perm; + m_host.TaskInventory[m_itemID].PermsGranter = agentID; + m_host.TaskInventory[m_itemID].PermsMask = perm; } m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( @@ -3490,8 +3459,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[invItemID].PermsGranter = agentID; - m_host.TaskInventory[invItemID].PermsMask = perm; + m_host.TaskInventory[m_itemID].PermsGranter = agentID; + m_host.TaskInventory[m_itemID].PermsMask = perm; } m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( @@ -3515,8 +3484,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[invItemID].PermsGranter = agentID; - m_host.TaskInventory[invItemID].PermsMask = 0; + m_host.TaskInventory[m_itemID].PermsGranter = agentID; + m_host.TaskInventory[m_itemID].PermsMask = 0; } presence.ControllingClient.OnScriptAnswer += handleScriptAnswer; @@ -3524,7 +3493,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } presence.ControllingClient.SendScriptQuestion( - m_host.UUID, m_host.ParentGroup.RootPart.Name, ownerName, invItemID, perm); + m_host.UUID, m_host.ParentGroup.RootPart.Name, ownerName, m_itemID, perm); return; } @@ -3541,20 +3510,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (taskID != m_host.UUID) return; - UUID invItemID = InventorySelf(); - - if (invItemID == UUID.Zero) - return; - - client.OnScriptAnswer-=handleScriptAnswer; - m_waitingForScriptAnswer=false; + client.OnScriptAnswer -= handleScriptAnswer; + m_waitingForScriptAnswer = false; if ((answer & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) == 0) llReleaseControls(); lock (m_host.TaskInventory) { - m_host.TaskInventory[invItemID].PermsMask = answer; + m_host.TaskInventory[m_itemID].PermsMask = answer; } m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( @@ -3627,7 +3591,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llCreateLink(string target, int parent) { m_host.AddScriptLPS(1); - UUID invItemID = InventorySelf(); + UUID targetID; if (!UUID.TryParse(target, out targetID)) @@ -3636,7 +3600,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api TaskInventoryItem item; lock (m_host.TaskInventory) { - item = m_host.TaskInventory[invItemID]; + item = m_host.TaskInventory[m_itemID]; } if ((item.PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 @@ -3688,11 +3652,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llBreakLink(int linknum) { m_host.AddScriptLPS(1); - UUID invItemID = InventorySelf(); lock (m_host.TaskInventory) { - if ((m_host.TaskInventory[invItemID].PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 + if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 && !m_automaticLinkPermission) { ShoutError("Script trying to link but PERMISSION_CHANGE_LINKS permission not set!"); @@ -9691,17 +9654,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llGetCameraPos() { m_host.AddScriptLPS(1); - UUID invItemID = InventorySelf(); - - if (invItemID == UUID.Zero) - return new LSL_Vector(); lock (m_host.TaskInventory) { - if (m_host.TaskInventory[invItemID].PermsGranter == UUID.Zero) + if (m_host.TaskInventory[m_itemID].PermsGranter == UUID.Zero) return new LSL_Vector(); - if ((m_host.TaskInventory[invItemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) { ShoutError("No permissions to track the camera"); return new LSL_Vector(); @@ -9720,16 +9679,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Rotation llGetCameraRot() { m_host.AddScriptLPS(1); - UUID invItemID = InventorySelf(); - if (invItemID == UUID.Zero) - return new LSL_Rotation(); lock (m_host.TaskInventory) { - if (m_host.TaskInventory[invItemID].PermsGranter == UUID.Zero) + if (m_host.TaskInventory[m_itemID].PermsGranter == UUID.Zero) return new LSL_Rotation(); - if ((m_host.TaskInventory[invItemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) { ShoutError("No permissions to track the camera"); return new LSL_Rotation(); @@ -9907,10 +9863,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - // our key in the object we are in - UUID invItemID = InventorySelf(); - if (invItemID == UUID.Zero) return; - // the object we are in UUID objectID = m_host.ParentUUID; if (objectID == UUID.Zero) return; @@ -9919,10 +9871,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { // we need the permission first, to know which avatar we want to set the camera for - agentID = m_host.TaskInventory[invItemID].PermsGranter; + agentID = m_host.TaskInventory[m_itemID].PermsGranter; if (agentID == UUID.Zero) return; - if ((m_host.TaskInventory[invItemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; + if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; } ScenePresence presence = World.GetScenePresence(agentID); @@ -9963,10 +9915,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - // our key in the object we are in - UUID invItemID=InventorySelf(); - if (invItemID == UUID.Zero) return; - // the object we are in UUID objectID = m_host.ParentUUID; if (objectID == UUID.Zero) return; @@ -9975,9 +9923,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID agentID; lock (m_host.TaskInventory) { - agentID = m_host.TaskInventory[invItemID].PermsGranter; + agentID = m_host.TaskInventory[m_itemID].PermsGranter; if (agentID == UUID.Zero) return; - if ((m_host.TaskInventory[invItemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; + if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; } ScenePresence presence = World.GetScenePresence(agentID); -- cgit v1.1 From 1f8d1bcdcf7ae48ad0b3609e532ad87859f6300b Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 23 Apr 2012 22:52:46 +0100 Subject: Replace common code to fetch self inventory item (as opposed to uuid) with GetSelfInventoryItem() However, at some point it would be far more convenient to receive the TaskInventoryItem in the constructor rather than just the item UUID, so we don't have to constantly refetch our self item. --- .../Shared/Api/Implementation/LSL_Api.cs | 231 +++++++-------------- 1 file changed, 76 insertions(+), 155 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 6000293..a353b25 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -272,6 +272,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } + /// + /// Get the inventory item that hosts ourselves. + /// + /// + /// FIXME: It would be far easier to pass in TaskInventoryItem rather than just m_itemID so that we don't need + /// to keep looking ourselves up. + /// + /// + protected TaskInventoryItem GetSelfInventoryItem() + { + lock (m_host.TaskInventory) + return m_host.TaskInventory[m_itemID]; + } + protected UUID InventoryKey(string name, int type) { m_host.AddScriptLPS(1); @@ -2685,12 +2699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter == UUID.Zero) return 0; @@ -2933,15 +2942,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llTakeControls(int controls, int accept, int pass_on) { - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter != UUID.Zero) { @@ -2961,18 +2962,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llReleaseControls() { - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } - m_host.AddScriptLPS(1); + TaskInventoryItem item = GetSelfInventoryItem(); + if (item.PermsGranter != UUID.Zero) { ScenePresence presence = World.GetScenePresence(item.PermsGranter); @@ -3004,15 +2997,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // if (m_host.ParentGroup.RootPart.AttachmentPoint == 0) // return; - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter != m_host.OwnerID) return; @@ -3036,15 +3021,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (m_host.ParentGroup.AttachmentPoint == 0) return; - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter != m_host.OwnerID) return; @@ -3295,15 +3272,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter == UUID.Zero) return; @@ -3328,15 +3297,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - if (!m_host.TaskInventory.ContainsKey(m_itemID)) - return; - else - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (item.PermsGranter == UUID.Zero) return; @@ -3396,12 +3357,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (!UUID.TryParse(agent, out agentID)) return; - TaskInventoryItem item; - - lock (m_host.TaskInventory) - { - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if (agentID == UUID.Zero || perm == 0) // Releasing permissions { @@ -3531,39 +3487,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Type == 10 && item.ItemID == m_itemID) - { - return item.PermsGranter.ToString(); - } - } - } - - return UUID.Zero.ToString(); + return GetSelfInventoryItem().PermsGranter.ToString(); } public LSL_Integer llGetPermissions() { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Type == 10 && item.ItemID == m_itemID) - { - int perms = item.PermsMask; - if (m_automaticLinkPermission) - perms |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; - return perms; - } - } - } + int perms = GetSelfInventoryItem().PermsMask; - return 0; + if (m_automaticLinkPermission) + perms |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; + + return perms; } public LSL_Integer llGetLinkNumber() @@ -3597,11 +3533,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (!UUID.TryParse(target, out targetID)) return; - TaskInventoryItem item; - lock (m_host.TaskInventory) - { - item = m_host.TaskInventory[m_itemID]; - } + TaskInventoryItem item = GetSelfInventoryItem(); if ((item.PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 && !m_automaticLinkPermission) @@ -3653,14 +3585,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) + if ((GetSelfInventoryItem().PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 + && !m_automaticLinkPermission) { - if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 - && !m_automaticLinkPermission) - { - ShoutError("Script trying to link but PERMISSION_CHANGE_LINKS permission not set!"); - return; - } + ShoutError("Script trying to link but PERMISSION_CHANGE_LINKS permission not set!"); + return; } if (linknum < ScriptBaseClass.LINK_THIS) @@ -4537,23 +4466,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String llGetScriptName() { - string result = String.Empty; - m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Type == 10 && item.ItemID == m_itemID) - { - result = item.Name != null ? item.Name : String.Empty; - break; - } - } - } + TaskInventoryItem item = GetSelfInventoryItem(); - return result; + return item.Name != null ? item.Name : String.Empty; } public LSL_Integer llGetLinkNumberOfSides(int link) @@ -9655,16 +9572,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - if (m_host.TaskInventory[m_itemID].PermsGranter == UUID.Zero) - return new LSL_Vector(); + TaskInventoryItem item = GetSelfInventoryItem(); - if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) - { - ShoutError("No permissions to track the camera"); - return new LSL_Vector(); - } + if (item.PermsGranter == UUID.Zero) + return new LSL_Vector(); + + if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + { + ShoutError("No permissions to track the camera"); + return new LSL_Vector(); } ScenePresence presence = World.GetScenePresence(m_host.OwnerID); @@ -9680,16 +9596,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - if (m_host.TaskInventory[m_itemID].PermsGranter == UUID.Zero) - return new LSL_Rotation(); + TaskInventoryItem item = GetSelfInventoryItem(); - if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) - { - ShoutError("No permissions to track the camera"); - return new LSL_Rotation(); - } + if (item.PermsGranter == UUID.Zero) + return new LSL_Rotation(); + + if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + { + ShoutError("No permissions to track the camera"); + return new LSL_Rotation(); } ScenePresence presence = World.GetScenePresence(m_host.OwnerID); @@ -9865,17 +9780,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // the object we are in UUID objectID = m_host.ParentUUID; - if (objectID == UUID.Zero) return; + if (objectID == UUID.Zero) + return; - UUID agentID; - lock (m_host.TaskInventory) - { - // we need the permission first, to know which avatar we want to set the camera for - agentID = m_host.TaskInventory[m_itemID].PermsGranter; + TaskInventoryItem item = GetSelfInventoryItem(); - if (agentID == UUID.Zero) return; - if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; - } + // we need the permission first, to know which avatar we want to set the camera for + UUID agentID = item.PermsGranter; + + if (agentID == UUID.Zero) + return; + + if ((item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) + return; ScenePresence presence = World.GetScenePresence(agentID); @@ -9917,21 +9834,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // the object we are in UUID objectID = m_host.ParentUUID; - if (objectID == UUID.Zero) return; + if (objectID == UUID.Zero) + return; + + TaskInventoryItem item = GetSelfInventoryItem(); // we need the permission first, to know which avatar we want to clear the camera for - UUID agentID; - lock (m_host.TaskInventory) - { - agentID = m_host.TaskInventory[m_itemID].PermsGranter; - if (agentID == UUID.Zero) return; - if ((m_host.TaskInventory[m_itemID].PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; - } + UUID agentID = item.PermsGranter; + + if (agentID == UUID.Zero) + return; + + if ((item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) + return; ScenePresence presence = World.GetScenePresence(agentID); // we are not interested in child-agents - if (presence.IsChildAgent) return; + if (presence.IsChildAgent) + return; presence.ControllingClient.SendClearFollowCamProperties(objectID); } -- cgit v1.1 From 40e37d8b78379db08de541c8c7a9fed1d22ec5ef Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 24 Apr 2012 00:03:57 +0100 Subject: Add osForceAttachToAvatar() and osForceDetachFromAvatar() These behave identically to llAttachToAvatar() and llDetachFromAvatar() except that they do not enforce the PERMISSION_ATTACH check Intended for use in completely controlled dedicated environments where these checks are more a UI hinderance than a help. Threat level high. --- .../Shared/Api/Implementation/ApiManager.cs | 41 ++++++------ .../Shared/Api/Implementation/LSL_Api.cs | 73 +++++++++++++--------- .../Shared/Api/Implementation/OSSL_Api.cs | 28 +++++++++ .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 14 +++++ .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 13 +++- .../ScriptEngine/Shared/Instance/ScriptInstance.cs | 7 +++ 6 files changed, 127 insertions(+), 49 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/ApiManager.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/ApiManager.cs index 47ed6ba..684138f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/ApiManager.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/ApiManager.cs @@ -29,42 +29,43 @@ using System; using System.Collections; using System.Collections.Generic; using System.Reflection; +using log4net; using OpenSim.Region.ScriptEngine.Interfaces; namespace OpenSim.Region.ScriptEngine.Shared.Api { public class ApiManager { +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private Dictionary m_Apis = new Dictionary(); public string[] GetApis() { - if (m_Apis.Count > 0) + if (m_Apis.Count <= 0) { - List l = new List(m_Apis.Keys); - return l.ToArray(); - } + Assembly a = Assembly.GetExecutingAssembly(); - Assembly a = Assembly.GetExecutingAssembly(); + Type[] types = a.GetExportedTypes(); - Type[] types = a.GetExportedTypes(); - - foreach (Type t in types) - { - string name = t.ToString(); - int idx = name.LastIndexOf('.'); - if (idx != -1) - name = name.Substring(idx+1); - - if (name.EndsWith("_Api")) + foreach (Type t in types) { - name = name.Substring(0, name.Length - 4); - m_Apis[name] = t; + string name = t.ToString(); + int idx = name.LastIndexOf('.'); + if (idx != -1) + name = name.Substring(idx+1); + + if (name.EndsWith("_Api")) + { + name = name.Substring(0, name.Length - 4); + m_Apis[name] = t; + } } } - List ret = new List(m_Apis.Keys); - return ret.ToArray(); +// m_log.DebugFormat("[API MANAGER]: Found {0} apis", m_Apis.Keys.Count); + + return new List(m_Apis.Keys).ToArray(); } public IScriptApi CreateApi(string api) @@ -76,4 +77,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return ret; } } -} +} \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9cb97f9..d4c872c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2994,7 +2994,49 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_UrlModule.ReleaseURL(url); } - public void llAttachToAvatar(int attachment) + /// + /// Attach the object containing this script to the avatar that owns it. + /// + /// The attachment point (e.g. ATTACH_CHEST) + /// true if the attach suceeded, false if it did not + public bool AttachToAvatar(int attachmentPoint) + { + SceneObjectGroup grp = m_host.ParentGroup; + ScenePresence presence = World.GetScenePresence(m_host.OwnerID); + + IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; + + if (attachmentsModule != null) + return attachmentsModule.AttachObject(presence, grp, (uint)attachmentPoint, false); + else + return false; + } + + /// + /// Detach the object containing this script from the avatar it is attached to. + /// + /// + /// Nothing happens if the object is not attached. + /// + public void DetachFromAvatar() + { + Util.FireAndForget(DetachWrapper, m_host); + } + + private void DetachWrapper(object o) + { + SceneObjectPart host = (SceneObjectPart)o; + + SceneObjectGroup grp = host.ParentGroup; + UUID itemID = grp.FromItemID; + ScenePresence presence = World.GetScenePresence(host.OwnerID); + + IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; + if (attachmentsModule != null) + attachmentsModule.DetachSingleAttachmentToInv(presence, itemID); + } + + public void llAttachToAvatar(int attachmentPoint) { m_host.AddScriptLPS(1); @@ -3007,15 +3049,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; if ((item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) - { - SceneObjectGroup grp = m_host.ParentGroup; - - ScenePresence presence = World.GetScenePresence(m_host.OwnerID); - - IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; - if (attachmentsModule != null) - attachmentsModule.AttachObject(presence, grp, (uint)attachment, false); - } + AttachToAvatar(attachmentPoint); } public void llDetachFromAvatar() @@ -3031,24 +3065,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; if ((item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) - { - IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; - if (attachmentsModule != null) - Util.FireAndForget(DetachWrapper, m_host); - } - } - - private void DetachWrapper(object o) - { - SceneObjectPart host = (SceneObjectPart)o; - - SceneObjectGroup grp = host.ParentGroup; - UUID itemID = grp.FromItemID; - ScenePresence presence = World.GetScenePresence(host.OwnerID); - - IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; - if (attachmentsModule != null) - attachmentsModule.DetachSingleAttachmentToInv(presence, itemID); + DetachFromAvatar(); } public void llTakeCamera(string avatar) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index fe94b79..3f261ea 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -209,6 +209,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api throw new Exception("OSSL Runtime Error: " + msg); } + /// + /// Initialize the LSL interface. + /// + /// + /// FIXME: This is an abomination. We should be able to set this up earlier but currently we have no + /// guarantee the interface is present on Initialize(). There needs to be another post initialize call from + /// ScriptInstance. + /// private void InitLSL() { if (m_LSL_Api != null) @@ -3093,5 +3101,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api estate.setEstateTerrainTextureHeights(corner, (float)low, (float)high); } } + + public void osForceAttachToAvatar(int attachmentPoint) + { + CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatar"); + + m_host.AddScriptLPS(1); + + InitLSL(); + ((LSL_Api)m_LSL_Api).AttachToAvatar(attachmentPoint); + } + + public void osForceDetachFromAvatar() + { + CheckThreatLevel(ThreatLevel.High, "osForceDetachFromAvatar"); + + m_host.AddScriptLPS(1); + + InitLSL(); + ((LSL_Api)m_LSL_Api).DetachFromAvatar(); + } } } \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 545bbee..d0c852b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -98,6 +98,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void osAvatarPlayAnimation(string avatar, string animation); void osAvatarStopAnimation(string avatar, string animation); + // Attachment commands + + /// + /// Attach the object containing this script to the avatar that owns it without checking for PERMISSION_ATTACH + /// + /// The attachment point. For example, ATTACH_CHEST + void osForceAttachToAvatar(int attachment); + + /// + /// Detach the object containing this script from the avatar it is attached to without checking for PERMISSION_ATTACH + /// + /// Nothing happens if the object is not attached. + void osForceDetachFromAvatar(); + //texture draw functions string osMovePen(string drawList, int x, int y); string osDrawLine(string drawList, int startX, int startY, int endX, int endY); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index b94b9bf..36ac0e3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -289,8 +289,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osAvatarStopAnimation(avatar, animation); } + // Avatar functions - //Texture Draw functions + public void osForceAttachToAvatar(int attachmentPoint) + { + m_OSSL_Functions.osForceAttachToAvatar(attachmentPoint); + } + + public void osForceDetachFromAvatar() + { + m_OSSL_Functions.osForceDetachFromAvatar(); + } + + // Texture Draw functions public string osMovePen(string drawList, int x, int y) { diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 6e36742..2c8af81 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -964,7 +964,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance public IScriptApi GetApi(string name) { if (m_Apis.ContainsKey(name)) + { +// m_log.DebugFormat("[SCRIPT INSTANCE]: Found api {0} in {1}@{2}", name, ScriptName, PrimName); + return m_Apis[name]; + } + +// m_log.DebugFormat("[SCRIPT INSTANCE]: Did not find api {0} in {1}@{2}", name, ScriptName, PrimName); + return null; } -- cgit v1.1 From 6011bfa5e36d77ad58cf50ddd99b8c6289144f57 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 23 Apr 2012 19:19:08 +0300 Subject: OSSL: fixed the threat level check for osParseJSONNew --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 3f261ea..7fc7337 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1617,7 +1617,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public Object osParseJSONNew(string JSON) { - CheckThreatLevel(ThreatLevel.None, "osParseJSON"); + CheckThreatLevel(ThreatLevel.None, "osParseJSONNew"); m_host.AddScriptLPS(1); -- cgit v1.1 From 2f398231acda79e313c2975ecdd5a6015cb71a54 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 23 Apr 2012 15:31:45 +0300 Subject: Minor improvements to logging Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]"). --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 23a4cf9..a9b6e67 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1812,9 +1812,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine // if there already exists a file at that location, it may be locked. m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", path, ex.Message); } + + string textpath = path + ".text"; try { - using (FileStream fs = File.Create(path + ".text")) + using (FileStream fs = File.Create(textpath)) { using (StreamWriter sw = new StreamWriter(fs)) { @@ -1827,7 +1829,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", path, ex.Message); + m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", textpath, ex.Message); } } } @@ -1876,7 +1878,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", statepath, ex.Message); + m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", mappath, ex.Message); } } -- cgit v1.1 From 88c9fdfa3adda4984aed39bf800832adef883ecc Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 25 Apr 2012 18:36:29 +0100 Subject: Adapt some TeleportWithMomentum calls --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8637df7..5a5f2e1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6115,7 +6115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (m_host.OwnerID == land.LandData.OwnerID) { Vector3 pos = World.GetNearestAllowedPosition(presence, land); - presence.TeleportWithMomentum(pos); + presence.TeleportWithMomentum(pos, null); presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); } } -- cgit v1.1 From 88553bb884c5c8849ec61362e65fe0950c1e3080 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 25 Apr 2012 19:09:22 +0100 Subject: Port Avination link order to make OpenSim behave like SL. Make Primstar scripts work. Fixes Mantis #5990 --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d4c872c..d641958 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -832,8 +832,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llRegionSayTo(string target, int channel, string msg) { - string error = String.Empty; - if (msg.Length > 1023) msg = msg.Substring(0, 1023); @@ -3548,7 +3546,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llCreateLink(string target, int parent) { m_host.AddScriptLPS(1); - UUID targetID; if (!UUID.TryParse(target, out targetID)) @@ -3572,11 +3569,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (targetPart.ParentGroup.AttachmentPoint != 0) return; // Fail silently if attached + + if (targetPart.ParentGroup.RootPart.OwnerID != m_host.ParentGroup.RootPart.OwnerID) + return; + SceneObjectGroup parentPrim = null, childPrim = null; if (targetPart != null) { - if (parent != 0) { + if (parent != 0) + { parentPrim = m_host.ParentGroup; childPrim = targetPart.ParentGroup; } @@ -3588,7 +3590,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // Required for linking childPrim.RootPart.ClearUpdateSchedule(); - parentPrim.LinkToGroup(childPrim); + parentPrim.LinkToGroup(childPrim, true); } parentPrim.TriggerScriptChangedEvent(Changed.LINK); -- cgit v1.1 From b8114d2b67c8ae8d7551a2ece2177f8b7e958112 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 24 Apr 2012 21:54:13 +0100 Subject: Add a version of osNpcSay that takes a channel number Mantis 5747 osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall --- .../Shared/Api/Implementation/OSSL_Api.cs | 41 +++++++++++++++++++++- .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 3 ++ .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 16 +++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index fe94b79..890115d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2531,6 +2531,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void osNpcSay(LSL_Key npc, string message) { + osNpcSay(npc, 0, message); + } + + public void osNpcSay(LSL_Key npc, int channel, string message) + { CheckThreatLevel(ThreatLevel.High, "osNpcSay"); m_host.AddScriptLPS(1); @@ -2542,7 +2547,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (!module.CheckPermissions(npcId, m_host.OwnerID)) return; - module.Say(npcId, World, message); + module.Say(npcId, World, message, channel); + } + } + + public void osNpcShout(LSL_Key npc, int channel, string message) + { + CheckThreatLevel(ThreatLevel.High, "osNpcShout"); + m_host.AddScriptLPS(1); + + INPCModule module = World.RequestModuleInterface(); + if (module != null) + { + UUID npcId = new UUID(npc.m_string); + + if (!module.CheckPermissions(npcId, m_host.OwnerID)) + return; + + module.Shout(npcId, World, message, channel); } } @@ -2627,6 +2649,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } + public void osNpcWhisper(LSL_Key npc, int channel, string message) + { + CheckThreatLevel(ThreatLevel.High, "osNpcWhisper"); + m_host.AddScriptLPS(1); + + INPCModule module = World.RequestModuleInterface(); + if (module != null) + { + UUID npcId = new UUID(npc.m_string); + + if (!module.CheckPermissions(npcId, m_host.OwnerID)) + return; + + module.Whisper(npcId, World, message, channel); + } + } + /// /// Save the current appearance of the script owner permanently to the named notecard. /// diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 545bbee..2d3e8e8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -203,11 +203,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void osNpcSetRot(LSL_Key npc, rotation rot); void osNpcStopMoveToTarget(LSL_Key npc); void osNpcSay(key npc, string message); + void osNpcSay(key npc, int channel, string message); + void osNpcShout(key npc, int channel, string message); void osNpcSit(key npc, key target, int options); void osNpcStand(LSL_Key npc); void osNpcRemove(key npc); void osNpcPlayAnimation(LSL_Key npc, string animation); void osNpcStopAnimation(LSL_Key npc, string animation); + void osNpcWhisper(key npc, int channel, string message); LSL_Key osOwnerSaveAppearance(string notecard); LSL_Key osAgentSaveAppearance(key agentId, string notecard); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index b94b9bf..e836959 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -569,6 +569,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osNpcSay(npc, message); } + public void osNpcSay(key npc, int channel, string message) + { + m_OSSL_Functions.osNpcSay(npc, channel, message); + } + + + public void osNpcShout(key npc, int channel, string message) + { + m_OSSL_Functions.osNpcShout(npc, channel, message); + } + public void osNpcSit(LSL_Key npc, LSL_Key target, int options) { m_OSSL_Functions.osNpcSit(npc, target, options); @@ -594,6 +605,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osNpcStopAnimation(npc, animation); } + public void osNpcWhisper(key npc, int channel, string message) + { + m_OSSL_Functions.osNpcWhisper(npc, channel, message); + } + public LSL_Key osOwnerSaveAppearance(string notecard) { return m_OSSL_Functions.osOwnerSaveAppearance(notecard); -- cgit v1.1 From 8a65f5a70dea70073790c15ba2ae7739771f74b5 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 23 Apr 2012 19:18:28 +0300 Subject: OSSL: Removed check for CanRunConsoleCommand() in osKickAvatar. OSSL permissions are now controlled in OpenSim.ini. --- .../Shared/Api/Implementation/OSSL_Api.cs | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 893fda1..0d4ea19 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -351,7 +351,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID ownerID = ti.OwnerID; - //OSSL only may be used if objet is in the same group as the parcel + //OSSL only may be used if object is in the same group as the parcel if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("PARCEL_GROUP_MEMBER")) { ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y); @@ -729,11 +729,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); + // For safety, we add another permission check here, and don't rely only on the standard OSSL permissions if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) { MainConsole.Instance.RunCommand(command); return true; } + return false; } @@ -2825,21 +2827,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar"); m_host.AddScriptLPS(1); - if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) + World.ForEachRootScenePresence(delegate(ScenePresence sp) { - World.ForEachRootScenePresence(delegate(ScenePresence sp) + if (sp.Firstname == FirstName && sp.Lastname == SurName) { - if (sp.Firstname == FirstName && sp.Lastname == SurName) - { - // kick client... - if (alert != null) - sp.ControllingClient.Kick(alert); + // kick client... + if (alert != null) + sp.ControllingClient.Kick(alert); - // ...and close on our side - sp.Scene.IncomingCloseAgent(sp.UUID); - } - }); - } + // ...and close on our side + sp.Scene.IncomingCloseAgent(sp.UUID); + } + }); } public void osCauseDamage(string avatar, double damage) -- cgit v1.1 From 07e62df5582e28675275b3f5143ec37e5697d283 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 27 Apr 2012 00:58:54 +0100 Subject: Add regression test for teleporting an agent between separated regions on the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future. --- OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 4 ++-- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 2 +- OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs index e2d0db2..49266e9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs @@ -63,7 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests IConfig config = initConfigSource.AddConfig("XEngine"); config.Set("Enabled", "true"); - m_scene = SceneHelpers.SetupScene(); + m_scene = new SceneHelpers().SetupScene(); SceneHelpers.SetupSceneModules(m_scene, initConfigSource); m_engine = new XEngine.XEngine(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index 9cf9258..92a63bf 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -58,7 +58,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests IConfig config = initConfigSource.AddConfig("XEngine"); config.Set("Enabled", "true"); - Scene scene = SceneHelpers.SetupScene(); + Scene scene = new SceneHelpers().SetupScene(); SceneObjectPart part = SceneHelpers.AddSceneObject(scene); XEngine.XEngine engine = new XEngine.XEngine(); @@ -261,7 +261,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests TestHelpers.InMethod(); // Create Prim1. - Scene scene = SceneHelpers.SetupScene(); + Scene scene = new SceneHelpers().SetupScene(); string obj1Name = "Prim1"; UUID objUuid = new UUID("00000000-0000-0000-0000-000000000001"); SceneObjectPart part1 = diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs index 7573dff..c51227b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs @@ -67,7 +67,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests config = initConfigSource.AddConfig("NPC"); config.Set("Enabled", "true"); - m_scene = SceneHelpers.SetupScene(); + m_scene = new SceneHelpers().SetupScene(); SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new AvatarFactoryModule(), new NPCModule()); m_engine = new XEngine.XEngine(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 9d9fc51..9c36108 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs @@ -68,7 +68,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests config = initConfigSource.AddConfig("NPC"); config.Set("Enabled", "true"); - m_scene = SceneHelpers.SetupScene(); + m_scene = new SceneHelpers().SetupScene(); SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new AvatarFactoryModule(), new NPCModule()); m_engine = new XEngine.XEngine(); diff --git a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs index 7d7bd82..a3f848c 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs @@ -73,7 +73,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Tests // to AssemblyResolver.OnAssemblyResolve fails. xEngineConfig.Set("AppDomainLoading", "false"); - m_scene = SceneHelpers.SetupScene("My Test", UUID.Random(), 1000, 1000, null, configSource); + m_scene = new SceneHelpers().SetupScene("My Test", UUID.Random(), 1000, 1000, configSource); SceneHelpers.SetupSceneModules(m_scene, configSource, m_xEngine, wcModule); m_scene.StartScripts(); } -- cgit v1.1 From b35a1d56818386fc70a4a71e3cd8f6dd6d0e2193 Mon Sep 17 00:00:00 2001 From: Stefan_Boom Date: Sat, 14 Apr 2012 22:05:16 +0200 Subject: Fixing wrong position of llSensor, SensePoint wasnt following the rotation of the root prim. --- .../Api/Implementation/Plugins/SensorRepeat.cs | 30 ++++++++++++++++------ 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs index 1c272f8..57f741c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs @@ -308,7 +308,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins } SceneObjectPart SensePoint = ts.host; - Vector3 fromRegionPos = SensePoint.AbsolutePosition; + Vector3 fromRegionPos = SensePoint.GetWorldPosition(); // pre define some things to avoid repeated definitions in the loop body Vector3 toRegionPos; @@ -319,14 +319,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins float dy; float dz; - Quaternion q = SensePoint.RotationOffset; + Quaternion q = SensePoint.GetWorldRotation(); if (SensePoint.ParentGroup.IsAttachment) { - // In attachments, the sensor cone always orients with the + // In attachments, rotate the sensor cone with the // avatar rotation. This may include a nonzero elevation if // in mouselook. + // This will not include the rotation and position of the + // attachment point (e.g. your head when a sensor is in your + // hair attached to your scull. Your hair will turn with + // your head but the sensor will stay with your (global) + // avatar rotation and position. + // Position of a sensor in a child prim attached to an avatar + // will be still wrong. ScenePresence avatar = m_CmdManager.m_ScriptEngine.World.GetScenePresence(SensePoint.ParentGroup.AttachedAvatar); - q = avatar.Rotation; + q = avatar.Rotation*q; } LSL_Types.Quaternion r = new LSL_Types.Quaternion(q.X, q.Y, q.Z, q.W); LSL_Types.Vector3 forward_dir = (new LSL_Types.Vector3(1, 0, 0) * r); @@ -439,16 +446,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins return sensedEntities; SceneObjectPart SensePoint = ts.host; - Vector3 fromRegionPos = SensePoint.AbsolutePosition; + Vector3 fromRegionPos = SensePoint.GetWorldPosition(); - Quaternion q = SensePoint.RotationOffset; + Quaternion q = SensePoint.GetWorldRotation(); if (SensePoint.ParentGroup.IsAttachment) { - // In attachments, the sensor cone always orients with the + // In attachments, rotate the sensor cone with the // avatar rotation. This may include a nonzero elevation if // in mouselook. + // This will not include the rotation and position of the + // attachment point (e.g. your head when a sensor is in your + // hair attached to your scull. Your hair will turn with + // your head but the sensor will stay with your (global) + // avatar rotation and position. + // Position of a sensor in a child prim attached to an avatar + // will be still wrong. ScenePresence avatar = m_CmdManager.m_ScriptEngine.World.GetScenePresence(SensePoint.ParentGroup.AttachedAvatar); - q = avatar.Rotation; + q = avatar.Rotation*q; } LSL_Types.Quaternion r = new LSL_Types.Quaternion(q.X, q.Y, q.Z, q.W); -- cgit v1.1 From e39e4f6bfb9d28317c2547094f5fe79969f4ede9 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 27 Apr 2012 19:40:19 +0100 Subject: minor: style adjustments in SensorRepeat, mainly related to patch from stoehr --- .../ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs index 57f741c..3844753 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs @@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins // Is the sensor type is AGENT and not SCRIPTED then include agents if ((ts.type & (AGENT | AGENT_BY_USERNAME | NPC)) != 0 && (ts.type & SCRIPTED) == 0) { - sensedEntities.AddRange(doAgentSensor(ts)); + sensedEntities.AddRange(doAgentSensor(ts)); } // If SCRIPTED or PASSIVE or ACTIVE check objects @@ -333,8 +333,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins // Position of a sensor in a child prim attached to an avatar // will be still wrong. ScenePresence avatar = m_CmdManager.m_ScriptEngine.World.GetScenePresence(SensePoint.ParentGroup.AttachedAvatar); - q = avatar.Rotation*q; + q = avatar.Rotation * q; } + LSL_Types.Quaternion r = new LSL_Types.Quaternion(q.X, q.Y, q.Z, q.W); LSL_Types.Vector3 forward_dir = (new LSL_Types.Vector3(1, 0, 0) * r); double mag_fwd = LSL_Types.Vector3.Mag(forward_dir); @@ -462,7 +463,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins // Position of a sensor in a child prim attached to an avatar // will be still wrong. ScenePresence avatar = m_CmdManager.m_ScriptEngine.World.GetScenePresence(SensePoint.ParentGroup.AttachedAvatar); - q = avatar.Rotation*q; + q = avatar.Rotation * q; } LSL_Types.Quaternion r = new LSL_Types.Quaternion(q.X, q.Y, q.Z, q.W); -- cgit v1.1 From 9c2a73b61ef1e834c77f5d945ebae435b033ca38 Mon Sep 17 00:00:00 2001 From: TBG Renfold Date: Tue, 24 Apr 2012 19:38:37 +0100 Subject: llGenerateKey implementation. Creates a random UUID I.E: UUID.Random().ToString(); Signed-off-by: TBG Renfold --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 +++++++ OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 1 + OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d641958..62b5c0f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1734,6 +1734,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api rgb.y = texcolor.G; rgb.z = texcolor.B; return rgb; + } else { @@ -3192,6 +3193,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return m_host.UUID.ToString(); } + public LSL_Key llGenerateKey() + { + m_host.AddScriptLPS(1); + return UUID.Random().ToString(); + } + public void llSetBuoyancy(double buoyancy) { m_host.AddScriptLPS(1); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 69df392..7a797ac 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -105,6 +105,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer llFloor(double f); void llForceMouselook(int mouselook); LSL_Float llFrand(double mag); + LSL_Key llGenerateKey(); LSL_Vector llGetAccel(); LSL_Integer llGetAgentInfo(string id); LSL_String llGetAgentLanguage(string id); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 3c2f7bd..80fa530 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -369,6 +369,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llFrand(mag); } + public LSL_Key llGenerateKey() + { + return m_LSL_Functions.llGenerateKey(); + } + public LSL_Vector llGetAccel() { return m_LSL_Functions.llGetAccel(); -- cgit v1.1 From 100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d Mon Sep 17 00:00:00 2001 From: Snoopy Pfeffer Date: Thu, 3 May 2012 19:00:09 +0200 Subject: Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause a runtime error. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 62b5c0f..704dfc3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -7336,7 +7336,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; face = (int)rules.GetLSLIntegerItem(idx++); int shiny = (int)rules.GetLSLIntegerItem(idx++); - Bumpiness bump = (Bumpiness)Convert.ToByte((int)rules.GetLSLIntegerItem(idx++)); + Bumpiness bump = (Bumpiness)(int)rules.GetLSLIntegerItem(idx++); SetShiny(part, face, shiny, bump); -- cgit v1.1 From b697d0e895dc7670e160188501da88a780455500 Mon Sep 17 00:00:00 2001 From: dahlia Date: Sun, 6 May 2012 23:54:50 -0700 Subject: add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 3 ++- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 0d4ea19..3659687 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2474,7 +2474,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api World, pos, (options & ScriptBaseClass.OS_NPC_NO_FLY) != 0, - (options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0); + (options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0, + (options & ScriptBaseClass.OS_NPC_RUNNING) != 0); } } diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index fd7c41e..2a28542 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -626,6 +626,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public const int OS_NPC_FLY = 0; public const int OS_NPC_NO_FLY = 1; public const int OS_NPC_LAND_AT_TARGET = 2; + public const int OS_NPC_RUNNING = 4; public const int OS_NPC_SIT_NOW = 0; -- cgit v1.1 From 4186fa10f0eba3628ef8222db2e4b0e2b69df5cd Mon Sep 17 00:00:00 2001 From: dahlia Date: Mon, 7 May 2012 00:08:56 -0700 Subject: remove default values from prior commit since mono cant deal with them --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 3659687..ed9a4e0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2449,7 +2449,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); - module.MoveToTarget(npcId, World, pos, false, true); + module.MoveToTarget(npcId, World, pos, false, true, false); } } -- cgit v1.1 From a82dc263abe5ef2a7221609da14f75d7026f9fbe Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 7 May 2012 19:05:21 +0100 Subject: For osGetGridNick(), osGetGridName(), osGetGridLoginURI() and osGetGridCustom(), try to read from the [GridInfoService] section on standalone rather than [GridInfo] [GridInfoService] is the section that's actually in bin/config-include/StandaloneCommon.ini.example --- .../ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index ed9a4e0..3b67966 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -128,6 +128,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + public const string GridInfoServiceConfigSectionName = "GridInfoService"; + internal IScriptEngine m_ScriptEngine; internal ILSL_Api m_LSL_Api = null; // get a reference to the LSL API so we can call methods housed there internal SceneObjectPart m_host; @@ -2032,8 +2034,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api string nick = String.Empty; IConfigSource config = m_ScriptEngine.ConfigSource; - if (config.Configs["GridInfo"] != null) - nick = config.Configs["GridInfo"].GetString("gridnick", nick); + if (config.Configs[GridInfoServiceConfigSectionName] != null) + nick = config.Configs[GridInfoServiceConfigSectionName].GetString("gridnick", nick); if (String.IsNullOrEmpty(nick)) nick = GridUserInfo(InfoType.Nick); @@ -2049,8 +2051,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api string name = String.Empty; IConfigSource config = m_ScriptEngine.ConfigSource; - if (config.Configs["GridInfo"] != null) - name = config.Configs["GridInfo"].GetString("gridname", name); + if (config.Configs[GridInfoServiceConfigSectionName] != null) + name = config.Configs[GridInfoServiceConfigSectionName].GetString("gridname", name); if (String.IsNullOrEmpty(name)) name = GridUserInfo(InfoType.Name); @@ -2066,8 +2068,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api string loginURI = String.Empty; IConfigSource config = m_ScriptEngine.ConfigSource; - if (config.Configs["GridInfo"] != null) - loginURI = config.Configs["GridInfo"].GetString("login", loginURI); + if (config.Configs[GridInfoServiceConfigSectionName] != null) + loginURI = config.Configs[GridInfoServiceConfigSectionName].GetString("login", loginURI); if (String.IsNullOrEmpty(loginURI)) loginURI = GridUserInfo(InfoType.Login); @@ -2114,8 +2116,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api string retval = String.Empty; IConfigSource config = m_ScriptEngine.ConfigSource; - if (config.Configs["GridInfo"] != null) - retval = config.Configs["GridInfo"].GetString(key, retval); + if (config.Configs[GridInfoServiceConfigSectionName] != null) + retval = config.Configs[GridInfoServiceConfigSectionName].GetString(key, retval); if (String.IsNullOrEmpty(retval)) retval = GridUserInfo(InfoType.Custom, key); -- cgit v1.1 From 01b78235db71994ba3e37bd6ea297bed7e4576b9 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 8 May 2012 22:58:34 +0100 Subject: Instead of constantly looking up unchanging self item in script code, pass in self item on initialization. --- .../Region/ScriptEngine/Interfaces/IScriptApi.cs | 20 +- .../Shared/Api/Implementation/LSL_Api.cs | 244 +++++++++------------ .../Shared/Api/Implementation/LS_Api.cs | 4 +- .../Shared/Api/Implementation/MOD_Api.cs | 10 +- .../Shared/Api/Implementation/OSSL_Api.cs | 29 +-- .../ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 +- .../Shared/Tests/LSL_ApiInventoryTests.cs | 9 +- .../ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 3 +- .../Shared/Tests/OSSL_ApiAppearanceTest.cs | 8 +- .../ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 6 +- 10 files changed, 145 insertions(+), 190 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs index bb5bacc..cced522 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs @@ -27,17 +27,23 @@ using System; using OpenMetaverse; +using OpenSim.Framework; using OpenSim.Region.Framework.Scenes; - namespace OpenSim.Region.ScriptEngine.Interfaces { public interface IScriptApi { - // - // Each API has an identifier, which is used to load the - // proper runtime assembly at load time. - // - void Initialize(IScriptEngine engine, SceneObjectPart part, uint localID, UUID item); + /// + /// Initialize the API + /// + /// + /// Each API has an identifier, which is used to load the + /// proper runtime assembly at load time. + /// /param> + /// + /// + /// + void Initialize(IScriptEngine engine, SceneObjectPart part, uint localID, TaskInventoryItem item); } -} +} \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 704dfc3..e8e4dab 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -87,9 +87,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected uint m_localID; /// - /// The UUID of the item that hosts this script + /// The item that hosts this script /// - protected UUID m_itemID; + protected TaskInventoryItem m_item; protected bool throwErrorOnNotImplemented = true; protected AsyncCommandManager AsyncCommands = null; @@ -108,12 +108,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected Dictionary m_userInfoCache = new Dictionary(); - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; - m_itemID = itemID; + m_item = item; m_ScriptDelayFactor = m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f); @@ -163,7 +163,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void state(string newState) { - m_ScriptEngine.SetState(m_itemID, newState); + m_ScriptEngine.SetState(m_item.ItemID, newState); } /// @@ -173,7 +173,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llResetScript() { m_host.AddScriptLPS(1); - m_ScriptEngine.ApiResetScript(m_itemID); + m_ScriptEngine.ApiResetScript(m_item.ItemID); } public void llResetOtherScript(string name) @@ -272,20 +272,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - /// - /// Get the inventory item that hosts ourselves. - /// - /// - /// FIXME: It would be far easier to pass in TaskInventoryItem rather than just m_itemID so that we don't need - /// to keep looking ourselves up. - /// - /// - protected TaskInventoryItem GetSelfInventoryItem() - { - lock (m_host.TaskInventory) - return m_host.TaskInventory[m_itemID]; - } - protected UUID InventoryKey(string name, int type) { m_host.AddScriptLPS(1); @@ -857,7 +843,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID.TryParse(ID, out keyID); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - return wComm.Listen(m_localID, m_itemID, m_host.UUID, channelID, name, keyID, msg); + return wComm.Listen(m_localID, m_item.ItemID, m_host.UUID, channelID, name, keyID, msg); else return -1; } @@ -867,7 +853,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - wComm.ListenControl(m_itemID, number, active); + wComm.ListenControl(m_item.ItemID, number, active); } public void llListenRemove(int number) @@ -875,7 +861,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - wComm.ListenRemove(m_itemID, number); + wComm.ListenRemove(m_item.ItemID, number); } public void llSensor(string name, string id, int type, double range, double arc) @@ -884,7 +870,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID keyID = UUID.Zero; UUID.TryParse(id, out keyID); - AsyncCommands.SensorRepeatPlugin.SenseOnce(m_localID, m_itemID, name, keyID, type, range, arc, m_host); + AsyncCommands.SensorRepeatPlugin.SenseOnce(m_localID, m_item.ItemID, name, keyID, type, range, arc, m_host); } public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) @@ -893,13 +879,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID keyID = UUID.Zero; UUID.TryParse(id, out keyID); - AsyncCommands.SensorRepeatPlugin.SetSenseRepeatEvent(m_localID, m_itemID, name, keyID, type, range, arc, rate, m_host); + AsyncCommands.SensorRepeatPlugin.SetSenseRepeatEvent(m_localID, m_item.ItemID, name, keyID, type, range, arc, rate, m_host); } public void llSensorRemove() { m_host.AddScriptLPS(1); - AsyncCommands.SensorRepeatPlugin.UnSetSenseRepeaterEvents(m_localID, m_itemID); + AsyncCommands.SensorRepeatPlugin.UnSetSenseRepeaterEvents(m_localID, m_item.ItemID); } public string resolveName(UUID objecUUID) @@ -940,7 +926,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String llDetectedName(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return String.Empty; return detectedParams.Name; @@ -949,7 +935,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String llDetectedKey(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return String.Empty; return detectedParams.Key.ToString(); @@ -958,7 +944,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String llDetectedOwner(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return String.Empty; return detectedParams.Owner.ToString(); @@ -967,7 +953,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llDetectedType(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return 0; return new LSL_Integer(detectedParams.Type); @@ -976,7 +962,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedPos(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return new LSL_Vector(); return detectedParams.Position; @@ -985,7 +971,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedVel(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return new LSL_Vector(); return detectedParams.Velocity; @@ -994,7 +980,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedGrab(int number) { m_host.AddScriptLPS(1); - DetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams parms = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (parms == null) return new LSL_Vector(0, 0, 0); @@ -1004,7 +990,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Rotation llDetectedRot(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return new LSL_Rotation(); return detectedParams.Rotation; @@ -1013,7 +999,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llDetectedGroup(int number) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (detectedParams == null) return new LSL_Integer(0); if (m_host.GroupID == detectedParams.Group) @@ -1024,7 +1010,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llDetectedLinkNumber(int number) { m_host.AddScriptLPS(1); - DetectParams parms = m_ScriptEngine.GetDetectParams(m_itemID, number); + DetectParams parms = m_ScriptEngine.GetDetectParams(m_item.ItemID, number); if (parms == null) return new LSL_Integer(0); @@ -1037,7 +1023,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedTouchBinormal(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Vector(); return detectedParams.TouchBinormal; @@ -1049,7 +1035,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llDetectedTouchFace(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Integer(-1); return new LSL_Integer(detectedParams.TouchFace); @@ -1061,7 +1047,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedTouchNormal(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Vector(); return detectedParams.TouchNormal; @@ -1073,7 +1059,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedTouchPos(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Vector(); return detectedParams.TouchPos; @@ -1085,7 +1071,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedTouchST(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Vector(-1.0, -1.0, 0.0); return detectedParams.TouchST; @@ -1097,7 +1083,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Vector llDetectedTouchUV(int index) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, index); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, index); if (detectedParams == null) return new LSL_Vector(-1.0, -1.0, 0.0); return detectedParams.TouchUV; @@ -2702,12 +2688,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter == UUID.Zero) + if (m_item.PermsGranter == UUID.Zero) return 0; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_DEBIT) == 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_DEBIT) == 0) { LSLError("No permissions to give money"); return 0; @@ -2890,7 +2874,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api sec = m_MinTimerInterval; m_host.AddScriptLPS(1); // Setting timer repeat - AsyncCommands.TimerPlugin.SetTimerEvent(m_localID, m_itemID, sec); + AsyncCommands.TimerPlugin.SetTimerEvent(m_localID, m_item.ItemID, sec); } public virtual void llSleep(double sec) @@ -2945,17 +2929,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llTakeControls(int controls, int accept, int pass_on) { - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter != UUID.Zero) + if (m_item.PermsGranter != UUID.Zero) { - ScenePresence presence = World.GetScenePresence(item.PermsGranter); + ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); if (presence != null) { - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) { - presence.RegisterControlEventsToScript(controls, accept, pass_on, m_localID, m_itemID); + presence.RegisterControlEventsToScript(controls, accept, pass_on, m_localID, m_item.ItemID); } } } @@ -2967,20 +2949,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter != UUID.Zero) + if (m_item.PermsGranter != UUID.Zero) { - ScenePresence presence = World.GetScenePresence(item.PermsGranter); + ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); if (presence != null) { - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) { // Unregister controls from Presence - presence.UnRegisterControlEventsToScript(m_localID, m_itemID); + presence.UnRegisterControlEventsToScript(m_localID, m_item.ItemID); // Remove Take Control permission. - item.PermsMask &= ~ScriptBaseClass.PERMISSION_TAKE_CONTROLS; + m_item.PermsMask &= ~ScriptBaseClass.PERMISSION_TAKE_CONTROLS; } } } @@ -3042,12 +3022,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // if (m_host.ParentGroup.RootPart.AttachmentPoint == 0) // return; - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter != m_host.OwnerID) + if (m_item.PermsGranter != m_host.OwnerID) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) AttachToAvatar(attachmentPoint); } @@ -3058,12 +3036,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (m_host.ParentGroup.AttachmentPoint == 0) return; - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter != m_host.OwnerID) + if (m_item.PermsGranter != m_host.OwnerID) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) DetachFromAvatar(); } @@ -3245,7 +3221,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); try { - m_ScriptEngine.SetMinEventDelay(m_itemID, delay); + m_ScriptEngine.SetMinEventDelay(m_item.ItemID, delay); } catch (NotImplementedException) { @@ -3298,14 +3274,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter == UUID.Zero) + if (m_item.PermsGranter == UUID.Zero) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION) != 0) { - ScenePresence presence = World.GetScenePresence(item.PermsGranter); + ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); if (presence != null) { @@ -3323,21 +3297,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter == UUID.Zero) + if (m_item.PermsGranter == UUID.Zero) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION) != 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION) != 0) { UUID animID = new UUID(); if (!UUID.TryParse(anim, out animID)) { - animID=InventoryKey(anim); + animID = InventoryKey(anim); } - ScenePresence presence = World.GetScenePresence(item.PermsGranter); + ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); if (presence != null) { @@ -3373,7 +3345,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llGetStartParameter() { m_host.AddScriptLPS(1); - return m_ScriptEngine.GetStartParameter(m_itemID); + return m_ScriptEngine.GetStartParameter(m_item.ItemID); } public void llRequestPermissions(string agent, int perm) @@ -3383,16 +3355,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (!UUID.TryParse(agent, out agentID)) return; - TaskInventoryItem item = GetSelfInventoryItem(); - if (agentID == UUID.Zero || perm == 0) // Releasing permissions { llReleaseControls(); - item.PermsGranter = UUID.Zero; - item.PermsMask = 0; + m_item.PermsGranter = UUID.Zero; + m_item.PermsMask = 0; - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( "run_time_permissions", new Object[] { new LSL_Integer(0) }, new DetectParams[0])); @@ -3400,7 +3370,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - if (item.PermsGranter != agentID || (perm & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) == 0) + if (m_item.PermsGranter != agentID || (perm & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) == 0) llReleaseControls(); m_host.AddScriptLPS(1); @@ -3417,11 +3387,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[m_itemID].PermsGranter = agentID; - m_host.TaskInventory[m_itemID].PermsMask = perm; + m_host.TaskInventory[m_item.ItemID].PermsGranter = agentID; + m_host.TaskInventory[m_item.ItemID].PermsMask = perm; } - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( "run_time_permissions", new Object[] { new LSL_Integer(perm) }, new DetectParams[0])); @@ -3441,11 +3411,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[m_itemID].PermsGranter = agentID; - m_host.TaskInventory[m_itemID].PermsMask = perm; + m_host.TaskInventory[m_item.ItemID].PermsGranter = agentID; + m_host.TaskInventory[m_item.ItemID].PermsMask = perm; } - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( "run_time_permissions", new Object[] { new LSL_Integer(perm) }, new DetectParams[0])); @@ -3466,8 +3436,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { lock (m_host.TaskInventory) { - m_host.TaskInventory[m_itemID].PermsGranter = agentID; - m_host.TaskInventory[m_itemID].PermsMask = 0; + m_host.TaskInventory[m_item.ItemID].PermsGranter = agentID; + m_host.TaskInventory[m_item.ItemID].PermsMask = 0; } presence.ControllingClient.OnScriptAnswer += handleScriptAnswer; @@ -3475,13 +3445,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } presence.ControllingClient.SendScriptQuestion( - m_host.UUID, m_host.ParentGroup.RootPart.Name, ownerName, m_itemID, perm); + m_host.UUID, m_host.ParentGroup.RootPart.Name, ownerName, m_item.ItemID, perm); return; } // Requested agent is not in range, refuse perms - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( "run_time_permissions", new Object[] { new LSL_Integer(0) }, new DetectParams[0])); @@ -3500,10 +3470,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api lock (m_host.TaskInventory) { - m_host.TaskInventory[m_itemID].PermsMask = answer; + m_host.TaskInventory[m_item.ItemID].PermsMask = answer; } - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams( + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( "run_time_permissions", new Object[] { new LSL_Integer(answer) }, new DetectParams[0])); @@ -3513,14 +3483,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - return GetSelfInventoryItem().PermsGranter.ToString(); + return m_item.PermsGranter.ToString(); } public LSL_Integer llGetPermissions() { m_host.AddScriptLPS(1); - int perms = GetSelfInventoryItem().PermsMask; + int perms = m_item.PermsMask; if (m_automaticLinkPermission) perms |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; @@ -3558,9 +3528,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (!UUID.TryParse(target, out targetID)) return; - TaskInventoryItem item = GetSelfInventoryItem(); - - if ((item.PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 && !m_automaticLinkPermission) { ShoutError("Script trying to link but PERMISSION_CHANGE_LINKS permission not set!"); @@ -3568,7 +3536,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } IClientAPI client = null; - ScenePresence sp = World.GetScenePresence(item.PermsGranter); + ScenePresence sp = World.GetScenePresence(m_item.PermsGranter); if (sp != null) client = sp.ControllingClient; @@ -3615,7 +3583,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - if ((GetSelfInventoryItem().PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_CHANGE_LINKS) == 0 && !m_automaticLinkPermission) { ShoutError("Script trying to link but PERMISSION_CHANGE_LINKS permission not set!"); @@ -3986,7 +3954,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { if (item.Name == name) { - if (item.ItemID == m_itemID) + if (item.ItemID == m_item.ItemID) throw new ScriptDeleteException(); else m_host.Inventory.RemoveInventoryItem(item.ItemID); @@ -4122,7 +4090,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID tid = AsyncCommands. DataserverPlugin.RegisterRequest(m_localID, - m_itemID, rq.ToString()); + m_item.ItemID, rq.ToString()); AsyncCommands. DataserverPlugin.DataserverReply(rq.ToString(), reply); @@ -4143,7 +4111,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { UUID tid = AsyncCommands. DataserverPlugin.RegisterRequest(m_localID, - m_itemID, item.AssetID.ToString()); + m_item.ItemID, item.AssetID.ToString()); Vector3 region = new Vector3( World.RegionInfo.RegionLocX * Constants.RegionSize, @@ -4498,9 +4466,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - return item.Name != null ? item.Name : String.Empty; + return m_item.Name != null ? m_item.Name : String.Empty; } public LSL_Integer llGetLinkNumberOfSides(int link) @@ -6598,14 +6564,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface(); if (xmlrpcMod.IsEnabled()) { - UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_itemID, UUID.Zero); + UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_item.ItemID, UUID.Zero); IXmlRpcRouter xmlRpcRouter = m_ScriptEngine.World.RequestModuleInterface(); if (xmlRpcRouter != null) { string ExternalHostName = m_ScriptEngine.World.RegionInfo.ExternalHostName; xmlRpcRouter.RegisterNewReceiver(m_ScriptEngine.ScriptModule, channelID, m_host.UUID, - m_itemID, String.Format("http://{0}:{1}/", ExternalHostName, + m_item.ItemID, String.Format("http://{0}:{1}/", ExternalHostName, xmlrpcMod.Port.ToString())); } object[] resobj = new object[] @@ -6617,7 +6583,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api new LSL_Integer(0), new LSL_String(String.Empty) }; - m_ScriptEngine.PostScriptEvent(m_itemID, new EventParams("remote_data", resobj, + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams("remote_data", resobj, new DetectParams[0])); } ScriptSleep(1000); @@ -6628,7 +6594,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface(); ScriptSleep(3000); - return (xmlrpcMod.SendRemoteData(m_localID, m_itemID, channel, dest, idata, sdata)).ToString(); + return (xmlrpcMod.SendRemoteData(m_localID, m_item.ItemID, channel, dest, idata, sdata)).ToString(); } public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) @@ -9049,13 +9015,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); if (m_UrlModule != null) - return m_UrlModule.RequestSecureURL(m_ScriptEngine.ScriptModule, m_host, m_itemID).ToString(); + return m_UrlModule.RequestSecureURL(m_ScriptEngine.ScriptModule, m_host, m_item.ItemID).ToString(); return UUID.Zero.ToString(); } public LSL_String llRequestSimulatorData(string simulator, int data) { - IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL"); + IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_item.ItemID, "OSSL"); try { @@ -9117,7 +9083,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID rq = UUID.Random(); UUID tid = AsyncCommands. - DataserverPlugin.RegisterRequest(m_localID, m_itemID, rq.ToString()); + DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); AsyncCommands. DataserverPlugin.DataserverReply(rq.ToString(), reply); @@ -9136,7 +9102,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); if (m_UrlModule != null) - return m_UrlModule.RequestURL(m_ScriptEngine.ScriptModule, m_host, m_itemID).ToString(); + return m_UrlModule.RequestURL(m_ScriptEngine.ScriptModule, m_host, m_item.ItemID).ToString(); return UUID.Zero.ToString(); } @@ -9602,12 +9568,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter == UUID.Zero) + if (m_item.PermsGranter == UUID.Zero) return new LSL_Vector(); - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) { ShoutError("No permissions to track the camera"); return new LSL_Vector(); @@ -9626,12 +9590,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryItem item = GetSelfInventoryItem(); - - if (item.PermsGranter == UUID.Zero) + if (m_item.PermsGranter == UUID.Zero) return new LSL_Rotation(); - if ((item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TRACK_CAMERA) == 0) { ShoutError("No permissions to track the camera"); return new LSL_Rotation(); @@ -9696,7 +9658,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llMapDestination(string simname, LSL_Vector pos, LSL_Vector lookAt) { m_host.AddScriptLPS(1); - DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_itemID, 0); + DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, 0); if (detectedParams == null) return; // only works on the first detected avatar ScenePresence avatar = World.GetScenePresence(detectedParams.Key); @@ -9813,15 +9775,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (objectID == UUID.Zero) return; - TaskInventoryItem item = GetSelfInventoryItem(); - // we need the permission first, to know which avatar we want to set the camera for - UUID agentID = item.PermsGranter; + UUID agentID = m_item.PermsGranter; if (agentID == UUID.Zero) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; ScenePresence presence = World.GetScenePresence(agentID); @@ -9867,15 +9827,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (objectID == UUID.Zero) return; - TaskInventoryItem item = GetSelfInventoryItem(); - // we need the permission first, to know which avatar we want to clear the camera for - UUID agentID = item.PermsGranter; + UUID agentID = m_item.PermsGranter; if (agentID == UUID.Zero) return; - if ((item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) + if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_CONTROL_CAMERA) == 0) return; ScenePresence presence = World.GetScenePresence(agentID); @@ -10025,7 +9983,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } UUID reqID = httpScriptMod. - StartHttpRequest(m_localID, m_itemID, url, param, httpHeaders, body); + StartHttpRequest(m_localID, m_item.ItemID, url, param, httpHeaders, body); if (reqID != UUID.Zero) return reqID.ToString(); @@ -10455,7 +10413,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // was: UUID tid = tid = AsyncCommands. - UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_itemID, assetID.ToString()); + UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, assetID.ToString()); if (NotecardCache.IsCached(assetID)) { @@ -10517,7 +10475,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // was: UUID tid = tid = AsyncCommands. - UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_itemID, assetID.ToString()); + UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, assetID.ToString()); if (NotecardCache.IsCached(assetID)) { @@ -10575,7 +10533,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void print(string str) { // yes, this is a real LSL function. See: http://wiki.secondlife.com/wiki/Print - IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL"); + IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_item.ItemID, "OSSL"); if (ossl != null) { ossl.CheckThreatLevel(ThreatLevel.High, "print"); @@ -10603,7 +10561,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { UUID rq = UUID.Random(); - AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_itemID, rq.ToString()); + AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); AsyncCommands.DataserverPlugin.DataserverReply(rq.ToString(), Name2Username(llKey2Name(id))); @@ -10619,7 +10577,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { UUID rq = UUID.Random(); - AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_itemID, rq.ToString()); + AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); AsyncCommands.DataserverPlugin.DataserverReply(rq.ToString(), llKey2Name(id)); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index df20126..cd47d96 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs @@ -59,16 +59,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal IScriptEngine m_ScriptEngine; internal SceneObjectPart m_host; internal uint m_localID; - internal UUID m_itemID; internal bool m_LSFunctionsEnabled = false; internal IScriptModuleComms m_comms = null; - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; - m_itemID = itemID; if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false)) m_LSFunctionsEnabled = true; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs index 7c07e15..a578b50 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs @@ -58,16 +58,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal IScriptEngine m_ScriptEngine; internal SceneObjectPart m_host; internal uint m_localID; - internal UUID m_itemID; + internal TaskInventoryItem m_item; internal bool m_MODFunctionsEnabled = false; internal IScriptModuleComms m_comms = null; - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; - m_itemID = itemID; + m_item = item; if (m_ScriptEngine.Config.GetBoolean("AllowMODFunctions", false)) m_MODFunctionsEnabled = true; @@ -252,7 +252,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // non-null but don't trust it completely try { - object result = m_comms.InvokeOperation(m_host.UUID, m_itemID, fname, convertedParms); + object result = m_comms.InvokeOperation(m_host.UUID, m_item.ItemID, fname, convertedParms); if (result != null) return result; @@ -279,7 +279,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID req = UUID.Random(); - m_comms.RaiseEvent(m_itemID, req.ToString(), module, command, k); + m_comms.RaiseEvent(m_item.ItemID, req.ToString(), module, command, k); return req.ToString(); } diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 3b67966..9b2022a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -134,19 +134,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal ILSL_Api m_LSL_Api = null; // get a reference to the LSL API so we can call methods housed there internal SceneObjectPart m_host; internal uint m_localID; - internal UUID m_itemID; + internal TaskInventoryItem m_item; internal bool m_OSFunctionsEnabled = false; internal ThreatLevel m_MaxThreatLevel = ThreatLevel.VeryLow; internal float m_ScriptDelayFactor = 1.0f; internal float m_ScriptDistanceFactor = 1.0f; internal Dictionary m_FunctionPerms = new Dictionary(); - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; - m_itemID = itemID; + m_item = item; if (m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false)) m_OSFunctionsEnabled = true; @@ -224,7 +224,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (m_LSL_Api != null) return; - m_LSL_Api = (ILSL_Api)m_ScriptEngine.GetApi(m_itemID, "LSL"); + m_LSL_Api = (ILSL_Api)m_ScriptEngine.GetApi(m_item.ItemID, "LSL"); } // @@ -343,22 +343,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - TaskInventoryItem ti = m_host.Inventory.GetInventoryItem(m_itemID); - if (ti == null) - { - OSSLError( - String.Format("{0} permission error. Can't find script in prim inventory.", - function)); - } - - UUID ownerID = ti.OwnerID; + UUID ownerID = m_item.OwnerID; //OSSL only may be used if object is in the same group as the parcel if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("PARCEL_GROUP_MEMBER")) { ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y); - if (land.LandData.GroupID == ti.GroupID && land.LandData.GroupID != UUID.Zero) + if (land.LandData.GroupID == m_item.GroupID && land.LandData.GroupID != UUID.Zero) { return; } @@ -394,13 +386,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - if (!m_FunctionPerms[function].AllowedCreators.Contains(ti.CreatorID)) + if (!m_FunctionPerms[function].AllowedCreators.Contains(m_item.CreatorID)) OSSLError( String.Format("{0} permission denied. Script creator is not in the list of users allowed to execute this function and prim owner also has no permission.", function)); - if (ti.CreatorID != ownerID) + + if (m_item.CreatorID != ownerID) { - if ((ti.CurrentPermissions & (uint)PermissionMask.Modify) != 0) + if ((m_item.CurrentPermissions & (uint)PermissionMask.Modify) != 0) OSSLError( String.Format("{0} permission denied. Script permissions error.", function)); @@ -1183,7 +1176,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api CheckThreatLevel(ThreatLevel.High, "osSetStateEvents"); m_host.AddScriptLPS(1); - m_host.SetScriptEvents(m_itemID, events); + m_host.SetScriptEvents(m_item.ItemID, events); } public void osSetRegionWaterHeight(double height) diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 2c8af81..dd47393 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -232,7 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance foreach (string api in am.GetApis()) { m_Apis[api] = am.CreateApi(api); - m_Apis[api].Initialize(engine, part, LocalID, itemID); + m_Apis[api].Initialize(engine, part, LocalID, ScriptTask); } try diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs index 49266e9..f480e1d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs @@ -88,10 +88,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests // Create an object embedded inside the first UUID itemId = TestHelpers.ParseTail(0x20); - TaskInventoryHelpers.AddSceneObject(m_scene, so1.RootPart, inventoryItemName, itemId, userId); + TaskInventoryItem item + = TaskInventoryHelpers.AddSceneObject(m_scene, so1.RootPart, inventoryItemName, itemId, userId); LSL_Api api = new LSL_Api(); - api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, so1.RootPart.UUID); + api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, null); // Create a second object SceneObjectGroup so2 = SceneHelpers.CreateSceneObject(1, userId, "so2", 0x100); @@ -124,7 +125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests SceneObjectGroup so1 = SceneHelpers.CreateSceneObject(1, user1Id, "so1", 0x10); m_scene.AddSceneObject(so1); LSL_Api api = new LSL_Api(); - api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, so1.RootPart.UUID); + api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, null); // Create an object embedded inside the first UUID itemId = TestHelpers.ParseTail(0x20); @@ -134,7 +135,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests SceneObjectGroup so2 = SceneHelpers.CreateSceneObject(1, user2Id, "so2", 0x100); m_scene.AddSceneObject(so2); LSL_Api api2 = new LSL_Api(); - api2.Initialize(m_engine, so2.RootPart, so2.RootPart.LocalId, so2.RootPart.UUID); + api2.Initialize(m_engine, so2.RootPart, so2.RootPart.LocalId, null); // *** Firstly, we test where llAllowInventoryDrop() has not been called. *** api.llGiveInventory(so2.UUID.ToString(), inventoryItemName); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index 92a63bf..bba6c56 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -66,8 +66,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests engine.AddRegion(scene); m_lslApi = new LSL_Api(); - m_lslApi.Initialize(engine, part, part.LocalId, part.UUID); - + m_lslApi.Initialize(engine, part, part.LocalId, null); } [Test] diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs index c51227b..dff8f6e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs @@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -130,7 +130,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -161,7 +161,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); string notecardName = "appearanceNc"; @@ -202,7 +202,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); string notecardName = "appearanceNc"; diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 9c36108..80ac52c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs @@ -104,10 +104,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(otherSo); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); OSSL_Api otherOsslApi = new OSSL_Api(); - otherOsslApi.Initialize(m_engine, otherPart, otherPart.LocalId, otherPart.UUID); + otherOsslApi.Initialize(m_engine, otherPart, otherPart.LocalId, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -151,7 +151,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, part.UUID); + osslApi.Initialize(m_engine, part, part.LocalId, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); -- cgit v1.1 From 6406d5a5b9c1c4ef261254e7d4446603b496d1fd Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 8 May 2012 23:20:27 +0100 Subject: refactor: Eliminate local id parameter from api initialize. This is always available from m_host.LocalId --- .../Region/ScriptEngine/Interfaces/IScriptApi.cs | 3 +- .../Shared/Api/Implementation/LSL_Api.cs | 40 ++++++++++------------ .../Shared/Api/Implementation/LS_Api.cs | 4 +-- .../Shared/Api/Implementation/MOD_Api.cs | 4 +-- .../Shared/Api/Implementation/OSSL_Api.cs | 4 +-- .../ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 +- .../Shared/Tests/LSL_ApiInventoryTests.cs | 9 +++-- .../ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 2 +- .../Shared/Tests/OSSL_ApiAppearanceTest.cs | 8 ++--- .../ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 6 ++-- 10 files changed, 36 insertions(+), 46 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs index cced522..2027ca6 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptApi.cs @@ -42,8 +42,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces /// proper runtime assembly at load time. /// /param> /// - /// /// - void Initialize(IScriptEngine engine, SceneObjectPart part, uint localID, TaskInventoryItem item); + void Initialize(IScriptEngine engine, SceneObjectPart part, TaskInventoryItem item); } } \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e8e4dab..afd943b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -84,7 +84,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); protected IScriptEngine m_ScriptEngine; protected SceneObjectPart m_host; - protected uint m_localID; /// /// The item that hosts this script @@ -108,11 +107,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected Dictionary m_userInfoCache = new Dictionary(); - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; - m_localID = localID; m_item = item; m_ScriptDelayFactor = @@ -843,7 +841,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID.TryParse(ID, out keyID); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - return wComm.Listen(m_localID, m_item.ItemID, m_host.UUID, channelID, name, keyID, msg); + return wComm.Listen(m_host.LocalId, m_item.ItemID, m_host.UUID, channelID, name, keyID, msg); else return -1; } @@ -870,7 +868,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID keyID = UUID.Zero; UUID.TryParse(id, out keyID); - AsyncCommands.SensorRepeatPlugin.SenseOnce(m_localID, m_item.ItemID, name, keyID, type, range, arc, m_host); + AsyncCommands.SensorRepeatPlugin.SenseOnce(m_host.LocalId, m_item.ItemID, name, keyID, type, range, arc, m_host); } public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) @@ -879,13 +877,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID keyID = UUID.Zero; UUID.TryParse(id, out keyID); - AsyncCommands.SensorRepeatPlugin.SetSenseRepeatEvent(m_localID, m_item.ItemID, name, keyID, type, range, arc, rate, m_host); + AsyncCommands.SensorRepeatPlugin.SetSenseRepeatEvent(m_host.LocalId, m_item.ItemID, name, keyID, type, range, arc, rate, m_host); } public void llSensorRemove() { m_host.AddScriptLPS(1); - AsyncCommands.SensorRepeatPlugin.UnSetSenseRepeaterEvents(m_localID, m_item.ItemID); + AsyncCommands.SensorRepeatPlugin.UnSetSenseRepeaterEvents(m_host.LocalId, m_item.ItemID); } public string resolveName(UUID objecUUID) @@ -2874,7 +2872,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api sec = m_MinTimerInterval; m_host.AddScriptLPS(1); // Setting timer repeat - AsyncCommands.TimerPlugin.SetTimerEvent(m_localID, m_item.ItemID, sec); + AsyncCommands.TimerPlugin.SetTimerEvent(m_host.LocalId, m_item.ItemID, sec); } public virtual void llSleep(double sec) @@ -2937,7 +2935,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) { - presence.RegisterControlEventsToScript(controls, accept, pass_on, m_localID, m_item.ItemID); + presence.RegisterControlEventsToScript(controls, accept, pass_on, m_host.LocalId, m_item.ItemID); } } } @@ -2958,7 +2956,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TAKE_CONTROLS) != 0) { // Unregister controls from Presence - presence.UnRegisterControlEventsToScript(m_localID, m_item.ItemID); + presence.UnRegisterControlEventsToScript(m_host.LocalId, m_item.ItemID); // Remove Take Control permission. m_item.PermsMask &= ~ScriptBaseClass.PERMISSION_TAKE_CONTROLS; } @@ -4089,7 +4087,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID rq = UUID.Random(); UUID tid = AsyncCommands. - DataserverPlugin.RegisterRequest(m_localID, + DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, rq.ToString()); AsyncCommands. @@ -4110,7 +4108,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (item.Type == 3 && item.Name == name) { UUID tid = AsyncCommands. - DataserverPlugin.RegisterRequest(m_localID, + DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, item.AssetID.ToString()); Vector3 region = new Vector3( @@ -6564,7 +6562,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface(); if (xmlrpcMod.IsEnabled()) { - UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_item.ItemID, UUID.Zero); + UUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_host.LocalId, m_item.ItemID, UUID.Zero); IXmlRpcRouter xmlRpcRouter = m_ScriptEngine.World.RequestModuleInterface(); if (xmlRpcRouter != null) { @@ -6594,7 +6592,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface(); ScriptSleep(3000); - return (xmlrpcMod.SendRemoteData(m_localID, m_item.ItemID, channel, dest, idata, sdata)).ToString(); + return (xmlrpcMod.SendRemoteData(m_host.LocalId, m_item.ItemID, channel, dest, idata, sdata)).ToString(); } public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) @@ -9083,7 +9081,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID rq = UUID.Random(); UUID tid = AsyncCommands. - DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); + DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, rq.ToString()); AsyncCommands. DataserverPlugin.DataserverReply(rq.ToString(), reply); @@ -9982,8 +9980,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - UUID reqID = httpScriptMod. - StartHttpRequest(m_localID, m_item.ItemID, url, param, httpHeaders, body); + UUID reqID + = httpScriptMod.StartHttpRequest(m_host.LocalId, m_item.ItemID, url, param, httpHeaders, body); if (reqID != UUID.Zero) return reqID.ToString(); @@ -10413,7 +10411,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // was: UUID tid = tid = AsyncCommands. - UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, assetID.ToString()); + UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, assetID.ToString()); if (NotecardCache.IsCached(assetID)) { @@ -10475,7 +10473,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // was: UUID tid = tid = AsyncCommands. - UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, assetID.ToString()); + UUID tid = AsyncCommands.DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, assetID.ToString()); if (NotecardCache.IsCached(assetID)) { @@ -10561,7 +10559,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { UUID rq = UUID.Random(); - AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); + AsyncCommands.DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, rq.ToString()); AsyncCommands.DataserverPlugin.DataserverReply(rq.ToString(), Name2Username(llKey2Name(id))); @@ -10577,7 +10575,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { UUID rq = UUID.Random(); - AsyncCommands.DataserverPlugin.RegisterRequest(m_localID, m_item.ItemID, rq.ToString()); + AsyncCommands.DataserverPlugin.RegisterRequest(m_host.LocalId, m_item.ItemID, rq.ToString()); AsyncCommands.DataserverPlugin.DataserverReply(rq.ToString(), llKey2Name(id)); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index cd47d96..795de80 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs @@ -58,15 +58,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { internal IScriptEngine m_ScriptEngine; internal SceneObjectPart m_host; - internal uint m_localID; internal bool m_LSFunctionsEnabled = false; internal IScriptModuleComms m_comms = null; - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; - m_localID = localID; if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false)) m_LSFunctionsEnabled = true; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs index a578b50..4bd3dff 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs @@ -57,16 +57,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { internal IScriptEngine m_ScriptEngine; internal SceneObjectPart m_host; - internal uint m_localID; internal TaskInventoryItem m_item; internal bool m_MODFunctionsEnabled = false; internal IScriptModuleComms m_comms = null; - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; - m_localID = localID; m_item = item; if (m_ScriptEngine.Config.GetBoolean("AllowMODFunctions", false)) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 9b2022a..ad1a358 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -133,7 +133,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal IScriptEngine m_ScriptEngine; internal ILSL_Api m_LSL_Api = null; // get a reference to the LSL API so we can call methods housed there internal SceneObjectPart m_host; - internal uint m_localID; internal TaskInventoryItem m_item; internal bool m_OSFunctionsEnabled = false; internal ThreatLevel m_MaxThreatLevel = ThreatLevel.VeryLow; @@ -141,11 +140,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal float m_ScriptDistanceFactor = 1.0f; internal Dictionary m_FunctionPerms = new Dictionary(); - public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, TaskInventoryItem item) + public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; - m_localID = localID; m_item = item; if (m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false)) diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index dd47393..329e361 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -232,7 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance foreach (string api in am.GetApis()) { m_Apis[api] = am.CreateApi(api); - m_Apis[api].Initialize(engine, part, LocalID, ScriptTask); + m_Apis[api].Initialize(engine, part, ScriptTask); } try diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs index f480e1d..c73e22f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs @@ -88,11 +88,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests // Create an object embedded inside the first UUID itemId = TestHelpers.ParseTail(0x20); - TaskInventoryItem item - = TaskInventoryHelpers.AddSceneObject(m_scene, so1.RootPart, inventoryItemName, itemId, userId); + TaskInventoryHelpers.AddSceneObject(m_scene, so1.RootPart, inventoryItemName, itemId, userId); LSL_Api api = new LSL_Api(); - api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, null); + api.Initialize(m_engine, so1.RootPart, null); // Create a second object SceneObjectGroup so2 = SceneHelpers.CreateSceneObject(1, userId, "so2", 0x100); @@ -125,7 +124,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests SceneObjectGroup so1 = SceneHelpers.CreateSceneObject(1, user1Id, "so1", 0x10); m_scene.AddSceneObject(so1); LSL_Api api = new LSL_Api(); - api.Initialize(m_engine, so1.RootPart, so1.RootPart.LocalId, null); + api.Initialize(m_engine, so1.RootPart, null); // Create an object embedded inside the first UUID itemId = TestHelpers.ParseTail(0x20); @@ -135,7 +134,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests SceneObjectGroup so2 = SceneHelpers.CreateSceneObject(1, user2Id, "so2", 0x100); m_scene.AddSceneObject(so2); LSL_Api api2 = new LSL_Api(); - api2.Initialize(m_engine, so2.RootPart, so2.RootPart.LocalId, null); + api2.Initialize(m_engine, so2.RootPart, null); // *** Firstly, we test where llAllowInventoryDrop() has not been called. *** api.llGiveInventory(so2.UUID.ToString(), inventoryItemName); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index bba6c56..f96a156 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -66,7 +66,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests engine.AddRegion(scene); m_lslApi = new LSL_Api(); - m_lslApi.Initialize(engine, part, part.LocalId, null); + m_lslApi.Initialize(engine, part, null); } [Test] diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs index dff8f6e..3965734 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs @@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -130,7 +130,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -161,7 +161,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); string notecardName = "appearanceNc"; @@ -202,7 +202,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); string notecardName = "appearanceNc"; diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 80ac52c..0ccd889 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs @@ -104,10 +104,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(otherSo); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); OSSL_Api otherOsslApi = new OSSL_Api(); - otherOsslApi.Initialize(m_engine, otherPart, otherPart.LocalId, null); + otherOsslApi.Initialize(m_engine, otherPart, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); @@ -151,7 +151,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests m_scene.AddSceneObject(so); OSSL_Api osslApi = new OSSL_Api(); - osslApi.Initialize(m_engine, part, part.LocalId, null); + osslApi.Initialize(m_engine, part, null); string notecardName = "appearanceNc"; osslApi.osOwnerSaveAppearance(notecardName); -- cgit v1.1 From c0658a102ebbff6ea8ef1ef510d30da890aacded Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 8 May 2012 23:29:51 +0100 Subject: Add automated TestllCreateLink() --- .../Shared/Tests/LSL_ApiLinkingTests.cs | 112 +++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs new file mode 100644 index 0000000..4420915 --- /dev/null +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs @@ -0,0 +1,112 @@ +/* + * Copyright (c) Contributors, http://opensimulator.org/ + * See CONTRIBUTORS.TXT for a full list of copyright holders. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the OpenSimulator Project nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Text; +using log4net; +using Nini.Config; +using NUnit.Framework; +using OpenMetaverse; +using OpenMetaverse.Assets; +using OpenMetaverse.StructuredData; +using OpenSim.Framework; +using OpenSim.Region.CoreModules.Avatar.AvatarFactory; +using OpenSim.Region.OptionalModules.World.NPC; +using OpenSim.Region.Framework.Scenes; +using OpenSim.Region.ScriptEngine.Shared; +using OpenSim.Region.ScriptEngine.Shared.Api; +using OpenSim.Region.ScriptEngine.Shared.ScriptBase; +using OpenSim.Services.Interfaces; +using OpenSim.Tests.Common; +using OpenSim.Tests.Common.Mock; + +namespace OpenSim.Region.ScriptEngine.Shared.Tests +{ + /// + /// Tests for linking functions in LSL + /// + /// + /// This relates to LSL. Actual linking functionality should be tested in the main + /// OpenSim.Region.Framework.Scenes.Tests.SceneObjectLinkingTests. + /// + [TestFixture] + public class LSL_ApiLinkingTests + { + protected Scene m_scene; + protected XEngine.XEngine m_engine; + + [SetUp] + public void SetUp() + { + IConfigSource initConfigSource = new IniConfigSource(); + IConfig config = initConfigSource.AddConfig("XEngine"); + config.Set("Enabled", "true"); + + m_scene = new SceneHelpers().SetupScene(); + SceneHelpers.SetupSceneModules(m_scene, initConfigSource); + + m_engine = new XEngine.XEngine(); + m_engine.Initialise(initConfigSource); + m_engine.AddRegion(m_scene); + } + + [Test] + public void TestllCreateLink() + { + TestHelpers.InMethod(); + + UUID ownerId = TestHelpers.ParseTail(0x1); + + SceneObjectGroup grp1 = SceneHelpers.CreateSceneObject(2, ownerId, "grp1-", 0x10); + grp1.AbsolutePosition = new Vector3(10, 10, 10); + m_scene.AddSceneObject(grp1); + + // FIXME: This should really be a script item (with accompanying script) + TaskInventoryItem grp1Item + = TaskInventoryHelpers.AddNotecard(m_scene, grp1.RootPart); + grp1Item.PermsMask |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; + + SceneObjectGroup grp2 = SceneHelpers.CreateSceneObject(2, ownerId, "grp2-", 0x20); + grp2.AbsolutePosition = new Vector3(20, 20, 20); + + // <180,0,0> + grp2.UpdateGroupRotationR(Quaternion.CreateFromEulers(180 * Utils.DEG_TO_RAD, 0, 0)); + + m_scene.AddSceneObject(grp2); + + LSL_Api apiGrp1 = new LSL_Api(); + apiGrp1.Initialize(m_engine, grp1.RootPart, grp1Item); + + apiGrp1.llCreateLink(grp2.UUID.ToString(), ScriptBaseClass.TRUE); + + Assert.That(grp1.Parts.Length, Is.EqualTo(4)); + Assert.That(grp2.IsDeleted, Is.True); + } + } +} \ No newline at end of file -- cgit v1.1 From ef279c5a62d15d29ca94c95418a13d52f2a68244 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 8 May 2012 23:36:23 +0100 Subject: Add automated TestllBreakLink() --- .../Shared/Tests/LSL_ApiLinkingTests.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs index 4420915..bc3b790 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs @@ -108,5 +108,32 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests Assert.That(grp1.Parts.Length, Is.EqualTo(4)); Assert.That(grp2.IsDeleted, Is.True); } + + [Test] + public void TestllBreakLink() + { + TestHelpers.InMethod(); + + UUID ownerId = TestHelpers.ParseTail(0x1); + + SceneObjectGroup grp1 = SceneHelpers.CreateSceneObject(2, ownerId, "grp1-", 0x10); + grp1.AbsolutePosition = new Vector3(10, 10, 10); + m_scene.AddSceneObject(grp1); + + // FIXME: This should really be a script item (with accompanying script) + TaskInventoryItem grp1Item + = TaskInventoryHelpers.AddNotecard(m_scene, grp1.RootPart); + grp1Item.PermsMask |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; + + LSL_Api apiGrp1 = new LSL_Api(); + apiGrp1.Initialize(m_engine, grp1.RootPart, grp1Item); + + apiGrp1.llBreakLink(2); + + Assert.That(grp1.Parts.Length, Is.EqualTo(1)); + + SceneObjectGroup grp2 = m_scene.GetSceneObjectGroup("grp1-Part1"); + Assert.That(grp2, Is.Not.Null); + } } } \ No newline at end of file -- cgit v1.1 From 61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 8 May 2012 15:52:25 +0100 Subject: Mantis 6015 new LSL function llGetAgentList. Details in the lsl wiki --- .../Shared/Api/Implementation/LSL_Api.cs | 85 ++++++++++++++++++++++ .../ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 1 + .../Shared/Api/Runtime/LSL_Constants.cs | 5 ++ .../ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 ++ 4 files changed, 96 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index afd943b..5b5cab8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -5529,6 +5529,91 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); return "en-us"; } + /// + /// http://wiki.secondlife.com/wiki/LlGetAgentList + /// The list of options is currently not used in SL + /// scope is one of:- + /// AGENT_LIST_REGION - all in the region + /// AGENT_LIST_PARCEL - all in the same parcel as the scripted object + /// AGENT_LIST_PARCEL_OWNER - all in any parcel owned by the owner of the + /// current parcel. + /// + public LSL_List llGetAgentList(LSL_Integer scope, LSL_List options) + { + m_host.AddScriptLPS(1); + + // the constants are 1, 2 and 4 so bits are being set, but you + // get an error "INVALID_SCOPE" if it is anything but 1, 2 and 4 + bool regionWide = scope == ScriptBaseClass.AGENT_LIST_REGION; + bool parcelOwned = scope == ScriptBaseClass.AGENT_LIST_PARCEL_OWNER; + bool parcel = scope == ScriptBaseClass.AGENT_LIST_PARCEL; + + LSL_List result = new LSL_List(); + + if (!regionWide && !parcelOwned && !parcel) + { + result.Add("INVALID_SCOPE"); + return result; + } + + ILandObject land; + Vector3 pos; + UUID id = UUID.Zero; + if (parcel || parcelOwned) + { + pos = m_host.ParentGroup.RootPart.GetWorldPosition(); + land = World.LandChannel.GetLandObject(pos.X, pos.Y); + if (land == null) + { + id = UUID.Zero; + } + else + { + if (parcelOwned) + { + id = land.LandData.OwnerID; + } + else + { + id = land.LandData.GlobalID; + } + } + } + List presenceIds = new List(); + + World.ForEachRootScenePresence( + delegate (ScenePresence ssp) + { + // Gods are not listed in SL + if (!ssp.IsDeleted && ssp.GodLevel == 0.0 && !ssp.IsChildAgent) + { + if (!regionWide) + { + pos = ssp.AbsolutePosition; + land = World.LandChannel.GetLandObject(pos.X, pos.Y); + if (land != null) + { + if (parcelOwned && land.LandData.OwnerID == id || + parcel && land.LandData.GlobalID == id) + { + result.Add(ssp.UUID.ToString()); + } + } + } + else + { + result.Add(ssp.UUID.ToString()); + } + } + // Maximum of 100 results + if (result.Length > 99) + { + return; + } + } + ); + return result; + } public void llAdjustSoundVolume(double volume) { diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 7a797ac..7f5d1fe 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -109,6 +109,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Vector llGetAccel(); LSL_Integer llGetAgentInfo(string id); LSL_String llGetAgentLanguage(string id); + LSL_List llGetAgentList(LSL_Integer scope, LSL_List options); LSL_Vector llGetAgentSize(string id); LSL_Float llGetAlpha(int face); LSL_Float llGetAndResetTime(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 2a28542..b6c21e6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -501,6 +501,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public const int OBJECT_STREAMING_COST = 15; public const int OBJECT_PHYSICS_COST = 16; + // for llGetAgentList + public const int AGENT_LIST_PARCEL = 1; + public const int AGENT_LIST_PARCEL_OWNER = 2; + public const int AGENT_LIST_REGION = 4; + // Can not be public const? public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 80fa530..c0bf29c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -389,6 +389,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llGetAgentLanguage(id); } + public LSL_List llGetAgentList(LSL_Integer scope, LSL_List options) + { + return m_LSL_Functions.llGetAgentList(scope, options); + } + public LSL_Vector llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); -- cgit v1.1 From 30a272ba318c2cacc27f6244dcf829c37a789a7c Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 13 May 2012 16:58:47 -0400 Subject: Modifications for SMTP in OpenSimulator. Email size limit was fixed (was out of step with documentation at 1024, so boosted to 4096). Added configuration item for maximum email size. Redundant sleep inside email module was fixed (LSL Api was already sleeping). Added sleep time configuration item for snooze between email sending for LSL Api. Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing. Signed-off-by: BlueWall --- .../Shared/Api/Implementation/LSL_Api.cs | 28 ++++++++++++++++------ 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5b5cab8..5bff2e9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -106,6 +106,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected IUrlModule m_UrlModule = null; protected Dictionary m_userInfoCache = new Dictionary(); + protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp. public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { @@ -113,6 +114,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host = host; m_item = item; + LoadLimits(); // read script limits from config. + + m_TransferModule = + m_ScriptEngine.World.RequestModuleInterface(); + m_UrlModule = m_ScriptEngine.World.RequestModuleInterface(); + + AsyncCommands = new AsyncCommandManager(ScriptEngine); + } + + /* load configuration items that affect script, object and run-time behavior. */ + private void LoadLimits() + { m_ScriptDelayFactor = m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f); m_ScriptDistanceFactor = @@ -125,12 +138,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_ScriptEngine.Config.GetInt("NotecardLineReadCharsMax", 255); if (m_notecardLineReadCharsMax > 65535) m_notecardLineReadCharsMax = 65535; - - m_TransferModule = - m_ScriptEngine.World.RequestModuleInterface(); - m_UrlModule = m_ScriptEngine.World.RequestModuleInterface(); - - AsyncCommands = new AsyncCommandManager(ScriptEngine); + // load limits for particular subsystems. + IConfig SMTPConfig; + if ((SMTPConfig = m_ScriptEngine.ConfigSource.Configs["SMTP"]) != null) { + // there's an smtp config, so load in the snooze time. + EMAIL_PAUSE_TIME = SMTPConfig.GetInt("email_pause_time", EMAIL_PAUSE_TIME); + } } public override Object InitializeLifetimeService() @@ -2877,6 +2890,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public virtual void llSleep(double sec) { +// m_log.Info("llSleep snoozing " + sec + "s."); m_host.AddScriptLPS(1); Thread.Sleep((int)(sec * 1000)); } @@ -3130,7 +3144,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } emailModule.SendEmail(m_host.UUID, address, subject, message); - ScriptSleep(20000); + llSleep(EMAIL_PAUSE_TIME); } public void llGetNextEmail(string address, string subject) -- cgit v1.1 From e7819ce909e7d0bd7494db9af8a8d5dc4212a6cb Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 15 May 2012 01:02:38 +0100 Subject: Port Avination's collision fixes to core. --- .../Shared/Api/Implementation/LSL_Api.cs | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5bff2e9..d213c35 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2929,14 +2929,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); m_host.CollisionFilter.Clear(); - if (id != null) - { - m_host.CollisionFilter.Add(accept,id); - } - else - { - m_host.CollisionFilter.Add(accept,name); - } + UUID objectID; + + if (!UUID.TryParse(id, out objectID)) + objectID = UUID.Zero; + + if (objectID == UUID.Zero && name == "") + return; + + m_host.CollisionFilter.Add(accept,objectID.ToString() + name); } public void llTakeControls(int controls, int accept, int pass_on) @@ -4466,11 +4467,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); if (pass == 0) { - m_host.ParentGroup.PassCollision = false; + m_host.PassCollisions = false; } else { - m_host.ParentGroup.PassCollision = true; + m_host.PassCollisions = true; } } -- cgit v1.1 From 682d4075e3fe7c52d4c29d00ba9dc0456b7322f3 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Wed, 23 May 2012 15:07:03 -0400 Subject: Fix llGetSimulatorHostname to return configured hostname --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d213c35..4b28808 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -8743,7 +8743,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String llGetSimulatorHostname() { m_host.AddScriptLPS(1); - return System.Environment.MachineName; + IUrlModule UrlModule = World.RequestModuleInterface(); + return UrlModule.ExternalHostNameForLSL; } // -- cgit v1.1 From 120f8145fcfe2cdc4e39a92e5838a2a41eb51406 Mon Sep 17 00:00:00 2001 From: Talun Date: Wed, 23 May 2012 00:33:45 +0100 Subject: Mantis 6028 osAvatarStopAnimation not stopping animations via UUID Corrected to stop animations using the animation UUID similar to llStopAnimation. See http://opensimulator.org/wiki/OsAvatarStopAnimation --- .../ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index ad1a358..5dbd9ec 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -957,16 +957,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ScenePresence target = (ScenePresence)World.Entities[avatarID]; if (target != null) { - UUID animID = UUID.Zero; - lock (m_host.TaskInventory) + UUID animID = new UUID(); + if (!UUID.TryParse(animation, out animID)) { - foreach (KeyValuePair inv in m_host.TaskInventory) + animID = UUID.Zero; + lock (m_host.TaskInventory) { - if (inv.Value.Name == animation) + foreach (KeyValuePair inv in m_host.TaskInventory) { - if (inv.Value.Type == (int)AssetType.Animation) - animID = inv.Value.AssetID; - continue; + if (inv.Value.Name == animation) + { + if (inv.Value.Type == (int)AssetType.Animation) + animID = inv.Value.AssetID; + continue; + } } } } -- cgit v1.1 From ff53add54dbc666e585b928ba51b4babb7441611 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 26 May 2012 00:36:01 +0100 Subject: refactor: replace LSL_Api.InventoryKey(string) largely with SceneObjectPartInventory.GetInventoryItem(string) Also gets llStopAnimation() to call KeyOrName rather than duplicating logic. --- .../Shared/Api/Implementation/LSL_Api.cs | 52 +++++++--------------- 1 file changed, 15 insertions(+), 37 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 4b28808..9908a39 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -104,9 +104,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected int m_scriptConsoleChannel = 0; protected bool m_scriptConsoleChannelEnabled = false; protected IUrlModule m_UrlModule = null; - protected Dictionary m_userInfoCache = - new Dictionary(); - protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp. + protected Dictionary m_userInfoCache = new Dictionary(); + protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp. public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { @@ -304,25 +303,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return UUID.Zero; } - protected UUID InventoryKey(string name) - { - m_host.AddScriptLPS(1); - - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - { - return inv.Value.AssetID; - } - } - } - - return UUID.Zero; - } - - /// /// accepts a valid UUID, -or- a name of an inventory item. /// Returns a valid UUID or UUID.Zero if key invalid and item not found @@ -332,19 +312,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api /// protected UUID KeyOrName(string k) { - UUID key = UUID.Zero; + UUID key; // if we can parse the string as a key, use it. - if (UUID.TryParse(k, out key)) - { - return key; - } // else try to locate the name in inventory of object. found returns key, - // not found returns UUID.Zero which will translate to the default particle texture - else + // not found returns UUID.Zero + if (!UUID.TryParse(k, out key)) { - return InventoryKey(k); + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(k); + + if (item != null) + key = item.AssetID; + else + key = UUID.Zero; } + + return key; } // convert a LSL_Rotation to a Quaternion @@ -3315,17 +3298,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION) != 0) { - UUID animID = new UUID(); - - if (!UUID.TryParse(anim, out animID)) - { - animID = InventoryKey(anim); - } - ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); if (presence != null) { + UUID animID = KeyOrName(anim); + if (animID == UUID.Zero) presence.Animator.RemoveAnimation(anim); else -- cgit v1.1 From f2a5fad18f30d24cd8911de829ecb1a07b475e38 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 26 May 2012 00:54:00 +0100 Subject: Use SceneObjectPartInventory.GetInventoryItem() in OSSL.AvatarStopAnimation instead of searching the task inventory manually. --- .../Shared/Api/Implementation/OSSL_Api.cs | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 5dbd9ec..7ea8b7a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -952,27 +952,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID avatarID = (UUID)avatar; m_host.AddScriptLPS(1); + + // FIXME: What we really want to do here is factor out the similar code in llStopAnimation() to a common + // method (though see that doesn't do the is animation check, which is probably a bug) and have both + // these functions call that common code. However, this does mean navigating the brain-dead requirement + // of calling InitLSL() if (World.Entities.ContainsKey(avatarID) && World.Entities[avatarID] is ScenePresence) { ScenePresence target = (ScenePresence)World.Entities[avatarID]; if (target != null) { - UUID animID = new UUID(); + UUID animID; + if (!UUID.TryParse(animation, out animID)) { - animID = UUID.Zero; - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == animation) - { - if (inv.Value.Type == (int)AssetType.Animation) - animID = inv.Value.AssetID; - continue; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(animation); + if (item != null && item.Type == (int)AssetType.Animation) + animID = item.AssetID; + else + animID = UUID.Zero; } if (animID == UUID.Zero) -- cgit v1.1 From d6476b627752c99a6aea5093d080d3633aa6dde8 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 26 May 2012 01:03:53 +0100 Subject: Use GetInventoryItem() in LSL_Api.InventoryKey(string name, int type). Also removes small bug where calling this method would add 1 to LPS, evne though all callers already did this. --- .../Shared/Api/Implementation/LSL_Api.cs | 24 +++++++--------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9908a39..6438bcc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -284,23 +284,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api protected UUID InventoryKey(string name, int type) { - m_host.AddScriptLPS(1); + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - { - if (inv.Value.Type != type) - return UUID.Zero; - - return inv.Value.AssetID; - } - } - } - - return UUID.Zero; + if (item != null && item.Type == type) + return item.AssetID; + else + return UUID.Zero; } /// @@ -1707,14 +1696,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return rgb; } + if (face >= 0 && face < GetNumberOfSides(part)) { texcolor = tex.GetFace((uint)face).RGBA; rgb.x = texcolor.R; rgb.y = texcolor.G; rgb.z = texcolor.B; + return rgb; - } else { -- cgit v1.1 From 33b66009e43fa7c488b06c557dc46273288750d4 Mon Sep 17 00:00:00 2001 From: Blake.Bourque Date: Wed, 23 May 2012 07:38:03 -0400 Subject: One can now get hyoergrid region co-ordinates with llRequestSimulatorData --- .../Shared/Api/Implementation/LSL_Api.cs | 26 +++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 6438bcc..84493b1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -9098,7 +9098,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api GridRegion info; - if (m_ScriptEngine.World.RegionInfo.RegionName == simulator) + if (m_ScriptEngine.World.RegionInfo.RegionName == simulator) //Det data for this simulator? + info = new GridRegion(m_ScriptEngine.World.RegionInfo); else info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); @@ -9111,10 +9112,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ScriptSleep(1000); return UUID.Zero.ToString(); } - reply = new LSL_Vector( - info.RegionLocX, - info.RegionLocY, - 0).ToString(); + if (m_ScriptEngine.World.RegionInfo.RegionName != simulator) + { + //Hypergrid Region co-ordinates + uint rx = 0, ry = 0; + Utils.LongToUInts(Convert.ToUInt64(info.RegionSecret), out rx, out ry); + + reply = new LSL_Vector( + rx, + ry, + 0).ToString(); + } + else + { + //Local-cooridnates + reply = new LSL_Vector( + info.RegionLocX, + info.RegionLocY, + 0).ToString(); + } break; case ScriptBaseClass.DATA_SIM_STATUS: if (info != null) -- cgit v1.1 From 0b72f773c7df849b335895d7c7a6cfe949f59f00 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 22 May 2012 23:06:40 +0100 Subject: Mantis 6025 llRequestPermissions auto grant for NPCs. If the script requesting permissions is owned by either the NPC or the NPCs owner (if the NPC is created as owned) then grant any permissions automatically. --- .../Shared/Api/Implementation/LSL_Api.cs | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 84493b1..f3787a0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3406,9 +3406,31 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } ScenePresence presence = World.GetScenePresence(agentID); - if (presence != null) { + // If permissions are being requested from an NPC and were not implicitly granted above then + // auto grant all reuqested permissions if the script is owned by the NPC or the NPCs owner + INPCModule npcModule = World.RequestModuleInterface(); + if (npcModule != null && npcModule.IsNPC(agentID, World)) + { + if (agentID == m_host.ParentGroup.OwnerID || npcModule.GetOwner(agentID) == m_host.ParentGroup.OwnerID) + { + lock (m_host.TaskInventory) + { + m_host.TaskInventory[m_item.ItemID].PermsGranter = agentID; + m_host.TaskInventory[m_item.ItemID].PermsMask = perm; + } + + m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( + "run_time_permissions", new Object[] { + new LSL_Integer(perm) }, + new DetectParams[0])); + } + // it is an NPC, exit even if the permissions werent granted above, they are not going to answer + // the question! + return; + } + string ownerName = resolveName(m_host.ParentGroup.RootPart.OwnerID); if (ownerName == String.Empty) ownerName = "(hippos)"; -- cgit v1.1 From 7fd38788b4a654983c11efbcddb107feb4b3634a Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 26 May 2012 02:14:32 +0100 Subject: minor: code formatting from 0b72f773 --- .../Shared/Api/Implementation/LSL_Api.cs | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f3787a0..deb68b8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3421,11 +3421,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.TaskInventory[m_item.ItemID].PermsMask = perm; } - m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( - "run_time_permissions", new Object[] { - new LSL_Integer(perm) }, - new DetectParams[0])); + m_ScriptEngine.PostScriptEvent( + m_item.ItemID, + new EventParams( + "run_time_permissions", new Object[] { new LSL_Integer(perm) }, new DetectParams[0])); } + // it is an NPC, exit even if the permissions werent granted above, they are not going to answer // the question! return; @@ -3454,10 +3455,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // Requested agent is not in range, refuse perms - m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( - "run_time_permissions", new Object[] { - new LSL_Integer(0) }, - new DetectParams[0])); + m_ScriptEngine.PostScriptEvent( + m_item.ItemID, + new EventParams("run_time_permissions", new Object[] { new LSL_Integer(0) }, new DetectParams[0])); } void handleScriptAnswer(IClientAPI client, UUID taskID, UUID itemID, int answer) @@ -3476,10 +3476,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.TaskInventory[m_item.ItemID].PermsMask = answer; } - m_ScriptEngine.PostScriptEvent(m_item.ItemID, new EventParams( - "run_time_permissions", new Object[] { - new LSL_Integer(answer) }, - new DetectParams[0])); + m_ScriptEngine.PostScriptEvent( + m_item.ItemID, + new EventParams("run_time_permissions", new Object[] { new LSL_Integer(answer) }, new DetectParams[0])); } public LSL_String llGetPermissionsKey() -- cgit v1.1 From 01280e9b9447f41347f7e22302c9d94503398882 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 5 Jun 2012 00:34:18 +0100 Subject: Remove unused ScenePresence list structure in llGetAgentList() --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index deb68b8..fb0fdc9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -5583,7 +5583,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } } - List presenceIds = new List(); World.ForEachRootScenePresence( delegate (ScenePresence ssp) -- cgit v1.1 From b02db11c6990986a65e6790b5520b15d1c47e51e Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 6 Jun 2012 20:38:42 +0200 Subject: Remove a null ref when an avatar's attachment gets the avatar velocity while the avatar is logging in or out. Also remove some unlocking calls without matching locking call. Merge artefact cleanup, again. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5905958..e0b24dc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2498,12 +2498,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - Vector3 vel; + Vector3 vel = Vector3.Zero; if (m_host.ParentGroup.IsAttachment) { ScenePresence avatar = m_host.ParentGroup.Scene.GetScenePresence(m_host.ParentGroup.AttachedAvatar); - vel = avatar.Velocity; + if (avatar != null) + vel = avatar.Velocity; } else { @@ -10401,7 +10402,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ShoutError("No permissions to track the camera"); return new LSL_Vector(); } - m_host.TaskInventory.LockItemsForRead(false); // ScenePresence presence = World.GetScenePresence(m_host.OwnerID); ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); @@ -10425,7 +10425,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ShoutError("No permissions to track the camera"); return new LSL_Rotation(); } - m_host.TaskInventory.LockItemsForRead(false); // ScenePresence presence = World.GetScenePresence(m_host.OwnerID); ScenePresence presence = World.GetScenePresence(m_item.PermsGranter); -- cgit v1.1 From a8a9d13dc07bc9e23ebf439cbea5ece6ae002315 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 9 Jun 2012 05:11:08 +0100 Subject: Bind ~ and ! operators in LSL tighter in order to resolve issues in LSL where these aren't evaluated propertly. Addresses http://opensimulator.org/mantis/view.php?id=3268 --- .../ScriptEngine/Shared/CodeTools/lsl.parser.cs | 7954 ++++++++++---------- 1 file changed, 3966 insertions(+), 3988 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs index ca56cd6..8428c96 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs @@ -6338,494 +6338,488 @@ public yyLSLSyntax 16,0,488,1,74, 1253,1,328,1302,1, 1048,2014,16,0,488, -1,82,2015,16,0, -488,1,1840,2016,16, -0,488,1,1591,2017, -16,0,488,1,1341, -2018,16,0,488,1, -1096,1312,1,93,1318, -1,352,1349,1,107, -2019,16,0,488,1, -1114,1343,1,118,2020, -16,0,488,1,1123, -2021,16,0,488,1, -371,1365,1,1628,2022, -16,0,488,1,375, -1376,1,1882,2023,16, -0,488,1,377,1381, -1,379,1386,1,380, -1391,1,883,2024,16, -0,488,1,373,1409, -1,130,2025,16,0, -488,1,143,2026,16, -0,488,1,387,2027, -16,0,488,1,2664, -2028,16,0,488,1, -1159,2029,16,0,488, -1,157,2030,16,0, -488,1,1413,2031,16, -0,488,1,1665,2032, -16,0,488,1,412, -2033,16,0,488,1, -1377,2034,16,0,488, -1,172,2035,16,0, -488,1,1939,2036,16, -0,488,1,437,2037, -16,0,488,1,188, -2038,16,0,488,1, -942,2039,16,0,488, -1,1195,2040,16,0, -488,1,1449,2041,16, -0,488,1,1701,2042, -16,0,488,1,447, -1511,1,205,2043,16, -0,488,1,827,2044, -16,0,488,1,223, -2045,16,0,488,1, -476,1543,1,477,1549, -1,1231,2046,16,0, -488,1,479,1559,1, -480,1564,1,1485,2047, -16,0,488,1,1737, -2048,16,0,488,1, -242,2049,16,0,488, -1,478,1583,1,1001, -1588,1,1002,1593,1, -19,2050,19,225,1, -19,2051,5,176,1, -256,2052,16,0,223, -1,1261,2053,16,0, -223,1,1011,1102,1, -1012,2054,16,0,455, -1,2458,876,1,262, -1119,1,1267,2055,16, -0,455,1,2021,718, -1,1521,2056,16,0, -455,1,1775,2057,16, -0,223,1,2029,725, -1,2030,731,1,2031, -736,1,2032,741,1, -2033,746,1,277,2058, -16,0,223,1,2035, -752,1,2037,757,1, -2039,762,1,32,2059, -16,0,223,1,2464, -899,1,2293,2060,16, -0,223,1,2043,774, -1,2045,779,1,2299, -2061,16,0,455,1, -41,2062,16,0,223, -1,42,2063,16,0, -455,1,40,1177,1, -44,1183,1,43,2064, -16,0,223,1,1804, -2065,16,0,223,1, -48,1190,1,49,1196, -1,47,1184,1,51, -1206,1,52,2066,16, -0,223,1,50,1201, -1,305,1211,1,1096, -1312,1,1515,2067,16, -0,223,1,2318,2068, -16,0,223,1,283, -1172,1,63,1222,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -71,2069,16,0,223, -1,73,2070,16,0, -455,1,74,1253,1, -1013,1258,1,76,2071, -16,0,223,1,1834, -2072,16,0,223,1, -2337,2073,16,0,223, -1,79,2074,16,0, -223,1,1335,2075,16, -0,223,1,299,2076, -16,0,223,1,82, -2077,16,0,455,1, -1840,2078,16,0,455, -1,1297,2079,16,0, -223,1,85,2080,16, -0,223,1,1341,2081, -16,0,455,1,89, -2082,16,0,223,1, -1303,2083,16,0,455, -1,509,2084,16,0, -223,1,93,1318,1, -322,2085,16,0,223, -1,97,2086,16,0, -223,1,2041,768,1, -1555,2087,16,0,455, -1,827,2088,16,0, -455,1,102,2089,16, -0,223,1,1860,821, -1,1803,787,1,2364, -827,1,107,2090,16, -0,455,1,1114,1343, -1,112,2091,16,0, -223,1,1117,2092,16, -0,223,1,352,1349, -1,1873,835,1,118, -2093,16,0,455,1, -1123,2094,16,0,455, -1,371,1365,1,515, -2095,16,0,455,1, -1377,2096,16,0,455, -1,124,2097,16,0, -223,1,1882,2098,16, -0,455,1,377,1381, -1,379,1386,1,380, -1391,1,130,2099,16, -0,455,1,346,2100, -16,0,223,1,2075, -2101,16,0,223,1, -373,1409,1,387,2102, -16,0,455,1,137, -2103,16,0,223,1, -143,2104,16,0,455, -1,1901,2105,16,0, -223,1,1048,2106,16, -0,455,1,2658,2107, -16,0,223,1,1153, -2108,16,0,223,1, -375,1376,1,151,2109, -16,0,223,1,1407, -2110,16,0,223,1, -1659,2111,16,0,223, -1,2413,2112,16,0, -223,1,1159,2113,16, -0,455,1,381,2114, -16,0,223,1,157, -2115,16,0,455,1, -1413,2116,16,0,455, -1,883,2117,16,0, -455,1,1371,2118,16, -0,223,1,328,1302, -1,2105,814,1,2106, -2119,16,0,223,1, -166,2120,16,0,223, -1,525,2121,16,0, -223,1,1622,2122,16, -0,223,1,406,2123, -16,0,223,1,1574, -799,1,172,2124,16, -0,455,1,1931,861, -1,412,2125,16,0, -455,1,1933,2126,16, -0,223,1,1876,2127, -16,0,223,1,431, -2128,16,0,223,1, -1585,2129,16,0,223, -1,182,2130,16,0, -223,1,1628,2131,16, -0,455,1,1189,2132, -16,0,223,1,437, -2133,16,0,455,1, -1591,2134,16,0,455, -1,188,2135,16,0, -455,1,1695,2136,16, -0,223,1,2198,2137, -16,0,223,1,1195, -2138,16,0,455,1, -1449,2139,16,0,455, -1,1701,2140,16,0, -455,1,447,2141,16, -0,223,1,199,2142, -16,0,223,1,2459, -882,1,1958,2143,16, -0,223,1,2462,889, -1,1657,894,1,205, -2144,16,0,455,1, -459,2145,16,0,223, -1,462,2146,16,0, -223,1,1665,2147,16, -0,455,1,217,2148, -16,0,223,1,2227, -908,1,942,2149,16, -0,455,1,1225,2150, -16,0,223,1,223, -2151,16,0,455,1, -1479,2152,16,0,223, -1,1731,2153,16,0, -223,1,477,1549,1, -1231,2154,16,0,455, +1,82,1280,1,1840, +2015,16,0,488,1, +1591,2016,16,0,488, +1,1341,2017,16,0, +488,1,1096,1312,1, +93,1318,1,352,1349, +1,107,1338,1,1114, +1343,1,118,2018,16, +0,488,1,1123,2019, +16,0,488,1,371, +1365,1,1628,2020,16, +0,488,1,375,1376, +1,1882,2021,16,0, +488,1,377,1381,1, +379,1386,1,380,1391, +1,883,2022,16,0, +488,1,373,1409,1, +130,2023,16,0,488, +1,143,2024,16,0, +488,1,387,2025,16, +0,488,1,2664,2026, +16,0,488,1,1159, +2027,16,0,488,1, +157,2028,16,0,488, +1,1413,2029,16,0, +488,1,1665,2030,16, +0,488,1,412,2031, +16,0,488,1,1377, +2032,16,0,488,1, +172,2033,16,0,488, +1,1939,2034,16,0, +488,1,437,2035,16, +0,488,1,188,2036, +16,0,488,1,942, +2037,16,0,488,1, +1195,2038,16,0,488, +1,1449,2039,16,0, +488,1,1701,2040,16, +0,488,1,447,1511, +1,205,2041,16,0, +488,1,827,2042,16, +0,488,1,223,2043, +16,0,488,1,476, +1543,1,477,1549,1, +1231,2044,16,0,488, 1,479,1559,1,480, -1564,1,1485,2155,16, -0,455,1,1737,2156, -16,0,455,1,1989, -916,1,1990,2157,16, -0,223,1,1443,2158, -16,0,223,1,236, -2159,16,0,223,1, -2136,842,1,2664,2160, -16,0,455,1,476, -1543,1,242,2161,16, -0,455,1,478,1583, -1,1939,2162,16,0, -455,1,1001,1588,1, -1002,1593,1,1756,2163, -16,0,223,1,20, -2164,19,442,1,20, -2165,5,84,1,1011, -1102,1,1012,2166,16, -0,440,1,1013,1258, -1,262,1119,1,1267, -2167,16,0,440,1, -515,2168,16,0,440, -1,1521,2169,16,0, -440,1,525,1216,1, -283,1172,1,2299,2170, -16,0,440,1,42, -2171,16,0,440,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -2172,16,0,440,1, -1555,2173,16,0,440, -1,50,1201,1,48, +1564,1,1485,2045,16, +0,488,1,1737,2046, +16,0,488,1,242, +2047,16,0,488,1, +478,1583,1,1001,1588, +1,1002,1593,1,19, +2048,19,225,1,19, +2049,5,176,1,256, +2050,16,0,223,1, +1261,2051,16,0,223, +1,1011,1102,1,1012, +2052,16,0,455,1, +2458,876,1,262,1119, +1,1267,2053,16,0, +455,1,2021,718,1, +1521,2054,16,0,455, +1,1775,2055,16,0, +223,1,2029,725,1, +2030,731,1,2031,736, +1,2032,741,1,2033, +746,1,277,2056,16, +0,223,1,2035,752, +1,2037,757,1,2039, +762,1,32,2057,16, +0,223,1,2464,899, +1,2293,2058,16,0, +223,1,2043,774,1, +2045,779,1,2299,2059, +16,0,455,1,41, +2060,16,0,223,1, +42,2061,16,0,455, +1,40,1177,1,44, +1183,1,43,2062,16, +0,223,1,1804,2063, +16,0,223,1,48, 1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, +47,1184,1,51,1206, +1,52,2064,16,0, +223,1,50,1201,1, +305,1211,1,1096,1312, +1,1515,2065,16,0, +223,1,2318,2066,16, +0,223,1,283,1172, +1,63,1222,1,66, 1228,1,67,1233,1, 68,1238,1,69,1243, -1,70,1248,1,73, -2174,16,0,440,1, -74,1253,1,328,2175, -16,0,440,1,1048, -2176,16,0,440,1, -82,2177,16,0,440, -1,1840,2178,16,0, -440,1,1591,2179,16, -0,440,1,1341,2180, -16,0,440,1,1096, -1312,1,93,1318,1, -352,2181,16,0,440, -1,107,2182,16,0, -440,1,1114,1343,1, -118,2183,16,0,440, -1,1123,2184,16,0, -440,1,371,1365,1, -1628,2185,16,0,440, -1,375,1376,1,1882, -2186,16,0,440,1, -377,1381,1,379,1386, -1,380,1391,1,883, -2187,16,0,440,1, -373,1409,1,130,2188, -16,0,440,1,143, -2189,16,0,440,1, -387,2190,16,0,440, -1,2664,2191,16,0, -440,1,1159,2192,16, -0,440,1,157,2193, -16,0,440,1,1413, -2194,16,0,440,1, -1665,2195,16,0,440, -1,412,2196,16,0, -440,1,1377,2197,16, -0,440,1,172,2198, -16,0,440,1,1939, -2199,16,0,440,1, -437,2200,16,0,440, -1,188,2201,16,0, -440,1,942,2202,16, -0,440,1,1195,2203, -16,0,440,1,1449, -2204,16,0,440,1, -1701,2205,16,0,440, -1,447,1511,1,205, -2206,16,0,440,1, -827,2207,16,0,440, -1,223,2208,16,0, -440,1,476,1543,1, -477,1549,1,1231,2209, -16,0,440,1,479, +1,70,1248,1,71, +2067,16,0,223,1, +73,2068,16,0,455, +1,74,1253,1,1013, +1258,1,76,2069,16, +0,223,1,1834,2070, +16,0,223,1,2337, +2071,16,0,223,1, +79,2072,16,0,223, +1,1335,2073,16,0, +223,1,299,2074,16, +0,223,1,82,1280, +1,1840,2075,16,0, +455,1,1297,2076,16, +0,223,1,85,2077, +16,0,223,1,1341, +2078,16,0,455,1, +89,2079,16,0,223, +1,1303,2080,16,0, +455,1,509,2081,16, +0,223,1,93,1318, +1,322,2082,16,0, +223,1,97,2083,16, +0,223,1,2041,768, +1,1555,2084,16,0, +455,1,827,2085,16, +0,455,1,102,2086, +16,0,223,1,1860, +821,1,1803,787,1, +2364,827,1,107,1338, +1,1114,1343,1,112, +2087,16,0,223,1, +1117,2088,16,0,223, +1,352,1349,1,1873, +835,1,118,2089,16, +0,455,1,1123,2090, +16,0,455,1,371, +1365,1,515,2091,16, +0,455,1,1377,2092, +16,0,455,1,124, +2093,16,0,223,1, +1882,2094,16,0,455, +1,377,1381,1,379, +1386,1,380,1391,1, +130,2095,16,0,455, +1,346,2096,16,0, +223,1,2075,2097,16, +0,223,1,373,1409, +1,387,2098,16,0, +455,1,137,2099,16, +0,223,1,143,2100, +16,0,455,1,1901, +2101,16,0,223,1, +1048,2102,16,0,455, +1,2658,2103,16,0, +223,1,1153,2104,16, +0,223,1,375,1376, +1,151,2105,16,0, +223,1,1407,2106,16, +0,223,1,1659,2107, +16,0,223,1,2413, +2108,16,0,223,1, +1159,2109,16,0,455, +1,381,2110,16,0, +223,1,157,2111,16, +0,455,1,1413,2112, +16,0,455,1,883, +2113,16,0,455,1, +1371,2114,16,0,223, +1,328,1302,1,2105, +814,1,2106,2115,16, +0,223,1,166,2116, +16,0,223,1,525, +2117,16,0,223,1, +1622,2118,16,0,223, +1,406,2119,16,0, +223,1,1574,799,1, +172,2120,16,0,455, +1,1931,861,1,412, +2121,16,0,455,1, +1933,2122,16,0,223, +1,1876,2123,16,0, +223,1,431,2124,16, +0,223,1,1585,2125, +16,0,223,1,182, +2126,16,0,223,1, +1628,2127,16,0,455, +1,1189,2128,16,0, +223,1,437,2129,16, +0,455,1,1591,2130, +16,0,455,1,188, +2131,16,0,455,1, +1695,2132,16,0,223, +1,2198,2133,16,0, +223,1,1195,2134,16, +0,455,1,1449,2135, +16,0,455,1,1701, +2136,16,0,455,1, +447,2137,16,0,223, +1,199,2138,16,0, +223,1,2459,882,1, +1958,2139,16,0,223, +1,2462,889,1,1657, +894,1,205,2140,16, +0,455,1,459,2141, +16,0,223,1,462, +2142,16,0,223,1, +1665,2143,16,0,455, +1,217,2144,16,0, +223,1,2227,908,1, +942,2145,16,0,455, +1,1225,2146,16,0, +223,1,223,2147,16, +0,455,1,1479,2148, +16,0,223,1,1731, +2149,16,0,223,1, +477,1549,1,1231,2150, +16,0,455,1,479, 1559,1,480,1564,1, -1485,2210,16,0,440, -1,1737,2211,16,0, -440,1,242,2212,16, -0,440,1,478,1583, -1,1001,1588,1,1002, -1593,1,21,2213,19, -432,1,21,2214,5, +1485,2151,16,0,455, +1,1737,2152,16,0, +455,1,1989,916,1, +1990,2153,16,0,223, +1,1443,2154,16,0, +223,1,236,2155,16, +0,223,1,2136,842, +1,2664,2156,16,0, +455,1,476,1543,1, +242,2157,16,0,455, +1,478,1583,1,1939, +2158,16,0,455,1, +1001,1588,1,1002,1593, +1,1756,2159,16,0, +223,1,20,2160,19, +442,1,20,2161,5, 84,1,1011,1102,1, -1012,2215,16,0,430, +1012,2162,16,0,440, 1,1013,1258,1,262, -1119,1,1267,2216,16, -0,430,1,515,2217, -16,0,430,1,1521, -2218,16,0,430,1, +1119,1,1267,2163,16, +0,440,1,515,2164, +16,0,440,1,1521, +2165,16,0,440,1, 525,1216,1,283,1172, -1,2299,2219,16,0, -430,1,42,2220,16, -0,430,1,40,1177, +1,2299,2166,16,0, +440,1,42,2167,16, +0,440,1,40,1177, 1,44,1183,1,47, -1184,1,1303,2221,16, -0,430,1,1555,2222, -16,0,430,1,50, +1184,1,1303,2168,16, +0,440,1,1555,2169, +16,0,440,1,50, 1201,1,48,1190,1, 49,1196,1,51,1206, 1,63,1222,1,305, 1211,1,66,1228,1, 67,1233,1,68,1238, 1,69,1243,1,70, -1248,1,73,2223,16, -0,430,1,74,1253, -1,328,2224,16,0, -430,1,1048,2225,16, -0,430,1,82,2226, -16,0,430,1,1840, -2227,16,0,430,1, -1591,2228,16,0,430, -1,1341,2229,16,0, -430,1,1096,1312,1, -93,1318,1,352,2230, -16,0,430,1,107, +1248,1,73,2170,16, +0,440,1,74,1253, +1,328,2171,16,0, +440,1,1048,2172,16, +0,440,1,82,1280, +1,1840,2173,16,0, +440,1,1591,2174,16, +0,440,1,1341,2175, +16,0,440,1,1096, +1312,1,93,1318,1, +352,2176,16,0,440, +1,107,1338,1,1114, +1343,1,118,2177,16, +0,440,1,1123,2178, +16,0,440,1,371, +1365,1,1628,2179,16, +0,440,1,375,1376, +1,1882,2180,16,0, +440,1,377,1381,1, +379,1386,1,380,1391, +1,883,2181,16,0, +440,1,373,1409,1, +130,2182,16,0,440, +1,143,2183,16,0, +440,1,387,2184,16, +0,440,1,2664,2185, +16,0,440,1,1159, +2186,16,0,440,1, +157,2187,16,0,440, +1,1413,2188,16,0, +440,1,1665,2189,16, +0,440,1,412,2190, +16,0,440,1,1377, +2191,16,0,440,1, +172,2192,16,0,440, +1,1939,2193,16,0, +440,1,437,2194,16, +0,440,1,188,2195, +16,0,440,1,942, +2196,16,0,440,1, +1195,2197,16,0,440, +1,1449,2198,16,0, +440,1,1701,2199,16, +0,440,1,447,1511, +1,205,2200,16,0, +440,1,827,2201,16, +0,440,1,223,2202, +16,0,440,1,476, +1543,1,477,1549,1, +1231,2203,16,0,440, +1,479,1559,1,480, +1564,1,1485,2204,16, +0,440,1,1737,2205, +16,0,440,1,242, +2206,16,0,440,1, +478,1583,1,1001,1588, +1,1002,1593,1,21, +2207,19,432,1,21, +2208,5,84,1,1011, +1102,1,1012,2209,16, +0,430,1,1013,1258, +1,262,1119,1,1267, +2210,16,0,430,1, +515,2211,16,0,430, +1,1521,2212,16,0, +430,1,525,1216,1, +283,1172,1,2299,2213, +16,0,430,1,42, +2214,16,0,430,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +2215,16,0,430,1, +1555,2216,16,0,430, +1,50,1201,1,48, +1190,1,49,1196,1, +51,1206,1,63,1222, +1,305,1211,1,66, +1228,1,67,1233,1, +68,1238,1,69,1243, +1,70,1248,1,73, +2217,16,0,430,1, +74,1253,1,328,2218, +16,0,430,1,1048, +2219,16,0,430,1, +82,1280,1,1840,2220, +16,0,430,1,1591, +2221,16,0,430,1, +1341,2222,16,0,430, +1,1096,1312,1,93, +1318,1,352,2223,16, +0,430,1,107,1338, +1,1114,1343,1,118, +2224,16,0,430,1, +1123,2225,16,0,430, +1,371,1365,1,1628, +2226,16,0,430,1, +375,1376,1,1882,2227, +16,0,430,1,377, +1381,1,379,1386,1, +380,1391,1,883,2228, +16,0,430,1,373, +1409,1,130,2229,16, +0,430,1,143,2230, +16,0,430,1,387, 2231,16,0,430,1, -1114,1343,1,118,2232, -16,0,430,1,1123, -2233,16,0,430,1, -371,1365,1,1628,2234, -16,0,430,1,375, -1376,1,1882,2235,16, -0,430,1,377,1381, -1,379,1386,1,380, -1391,1,883,2236,16, -0,430,1,373,1409, -1,130,2237,16,0, -430,1,143,2238,16, -0,430,1,387,2239, -16,0,430,1,2664, -2240,16,0,430,1, -1159,2241,16,0,430, -1,157,2242,16,0, -430,1,1413,2243,16, -0,430,1,1665,2244, -16,0,430,1,412, -2245,16,0,430,1, -1377,2246,16,0,430, -1,172,2247,16,0, -430,1,1939,2248,16, -0,430,1,437,2249, -16,0,430,1,188, -2250,16,0,430,1, -942,2251,16,0,430, -1,1195,2252,16,0, -430,1,1449,2253,16, -0,430,1,1701,2254, -16,0,430,1,447, -1511,1,205,2255,16, -0,430,1,827,2256, -16,0,430,1,223, -2257,16,0,430,1, -476,1543,1,477,1549, -1,1231,2258,16,0, -430,1,479,1559,1, -480,1564,1,1485,2259, -16,0,430,1,1737, -2260,16,0,430,1, -242,2261,16,0,430, -1,478,1583,1,1001, -1588,1,1002,1593,1, -22,2262,19,383,1, -22,2263,5,84,1, -1011,1102,1,1012,2264, -16,0,381,1,1013, -1258,1,262,1119,1, -1267,2265,16,0,381, -1,515,2266,16,0, -381,1,1521,2267,16, -0,381,1,525,1216, -1,283,1172,1,2299, -2268,16,0,381,1, -42,2269,16,0,381, -1,40,1177,1,44, -1183,1,47,1184,1, -1303,2270,16,0,381, -1,1555,2271,16,0, -381,1,50,1201,1, -48,1190,1,49,1196, -1,51,1206,1,63, -1222,1,305,1211,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -73,2272,16,0,381, -1,74,1253,1,328, -2273,16,0,381,1, -1048,2274,16,0,381, -1,82,2275,16,0, -381,1,1840,2276,16, -0,381,1,1591,2277, -16,0,381,1,1341, -2278,16,0,381,1, -1096,1312,1,93,1318, -1,352,2279,16,0, -381,1,107,2280,16, -0,381,1,1114,1343, -1,118,2281,16,0, -381,1,1123,2282,16, +2664,2232,16,0,430, +1,1159,2233,16,0, +430,1,157,2234,16, +0,430,1,1413,2235, +16,0,430,1,1665, +2236,16,0,430,1, +412,2237,16,0,430, +1,1377,2238,16,0, +430,1,172,2239,16, +0,430,1,1939,2240, +16,0,430,1,437, +2241,16,0,430,1, +188,2242,16,0,430, +1,942,2243,16,0, +430,1,1195,2244,16, +0,430,1,1449,2245, +16,0,430,1,1701, +2246,16,0,430,1, +447,1511,1,205,2247, +16,0,430,1,827, +2248,16,0,430,1, +223,2249,16,0,430, +1,476,1543,1,477, +1549,1,1231,2250,16, +0,430,1,479,1559, +1,480,1564,1,1485, +2251,16,0,430,1, +1737,2252,16,0,430, +1,242,2253,16,0, +430,1,478,1583,1, +1001,1588,1,1002,1593, +1,22,2254,19,383, +1,22,2255,5,84, +1,1011,1102,1,1012, +2256,16,0,381,1, +1013,1258,1,262,1119, +1,1267,2257,16,0, +381,1,515,2258,16, +0,381,1,1521,2259, +16,0,381,1,525, +1216,1,283,1172,1, +2299,2260,16,0,381, +1,42,2261,16,0, +381,1,40,1177,1, +44,1183,1,47,1184, +1,1303,2262,16,0, +381,1,1555,2263,16, +0,381,1,50,1201, +1,48,1190,1,49, +1196,1,51,1206,1, +63,1222,1,305,1211, +1,66,1228,1,67, +1233,1,68,1238,1, +69,1243,1,70,1248, +1,73,2264,16,0, +381,1,74,1253,1, +328,2265,16,0,381, +1,1048,2266,16,0, +381,1,82,1280,1, +1840,2267,16,0,381, +1,1591,2268,16,0, +381,1,1341,2269,16, +0,381,1,1096,1312, +1,93,1318,1,352, +2270,16,0,381,1, +107,1338,1,1114,1343, +1,118,2271,16,0, +381,1,1123,2272,16, 0,381,1,371,1365, -1,1628,2283,16,0, +1,1628,2273,16,0, 381,1,375,1376,1, -1882,2284,16,0,381, +1882,2274,16,0,381, 1,377,1381,1,379, 1386,1,380,1391,1, -883,2285,16,0,381, +883,2275,16,0,381, 1,373,1409,1,130, -2286,16,0,381,1, -143,2287,16,0,381, -1,387,2288,16,0, -381,1,2664,2289,16, -0,381,1,1159,2290, +2276,16,0,381,1, +143,2277,16,0,381, +1,387,2278,16,0, +381,1,2664,2279,16, +0,381,1,1159,2280, 16,0,381,1,157, -2291,16,0,381,1, -1413,2292,16,0,381, -1,1665,2293,16,0, -381,1,412,2294,16, -0,381,1,1377,2295, +2281,16,0,381,1, +1413,2282,16,0,381, +1,1665,2283,16,0, +381,1,412,2284,16, +0,381,1,1377,2285, 16,0,381,1,172, -2296,16,0,381,1, -1939,2297,16,0,381, -1,437,2298,16,0, -381,1,188,2299,16, -0,381,1,942,2300, +2286,16,0,381,1, +1939,2287,16,0,381, +1,437,2288,16,0, +381,1,188,2289,16, +0,381,1,942,2290, 16,0,381,1,1195, -2301,16,0,381,1, -1449,2302,16,0,381, -1,1701,2303,16,0, +2291,16,0,381,1, +1449,2292,16,0,381, +1,1701,2293,16,0, 381,1,447,1511,1, -205,2304,16,0,381, -1,827,2305,16,0, -381,1,223,2306,16, +205,2294,16,0,381, +1,827,2295,16,0, +381,1,223,2296,16, 0,381,1,476,1543, 1,477,1549,1,1231, -2307,16,0,381,1, +2297,16,0,381,1, 479,1559,1,480,1564, -1,1485,2308,16,0, -381,1,1737,2309,16, -0,381,1,242,2310, +1,1485,2298,16,0, +381,1,1737,2299,16, +0,381,1,242,2300, 16,0,381,1,478, 1583,1,1001,1588,1, -1002,1593,1,23,2311, -19,504,1,23,2312, -5,38,1,1901,2313, +1002,1593,1,23,2301, +19,504,1,23,2302, +5,38,1,1901,2303, 16,0,502,1,2075, -2314,16,0,502,1, +2304,16,0,502,1, 1860,821,1,1803,787, -1,1804,2315,16,0, -502,1,2413,2316,16, -0,502,1,2198,2317, +1,1804,2305,16,0, +502,1,2413,2306,16, +0,502,1,2198,2307, 16,0,502,1,1873, 835,1,1657,894,1, -1989,916,1,1990,2318, +1989,916,1,1990,2308, 16,0,502,1,1775, -2319,16,0,502,1, -32,2320,16,0,502, +2309,16,0,502,1, +32,2310,16,0,502, 1,2105,814,1,2106, -2321,16,0,502,1, +2311,16,0,502,1, 2364,827,1,2227,908, -1,2337,2322,16,0, +1,2337,2312,16,0, 502,1,2021,718,1, 2458,876,1,2459,882, 1,2462,889,1,2136, @@ -6838,1207 +6832,1195 @@ public yyLSLSyntax 861,1,2041,768,1, 2043,774,1,2045,779, 1,1574,799,1,1958, -2323,16,0,502,1, -24,2324,19,177,1, -24,2325,5,5,1, -44,2326,16,0,175, -1,377,2327,16,0, -540,1,40,2328,16, -0,674,1,63,2329, +2313,16,0,502,1, +24,2314,19,177,1, +24,2315,5,5,1, +44,2316,16,0,175, +1,377,2317,16,0, +540,1,40,2318,16, +0,674,1,63,2319, 16,0,196,1,373, -2330,16,0,536,1, -25,2331,19,291,1, -25,2332,5,177,1, -256,2333,16,0,545, -1,1261,2334,16,0, +2320,16,0,536,1, +25,2321,19,291,1, +25,2322,5,177,1, +256,2323,16,0,545, +1,1261,2324,16,0, 545,1,1011,1102,1, -1012,2335,16,0,289, +1012,2325,16,0,289, 1,2458,876,1,262, -1119,1,1267,2336,16, +1119,1,1267,2326,16, 0,289,1,2021,718, -1,1521,2337,16,0, -289,1,1775,2338,16, +1,1521,2327,16,0, +289,1,1775,2328,16, 0,545,1,2029,725, 1,2030,731,1,2031, 736,1,2032,741,1, -2033,746,1,277,2339, +2033,746,1,277,2329, 16,0,545,1,2035, 752,1,2037,757,1, -2039,762,1,32,2340, +2039,762,1,32,2330, 16,0,545,1,2464, -899,1,2293,2341,16, +899,1,2293,2331,16, 0,545,1,2043,774, 1,2045,779,1,2299, -2342,16,0,289,1, -41,2343,16,0,545, -1,42,2344,16,0, +2332,16,0,289,1, +41,2333,16,0,545, +1,42,2334,16,0, 289,1,40,1177,1, -44,1183,1,43,2345, +44,1183,1,43,2335, 16,0,545,1,1804, -2346,16,0,545,1, +2336,16,0,545,1, 48,1190,1,49,1196, 1,47,1184,1,51, -1206,1,52,2347,16, +1206,1,52,2337,16, 0,545,1,50,1201, 1,305,1211,1,1096, -1312,1,1515,2348,16, -0,545,1,2318,2349, +1312,1,1515,2338,16, +0,545,1,2318,2339, 16,0,545,1,62, -2350,16,0,545,1, +2340,16,0,545,1, 63,1222,1,66,1228, 1,67,1233,1,68, 1238,1,69,1243,1, -70,1248,1,71,2351, +70,1248,1,71,2341, 16,0,545,1,283, -1172,1,73,2352,16, +1172,1,73,2342,16, 0,289,1,74,1253, 1,1013,1258,1,76, -2353,16,0,545,1, -1834,2354,16,0,545, -1,2337,2355,16,0, -545,1,79,2356,16, -0,545,1,1335,2357, +2343,16,0,545,1, +1834,2344,16,0,545, +1,2337,2345,16,0, +545,1,79,2346,16, +0,545,1,1335,2347, 16,0,545,1,299, -2358,16,0,545,1, -82,2359,16,0,289, -1,1840,2360,16,0, -289,1,1297,2361,16, -0,545,1,85,2362, -16,0,545,1,1341, -2363,16,0,289,1, -89,2364,16,0,545, -1,1303,2365,16,0, -289,1,509,2366,16, -0,545,1,93,1318, -1,322,2367,16,0, -545,1,97,2368,16, -0,545,1,2041,768, -1,1555,2369,16,0, -289,1,827,2370,16, -0,289,1,102,2371, -16,0,545,1,1860, -821,1,1803,787,1, -2364,827,1,107,2372, -16,0,289,1,1114, -1343,1,112,2373,16, -0,545,1,1117,2374, -16,0,545,1,352, -1349,1,1873,835,1, -118,1355,1,1123,2375, -16,0,289,1,371, -1365,1,515,2376,16, -0,289,1,1377,2377, -16,0,289,1,124, -2378,16,0,545,1, -1882,2379,16,0,289, -1,377,1381,1,379, -1386,1,380,1391,1, -130,1414,1,346,2380, -16,0,545,1,2075, +2348,16,0,545,1, +82,1280,1,1840,2349, +16,0,289,1,1297, +2350,16,0,545,1, +85,2351,16,0,545, +1,1341,2352,16,0, +289,1,89,2353,16, +0,545,1,1303,2354, +16,0,289,1,509, +2355,16,0,545,1, +93,1318,1,322,2356, +16,0,545,1,97, +2357,16,0,545,1, +2041,768,1,1555,2358, +16,0,289,1,827, +2359,16,0,289,1, +102,2360,16,0,545, +1,1860,821,1,1803, +787,1,2364,827,1, +107,1338,1,1114,1343, +1,112,2361,16,0, +545,1,1117,2362,16, +0,545,1,352,1349, +1,1873,835,1,118, +1355,1,1123,2363,16, +0,289,1,371,1365, +1,515,2364,16,0, +289,1,1377,2365,16, +0,289,1,124,2366, +16,0,545,1,1882, +2367,16,0,289,1, +377,1381,1,379,1386, +1,380,1391,1,130, +1414,1,346,2368,16, +0,545,1,2075,2369, +16,0,545,1,373, +1409,1,387,2370,16, +0,289,1,137,2371, +16,0,545,1,143, +2372,16,0,289,1, +1901,2373,16,0,545, +1,1048,1344,1,2658, +2374,16,0,545,1, +1153,2375,16,0,545, +1,375,1376,1,151, +2376,16,0,545,1, +1407,2377,16,0,545, +1,1659,2378,16,0, +545,1,2413,2379,16, +0,545,1,1159,2380, +16,0,289,1,381, 2381,16,0,545,1, -373,1409,1,387,2382, -16,0,289,1,137, -2383,16,0,545,1, -143,2384,16,0,289, -1,1901,2385,16,0, -545,1,1048,1344,1, -2658,2386,16,0,545, -1,1153,2387,16,0, -545,1,375,1376,1, -151,2388,16,0,545, -1,1407,2389,16,0, -545,1,1659,2390,16, -0,545,1,2413,2391, -16,0,545,1,1159, -2392,16,0,289,1, -381,2393,16,0,545, -1,157,2394,16,0, -289,1,1413,2395,16, -0,289,1,883,2396, -16,0,289,1,1371, -2397,16,0,545,1, -328,1302,1,2105,814, -1,2106,2398,16,0, -545,1,166,2399,16, -0,545,1,525,2400, -16,0,545,1,1622, -2401,16,0,545,1, -406,2402,16,0,545, -1,1574,799,1,172, -1469,1,1931,861,1, -412,2403,16,0,289, -1,1933,2404,16,0, -545,1,1876,2405,16, -0,545,1,431,2406, -16,0,545,1,1585, -2407,16,0,545,1, -182,2408,16,0,545, -1,1628,2409,16,0, -289,1,1189,2410,16, -0,545,1,437,2411, -16,0,289,1,1591, -2412,16,0,289,1, -188,1518,1,1695,2413, -16,0,545,1,2198, -2414,16,0,545,1, -1195,2415,16,0,289, -1,1449,2416,16,0, -289,1,1701,2417,16, -0,289,1,447,2418, -16,0,545,1,199, -2419,16,0,545,1, -2459,882,1,1958,2420, -16,0,545,1,2462, -889,1,1657,894,1, -205,2421,16,0,289, -1,459,2422,16,0, -545,1,462,2423,16, -0,545,1,1665,2424, -16,0,289,1,217, -2425,16,0,545,1, -2227,908,1,942,1490, -1,1225,2426,16,0, -545,1,223,2427,16, -0,289,1,1479,2428, -16,0,545,1,1731, -2429,16,0,545,1, -477,1549,1,1231,2430, -16,0,289,1,479, -1559,1,480,1564,1, -1485,2431,16,0,289, -1,1737,2432,16,0, -289,1,1989,916,1, -1990,2433,16,0,545, -1,1443,2434,16,0, -545,1,236,2435,16, -0,545,1,2136,842, -1,2664,2436,16,0, -289,1,476,1543,1, -242,2437,16,0,289, -1,478,1583,1,1939, -2438,16,0,289,1, -1001,1588,1,1002,1593, -1,1756,2439,16,0, -545,1,26,2440,19, -308,1,26,2441,5, -84,1,1011,1102,1, -1012,2442,16,0,306, -1,1013,1258,1,262, -1119,1,1267,2443,16, -0,306,1,515,2444, -16,0,660,1,1521, -2445,16,0,306,1, -525,1216,1,283,1172, -1,2299,2446,16,0, -306,1,42,2447,16, -0,306,1,40,1177, -1,44,1183,1,47, -1184,1,1303,2448,16, -0,306,1,1555,2449, -16,0,306,1,50, -1201,1,48,1190,1, -49,1196,1,51,1206, -1,63,1222,1,305, -1211,1,66,1228,1, -67,1233,1,68,1238, -1,69,1243,1,70, -1248,1,73,2450,16, -0,306,1,74,1253, -1,328,1302,1,1048, -1344,1,82,2451,16, -0,306,1,1840,2452, -16,0,306,1,1591, -2453,16,0,306,1, -1341,2454,16,0,306, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,2455,16,0,306, -1,1114,1343,1,118, -1355,1,1123,2456,16, -0,306,1,371,1365, -1,1628,2457,16,0, -306,1,375,1376,1, -1882,2458,16,0,306, -1,377,1381,1,379, -1386,1,380,1391,1, -883,2459,16,0,306, -1,373,1409,1,130, -1414,1,143,2460,16, -0,306,1,387,2461, -16,0,306,1,2664, -2462,16,0,306,1, -1159,2463,16,0,306, -1,157,2464,16,0, -306,1,1413,2465,16, -0,306,1,1665,2466, -16,0,306,1,412, -2467,16,0,306,1, -1377,2468,16,0,306, -1,172,1469,1,1939, -2469,16,0,306,1, -437,2470,16,0,588, -1,188,1518,1,942, -1490,1,1195,2471,16, -0,306,1,1449,2472, -16,0,306,1,1701, -2473,16,0,306,1, -447,1511,1,205,2474, -16,0,306,1,827, -2475,16,0,306,1, -223,2476,16,0,306, -1,476,1543,1,477, -1549,1,1231,2477,16, -0,306,1,479,1559, +157,2382,16,0,289, +1,1413,2383,16,0, +289,1,883,2384,16, +0,289,1,1371,2385, +16,0,545,1,328, +1302,1,2105,814,1, +2106,2386,16,0,545, +1,166,2387,16,0, +545,1,525,2388,16, +0,545,1,1622,2389, +16,0,545,1,406, +2390,16,0,545,1, +1574,799,1,172,1469, +1,1931,861,1,412, +2391,16,0,289,1, +1933,2392,16,0,545, +1,1876,2393,16,0, +545,1,431,2394,16, +0,545,1,1585,2395, +16,0,545,1,182, +2396,16,0,545,1, +1628,2397,16,0,289, +1,1189,2398,16,0, +545,1,437,2399,16, +0,289,1,1591,2400, +16,0,289,1,188, +1518,1,1695,2401,16, +0,545,1,2198,2402, +16,0,545,1,1195, +2403,16,0,289,1, +1449,2404,16,0,289, +1,1701,2405,16,0, +289,1,447,2406,16, +0,545,1,199,2407, +16,0,545,1,2459, +882,1,1958,2408,16, +0,545,1,2462,889, +1,1657,894,1,205, +2409,16,0,289,1, +459,2410,16,0,545, +1,462,2411,16,0, +545,1,1665,2412,16, +0,289,1,217,2413, +16,0,545,1,2227, +908,1,942,1490,1, +1225,2414,16,0,545, +1,223,2415,16,0, +289,1,1479,2416,16, +0,545,1,1731,2417, +16,0,545,1,477, +1549,1,1231,2418,16, +0,289,1,479,1559, 1,480,1564,1,1485, -2478,16,0,306,1, -1737,2479,16,0,306, -1,242,2480,16,0, -306,1,478,1583,1, -1001,1588,1,1002,1593, -1,27,2481,19,598, -1,27,2482,5,95, -1,256,2483,16,0, -596,1,1261,2484,16, -0,596,1,509,2485, -16,0,596,1,1515, -2486,16,0,596,1, -2021,718,1,1775,2487, -16,0,596,1,2029, -725,1,2030,731,1, -2031,736,1,2032,741, -1,2033,746,1,277, -2488,16,0,596,1, -2035,752,1,2037,757, -1,2039,762,1,32, -2489,16,0,596,1, -2041,768,1,2293,2490, -16,0,596,1,2043, -774,1,2045,779,1, -41,2491,16,0,596, -1,1297,2492,16,0, -596,1,43,2493,16, -0,596,1,1803,787, -1,1804,2494,16,0, -596,1,299,2495,16, -0,596,1,52,2496, -16,0,596,1,2318, -2497,16,0,596,1, -62,2498,16,0,596, -1,2075,2499,16,0, -596,1,1574,799,1, -71,2500,16,0,596, -1,76,2501,16,0, -596,1,1834,2502,16, -0,596,1,2337,2503, -16,0,596,1,79, -2504,16,0,596,1, -1335,2505,16,0,596, -1,322,2506,16,0, -596,1,85,2507,16, -0,596,1,89,2508, -16,0,596,1,346, -2509,16,0,596,1, -2105,814,1,2106,2510, -16,0,596,1,97, -2511,16,0,596,1, -1860,821,1,2364,827, -1,102,2512,16,0, -596,1,112,2513,16, -0,596,1,1117,2514, -16,0,596,1,1873, -835,1,1876,2515,16, -0,596,1,124,2516, -16,0,596,1,2136, -842,1,381,2517,16, -0,596,1,525,2518, -16,0,596,1,137, +2419,16,0,289,1, +1737,2420,16,0,289, +1,1989,916,1,1990, +2421,16,0,545,1, +1443,2422,16,0,545, +1,236,2423,16,0, +545,1,2136,842,1, +2664,2424,16,0,289, +1,476,1543,1,242, +2425,16,0,289,1, +478,1583,1,1939,2426, +16,0,289,1,1001, +1588,1,1002,1593,1, +1756,2427,16,0,545, +1,26,2428,19,308, +1,26,2429,5,84, +1,1011,1102,1,1012, +2430,16,0,306,1, +1013,1258,1,262,1119, +1,1267,2431,16,0, +306,1,515,2432,16, +0,660,1,1521,2433, +16,0,306,1,525, +1216,1,283,1172,1, +2299,2434,16,0,306, +1,42,2435,16,0, +306,1,40,1177,1, +44,1183,1,47,1184, +1,1303,2436,16,0, +306,1,1555,2437,16, +0,306,1,50,1201, +1,48,1190,1,49, +1196,1,51,1206,1, +63,1222,1,305,1211, +1,66,1228,1,67, +1233,1,68,1238,1, +69,1243,1,70,1248, +1,73,2438,16,0, +306,1,74,1253,1, +328,1302,1,1048,1344, +1,82,1280,1,1840, +2439,16,0,306,1, +1591,2440,16,0,306, +1,1341,2441,16,0, +306,1,1096,1312,1, +93,1318,1,352,1349, +1,107,1338,1,1114, +1343,1,118,1355,1, +1123,2442,16,0,306, +1,371,1365,1,1628, +2443,16,0,306,1, +375,1376,1,1882,2444, +16,0,306,1,377, +1381,1,379,1386,1, +380,1391,1,883,2445, +16,0,306,1,373, +1409,1,130,1414,1, +143,2446,16,0,306, +1,387,2447,16,0, +306,1,2664,2448,16, +0,306,1,1159,2449, +16,0,306,1,157, +2450,16,0,306,1, +1413,2451,16,0,306, +1,1665,2452,16,0, +306,1,412,2453,16, +0,306,1,1377,2454, +16,0,306,1,172, +1469,1,1939,2455,16, +0,306,1,437,2456, +16,0,588,1,188, +1518,1,942,1490,1, +1195,2457,16,0,306, +1,1449,2458,16,0, +306,1,1701,2459,16, +0,306,1,447,1511, +1,205,2460,16,0, +306,1,827,2461,16, +0,306,1,223,2462, +16,0,306,1,476, +1543,1,477,1549,1, +1231,2463,16,0,306, +1,479,1559,1,480, +1564,1,1485,2464,16, +0,306,1,1737,2465, +16,0,306,1,242, +2466,16,0,306,1, +478,1583,1,1001,1588, +1,1002,1593,1,27, +2467,19,598,1,27, +2468,5,95,1,256, +2469,16,0,596,1, +1261,2470,16,0,596, +1,509,2471,16,0, +596,1,1515,2472,16, +0,596,1,2021,718, +1,1775,2473,16,0, +596,1,2029,725,1, +2030,731,1,2031,736, +1,2032,741,1,2033, +746,1,277,2474,16, +0,596,1,2035,752, +1,2037,757,1,2039, +762,1,32,2475,16, +0,596,1,2041,768, +1,2293,2476,16,0, +596,1,2043,774,1, +2045,779,1,41,2477, +16,0,596,1,1297, +2478,16,0,596,1, +43,2479,16,0,596, +1,1803,787,1,1804, +2480,16,0,596,1, +299,2481,16,0,596, +1,52,2482,16,0, +596,1,2318,2483,16, +0,596,1,62,2484, +16,0,596,1,2075, +2485,16,0,596,1, +1574,799,1,71,2486, +16,0,596,1,76, +2487,16,0,596,1, +1834,2488,16,0,596, +1,2337,2489,16,0, +596,1,79,2490,16, +0,596,1,1335,2491, +16,0,596,1,322, +2492,16,0,596,1, +85,2493,16,0,596, +1,89,2494,16,0, +596,1,346,2495,16, +0,596,1,2105,814, +1,2106,2496,16,0, +596,1,97,2497,16, +0,596,1,1860,821, +1,2364,827,1,102, +2498,16,0,596,1, +112,2499,16,0,596, +1,1117,2500,16,0, +596,1,1873,835,1, +1876,2501,16,0,596, +1,124,2502,16,0, +596,1,2136,842,1, +381,2503,16,0,596, +1,525,2504,16,0, +596,1,137,2505,16, +0,596,1,1901,2506, +16,0,596,1,2658, +2507,16,0,596,1, +1153,2508,16,0,596, +1,151,2509,16,0, +596,1,1407,2510,16, +0,596,1,1659,2511, +16,0,596,1,2413, +2512,16,0,596,1, +406,2513,16,0,596, +1,1371,2514,16,0, +596,1,166,2515,16, +0,596,1,1622,2516, +16,0,596,1,1931, +861,1,1933,2517,16, +0,596,1,431,2518, +16,0,596,1,1585, 2519,16,0,596,1, -1901,2520,16,0,596, -1,2658,2521,16,0, -596,1,1153,2522,16, -0,596,1,151,2523, -16,0,596,1,1407, +182,2520,16,0,596, +1,1189,2521,16,0, +596,1,1443,2522,16, +0,596,1,1695,2523, +16,0,596,1,2198, 2524,16,0,596,1, -1659,2525,16,0,596, -1,2413,2526,16,0, -596,1,406,2527,16, -0,596,1,1371,2528, -16,0,596,1,166, +447,2525,16,0,596, +1,2458,876,1,2459, +882,1,1958,2526,16, +0,596,1,2462,889, +1,1657,894,1,2464, +899,1,199,2527,16, +0,596,1,459,2528, +16,0,596,1,462, 2529,16,0,596,1, -1622,2530,16,0,596, -1,1931,861,1,1933, +217,2530,16,0,596, +1,2227,908,1,1225, 2531,16,0,596,1, -431,2532,16,0,596, -1,1585,2533,16,0, -596,1,182,2534,16, -0,596,1,1189,2535, -16,0,596,1,1443, -2536,16,0,596,1, -1695,2537,16,0,596, -1,2198,2538,16,0, -596,1,447,2539,16, -0,596,1,2458,876, -1,2459,882,1,1958, -2540,16,0,596,1, -2462,889,1,1657,894, -1,2464,899,1,199, -2541,16,0,596,1, -459,2542,16,0,596, -1,462,2543,16,0, -596,1,217,2544,16, -0,596,1,2227,908, -1,1225,2545,16,0, -596,1,1479,2546,16, -0,596,1,1731,2547, -16,0,596,1,1989, -916,1,1990,2548,16, -0,596,1,236,2549, -16,0,596,1,1756, -2550,16,0,596,1, -28,2551,19,629,1, -28,2552,5,60,1, -328,1302,1,223,1533, -1,1096,1312,1,118, -1355,1,883,1397,1, -525,1216,1,1001,1588, -1,130,1414,1,459, -1688,1,1114,1343,1, -352,1349,1,447,1511, -1,464,1683,1,1011, -1102,1,1013,1258,1, -242,1578,1,143,1419, -1,40,1177,1,41, -1659,1,42,1662,1, -479,1559,1,44,1183, -1,481,1646,1,373, -1409,1,47,1184,1, -157,1443,1,49,1196, -1,50,1201,1,48, -1190,1,379,1386,1, -380,1391,1,51,1206, -1,476,1543,1,371, -1365,1,478,1583,1, -1048,1344,1,375,1376, -1,172,1469,1,262, -1119,1,283,1172,1, -63,1222,1,67,1233, -1,68,1238,1,69, -1243,1,66,1228,1, -461,2553,16,0,627, -1,74,1253,1,377, -1381,1,1002,1593,1, -70,1248,1,188,1518, -1,82,1280,1,305, -1211,1,477,1549,1, -827,1331,1,93,1318, -1,480,1564,1,205, -1523,1,942,1490,1, -107,1338,1,29,2554, -19,280,1,29,2555, -5,84,1,1011,1102, -1,1012,2556,16,0, -278,1,1013,1258,1, -262,1119,1,1267,2557, -16,0,278,1,515, -2558,16,0,278,1, -1521,2559,16,0,278, -1,525,1216,1,283, -1172,1,2299,2560,16, -0,278,1,42,2561, -16,0,278,1,40, -1177,1,44,1183,1, -47,1184,1,1303,2562, -16,0,278,1,1555, -2563,16,0,278,1, -50,1201,1,48,1190, -1,49,1196,1,51, -1206,1,63,1222,1, -305,1211,1,66,1228, +1479,2532,16,0,596, +1,1731,2533,16,0, +596,1,1989,916,1, +1990,2534,16,0,596, +1,236,2535,16,0, +596,1,1756,2536,16, +0,596,1,28,2537, +19,629,1,28,2538, +5,60,1,328,1302, +1,223,1533,1,1096, +1312,1,118,1355,1, +883,1397,1,525,1216, +1,1001,1588,1,130, +1414,1,459,1688,1, +1114,1343,1,352,1349, +1,447,1511,1,464, +1683,1,1011,1102,1, +1013,1258,1,242,1578, +1,143,1419,1,40, +1177,1,41,1659,1, +42,1662,1,479,1559, +1,44,1183,1,481, +1646,1,373,1409,1, +47,1184,1,157,1443, +1,49,1196,1,50, +1201,1,48,1190,1, +379,1386,1,380,1391, +1,51,1206,1,476, +1543,1,371,1365,1, +478,1583,1,1048,1344, +1,375,1376,1,172, +1469,1,262,1119,1, +283,1172,1,63,1222, 1,67,1233,1,68, 1238,1,69,1243,1, -70,1248,1,73,2564, -16,0,278,1,74, -1253,1,328,1302,1, -1048,1344,1,82,2565, -16,0,278,1,1840, -2566,16,0,278,1, -1591,2567,16,0,278, -1,1341,2568,16,0, -278,1,1096,1312,1, -93,1318,1,352,1349, -1,107,2569,16,0, -278,1,1114,1343,1, -118,1355,1,1123,2570, -16,0,278,1,371, -1365,1,1628,2571,16, -0,278,1,375,1376, -1,1882,2572,16,0, -278,1,377,1381,1, -379,1386,1,380,1391, -1,883,2573,16,0, -278,1,373,1409,1, -130,1414,1,143,1419, -1,387,2574,16,0, -278,1,2664,2575,16, -0,278,1,1159,2576, -16,0,278,1,157, -1443,1,1413,2577,16, -0,278,1,1665,2578, -16,0,278,1,412, -2579,16,0,278,1, -1377,2580,16,0,278, -1,172,1469,1,1939, -2581,16,0,278,1, -437,2582,16,0,278, -1,188,1518,1,942, -1490,1,1195,2583,16, -0,278,1,1449,2584, -16,0,278,1,1701, -2585,16,0,278,1, -447,1511,1,205,2586, -16,0,278,1,827, -2587,16,0,278,1, -223,2588,16,0,278, -1,476,1543,1,477, -1549,1,1231,2589,16, -0,278,1,479,1559, -1,480,1564,1,1485, -2590,16,0,278,1, -1737,2591,16,0,278, -1,242,2592,16,0, -278,1,478,1583,1, -1001,1588,1,1002,1593, -1,30,2593,19,268, -1,30,2594,5,84, +66,1228,1,461,2539, +16,0,627,1,74, +1253,1,377,1381,1, +1002,1593,1,70,1248, +1,188,1518,1,82, +1280,1,305,1211,1, +477,1549,1,827,1331, +1,93,1318,1,480, +1564,1,205,1523,1, +942,1490,1,107,1338, +1,29,2540,19,280, +1,29,2541,5,84, 1,1011,1102,1,1012, -2595,16,0,266,1, +2542,16,0,278,1, 1013,1258,1,262,1119, -1,1267,2596,16,0, -266,1,515,2597,16, -0,266,1,1521,2598, -16,0,266,1,525, +1,1267,2543,16,0, +278,1,515,2544,16, +0,278,1,1521,2545, +16,0,278,1,525, 1216,1,283,1172,1, -2299,2599,16,0,266, -1,42,2600,16,0, -266,1,40,1177,1, +2299,2546,16,0,278, +1,42,2547,16,0, +278,1,40,1177,1, 44,1183,1,47,1184, -1,1303,2601,16,0, -266,1,1555,2602,16, -0,266,1,50,1201, +1,1303,2548,16,0, +278,1,1555,2549,16, +0,278,1,50,1201, 1,48,1190,1,49, 1196,1,51,1206,1, 63,1222,1,305,1211, 1,66,1228,1,67, 1233,1,68,1238,1, 69,1243,1,70,1248, -1,73,2603,16,0, -266,1,74,1253,1, +1,73,2550,16,0, +278,1,74,1253,1, 328,1302,1,1048,1344, -1,82,2604,16,0, -266,1,1840,2605,16, -0,266,1,1591,2606, -16,0,266,1,1341, -2607,16,0,266,1, -1096,1312,1,93,1318, -1,352,1349,1,107, -2608,16,0,266,1, -1114,1343,1,118,1355, -1,1123,2609,16,0, -266,1,371,1365,1, -1628,2610,16,0,266, -1,375,1376,1,1882, -2611,16,0,266,1, -377,1381,1,379,1386, -1,380,1391,1,883, -2612,16,0,266,1, -373,1409,1,130,1414, -1,143,1419,1,387, -2613,16,0,266,1, -2664,2614,16,0,266, -1,1159,2615,16,0, -266,1,157,1443,1, -1413,2616,16,0,266, -1,1665,2617,16,0, -266,1,412,2618,16, -0,266,1,1377,2619, -16,0,266,1,172, -1469,1,1939,2620,16, -0,266,1,437,2621, -16,0,266,1,188, -1518,1,942,1490,1, -1195,2622,16,0,266, -1,1449,2623,16,0, -266,1,1701,2624,16, -0,266,1,447,1511, -1,205,2625,16,0, -266,1,827,2626,16, -0,266,1,223,2627, -16,0,266,1,476, -1543,1,477,1549,1, -1231,2628,16,0,266, -1,479,1559,1,480, -1564,1,1485,2629,16, -0,266,1,1737,2630, -16,0,266,1,242, -2631,16,0,266,1, -478,1583,1,1001,1588, -1,1002,1593,1,31, -2632,19,253,1,31, -2633,5,84,1,1011, -1102,1,1012,2634,16, -0,251,1,1013,1258, -1,262,1119,1,1267, -2635,16,0,251,1, -515,2636,16,0,251, -1,1521,2637,16,0, -251,1,525,1216,1, -283,1172,1,2299,2638, -16,0,251,1,42, -2639,16,0,251,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -2640,16,0,251,1, -1555,2641,16,0,251, -1,50,1201,1,48, -1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, -1228,1,67,1233,1, -68,1238,1,69,1243, -1,70,1248,1,73, -2642,16,0,251,1, -74,1253,1,328,1302, -1,1048,1344,1,82, -2643,16,0,251,1, -1840,2644,16,0,251, -1,1591,2645,16,0, -251,1,1341,2646,16, -0,251,1,1096,1312, -1,93,1318,1,352, -1349,1,107,2647,16, -0,251,1,1114,1343, -1,118,1355,1,1123, -2648,16,0,251,1, -371,1365,1,1628,2649, -16,0,251,1,375, -1376,1,1882,2650,16, -0,251,1,377,1381, -1,379,1386,1,380, -1391,1,883,2651,16, -0,251,1,373,1409, -1,130,1414,1,143, -2652,16,0,251,1, -387,2653,16,0,251, -1,2664,2654,16,0, -251,1,1159,2655,16, -0,251,1,157,2656, -16,0,251,1,1413, -2657,16,0,251,1, -1665,2658,16,0,251, -1,412,2659,16,0, -251,1,1377,2660,16, -0,251,1,172,1469, -1,1939,2661,16,0, -251,1,437,2662,16, -0,251,1,188,1518, +1,82,1280,1,1840, +2551,16,0,278,1, +1591,2552,16,0,278, +1,1341,2553,16,0, +278,1,1096,1312,1, +93,1318,1,352,1349, +1,107,1338,1,1114, +1343,1,118,1355,1, +1123,2554,16,0,278, +1,371,1365,1,1628, +2555,16,0,278,1, +375,1376,1,1882,2556, +16,0,278,1,377, +1381,1,379,1386,1, +380,1391,1,883,2557, +16,0,278,1,373, +1409,1,130,1414,1, +143,1419,1,387,2558, +16,0,278,1,2664, +2559,16,0,278,1, +1159,2560,16,0,278, +1,157,1443,1,1413, +2561,16,0,278,1, +1665,2562,16,0,278, +1,412,2563,16,0, +278,1,1377,2564,16, +0,278,1,172,1469, +1,1939,2565,16,0, +278,1,437,2566,16, +0,278,1,188,1518, 1,942,1490,1,1195, -2663,16,0,251,1, -1449,2664,16,0,251, -1,1701,2665,16,0, -251,1,447,1511,1, -205,2666,16,0,251, -1,827,2667,16,0, -251,1,223,2668,16, -0,251,1,476,1543, +2567,16,0,278,1, +1449,2568,16,0,278, +1,1701,2569,16,0, +278,1,447,1511,1, +205,2570,16,0,278, +1,827,2571,16,0, +278,1,223,2572,16, +0,278,1,476,1543, 1,477,1549,1,1231, -2669,16,0,251,1, +2573,16,0,278,1, 479,1559,1,480,1564, -1,1485,2670,16,0, -251,1,1737,2671,16, -0,251,1,242,2672, -16,0,251,1,478, +1,1485,2574,16,0, +278,1,1737,2575,16, +0,278,1,242,2576, +16,0,278,1,478, 1583,1,1001,1588,1, -1002,1593,1,32,2673, -19,246,1,32,2674, +1002,1593,1,30,2577, +19,268,1,30,2578, 5,84,1,1011,1102, -1,1012,2675,16,0, -244,1,1013,1258,1, -262,1119,1,1267,2676, -16,0,244,1,515, -2677,16,0,244,1, -1521,2678,16,0,244, +1,1012,2579,16,0, +266,1,1013,1258,1, +262,1119,1,1267,2580, +16,0,266,1,515, +2581,16,0,266,1, +1521,2582,16,0,266, 1,525,1216,1,283, -1172,1,2299,2679,16, -0,244,1,42,2680, -16,0,244,1,40, +1172,1,2299,2583,16, +0,266,1,42,2584, +16,0,266,1,40, 1177,1,44,1183,1, -47,1184,1,1303,2681, -16,0,244,1,1555, -2682,16,0,244,1, +47,1184,1,1303,2585, +16,0,266,1,1555, +2586,16,0,266,1, 50,1201,1,48,1190, 1,49,1196,1,51, 1206,1,63,1222,1, 305,1211,1,66,1228, 1,67,1233,1,68, 1238,1,69,1243,1, -70,1248,1,73,2683, -16,0,244,1,74, +70,1248,1,73,2587, +16,0,266,1,74, 1253,1,328,1302,1, -1048,1344,1,82,2684, -16,0,244,1,1840, -2685,16,0,244,1, -1591,2686,16,0,244, -1,1341,2687,16,0, -244,1,1096,1312,1, -93,1318,1,352,1349, -1,107,2688,16,0, -244,1,1114,1343,1, -118,1355,1,1123,2689, -16,0,244,1,371, -1365,1,1628,2690,16, -0,244,1,375,1376, -1,1882,2691,16,0, -244,1,377,1381,1, -379,1386,1,380,1391, -1,883,2692,16,0, -244,1,373,1409,1, -130,1414,1,143,2693, -16,0,244,1,387, -2694,16,0,244,1, -2664,2695,16,0,244, -1,1159,2696,16,0, -244,1,157,2697,16, -0,244,1,1413,2698, -16,0,244,1,1665, -2699,16,0,244,1, -412,2700,16,0,244, -1,1377,2701,16,0, -244,1,172,1469,1, -1939,2702,16,0,244, -1,437,2703,16,0, -244,1,188,1518,1, -942,1490,1,1195,2704, -16,0,244,1,1449, -2705,16,0,244,1, -1701,2706,16,0,244, -1,447,1511,1,205, -2707,16,0,244,1, -827,2708,16,0,244, -1,223,2709,16,0, -244,1,476,1543,1, -477,1549,1,1231,2710, -16,0,244,1,479, -1559,1,480,1564,1, -1485,2711,16,0,244, -1,1737,2712,16,0, -244,1,242,2713,16, -0,244,1,478,1583, -1,1001,1588,1,1002, -1593,1,33,2714,19, -332,1,33,2715,5, -84,1,1011,1102,1, -1012,2716,16,0,330, -1,1013,1258,1,262, -1119,1,1267,2717,16, -0,330,1,515,2718, -16,0,330,1,1521, -2719,16,0,330,1, -525,1216,1,283,1172, -1,2299,2720,16,0, -330,1,42,2721,16, -0,330,1,40,1177, -1,44,1183,1,47, -1184,1,1303,2722,16, -0,330,1,1555,2723, -16,0,330,1,50, -1201,1,48,1190,1, -49,1196,1,51,1206, -1,63,1222,1,305, -1211,1,66,1228,1, -67,1233,1,68,1238, -1,69,1243,1,70, -1248,1,73,2724,16, -0,330,1,74,1253, -1,328,1302,1,1048, -1344,1,82,2725,16, -0,330,1,1840,2726, -16,0,330,1,1591, -2727,16,0,330,1, -1341,2728,16,0,330, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,2729,16,0,330, +1048,1344,1,82,1280, +1,1840,2588,16,0, +266,1,1591,2589,16, +0,266,1,1341,2590, +16,0,266,1,1096, +1312,1,93,1318,1, +352,1349,1,107,1338, 1,1114,1343,1,118, -1355,1,1123,2730,16, -0,330,1,371,1365, -1,1628,2731,16,0, -330,1,375,1376,1, -1882,2732,16,0,330, +1355,1,1123,2591,16, +0,266,1,371,1365, +1,1628,2592,16,0, +266,1,375,1376,1, +1882,2593,16,0,266, 1,377,1381,1,379, 1386,1,380,1391,1, -883,2733,16,0,330, +883,2594,16,0,266, 1,373,1409,1,130, 1414,1,143,1419,1, -387,2734,16,0,330, -1,2664,2735,16,0, -330,1,1159,2736,16, -0,330,1,157,1443, -1,1413,2737,16,0, -330,1,1665,2738,16, -0,330,1,412,2739, -16,0,330,1,1377, -2740,16,0,330,1, -172,1469,1,1939,2741, -16,0,330,1,437, -2742,16,0,330,1, +387,2595,16,0,266, +1,2664,2596,16,0, +266,1,1159,2597,16, +0,266,1,157,1443, +1,1413,2598,16,0, +266,1,1665,2599,16, +0,266,1,412,2600, +16,0,266,1,1377, +2601,16,0,266,1, +172,1469,1,1939,2602, +16,0,266,1,437, +2603,16,0,266,1, 188,1518,1,942,1490, -1,1195,2743,16,0, -330,1,1449,2744,16, -0,330,1,1701,2745, -16,0,330,1,447, -1511,1,205,2746,16, -0,330,1,827,2747, -16,0,330,1,223, -2748,16,0,330,1, +1,1195,2604,16,0, +266,1,1449,2605,16, +0,266,1,1701,2606, +16,0,266,1,447, +1511,1,205,2607,16, +0,266,1,827,2608, +16,0,266,1,223, +2609,16,0,266,1, 476,1543,1,477,1549, -1,1231,2749,16,0, -330,1,479,1559,1, -480,1564,1,1485,2750, -16,0,330,1,1737, -2751,16,0,330,1, -242,1578,1,478,1583, -1,1001,1588,1,1002, -1593,1,34,2752,19, -322,1,34,2753,5, -84,1,1011,1102,1, -1012,2754,16,0,320, -1,1013,1258,1,262, -1119,1,1267,2755,16, -0,320,1,515,2756, -16,0,320,1,1521, -2757,16,0,320,1, -525,1216,1,283,1172, -1,2299,2758,16,0, -320,1,42,2759,16, -0,320,1,40,1177, -1,44,1183,1,47, -1184,1,1303,2760,16, -0,320,1,1555,2761, -16,0,320,1,50, -1201,1,48,1190,1, -49,1196,1,51,1206, -1,63,1222,1,305, -1211,1,66,1228,1, -67,1233,1,68,1238, -1,69,1243,1,70, -1248,1,73,2762,16, -0,320,1,74,1253, -1,328,1302,1,1048, -1344,1,82,2763,16, -0,320,1,1840,2764, -16,0,320,1,1591, -2765,16,0,320,1, -1341,2766,16,0,320, +1,1231,2610,16,0, +266,1,479,1559,1, +480,1564,1,1485,2611, +16,0,266,1,1737, +2612,16,0,266,1, +242,2613,16,0,266, +1,478,1583,1,1001, +1588,1,1002,1593,1, +31,2614,19,253,1, +31,2615,5,84,1, +1011,1102,1,1012,2616, +16,0,251,1,1013, +1258,1,262,1119,1, +1267,2617,16,0,251, +1,515,2618,16,0, +251,1,1521,2619,16, +0,251,1,525,1216, +1,283,1172,1,2299, +2620,16,0,251,1, +42,2621,16,0,251, +1,40,1177,1,44, +1183,1,47,1184,1, +1303,2622,16,0,251, +1,1555,2623,16,0, +251,1,50,1201,1, +48,1190,1,49,1196, +1,51,1206,1,63, +1222,1,305,1211,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +73,2624,16,0,251, +1,74,1253,1,328, +1302,1,1048,1344,1, +82,1280,1,1840,2625, +16,0,251,1,1591, +2626,16,0,251,1, +1341,2627,16,0,251, 1,1096,1312,1,93, 1318,1,352,1349,1, -107,2767,16,0,320, +107,1338,1,1114,1343, +1,118,1355,1,1123, +2628,16,0,251,1, +371,1365,1,1628,2629, +16,0,251,1,375, +1376,1,1882,2630,16, +0,251,1,377,1381, +1,379,1386,1,380, +1391,1,883,2631,16, +0,251,1,373,1409, +1,130,1414,1,143, +2632,16,0,251,1, +387,2633,16,0,251, +1,2664,2634,16,0, +251,1,1159,2635,16, +0,251,1,157,2636, +16,0,251,1,1413, +2637,16,0,251,1, +1665,2638,16,0,251, +1,412,2639,16,0, +251,1,1377,2640,16, +0,251,1,172,1469, +1,1939,2641,16,0, +251,1,437,2642,16, +0,251,1,188,1518, +1,942,1490,1,1195, +2643,16,0,251,1, +1449,2644,16,0,251, +1,1701,2645,16,0, +251,1,447,1511,1, +205,2646,16,0,251, +1,827,2647,16,0, +251,1,223,2648,16, +0,251,1,476,1543, +1,477,1549,1,1231, +2649,16,0,251,1, +479,1559,1,480,1564, +1,1485,2650,16,0, +251,1,1737,2651,16, +0,251,1,242,2652, +16,0,251,1,478, +1583,1,1001,1588,1, +1002,1593,1,32,2653, +19,246,1,32,2654, +5,84,1,1011,1102, +1,1012,2655,16,0, +244,1,1013,1258,1, +262,1119,1,1267,2656, +16,0,244,1,515, +2657,16,0,244,1, +1521,2658,16,0,244, +1,525,1216,1,283, +1172,1,2299,2659,16, +0,244,1,42,2660, +16,0,244,1,40, +1177,1,44,1183,1, +47,1184,1,1303,2661, +16,0,244,1,1555, +2662,16,0,244,1, +50,1201,1,48,1190, +1,49,1196,1,51, +1206,1,63,1222,1, +305,1211,1,66,1228, +1,67,1233,1,68, +1238,1,69,1243,1, +70,1248,1,73,2663, +16,0,244,1,74, +1253,1,328,1302,1, +1048,1344,1,82,1280, +1,1840,2664,16,0, +244,1,1591,2665,16, +0,244,1,1341,2666, +16,0,244,1,1096, +1312,1,93,1318,1, +352,1349,1,107,1338, 1,1114,1343,1,118, -1355,1,1123,2768,16, -0,320,1,371,1365, -1,1628,2769,16,0, -320,1,375,1376,1, -1882,2770,16,0,320, +1355,1,1123,2667,16, +0,244,1,371,1365, +1,1628,2668,16,0, +244,1,375,1376,1, +1882,2669,16,0,244, 1,377,1381,1,379, 1386,1,380,1391,1, -883,2771,16,0,320, +883,2670,16,0,244, 1,373,1409,1,130, -1414,1,143,1419,1, -387,2772,16,0,320, -1,2664,2773,16,0, -320,1,1159,2774,16, -0,320,1,157,1443, -1,1413,2775,16,0, -320,1,1665,2776,16, -0,320,1,412,2777, -16,0,320,1,1377, -2778,16,0,320,1, -172,1469,1,1939,2779, -16,0,320,1,437, -2780,16,0,320,1, -188,1518,1,942,1490, -1,1195,2781,16,0, -320,1,1449,2782,16, -0,320,1,1701,2783, -16,0,320,1,447, -1511,1,205,1523,1, -827,2784,16,0,320, -1,223,1533,1,476, -1543,1,477,1549,1, -1231,2785,16,0,320, -1,479,1559,1,480, -1564,1,1485,2786,16, -0,320,1,1737,2787, -16,0,320,1,242, -1578,1,478,1583,1, +1414,1,143,2671,16, +0,244,1,387,2672, +16,0,244,1,2664, +2673,16,0,244,1, +1159,2674,16,0,244, +1,157,2675,16,0, +244,1,1413,2676,16, +0,244,1,1665,2677, +16,0,244,1,412, +2678,16,0,244,1, +1377,2679,16,0,244, +1,172,1469,1,1939, +2680,16,0,244,1, +437,2681,16,0,244, +1,188,1518,1,942, +1490,1,1195,2682,16, +0,244,1,1449,2683, +16,0,244,1,1701, +2684,16,0,244,1, +447,1511,1,205,2685, +16,0,244,1,827, +2686,16,0,244,1, +223,2687,16,0,244, +1,476,1543,1,477, +1549,1,1231,2688,16, +0,244,1,479,1559, +1,480,1564,1,1485, +2689,16,0,244,1, +1737,2690,16,0,244, +1,242,2691,16,0, +244,1,478,1583,1, 1001,1588,1,1002,1593, -1,35,2788,19,311, -1,35,2789,5,84, +1,33,2692,19,332, +1,33,2693,5,84, 1,1011,1102,1,1012, -2790,16,0,309,1, +2694,16,0,330,1, 1013,1258,1,262,1119, -1,1267,2791,16,0, -309,1,515,2792,16, -0,309,1,1521,2793, -16,0,309,1,525, +1,1267,2695,16,0, +330,1,515,2696,16, +0,330,1,1521,2697, +16,0,330,1,525, 1216,1,283,1172,1, -2299,2794,16,0,309, -1,42,2795,16,0, -309,1,40,1177,1, +2299,2698,16,0,330, +1,42,2699,16,0, +330,1,40,1177,1, 44,1183,1,47,1184, -1,1303,2796,16,0, -309,1,1555,2797,16, -0,309,1,50,1201, +1,1303,2700,16,0, +330,1,1555,2701,16, +0,330,1,50,1201, 1,48,1190,1,49, 1196,1,51,1206,1, 63,1222,1,305,1211, 1,66,1228,1,67, 1233,1,68,1238,1, 69,1243,1,70,1248, -1,73,2798,16,0, -309,1,74,1253,1, +1,73,2702,16,0, +330,1,74,1253,1, 328,1302,1,1048,1344, -1,82,2799,16,0, -309,1,1840,2800,16, -0,309,1,1591,2801, -16,0,309,1,1341, -2802,16,0,309,1, -1096,1312,1,93,1318, -1,352,1349,1,107, -2803,16,0,309,1, -1114,1343,1,118,1355, -1,1123,2804,16,0, -309,1,371,1365,1, -1628,2805,16,0,309, -1,375,1376,1,1882, -2806,16,0,309,1, -377,1381,1,379,1386, -1,380,1391,1,883, -2807,16,0,309,1, -373,1409,1,130,1414, -1,143,1419,1,387, -2808,16,0,309,1, -2664,2809,16,0,309, -1,1159,2810,16,0, -309,1,157,1443,1, -1413,2811,16,0,309, -1,1665,2812,16,0, -309,1,412,2813,16, -0,309,1,1377,2814, -16,0,309,1,172, -1469,1,1939,2815,16, -0,309,1,437,2816, -16,0,309,1,188, -1518,1,942,1490,1, -1195,2817,16,0,309, -1,1449,2818,16,0, -309,1,1701,2819,16, -0,309,1,447,1511, -1,205,1523,1,827, -2820,16,0,309,1, -223,2821,16,0,309, +1,82,1280,1,1840, +2703,16,0,330,1, +1591,2704,16,0,330, +1,1341,2705,16,0, +330,1,1096,1312,1, +93,1318,1,352,1349, +1,107,1338,1,1114, +1343,1,118,1355,1, +1123,2706,16,0,330, +1,371,1365,1,1628, +2707,16,0,330,1, +375,1376,1,1882,2708, +16,0,330,1,377, +1381,1,379,1386,1, +380,1391,1,883,2709, +16,0,330,1,373, +1409,1,130,1414,1, +143,1419,1,387,2710, +16,0,330,1,2664, +2711,16,0,330,1, +1159,2712,16,0,330, +1,157,1443,1,1413, +2713,16,0,330,1, +1665,2714,16,0,330, +1,412,2715,16,0, +330,1,1377,2716,16, +0,330,1,172,1469, +1,1939,2717,16,0, +330,1,437,2718,16, +0,330,1,188,1518, +1,942,1490,1,1195, +2719,16,0,330,1, +1449,2720,16,0,330, +1,1701,2721,16,0, +330,1,447,1511,1, +205,2722,16,0,330, +1,827,2723,16,0, +330,1,223,2724,16, +0,330,1,476,1543, +1,477,1549,1,1231, +2725,16,0,330,1, +479,1559,1,480,1564, +1,1485,2726,16,0, +330,1,1737,2727,16, +0,330,1,242,1578, +1,478,1583,1,1001, +1588,1,1002,1593,1, +34,2728,19,322,1, +34,2729,5,84,1, +1011,1102,1,1012,2730, +16,0,320,1,1013, +1258,1,262,1119,1, +1267,2731,16,0,320, +1,515,2732,16,0, +320,1,1521,2733,16, +0,320,1,525,1216, +1,283,1172,1,2299, +2734,16,0,320,1, +42,2735,16,0,320, +1,40,1177,1,44, +1183,1,47,1184,1, +1303,2736,16,0,320, +1,1555,2737,16,0, +320,1,50,1201,1, +48,1190,1,49,1196, +1,51,1206,1,63, +1222,1,305,1211,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +73,2738,16,0,320, +1,74,1253,1,328, +1302,1,1048,1344,1, +82,1280,1,1840,2739, +16,0,320,1,1591, +2740,16,0,320,1, +1341,2741,16,0,320, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,1338,1,1114,1343, +1,118,1355,1,1123, +2742,16,0,320,1, +371,1365,1,1628,2743, +16,0,320,1,375, +1376,1,1882,2744,16, +0,320,1,377,1381, +1,379,1386,1,380, +1391,1,883,2745,16, +0,320,1,373,1409, +1,130,1414,1,143, +1419,1,387,2746,16, +0,320,1,2664,2747, +16,0,320,1,1159, +2748,16,0,320,1, +157,1443,1,1413,2749, +16,0,320,1,1665, +2750,16,0,320,1, +412,2751,16,0,320, +1,1377,2752,16,0, +320,1,172,1469,1, +1939,2753,16,0,320, +1,437,2754,16,0, +320,1,188,1518,1, +942,1490,1,1195,2755, +16,0,320,1,1449, +2756,16,0,320,1, +1701,2757,16,0,320, +1,447,1511,1,205, +1523,1,827,2758,16, +0,320,1,223,1533, 1,476,1543,1,477, -1549,1,1231,2822,16, -0,309,1,479,1559, +1549,1,1231,2759,16, +0,320,1,479,1559, 1,480,1564,1,1485, -2823,16,0,309,1, -1737,2824,16,0,309, +2760,16,0,320,1, +1737,2761,16,0,320, 1,242,1578,1,478, 1583,1,1001,1588,1, -1002,1593,1,36,2825, -19,216,1,36,2826, -5,94,1,256,2827, -16,0,214,1,1261, +1002,1593,1,35,2762, +19,311,1,35,2763, +5,84,1,1011,1102, +1,1012,2764,16,0, +309,1,1013,1258,1, +262,1119,1,1267,2765, +16,0,309,1,515, +2766,16,0,309,1, +1521,2767,16,0,309, +1,525,1216,1,283, +1172,1,2299,2768,16, +0,309,1,42,2769, +16,0,309,1,40, +1177,1,44,1183,1, +47,1184,1,1303,2770, +16,0,309,1,1555, +2771,16,0,309,1, +50,1201,1,48,1190, +1,49,1196,1,51, +1206,1,63,1222,1, +305,1211,1,66,1228, +1,67,1233,1,68, +1238,1,69,1243,1, +70,1248,1,73,2772, +16,0,309,1,74, +1253,1,328,1302,1, +1048,1344,1,82,1280, +1,1840,2773,16,0, +309,1,1591,2774,16, +0,309,1,1341,2775, +16,0,309,1,1096, +1312,1,93,1318,1, +352,1349,1,107,1338, +1,1114,1343,1,118, +1355,1,1123,2776,16, +0,309,1,371,1365, +1,1628,2777,16,0, +309,1,375,1376,1, +1882,2778,16,0,309, +1,377,1381,1,379, +1386,1,380,1391,1, +883,2779,16,0,309, +1,373,1409,1,130, +1414,1,143,1419,1, +387,2780,16,0,309, +1,2664,2781,16,0, +309,1,1159,2782,16, +0,309,1,157,1443, +1,1413,2783,16,0, +309,1,1665,2784,16, +0,309,1,412,2785, +16,0,309,1,1377, +2786,16,0,309,1, +172,1469,1,1939,2787, +16,0,309,1,437, +2788,16,0,309,1, +188,1518,1,942,1490, +1,1195,2789,16,0, +309,1,1449,2790,16, +0,309,1,1701,2791, +16,0,309,1,447, +1511,1,205,1523,1, +827,2792,16,0,309, +1,223,2793,16,0, +309,1,476,1543,1, +477,1549,1,1231,2794, +16,0,309,1,479, +1559,1,480,1564,1, +1485,2795,16,0,309, +1,1737,2796,16,0, +309,1,242,1578,1, +478,1583,1,1001,1588, +1,1002,1593,1,36, +2797,19,216,1,36, +2798,5,94,1,256, +2799,16,0,214,1, +1261,2800,16,0,214, +1,509,2801,16,0, +214,1,1515,2802,16, +0,214,1,2021,718, +1,1775,2803,16,0, +214,1,2029,725,1, +2030,731,1,2031,736, +1,2032,741,1,2033, +746,1,277,2804,16, +0,214,1,2035,752, +1,2037,757,1,2039, +762,1,32,2805,16, +0,214,1,2041,768, +1,2293,2806,16,0, +214,1,2043,774,1, +2045,779,1,41,2807, +16,0,214,1,1297, +2808,16,0,214,1, +43,2809,16,0,214, +1,1803,787,1,1804, +2810,16,0,214,1, +299,2811,16,0,214, +1,52,2812,16,0, +214,1,2318,2813,16, +0,214,1,2075,2814, +16,0,214,1,1574, +799,1,71,2815,16, +0,214,1,76,2816, +16,0,214,1,1834, +2817,16,0,214,1, +2337,2818,16,0,214, +1,79,2819,16,0, +214,1,1335,2820,16, +0,214,1,322,2821, +16,0,214,1,85, +2822,16,0,214,1, +89,2823,16,0,214, +1,346,2824,16,0, +214,1,2105,814,1, +2106,2825,16,0,214, +1,97,2826,16,0, +214,1,1860,821,1, +2364,827,1,102,2827, +16,0,214,1,112, 2828,16,0,214,1, -509,2829,16,0,214, -1,1515,2830,16,0, -214,1,2021,718,1, -1775,2831,16,0,214, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,277,2832,16,0, -214,1,2035,752,1, -2037,757,1,2039,762, -1,32,2833,16,0, -214,1,2041,768,1, -2293,2834,16,0,214, -1,2043,774,1,2045, -779,1,41,2835,16, -0,214,1,1297,2836, -16,0,214,1,43, +1117,2829,16,0,214, +1,1873,835,1,1876, +2830,16,0,214,1, +124,2831,16,0,214, +1,2136,842,1,381, +2832,16,0,214,1, +525,2833,16,0,214, +1,137,2834,16,0, +214,1,1901,2835,16, +0,214,1,2658,2836, +16,0,214,1,1153, 2837,16,0,214,1, -1803,787,1,1804,2838, -16,0,214,1,299, -2839,16,0,214,1, -52,2840,16,0,214, -1,2318,2841,16,0, -214,1,2075,2842,16, -0,214,1,1574,799, -1,71,2843,16,0, -214,1,76,2844,16, -0,214,1,1834,2845, -16,0,214,1,2337, -2846,16,0,214,1, -79,2847,16,0,214, -1,1335,2848,16,0, -214,1,322,2849,16, -0,214,1,85,2850, -16,0,214,1,89, -2851,16,0,214,1, -346,2852,16,0,214, -1,2105,814,1,2106, -2853,16,0,214,1, -97,2854,16,0,214, -1,1860,821,1,2364, -827,1,102,2855,16, -0,214,1,112,2856, -16,0,214,1,1117, -2857,16,0,214,1, -1873,835,1,1876,2858, -16,0,214,1,124, +151,2838,16,0,214, +1,1407,2839,16,0, +214,1,1659,2840,16, +0,214,1,2413,2841, +16,0,214,1,406, +2842,16,0,214,1, +1371,2843,16,0,214, +1,166,2844,16,0, +214,1,1622,2845,16, +0,214,1,1931,861, +1,1933,2846,16,0, +214,1,431,2847,16, +0,214,1,1585,2848, +16,0,214,1,182, +2849,16,0,214,1, +1189,2850,16,0,214, +1,1443,2851,16,0, +214,1,1695,2852,16, +0,214,1,2198,2853, +16,0,214,1,447, +2854,16,0,214,1, +2458,876,1,2459,882, +1,1958,2855,16,0, +214,1,2462,889,1, +1657,894,1,2464,899, +1,199,2856,16,0, +214,1,459,2857,16, +0,214,1,462,2858, +16,0,214,1,217, 2859,16,0,214,1, -2136,842,1,381,2860, -16,0,214,1,525, +2227,908,1,1225,2860, +16,0,214,1,1479, 2861,16,0,214,1, -137,2862,16,0,214, -1,1901,2863,16,0, -214,1,2658,2864,16, -0,214,1,1153,2865, -16,0,214,1,151, -2866,16,0,214,1, -1407,2867,16,0,214, -1,1659,2868,16,0, -214,1,2413,2869,16, -0,214,1,406,2870, -16,0,214,1,1371, -2871,16,0,214,1, -166,2872,16,0,214, -1,1622,2873,16,0, -214,1,1931,861,1, -1933,2874,16,0,214, -1,431,2875,16,0, -214,1,1585,2876,16, -0,214,1,182,2877, -16,0,214,1,1189, -2878,16,0,214,1, -1443,2879,16,0,214, -1,1695,2880,16,0, -214,1,2198,2881,16, -0,214,1,447,2882, -16,0,214,1,2458, -876,1,2459,882,1, -1958,2883,16,0,214, -1,2462,889,1,1657, -894,1,2464,899,1, -199,2884,16,0,214, -1,459,2885,16,0, -214,1,462,2886,16, -0,214,1,217,2887, -16,0,214,1,2227, -908,1,1225,2888,16, -0,214,1,1479,2889, -16,0,214,1,1731, -2890,16,0,214,1, -1989,916,1,1990,2891, -16,0,214,1,236, -2892,16,0,214,1, -1756,2893,16,0,214, -1,37,2894,19,233, -1,37,2895,5,94, -1,256,2896,16,0, -231,1,1261,2897,16, -0,231,1,509,2898, -16,0,231,1,1515, -2899,16,0,231,1, -2021,718,1,1775,2900, -16,0,231,1,2029, -725,1,2030,731,1, -2031,736,1,2032,741, -1,2033,746,1,277, -2901,16,0,231,1, -2035,752,1,2037,757, -1,2039,762,1,32, -2902,16,0,231,1, -2041,768,1,2293,2903, -16,0,231,1,2043, -774,1,2045,779,1, -41,2904,16,0,231, -1,1297,2905,16,0, -231,1,43,2906,16, -0,231,1,1803,787, -1,1804,2907,16,0, -231,1,299,2908,16, -0,231,1,52,2909, -16,0,231,1,2318, -2910,16,0,231,1, -2075,2911,16,0,231, -1,1574,799,1,71, -2912,16,0,231,1, -76,2913,16,0,231, -1,1834,2914,16,0, -231,1,2337,2915,16, -0,231,1,79,2916, -16,0,231,1,1335, -2917,16,0,231,1, -322,2918,16,0,231, -1,85,2919,16,0, -231,1,89,2920,16, -0,231,1,346,2921, -16,0,231,1,2105, -814,1,2106,2922,16, -0,231,1,97,2923, -16,0,231,1,1860, -821,1,2364,827,1, -102,2924,16,0,231, -1,112,2925,16,0, -231,1,1117,2926,16, -0,231,1,1873,835, -1,1876,2927,16,0, -231,1,124,2928,16, -0,231,1,2136,842, -1,381,2929,16,0, -231,1,525,2930,16, -0,231,1,137,2931, -16,0,231,1,1901, -2932,16,0,231,1, -2658,2933,16,0,231, -1,1153,2934,16,0, -231,1,151,2935,16, -0,231,1,1407,2936, -16,0,231,1,1659, -2937,16,0,231,1, -2413,2938,16,0,231, -1,406,2939,16,0, -231,1,1371,2940,16, -0,231,1,166,2941, -16,0,231,1,1622, -2942,16,0,231,1, -1931,861,1,1933,2943, -16,0,231,1,431, -2944,16,0,231,1, -1585,2945,16,0,231, -1,182,2946,16,0, -231,1,1189,2947,16, -0,231,1,1443,2948, -16,0,231,1,1695, -2949,16,0,231,1, -2198,2950,16,0,231, -1,447,2951,16,0, -231,1,2458,876,1, -2459,882,1,1958,2952, -16,0,231,1,2462, -889,1,1657,894,1, -2464,899,1,199,2953, -16,0,231,1,459, -2954,16,0,231,1, -462,2955,16,0,231, -1,217,2956,16,0, -231,1,2227,908,1, -1225,2957,16,0,231, -1,1479,2958,16,0, -231,1,1731,2959,16, -0,231,1,1989,916, -1,1990,2960,16,0, -231,1,236,2961,16, -0,231,1,1756,2962, -16,0,231,1,38, -2963,19,230,1,38, -2964,5,84,1,1011, -1102,1,1012,2965,16, -0,228,1,1013,1258, -1,262,1119,1,1267, -2966,16,0,228,1, -515,2967,16,0,228, -1,1521,2968,16,0, -228,1,525,1216,1, -283,1172,1,2299,2969, -16,0,228,1,42, -2970,16,0,228,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -2971,16,0,228,1, -1555,2972,16,0,228, -1,50,1201,1,48, -1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, -1228,1,67,1233,1, -68,1238,1,69,1243, -1,70,1248,1,73, -2973,16,0,228,1, -74,1253,1,328,1302, -1,1048,1344,1,82, -2974,16,0,228,1, -1840,2975,16,0,228, -1,1591,2976,16,0, -228,1,1341,2977,16, -0,228,1,1096,1312, -1,93,1318,1,352, -1349,1,107,2978,16, -0,228,1,1114,1343, +1731,2862,16,0,214, +1,1989,916,1,1990, +2863,16,0,214,1, +236,2864,16,0,214, +1,1756,2865,16,0, +214,1,37,2866,19, +233,1,37,2867,5, +94,1,256,2868,16, +0,231,1,1261,2869, +16,0,231,1,509, +2870,16,0,231,1, +1515,2871,16,0,231, +1,2021,718,1,1775, +2872,16,0,231,1, +2029,725,1,2030,731, +1,2031,736,1,2032, +741,1,2033,746,1, +277,2873,16,0,231, +1,2035,752,1,2037, +757,1,2039,762,1, +32,2874,16,0,231, +1,2041,768,1,2293, +2875,16,0,231,1, +2043,774,1,2045,779, +1,41,2876,16,0, +231,1,1297,2877,16, +0,231,1,43,2878, +16,0,231,1,1803, +787,1,1804,2879,16, +0,231,1,299,2880, +16,0,231,1,52, +2881,16,0,231,1, +2318,2882,16,0,231, +1,2075,2883,16,0, +231,1,1574,799,1, +71,2884,16,0,231, +1,76,2885,16,0, +231,1,1834,2886,16, +0,231,1,2337,2887, +16,0,231,1,79, +2888,16,0,231,1, +1335,2889,16,0,231, +1,322,2890,16,0, +231,1,85,2891,16, +0,231,1,89,2892, +16,0,231,1,346, +2893,16,0,231,1, +2105,814,1,2106,2894, +16,0,231,1,97, +2895,16,0,231,1, +1860,821,1,2364,827, +1,102,2896,16,0, +231,1,112,2897,16, +0,231,1,1117,2898, +16,0,231,1,1873, +835,1,1876,2899,16, +0,231,1,124,2900, +16,0,231,1,2136, +842,1,381,2901,16, +0,231,1,525,2902, +16,0,231,1,137, +2903,16,0,231,1, +1901,2904,16,0,231, +1,2658,2905,16,0, +231,1,1153,2906,16, +0,231,1,151,2907, +16,0,231,1,1407, +2908,16,0,231,1, +1659,2909,16,0,231, +1,2413,2910,16,0, +231,1,406,2911,16, +0,231,1,1371,2912, +16,0,231,1,166, +2913,16,0,231,1, +1622,2914,16,0,231, +1,1931,861,1,1933, +2915,16,0,231,1, +431,2916,16,0,231, +1,1585,2917,16,0, +231,1,182,2918,16, +0,231,1,1189,2919, +16,0,231,1,1443, +2920,16,0,231,1, +1695,2921,16,0,231, +1,2198,2922,16,0, +231,1,447,2923,16, +0,231,1,2458,876, +1,2459,882,1,1958, +2924,16,0,231,1, +2462,889,1,1657,894, +1,2464,899,1,199, +2925,16,0,231,1, +459,2926,16,0,231, +1,462,2927,16,0, +231,1,217,2928,16, +0,231,1,2227,908, +1,1225,2929,16,0, +231,1,1479,2930,16, +0,231,1,1731,2931, +16,0,231,1,1989, +916,1,1990,2932,16, +0,231,1,236,2933, +16,0,231,1,1756, +2934,16,0,231,1, +38,2935,19,230,1, +38,2936,5,84,1, +1011,1102,1,1012,2937, +16,0,228,1,1013, +1258,1,262,1119,1, +1267,2938,16,0,228, +1,515,2939,16,0, +228,1,1521,2940,16, +0,228,1,525,1216, +1,283,1172,1,2299, +2941,16,0,228,1, +42,2942,16,0,228, +1,40,1177,1,44, +1183,1,47,1184,1, +1303,2943,16,0,228, +1,1555,2944,16,0, +228,1,50,1201,1, +48,1190,1,49,1196, +1,51,1206,1,63, +1222,1,305,1211,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +73,2945,16,0,228, +1,74,1253,1,328, +1302,1,1048,1344,1, +82,1280,1,1840,2946, +16,0,228,1,1591, +2947,16,0,228,1, +1341,2948,16,0,228, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,1338,1,1114,1343, 1,118,1355,1,1123, -2979,16,0,228,1, -371,1365,1,1628,2980, +2949,16,0,228,1, +371,1365,1,1628,2950, 16,0,228,1,375, -1376,1,1882,2981,16, +1376,1,1882,2951,16, 0,228,1,377,1381, 1,379,1386,1,380, 1391,1,883,1397,1, 373,1409,1,130,1414, 1,143,1419,1,387, -2982,16,0,228,1, -2664,2983,16,0,228, -1,1159,2984,16,0, +2952,16,0,228,1, +2664,2953,16,0,228, +1,1159,2954,16,0, 228,1,157,1443,1, -1413,2985,16,0,228, -1,1665,2986,16,0, -228,1,412,2987,16, -0,228,1,1377,2988, +1413,2955,16,0,228, +1,1665,2956,16,0, +228,1,412,2957,16, +0,228,1,1377,2958, 16,0,228,1,172, -1469,1,1939,2989,16, -0,228,1,437,2990, +1469,1,1939,2959,16, +0,228,1,437,2960, 16,0,228,1,188, 1518,1,942,1490,1, -1195,2991,16,0,228, -1,1449,2992,16,0, -228,1,1701,2993,16, +1195,2961,16,0,228, +1,1449,2962,16,0, +228,1,1701,2963,16, 0,228,1,447,1511, 1,205,1523,1,827, 1331,1,223,1533,1, 476,1543,1,477,1549, -1,1231,2994,16,0, +1,1231,2964,16,0, 228,1,479,1559,1, -480,1564,1,1485,2995, +480,1564,1,1485,2965, 16,0,228,1,1737, -2996,16,0,228,1, +2966,16,0,228,1, 242,1578,1,478,1583, 1,1001,1588,1,1002, -1593,1,39,2997,19, -222,1,39,2998,5, +1593,1,39,2967,19, +222,1,39,2968,5, 84,1,1011,1102,1, -1012,2999,16,0,220, +1012,2969,16,0,220, 1,1013,1258,1,262, -1119,1,1267,3000,16, -0,220,1,515,3001, +1119,1,1267,2970,16, +0,220,1,515,2971, 16,0,220,1,1521, -3002,16,0,220,1, +2972,16,0,220,1, 525,1216,1,283,1172, -1,2299,3003,16,0, -220,1,42,3004,16, +1,2299,2973,16,0, +220,1,42,2974,16, 0,220,1,40,1177, 1,44,1183,1,47, -1184,1,1303,3005,16, -0,220,1,1555,3006, +1184,1,1303,2975,16, +0,220,1,1555,2976, 16,0,220,1,50, 1201,1,48,1190,1, 49,1196,1,51,1206, @@ -8046,230 +8028,276 @@ public yyLSLSyntax 1211,1,66,1228,1, 67,1233,1,68,1238, 1,69,1243,1,70, -1248,1,73,3007,16, +1248,1,73,2977,16, 0,220,1,74,1253, 1,328,1302,1,1048, -1344,1,82,3008,16, -0,220,1,1840,3009, -16,0,220,1,1591, -3010,16,0,220,1, -1341,3011,16,0,220, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,3012,16,0,220, -1,1114,1343,1,118, -1355,1,1123,3013,16, -0,220,1,371,1365, -1,1628,3014,16,0, -220,1,375,1376,1, -1882,3015,16,0,220, -1,377,1381,1,379, -1386,1,380,1391,1, -883,1397,1,373,1409, -1,130,1414,1,143, -1419,1,387,3016,16, -0,220,1,2664,3017, -16,0,220,1,1159, -3018,16,0,220,1, -157,1443,1,1413,3019, -16,0,220,1,1665, -3020,16,0,220,1, -412,3021,16,0,220, -1,1377,3022,16,0, -220,1,172,1469,1, -1939,3023,16,0,220, -1,437,3024,16,0, -220,1,188,1518,1, -942,1490,1,1195,3025, -16,0,220,1,1449, -3026,16,0,220,1, -1701,3027,16,0,220, -1,447,1511,1,205, -1523,1,827,1331,1, -223,1533,1,476,1543, -1,477,1549,1,1231, -3028,16,0,220,1, -479,1559,1,480,1564, -1,1485,3029,16,0, -220,1,1737,3030,16, -0,220,1,242,1578, -1,478,1583,1,1001, -1588,1,1002,1593,1, -40,3031,19,210,1, -40,3032,5,84,1, -1011,1102,1,1012,3033, -16,0,208,1,1013, -1258,1,262,1119,1, -1267,3034,16,0,208, -1,515,3035,16,0, -208,1,1521,3036,16, -0,208,1,525,1216, -1,283,1172,1,2299, -3037,16,0,208,1, -42,3038,16,0,208, -1,40,1177,1,44, -1183,1,47,1184,1, -1303,3039,16,0,208, -1,1555,3040,16,0, -208,1,50,1201,1, -48,1190,1,49,1196, -1,51,1206,1,63, -1222,1,305,1211,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -73,3041,16,0,208, -1,74,1253,1,328, -1302,1,1048,1344,1, -82,3042,16,0,208, -1,1840,3043,16,0, -208,1,1591,3044,16, -0,208,1,1341,3045, -16,0,208,1,1096, -1312,1,93,1318,1, -352,1349,1,107,3046, -16,0,208,1,1114, -1343,1,118,3047,16, -0,208,1,1123,3048, -16,0,208,1,371, -1365,1,1628,3049,16, -0,208,1,375,1376, -1,1882,3050,16,0, -208,1,377,1381,1, -379,1386,1,380,1391, -1,883,3051,16,0, -208,1,373,1409,1, -130,3052,16,0,208, -1,143,3053,16,0, -208,1,387,3054,16, -0,208,1,2664,3055, -16,0,208,1,1159, -3056,16,0,208,1, -157,3057,16,0,208, -1,1413,3058,16,0, -208,1,1665,3059,16, -0,208,1,412,3060, -16,0,208,1,1377, -3061,16,0,208,1, -172,3062,16,0,208, -1,1939,3063,16,0, -208,1,437,3064,16, -0,208,1,188,3065, -16,0,208,1,942, -1490,1,1195,3066,16, -0,208,1,1449,3067, -16,0,208,1,1701, -3068,16,0,208,1, -447,1511,1,205,3069, -16,0,208,1,827, -3070,16,0,208,1, -223,3071,16,0,208, -1,476,1543,1,477, -1549,1,1231,3072,16, -0,208,1,479,1559, -1,480,1564,1,1485, -3073,16,0,208,1, -1737,3074,16,0,208, -1,242,3075,16,0, -208,1,478,1583,1, -1001,1588,1,1002,1593, -1,41,3076,19,172, -1,41,3077,5,84, -1,1011,1102,1,1012, -3078,16,0,170,1, -1013,1258,1,262,1119, -1,1267,3079,16,0, -170,1,515,3080,16, -0,170,1,1521,3081, -16,0,170,1,525, -1216,1,283,1172,1, -2299,3082,16,0,170, -1,42,3083,16,0, -170,1,40,1177,1, -44,1183,1,47,1184, -1,1303,3084,16,0, -170,1,1555,3085,16, -0,170,1,50,1201, -1,48,1190,1,49, -1196,1,51,1206,1, -63,1222,1,305,1211, -1,66,1228,1,67, -1233,1,68,1238,1, -69,1243,1,70,1248, -1,73,3086,16,0, -170,1,74,1253,1, -328,1302,1,1048,1344, -1,82,3087,16,0, -170,1,1840,3088,16, -0,170,1,1591,3089, +1344,1,82,1280,1, +1840,2978,16,0,220, +1,1591,2979,16,0, +220,1,1341,2980,16, +0,220,1,1096,1312, +1,93,1318,1,352, +1349,1,107,1338,1, +1114,1343,1,118,1355, +1,1123,2981,16,0, +220,1,371,1365,1, +1628,2982,16,0,220, +1,375,1376,1,1882, +2983,16,0,220,1, +377,1381,1,379,1386, +1,380,1391,1,883, +1397,1,373,1409,1, +130,1414,1,143,1419, +1,387,2984,16,0, +220,1,2664,2985,16, +0,220,1,1159,2986, +16,0,220,1,157, +1443,1,1413,2987,16, +0,220,1,1665,2988, +16,0,220,1,412, +2989,16,0,220,1, +1377,2990,16,0,220, +1,172,1469,1,1939, +2991,16,0,220,1, +437,2992,16,0,220, +1,188,1518,1,942, +1490,1,1195,2993,16, +0,220,1,1449,2994, +16,0,220,1,1701, +2995,16,0,220,1, +447,1511,1,205,1523, +1,827,1331,1,223, +1533,1,476,1543,1, +477,1549,1,1231,2996, +16,0,220,1,479, +1559,1,480,1564,1, +1485,2997,16,0,220, +1,1737,2998,16,0, +220,1,242,1578,1, +478,1583,1,1001,1588, +1,1002,1593,1,40, +2999,19,210,1,40, +3000,5,84,1,1011, +1102,1,1012,3001,16, +0,208,1,1013,1258, +1,262,1119,1,1267, +3002,16,0,208,1, +515,3003,16,0,208, +1,1521,3004,16,0, +208,1,525,1216,1, +283,1172,1,2299,3005, +16,0,208,1,42, +3006,16,0,208,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +3007,16,0,208,1, +1555,3008,16,0,208, +1,50,1201,1,48, +1190,1,49,1196,1, +51,1206,1,63,1222, +1,305,1211,1,66, +1228,1,67,1233,1, +68,1238,1,69,1243, +1,70,1248,1,73, +3009,16,0,208,1, +74,1253,1,328,1302, +1,1048,1344,1,82, +1280,1,1840,3010,16, +0,208,1,1591,3011, +16,0,208,1,1341, +3012,16,0,208,1, +1096,1312,1,93,1318, +1,352,1349,1,107, +1338,1,1114,1343,1, +118,3013,16,0,208, +1,1123,3014,16,0, +208,1,371,1365,1, +1628,3015,16,0,208, +1,375,1376,1,1882, +3016,16,0,208,1, +377,1381,1,379,1386, +1,380,1391,1,883, +3017,16,0,208,1, +373,1409,1,130,3018, +16,0,208,1,143, +3019,16,0,208,1, +387,3020,16,0,208, +1,2664,3021,16,0, +208,1,1159,3022,16, +0,208,1,157,3023, +16,0,208,1,1413, +3024,16,0,208,1, +1665,3025,16,0,208, +1,412,3026,16,0, +208,1,1377,3027,16, +0,208,1,172,3028, +16,0,208,1,1939, +3029,16,0,208,1, +437,3030,16,0,208, +1,188,3031,16,0, +208,1,942,1490,1, +1195,3032,16,0,208, +1,1449,3033,16,0, +208,1,1701,3034,16, +0,208,1,447,1511, +1,205,3035,16,0, +208,1,827,3036,16, +0,208,1,223,3037, +16,0,208,1,476, +1543,1,477,1549,1, +1231,3038,16,0,208, +1,479,1559,1,480, +1564,1,1485,3039,16, +0,208,1,1737,3040, +16,0,208,1,242, +3041,16,0,208,1, +478,1583,1,1001,1588, +1,1002,1593,1,41, +3042,19,172,1,41, +3043,5,84,1,1011, +1102,1,1012,3044,16, +0,170,1,1013,1258, +1,262,1119,1,1267, +3045,16,0,170,1, +515,3046,16,0,170, +1,1521,3047,16,0, +170,1,525,1216,1, +283,1172,1,2299,3048, +16,0,170,1,42, +3049,16,0,170,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +3050,16,0,170,1, +1555,3051,16,0,170, +1,50,1201,1,48, +1190,1,49,1196,1, +51,1206,1,63,1222, +1,305,1211,1,66, +1228,1,67,1233,1, +68,1238,1,69,1243, +1,70,1248,1,73, +3052,16,0,170,1, +74,1253,1,328,1302, +1,1048,1344,1,82, +1280,1,1840,3053,16, +0,170,1,1591,3054, 16,0,170,1,1341, -3090,16,0,170,1, +3055,16,0,170,1, 1096,1312,1,93,1318, 1,352,1349,1,107, -3091,16,0,170,1, -1114,1343,1,118,3092, -16,0,170,1,1123, -3093,16,0,170,1, -371,1365,1,1628,3094, -16,0,170,1,375, -1376,1,1882,3095,16, -0,170,1,377,1381, -1,379,1386,1,380, -1391,1,883,3096,16, -0,170,1,373,1409, -1,130,3097,16,0, -170,1,143,3098,16, -0,170,1,387,3099, -16,0,170,1,2664, -3100,16,0,170,1, -1159,3101,16,0,170, -1,157,3102,16,0, -170,1,1413,3103,16, -0,170,1,1665,3104, -16,0,170,1,412, -3105,16,0,170,1, -1377,3106,16,0,170, -1,172,3107,16,0, -170,1,1939,3108,16, -0,170,1,437,3109, -16,0,170,1,188, -3110,16,0,170,1, -942,1490,1,1195,3111, -16,0,170,1,1449, -3112,16,0,170,1, -1701,3113,16,0,170, -1,447,1511,1,205, -3114,16,0,170,1, -827,3115,16,0,170, -1,223,3116,16,0, -170,1,476,1543,1, -477,1549,1,1231,3117, -16,0,170,1,479, -1559,1,480,1564,1, -1485,3118,16,0,170, -1,1737,3119,16,0, -170,1,242,3120,16, -0,170,1,478,1583, -1,1001,1588,1,1002, -1593,1,42,3121,19, -394,1,42,3122,5, -38,1,1901,3123,16, -0,392,1,2075,3124, -16,0,392,1,1860, +1338,1,1114,1343,1, +118,3056,16,0,170, +1,1123,3057,16,0, +170,1,371,1365,1, +1628,3058,16,0,170, +1,375,1376,1,1882, +3059,16,0,170,1, +377,1381,1,379,1386, +1,380,1391,1,883, +3060,16,0,170,1, +373,1409,1,130,3061, +16,0,170,1,143, +3062,16,0,170,1, +387,3063,16,0,170, +1,2664,3064,16,0, +170,1,1159,3065,16, +0,170,1,157,3066, +16,0,170,1,1413, +3067,16,0,170,1, +1665,3068,16,0,170, +1,412,3069,16,0, +170,1,1377,3070,16, +0,170,1,172,3071, +16,0,170,1,1939, +3072,16,0,170,1, +437,3073,16,0,170, +1,188,3074,16,0, +170,1,942,1490,1, +1195,3075,16,0,170, +1,1449,3076,16,0, +170,1,1701,3077,16, +0,170,1,447,1511, +1,205,3078,16,0, +170,1,827,3079,16, +0,170,1,223,3080, +16,0,170,1,476, +1543,1,477,1549,1, +1231,3081,16,0,170, +1,479,1559,1,480, +1564,1,1485,3082,16, +0,170,1,1737,3083, +16,0,170,1,242, +3084,16,0,170,1, +478,1583,1,1001,1588, +1,1002,1593,1,42, +3085,19,394,1,42, +3086,5,38,1,1901, +3087,16,0,392,1, +2075,3088,16,0,392, +1,1860,821,1,1803, +787,1,1804,3089,16, +0,392,1,2413,3090, +16,0,392,1,2198, +3091,16,0,392,1, +1873,835,1,1657,894, +1,1989,916,1,1990, +3092,16,0,392,1, +1775,3093,16,0,392, +1,32,3094,16,0, +392,1,2105,814,1, +2106,3095,16,0,392, +1,2364,827,1,2227, +908,1,2337,3096,16, +0,392,1,2021,718, +1,2458,876,1,2459, +882,1,2462,889,1, +2136,842,1,2464,899, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,2035,752,1,2037, +757,1,2039,762,1, +1931,861,1,2041,768, +1,2043,774,1,2045, +779,1,1574,799,1, +1958,3097,16,0,392, +1,43,3098,19,453, +1,43,3099,5,25, +1,2035,752,1,2037, +757,1,2039,762,1, +2041,768,1,2227,908, +1,2043,774,1,1657, +894,1,1860,821,1, +2136,842,1,2021,718, +1,2459,882,1,1574, +799,1,2105,3100,16, +0,578,1,1931,861, +1,1873,835,1,2031, +736,1,1803,787,1, +1989,3101,16,0,451, +1,2464,899,1,2029, +725,1,2030,731,1, +2364,827,1,2032,741, +1,2033,746,1,2045, +779,1,44,3102,19, +264,1,44,3103,5, +38,1,1901,3104,16, +0,262,1,2075,3105, +16,0,262,1,1860, 821,1,1803,787,1, -1804,3125,16,0,392, -1,2413,3126,16,0, -392,1,2198,3127,16, -0,392,1,1873,835, +1804,3106,16,0,262, +1,2413,3107,16,0, +262,1,2198,3108,16, +0,262,1,1873,835, 1,1657,894,1,1989, -916,1,1990,3128,16, -0,392,1,1775,3129, -16,0,392,1,32, -3130,16,0,392,1, -2105,814,1,2106,3131, -16,0,392,1,2364, +916,1,1990,3109,16, +0,262,1,1775,3110, +16,0,262,1,32, +3111,16,0,262,1, +2105,814,1,2106,3112, +16,0,262,1,2364, 827,1,2227,908,1, -2337,3132,16,0,392, +2337,3113,16,0,262, 1,2021,718,1,2458, 876,1,2459,882,1, 2462,889,1,2136,842, @@ -8281,76 +8309,59 @@ public yyLSLSyntax 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -1574,799,1,1958,3133, -16,0,392,1,43, -3134,19,453,1,43, -3135,5,25,1,2035, -752,1,2037,757,1, -2039,762,1,2041,768, -1,2227,908,1,2043, -774,1,1657,894,1, -1860,821,1,2136,842, -1,2021,718,1,2459, -882,1,1574,799,1, -2105,3136,16,0,578, -1,1931,861,1,1873, -835,1,2031,736,1, -1803,787,1,1989,3137, -16,0,451,1,2464, -899,1,2029,725,1, -2030,731,1,2364,827, -1,2032,741,1,2033, -746,1,2045,779,1, -44,3138,19,264,1, -44,3139,5,38,1, -1901,3140,16,0,262, -1,2075,3141,16,0, -262,1,1860,821,1, -1803,787,1,1804,3142, -16,0,262,1,2413, -3143,16,0,262,1, -2198,3144,16,0,262, -1,1873,835,1,1657, -894,1,1989,916,1, -1990,3145,16,0,262, -1,1775,3146,16,0, -262,1,32,3147,16, -0,262,1,2105,814, -1,2106,3148,16,0, -262,1,2364,827,1, -2227,908,1,2337,3149, -16,0,262,1,2021, -718,1,2458,876,1, -2459,882,1,2462,889, -1,2136,842,1,2464, -899,1,2029,725,1, -2030,731,1,2031,736, -1,2032,741,1,2033, -746,1,2035,752,1, -2037,757,1,2039,762, -1,1931,861,1,2041, -768,1,2043,774,1, -2045,779,1,1574,799, -1,1958,3150,16,0, -262,1,45,3151,19, -287,1,45,3152,5, -39,1,1901,3153,16, -0,315,1,2075,3154, -16,0,315,1,1860, +1574,799,1,1958,3114, +16,0,262,1,45, +3115,19,287,1,45, +3116,5,39,1,1901, +3117,16,0,315,1, +2075,3118,16,0,315, +1,1860,821,1,1803, +787,1,1804,3119,16, +0,315,1,2413,3120, +16,0,315,1,2198, +3121,16,0,315,1, +1873,835,1,1657,894, +1,1989,916,1,1990, +3122,16,0,315,1, +1775,3123,16,0,315, +1,32,3124,16,0, +315,1,2105,814,1, +2106,3125,16,0,315, +1,2364,827,1,2227, +908,1,2337,3126,16, +0,315,1,2021,718, +1,2458,876,1,2459, +882,1,2462,889,1, +2136,842,1,2464,899, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,2035,752,1,2037, +757,1,2039,762,1, +1931,861,1,2041,768, +1,2043,774,1,2045, +779,1,1832,3127,16, +0,285,1,1574,799, +1,1958,3128,16,0, +315,1,46,3129,19, +671,1,46,3130,5, +38,1,1901,3131,16, +0,669,1,2075,3132, +16,0,669,1,1860, 821,1,1803,787,1, -1804,3155,16,0,315, -1,2413,3156,16,0, -315,1,2198,3157,16, -0,315,1,1873,835, +1804,3133,16,0,669, +1,2413,3134,16,0, +669,1,2198,3135,16, +0,669,1,1873,835, 1,1657,894,1,1989, -916,1,1990,3158,16, -0,315,1,1775,3159, -16,0,315,1,32, -3160,16,0,315,1, -2105,814,1,2106,3161, -16,0,315,1,2364, +916,1,1990,3136,16, +0,669,1,1775,3137, +16,0,669,1,32, +3138,16,0,669,1, +2105,814,1,2106,3139, +16,0,669,1,2364, 827,1,2227,908,1, -2337,3162,16,0,315, +2337,3140,16,0,669, 1,2021,718,1,2458, 876,1,2459,882,1, 2462,889,1,2136,842, @@ -8362,111 +8373,67 @@ public yyLSLSyntax 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -1832,3163,16,0,285, -1,1574,799,1,1958, -3164,16,0,315,1, -46,3165,19,671,1, -46,3166,5,38,1, -1901,3167,16,0,669, -1,2075,3168,16,0, -669,1,1860,821,1, -1803,787,1,1804,3169, -16,0,669,1,2413, -3170,16,0,669,1, -2198,3171,16,0,669, -1,1873,835,1,1657, -894,1,1989,916,1, -1990,3172,16,0,669, -1,1775,3173,16,0, -669,1,32,3174,16, -0,669,1,2105,814, -1,2106,3175,16,0, -669,1,2364,827,1, -2227,908,1,2337,3176, -16,0,669,1,2021, -718,1,2458,876,1, -2459,882,1,2462,889, -1,2136,842,1,2464, -899,1,2029,725,1, -2030,731,1,2031,736, -1,2032,741,1,2033, -746,1,2035,752,1, -2037,757,1,2039,762, -1,1931,861,1,2041, -768,1,2043,774,1, -2045,779,1,1574,799, -1,1958,3177,16,0, -669,1,47,3178,19, -466,1,47,3179,5, -19,1,0,3180,16, -0,464,1,2706,3181, -16,0,464,1,2634, -691,1,2636,3182,16, -0,464,1,2639,707, -1,2714,3183,17,3184, -15,3185,4,36,37, -0,71,0,108,0, -111,0,98,0,97, -0,108,0,68,0, -101,0,102,0,105, -0,110,0,105,0, -116,0,105,0,111, -0,110,0,115,0, -1,-1,1,5,3186, -20,3187,4,38,71, -0,108,0,111,0, -98,0,97,0,108, -0,68,0,101,0, -102,0,105,0,110, -0,105,0,116,0, -105,0,111,0,110, -0,115,0,95,0, -50,0,1,145,1, -3,1,3,1,2, -3188,22,1,4,1, -2558,697,1,2716,3189, -17,3190,15,3185,1, --1,1,5,3191,20, -3192,4,38,71,0, -108,0,111,0,98, -0,97,0,108,0, -68,0,101,0,102, -0,105,0,110,0, -105,0,116,0,105, -0,111,0,110,0, -115,0,95,0,49, -0,1,144,1,3, -1,2,1,1,3193, -22,1,3,1,2022, -3194,16,0,567,1, -2459,882,1,2715,3195, -17,3196,15,3185,1, --1,1,5,3197,20, -3198,4,38,71,0, +1574,799,1,1958,3141, +16,0,669,1,47, +3142,19,466,1,47, +3143,5,19,1,0, +3144,16,0,464,1, +2706,3145,16,0,464, +1,2634,691,1,2636, +3146,16,0,464,1, +2639,707,1,2714,3147, +17,3148,15,3149,4, +36,37,0,71,0, 108,0,111,0,98, 0,97,0,108,0, 68,0,101,0,102, 0,105,0,110,0, 105,0,116,0,105, 0,111,0,110,0, -115,0,95,0,51, -0,1,146,1,3, -1,2,1,1,3199, -22,1,5,1,2464, -899,1,2466,3200,17, -3201,15,3202,4,50, -37,0,71,0,108, -0,111,0,98,0, -97,0,108,0,70, -0,117,0,110,0, -99,0,116,0,105, -0,111,0,110,0, -68,0,101,0,102, -0,105,0,110,0, -105,0,116,0,105, -0,111,0,110,0, -1,-1,1,5,3203, -20,3204,4,52,71, +115,0,1,-1,1, +5,3150,20,3151,4, +38,71,0,108,0, +111,0,98,0,97, +0,108,0,68,0, +101,0,102,0,105, +0,110,0,105,0, +116,0,105,0,111, +0,110,0,115,0, +95,0,50,0,1, +145,1,3,1,3, +1,2,3152,22,1, +4,1,2558,697,1, +2716,3153,17,3154,15, +3149,1,-1,1,5, +3155,20,3156,4,38, +71,0,108,0,111, +0,98,0,97,0, +108,0,68,0,101, +0,102,0,105,0, +110,0,105,0,116, +0,105,0,111,0, +110,0,115,0,95, +0,49,0,1,144, +1,3,1,2,1, +1,3157,22,1,3, +1,2022,3158,16,0, +567,1,2459,882,1, +2715,3159,17,3160,15, +3149,1,-1,1,5, +3161,20,3162,4,38, +71,0,108,0,111, +0,98,0,97,0, +108,0,68,0,101, +0,102,0,105,0, +110,0,105,0,116, +0,105,0,111,0, +110,0,115,0,95, +0,51,0,1,146, +1,3,1,2,1, +1,3163,22,1,5, +1,2464,899,1,2466, +3164,17,3165,15,3166, +4,50,37,0,71, 0,108,0,111,0, 98,0,97,0,108, 0,70,0,117,0, @@ -8476,71 +8443,53 @@ public yyLSLSyntax 0,102,0,105,0, 110,0,105,0,116, 0,105,0,111,0, -110,0,95,0,50, -0,1,151,1,3, -1,7,1,6,3205, -22,1,10,1,2640, -685,1,2713,3206,17, -3207,15,3185,1,-1, -1,5,3208,20,3209, -4,38,71,0,108, -0,111,0,98,0, -97,0,108,0,68, +110,0,1,-1,1, +5,3167,20,3168,4, +52,71,0,108,0, +111,0,98,0,97, +0,108,0,70,0, +117,0,110,0,99, +0,116,0,105,0, +111,0,110,0,68, 0,101,0,102,0, 105,0,110,0,105, 0,116,0,105,0, -111,0,110,0,115, -0,95,0,52,0, -1,147,1,3,1, -3,1,2,3210,22, -1,6,1,2655,3211, -17,3212,15,3202,1, --1,1,5,3213,20, -3214,4,52,71,0, -108,0,111,0,98, -0,97,0,108,0, -70,0,117,0,110, -0,99,0,116,0, -105,0,111,0,110, +111,0,110,0,95, +0,50,0,1,151, +1,3,1,7,1, +6,3169,22,1,10, +1,2640,685,1,2713, +3170,17,3171,15,3149, +1,-1,1,5,3172, +20,3173,4,38,71, +0,108,0,111,0, +98,0,97,0,108, 0,68,0,101,0, 102,0,105,0,110, 0,105,0,116,0, 105,0,111,0,110, -0,95,0,49,0, -1,150,1,3,1, -6,1,5,3215,22, -1,9,1,2694,3216, -17,3217,15,3218,4, -52,37,0,71,0, -108,0,111,0,98, -0,97,0,108,0, -86,0,97,0,114, -0,105,0,97,0, -98,0,108,0,101, -0,68,0,101,0, -99,0,108,0,97, -0,114,0,97,0, +0,115,0,95,0, +52,0,1,147,1, +3,1,3,1,2, +3174,22,1,6,1, +2655,3175,17,3176,15, +3166,1,-1,1,5, +3177,20,3178,4,52, +71,0,108,0,111, +0,98,0,97,0, +108,0,70,0,117, +0,110,0,99,0, 116,0,105,0,111, -0,110,0,1,-1, -1,5,3219,20,3220, -4,54,71,0,108, -0,111,0,98,0, -97,0,108,0,86, -0,97,0,114,0, -105,0,97,0,98, -0,108,0,101,0, -68,0,101,0,99, -0,108,0,97,0, -114,0,97,0,116, -0,105,0,111,0, -110,0,95,0,49, -0,1,148,1,3, -1,3,1,2,3221, -22,1,7,1,2695, -3222,16,0,464,1, -2683,3223,17,3224,15, -3218,1,-1,1,5, -3225,20,3226,4,54, +0,110,0,68,0, +101,0,102,0,105, +0,110,0,105,0, +116,0,105,0,111, +0,110,0,95,0, +49,0,1,150,1, +3,1,6,1,5, +3179,22,1,9,1, +2694,3180,17,3181,15, +3182,4,52,37,0, 71,0,108,0,111, 0,98,0,97,0, 108,0,86,0,97, @@ -8551,103 +8500,101 @@ public yyLSLSyntax 0,97,0,114,0, 97,0,116,0,105, 0,111,0,110,0, -95,0,50,0,1, -149,1,3,1,5, -1,4,3227,22,1, -8,1,48,3228,19, -339,1,48,3229,5, -54,1,0,3230,16, -0,337,1,2075,3231, -16,0,495,1,1860, -821,1,1803,787,1, -1804,3232,16,0,495, -1,2413,3233,16,0, -495,1,2634,691,1, -1873,835,1,1657,894, -1,2639,707,1,2640, -685,1,1989,916,1, -1990,3234,16,0,495, -1,2459,882,1,1775, -3235,16,0,495,1, -32,3236,16,0,495, -1,2105,814,1,2106, -3237,16,0,495,1, -2466,3200,1,2655,3211, -1,2683,3223,1,2227, -908,1,2337,3238,16, -0,495,1,2558,697, -1,2694,3216,1,2695, -3239,16,0,337,1, -2021,718,1,2458,876, -1,1901,3240,16,0, -495,1,2462,889,1, -2136,842,1,2464,899, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,2035,752,1,2364, -827,1,2715,3195,1, -2039,762,1,1931,861, -1,2041,768,1,2043, -774,1,2045,779,1, -2198,3241,16,0,495, -1,2706,3242,16,0, -337,1,2037,757,1, -2713,3206,1,2714,3183, -1,1574,799,1,2716, -3189,1,2636,3243,16, -0,337,1,1958,3244, -16,0,495,1,49, -3245,19,500,1,49, -3246,5,38,1,1901, -3247,16,0,498,1, -2075,3248,16,0,498, -1,1860,821,1,1803, -787,1,1804,3249,16, -0,498,1,2413,3250, -16,0,498,1,2198, -3251,16,0,498,1, -1873,835,1,1657,894, -1,1989,916,1,1990, -3252,16,0,498,1, -1775,3253,16,0,498, -1,32,3254,16,0, -498,1,2105,814,1, -2106,3255,16,0,498, -1,2364,827,1,2227, -908,1,2337,3256,16, -0,498,1,2021,718, -1,2458,876,1,2459, -882,1,2462,889,1, -2136,842,1,2464,899, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,2035,752,1,2037, -757,1,2039,762,1, +1,-1,1,5,3183, +20,3184,4,54,71, +0,108,0,111,0, +98,0,97,0,108, +0,86,0,97,0, +114,0,105,0,97, +0,98,0,108,0, +101,0,68,0,101, +0,99,0,108,0, +97,0,114,0,97, +0,116,0,105,0, +111,0,110,0,95, +0,49,0,1,148, +1,3,1,3,1, +2,3185,22,1,7, +1,2695,3186,16,0, +464,1,2683,3187,17, +3188,15,3182,1,-1, +1,5,3189,20,3190, +4,54,71,0,108, +0,111,0,98,0, +97,0,108,0,86, +0,97,0,114,0, +105,0,97,0,98, +0,108,0,101,0, +68,0,101,0,99, +0,108,0,97,0, +114,0,97,0,116, +0,105,0,111,0, +110,0,95,0,50, +0,1,149,1,3, +1,5,1,4,3191, +22,1,8,1,48, +3192,19,339,1,48, +3193,5,54,1,0, +3194,16,0,337,1, +2075,3195,16,0,495, +1,1860,821,1,1803, +787,1,1804,3196,16, +0,495,1,2413,3197, +16,0,495,1,2634, +691,1,1873,835,1, +1657,894,1,2639,707, +1,2640,685,1,1989, +916,1,1990,3198,16, +0,495,1,2459,882, +1,1775,3199,16,0, +495,1,32,3200,16, +0,495,1,2105,814, +1,2106,3201,16,0, +495,1,2466,3164,1, +2655,3175,1,2683,3187, +1,2227,908,1,2337, +3202,16,0,495,1, +2558,697,1,2694,3180, +1,2695,3203,16,0, +337,1,2021,718,1, +2458,876,1,1901,3204, +16,0,495,1,2462, +889,1,2136,842,1, +2464,899,1,2029,725, +1,2030,731,1,2031, +736,1,2032,741,1, +2033,746,1,2035,752, +1,2364,827,1,2715, +3159,1,2039,762,1, 1931,861,1,2041,768, 1,2043,774,1,2045, -779,1,1574,799,1, -1958,3257,16,0,498, -1,50,3258,19,614, -1,50,3259,5,38, -1,1901,3260,16,0, -612,1,2075,3261,16, -0,612,1,1860,821, +779,1,2198,3205,16, +0,495,1,2706,3206, +16,0,337,1,2037, +757,1,2713,3170,1, +2714,3147,1,1574,799, +1,2716,3153,1,2636, +3207,16,0,337,1, +1958,3208,16,0,495, +1,49,3209,19,500, +1,49,3210,5,38, +1,1901,3211,16,0, +498,1,2075,3212,16, +0,498,1,1860,821, 1,1803,787,1,1804, -3262,16,0,612,1, -2413,3263,16,0,612, -1,2198,3264,16,0, -612,1,1873,835,1, +3213,16,0,498,1, +2413,3214,16,0,498, +1,2198,3215,16,0, +498,1,1873,835,1, 1657,894,1,1989,916, -1,1990,3265,16,0, -612,1,1775,3266,16, -0,612,1,32,3267, -16,0,612,1,2105, -814,1,2106,3268,16, -0,612,1,2364,827, +1,1990,3216,16,0, +498,1,1775,3217,16, +0,498,1,32,3218, +16,0,498,1,2105, +814,1,2106,3219,16, +0,498,1,2364,827, 1,2227,908,1,2337, -3269,16,0,612,1, +3220,16,0,498,1, 2021,718,1,2458,876, 1,2459,882,1,2462, 889,1,2136,842,1, @@ -8659,2076 +8606,2127 @@ public yyLSLSyntax 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,1574, -799,1,1958,3270,16, -0,612,1,51,3271, -19,127,1,51,3272, -5,53,1,0,3273, -16,0,125,1,2075, -3274,16,0,125,1, +799,1,1958,3221,16, +0,498,1,50,3222, +19,614,1,50,3223, +5,38,1,1901,3224, +16,0,612,1,2075, +3225,16,0,612,1, +1860,821,1,1803,787, +1,1804,3226,16,0, +612,1,2413,3227,16, +0,612,1,2198,3228, +16,0,612,1,1873, +835,1,1657,894,1, +1989,916,1,1990,3229, +16,0,612,1,1775, +3230,16,0,612,1, +32,3231,16,0,612, +1,2105,814,1,2106, +3232,16,0,612,1, +2364,827,1,2227,908, +1,2337,3233,16,0, +612,1,2021,718,1, +2458,876,1,2459,882, +1,2462,889,1,2136, +842,1,2464,899,1, +2029,725,1,2030,731, +1,2031,736,1,2032, +741,1,2033,746,1, +2035,752,1,2037,757, +1,2039,762,1,1931, +861,1,2041,768,1, +2043,774,1,2045,779, +1,1574,799,1,1958, +3234,16,0,612,1, +51,3235,19,127,1, +51,3236,5,53,1, +0,3237,16,0,125, +1,2075,3238,16,0, +125,1,1860,821,1, +1803,787,1,1804,3239, +16,0,125,1,10, +3240,16,0,125,1, +2413,3241,16,0,125, +1,2198,3242,16,0, +125,1,1873,835,1, +21,3243,16,0,125, +1,1657,894,1,2030, +731,1,2642,3244,16, +0,125,1,1989,916, +1,1990,3245,16,0, +125,1,2459,882,1, +1775,3246,16,0,125, +1,32,3247,16,0, +125,1,2105,814,1, +2106,3248,16,0,125, +1,2655,3175,1,2683, +3187,1,2227,908,1, +2337,3249,16,0,125, +1,52,3250,16,0, +125,1,2694,3180,1, +2695,3251,16,0,125, +1,2021,718,1,2458, +876,1,1901,3252,16, +0,125,1,2462,889, +1,2136,842,1,2464, +899,1,2029,725,1, +2466,3164,1,2031,736, +1,2032,741,1,2033, +746,1,2035,752,1, +2364,827,1,2715,3159, +1,2039,762,1,1931, +861,1,2041,768,1, +2043,774,1,2045,779, +1,2037,757,1,2713, +3170,1,2714,3147,1, +1574,799,1,2716,3153, +1,1958,3253,16,0, +125,1,2506,3254,16, +0,125,1,52,3255, +19,124,1,52,3256, +5,53,1,0,3257, +16,0,122,1,2075, +3258,16,0,122,1, 1860,821,1,1803,787, -1,1804,3275,16,0, -125,1,10,3276,16, -0,125,1,2413,3277, -16,0,125,1,2198, -3278,16,0,125,1, -1873,835,1,21,3279, -16,0,125,1,1657, +1,1804,3259,16,0, +122,1,10,3260,16, +0,122,1,2413,3261, +16,0,122,1,2198, +3262,16,0,122,1, +1873,835,1,21,3263, +16,0,122,1,1657, 894,1,2030,731,1, -2642,3280,16,0,125, +2642,3264,16,0,122, 1,1989,916,1,1990, -3281,16,0,125,1, -2459,882,1,1775,3282, -16,0,125,1,32, -3283,16,0,125,1, -2105,814,1,2106,3284, -16,0,125,1,2655, -3211,1,2683,3223,1, -2227,908,1,2337,3285, -16,0,125,1,52, -3286,16,0,125,1, -2694,3216,1,2695,3287, -16,0,125,1,2021, +3265,16,0,122,1, +2459,882,1,1775,3266, +16,0,122,1,32, +3267,16,0,122,1, +2105,814,1,2106,3268, +16,0,122,1,2655, +3175,1,2683,3187,1, +2227,908,1,2337,3269, +16,0,122,1,52, +3270,16,0,122,1, +2694,3180,1,2695,3271, +16,0,122,1,2021, 718,1,2458,876,1, -1901,3288,16,0,125, +1901,3272,16,0,122, 1,2462,889,1,2136, 842,1,2464,899,1, -2029,725,1,2466,3200, +2029,725,1,2466,3164, 1,2031,736,1,2032, 741,1,2033,746,1, 2035,752,1,2364,827, -1,2715,3195,1,2039, +1,2715,3159,1,2039, 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,2037, -757,1,2713,3206,1, -2714,3183,1,1574,799, -1,2716,3189,1,1958, -3289,16,0,125,1, -2506,3290,16,0,125, -1,52,3291,19,124, -1,52,3292,5,53, -1,0,3293,16,0, -122,1,2075,3294,16, -0,122,1,1860,821, +757,1,2713,3170,1, +2714,3147,1,1574,799, +1,2716,3153,1,1958, +3273,16,0,122,1, +2506,3274,16,0,122, +1,53,3275,19,121, +1,53,3276,5,53, +1,0,3277,16,0, +119,1,2075,3278,16, +0,119,1,1860,821, 1,1803,787,1,1804, -3295,16,0,122,1, -10,3296,16,0,122, -1,2413,3297,16,0, -122,1,2198,3298,16, -0,122,1,1873,835, -1,21,3299,16,0, -122,1,1657,894,1, -2030,731,1,2642,3300, -16,0,122,1,1989, -916,1,1990,3301,16, -0,122,1,2459,882, -1,1775,3302,16,0, -122,1,32,3303,16, -0,122,1,2105,814, -1,2106,3304,16,0, -122,1,2655,3211,1, -2683,3223,1,2227,908, -1,2337,3305,16,0, -122,1,52,3306,16, -0,122,1,2694,3216, -1,2695,3307,16,0, -122,1,2021,718,1, -2458,876,1,1901,3308, -16,0,122,1,2462, +3279,16,0,119,1, +10,3280,16,0,119, +1,2413,3281,16,0, +119,1,2198,3282,16, +0,119,1,1873,835, +1,21,3283,16,0, +119,1,1657,894,1, +2030,731,1,2642,3284, +16,0,119,1,1989, +916,1,1990,3285,16, +0,119,1,2459,882, +1,1775,3286,16,0, +119,1,32,3287,16, +0,119,1,2105,814, +1,2106,3288,16,0, +119,1,2655,3175,1, +2683,3187,1,2227,908, +1,2337,3289,16,0, +119,1,52,3290,16, +0,119,1,2694,3180, +1,2695,3291,16,0, +119,1,2021,718,1, +2458,876,1,1901,3292, +16,0,119,1,2462, 889,1,2136,842,1, 2464,899,1,2029,725, -1,2466,3200,1,2031, +1,2466,3164,1,2031, 736,1,2032,741,1, 2033,746,1,2035,752, 1,2364,827,1,2715, -3195,1,2039,762,1, +3159,1,2039,762,1, 1931,861,1,2041,768, 1,2043,774,1,2045, 779,1,2037,757,1, -2713,3206,1,2714,3183, +2713,3170,1,2714,3147, 1,1574,799,1,2716, -3189,1,1958,3309,16, -0,122,1,2506,3310, -16,0,122,1,53, -3311,19,121,1,53, -3312,5,53,1,0, -3313,16,0,119,1, -2075,3314,16,0,119, +3153,1,1958,3293,16, +0,119,1,2506,3294, +16,0,119,1,54, +3295,19,118,1,54, +3296,5,53,1,0, +3297,16,0,116,1, +2075,3298,16,0,116, 1,1860,821,1,1803, -787,1,1804,3315,16, -0,119,1,10,3316, -16,0,119,1,2413, -3317,16,0,119,1, -2198,3318,16,0,119, +787,1,1804,3299,16, +0,116,1,10,3300, +16,0,116,1,2413, +3301,16,0,116,1, +2198,3302,16,0,116, 1,1873,835,1,21, -3319,16,0,119,1, +3303,16,0,116,1, 1657,894,1,2030,731, -1,2642,3320,16,0, -119,1,1989,916,1, -1990,3321,16,0,119, +1,2642,3304,16,0, +116,1,1989,916,1, +1990,3305,16,0,116, 1,2459,882,1,1775, -3322,16,0,119,1, -32,3323,16,0,119, +3306,16,0,116,1, +32,3307,16,0,116, 1,2105,814,1,2106, -3324,16,0,119,1, -2655,3211,1,2683,3223, +3308,16,0,116,1, +2655,3175,1,2683,3187, 1,2227,908,1,2337, -3325,16,0,119,1, -52,3326,16,0,119, -1,2694,3216,1,2695, -3327,16,0,119,1, +3309,16,0,116,1, +52,3310,16,0,116, +1,2694,3180,1,2695, +3311,16,0,116,1, 2021,718,1,2458,876, -1,1901,3328,16,0, -119,1,2462,889,1, +1,1901,3312,16,0, +116,1,2462,889,1, 2136,842,1,2464,899, 1,2029,725,1,2466, -3200,1,2031,736,1, +3164,1,2031,736,1, 2032,741,1,2033,746, 1,2035,752,1,2364, -827,1,2715,3195,1, +827,1,2715,3159,1, 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -2037,757,1,2713,3206, -1,2714,3183,1,1574, -799,1,2716,3189,1, -1958,3329,16,0,119, -1,2506,3330,16,0, -119,1,54,3331,19, -118,1,54,3332,5, -53,1,0,3333,16, -0,116,1,2075,3334, -16,0,116,1,1860, +2037,757,1,2713,3170, +1,2714,3147,1,1574, +799,1,2716,3153,1, +1958,3313,16,0,116, +1,2506,3314,16,0, +116,1,55,3315,19, +115,1,55,3316,5, +53,1,0,3317,16, +0,113,1,2075,3318, +16,0,113,1,1860, 821,1,1803,787,1, -1804,3335,16,0,116, -1,10,3336,16,0, -116,1,2413,3337,16, -0,116,1,2198,3338, -16,0,116,1,1873, -835,1,21,3339,16, -0,116,1,1657,894, +1804,3319,16,0,113, +1,10,3320,16,0, +113,1,2413,3321,16, +0,113,1,2198,3322, +16,0,113,1,1873, +835,1,21,3323,16, +0,113,1,1657,894, 1,2030,731,1,2642, -3340,16,0,116,1, -1989,916,1,1990,3341, -16,0,116,1,2459, -882,1,1775,3342,16, -0,116,1,32,3343, -16,0,116,1,2105, -814,1,2106,3344,16, -0,116,1,2655,3211, -1,2683,3223,1,2227, -908,1,2337,3345,16, -0,116,1,52,3346, -16,0,116,1,2694, -3216,1,2695,3347,16, -0,116,1,2021,718, +3324,16,0,113,1, +1989,916,1,1990,3325, +16,0,113,1,2459, +882,1,1775,3326,16, +0,113,1,32,3327, +16,0,113,1,2105, +814,1,2106,3328,16, +0,113,1,2655,3175, +1,2683,3187,1,2227, +908,1,2337,3329,16, +0,113,1,52,3330, +16,0,113,1,2694, +3180,1,2695,3331,16, +0,113,1,2021,718, 1,2458,876,1,1901, -3348,16,0,116,1, +3332,16,0,113,1, 2462,889,1,2136,842, 1,2464,899,1,2029, -725,1,2466,3200,1, +725,1,2466,3164,1, 2031,736,1,2032,741, 1,2033,746,1,2035, 752,1,2364,827,1, -2715,3195,1,2039,762, +2715,3159,1,2039,762, 1,1931,861,1,2041, 768,1,2043,774,1, 2045,779,1,2037,757, -1,2713,3206,1,2714, -3183,1,1574,799,1, -2716,3189,1,1958,3349, -16,0,116,1,2506, -3350,16,0,116,1, -55,3351,19,115,1, -55,3352,5,53,1, -0,3353,16,0,113, -1,2075,3354,16,0, -113,1,1860,821,1, -1803,787,1,1804,3355, -16,0,113,1,10, -3356,16,0,113,1, -2413,3357,16,0,113, -1,2198,3358,16,0, -113,1,1873,835,1, -21,3359,16,0,113, +1,2713,3170,1,2714, +3147,1,1574,799,1, +2716,3153,1,1958,3333, +16,0,113,1,2506, +3334,16,0,113,1, +56,3335,19,112,1, +56,3336,5,53,1, +0,3337,16,0,110, +1,2075,3338,16,0, +110,1,1860,821,1, +1803,787,1,1804,3339, +16,0,110,1,10, +3340,16,0,110,1, +2413,3341,16,0,110, +1,2198,3342,16,0, +110,1,1873,835,1, +21,3343,16,0,110, 1,1657,894,1,2030, -731,1,2642,3360,16, -0,113,1,1989,916, -1,1990,3361,16,0, -113,1,2459,882,1, -1775,3362,16,0,113, -1,32,3363,16,0, -113,1,2105,814,1, -2106,3364,16,0,113, -1,2655,3211,1,2683, -3223,1,2227,908,1, -2337,3365,16,0,113, -1,52,3366,16,0, -113,1,2694,3216,1, -2695,3367,16,0,113, +731,1,2642,3344,16, +0,110,1,1989,916, +1,1990,3345,16,0, +110,1,2459,882,1, +1775,3346,16,0,110, +1,32,3347,16,0, +110,1,2105,814,1, +2106,3348,16,0,110, +1,2655,3175,1,2683, +3187,1,2227,908,1, +2337,3349,16,0,110, +1,52,3350,16,0, +110,1,2694,3180,1, +2695,3351,16,0,110, 1,2021,718,1,2458, -876,1,1901,3368,16, -0,113,1,2462,889, +876,1,1901,3352,16, +0,110,1,2462,889, 1,2136,842,1,2464, 899,1,2029,725,1, -2466,3200,1,2031,736, +2466,3164,1,2031,736, 1,2032,741,1,2033, 746,1,2035,752,1, -2364,827,1,2715,3195, +2364,827,1,2715,3159, 1,2039,762,1,1931, 861,1,2041,768,1, 2043,774,1,2045,779, 1,2037,757,1,2713, -3206,1,2714,3183,1, -1574,799,1,2716,3189, -1,1958,3369,16,0, -113,1,2506,3370,16, -0,113,1,56,3371, -19,112,1,56,3372, -5,53,1,0,3373, -16,0,110,1,2075, -3374,16,0,110,1, +3170,1,2714,3147,1, +1574,799,1,2716,3153, +1,1958,3353,16,0, +110,1,2506,3354,16, +0,110,1,57,3355, +19,109,1,57,3356, +5,53,1,0,3357, +16,0,107,1,2075, +3358,16,0,107,1, 1860,821,1,1803,787, -1,1804,3375,16,0, -110,1,10,3376,16, -0,110,1,2413,3377, -16,0,110,1,2198, -3378,16,0,110,1, -1873,835,1,21,3379, -16,0,110,1,1657, +1,1804,3359,16,0, +107,1,10,3360,16, +0,107,1,2413,3361, +16,0,107,1,2198, +3362,16,0,107,1, +1873,835,1,21,3363, +16,0,107,1,1657, 894,1,2030,731,1, -2642,3380,16,0,110, +2642,3364,16,0,107, 1,1989,916,1,1990, -3381,16,0,110,1, -2459,882,1,1775,3382, -16,0,110,1,32, -3383,16,0,110,1, -2105,814,1,2106,3384, -16,0,110,1,2655, -3211,1,2683,3223,1, -2227,908,1,2337,3385, -16,0,110,1,52, -3386,16,0,110,1, -2694,3216,1,2695,3387, -16,0,110,1,2021, +3365,16,0,107,1, +2459,882,1,1775,3366, +16,0,107,1,32, +3367,16,0,107,1, +2105,814,1,2106,3368, +16,0,107,1,2655, +3175,1,2683,3187,1, +2227,908,1,2337,3369, +16,0,107,1,52, +3370,16,0,107,1, +2694,3180,1,2695,3371, +16,0,107,1,2021, 718,1,2458,876,1, -1901,3388,16,0,110, +1901,3372,16,0,107, 1,2462,889,1,2136, 842,1,2464,899,1, -2029,725,1,2466,3200, +2029,725,1,2466,3164, 1,2031,736,1,2032, 741,1,2033,746,1, 2035,752,1,2364,827, -1,2715,3195,1,2039, +1,2715,3159,1,2039, 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,2037, -757,1,2713,3206,1, -2714,3183,1,1574,799, -1,2716,3189,1,1958, -3389,16,0,110,1, -2506,3390,16,0,110, -1,57,3391,19,109, -1,57,3392,5,53, -1,0,3393,16,0, -107,1,2075,3394,16, -0,107,1,1860,821, -1,1803,787,1,1804, -3395,16,0,107,1, -10,3396,16,0,107, -1,2413,3397,16,0, -107,1,2198,3398,16, -0,107,1,1873,835, -1,21,3399,16,0, -107,1,1657,894,1, -2030,731,1,2642,3400, -16,0,107,1,1989, -916,1,1990,3401,16, -0,107,1,2459,882, -1,1775,3402,16,0, -107,1,32,3403,16, -0,107,1,2105,814, -1,2106,3404,16,0, -107,1,2655,3211,1, -2683,3223,1,2227,908, -1,2337,3405,16,0, -107,1,52,3406,16, -0,107,1,2694,3216, -1,2695,3407,16,0, -107,1,2021,718,1, -2458,876,1,1901,3408, -16,0,107,1,2462, -889,1,2136,842,1, -2464,899,1,2029,725, -1,2466,3200,1,2031, -736,1,2032,741,1, -2033,746,1,2035,752, -1,2364,827,1,2715, -3195,1,2039,762,1, -1931,861,1,2041,768, -1,2043,774,1,2045, -779,1,2037,757,1, -2713,3206,1,2714,3183, -1,1574,799,1,2716, -3189,1,1958,3409,16, -0,107,1,2506,3410, -16,0,107,1,58, -3411,19,429,1,58, -3412,5,9,1,2519, +757,1,2713,3170,1, +2714,3147,1,1574,799, +1,2716,3153,1,1958, +3373,16,0,107,1, +2506,3374,16,0,107, +1,58,3375,19,429, +1,58,3376,5,9, +1,2519,1618,1,2557, +1627,1,2521,3377,16, +0,427,1,2559,1633, +1,2597,3378,16,0, +427,1,2561,3379,16, +0,427,1,2459,882, +1,2464,899,1,2470, +3380,16,0,427,1, +59,3381,19,426,1, +59,3382,5,9,1, +2519,1618,1,2557,1627, +1,2521,3383,16,0, +424,1,2559,1633,1, +2597,3384,16,0,424, +1,2561,3385,16,0, +424,1,2459,882,1, +2464,899,1,2470,3386, +16,0,424,1,60, +3387,19,423,1,60, +3388,5,9,1,2519, 1618,1,2557,1627,1, -2521,3413,16,0,427, +2521,3389,16,0,421, 1,2559,1633,1,2597, -3414,16,0,427,1, -2561,3415,16,0,427, +3390,16,0,421,1, +2561,3391,16,0,421, 1,2459,882,1,2464, -899,1,2470,3416,16, -0,427,1,59,3417, -19,426,1,59,3418, +899,1,2470,3392,16, +0,421,1,61,3393, +19,420,1,61,3394, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3419,16,0,424,1, -2559,1633,1,2597,3420, -16,0,424,1,2561, -3421,16,0,424,1, +3395,16,0,418,1, +2559,1633,1,2597,3396, +16,0,418,1,2561, +3397,16,0,418,1, 2459,882,1,2464,899, -1,2470,3422,16,0, -424,1,60,3423,19, -423,1,60,3424,5, +1,2470,3398,16,0, +418,1,62,3399,19, +417,1,62,3400,5, 9,1,2519,1618,1, -2557,1627,1,2521,3425, -16,0,421,1,2559, -1633,1,2597,3426,16, -0,421,1,2561,3427, -16,0,421,1,2459, +2557,1627,1,2521,3401, +16,0,415,1,2559, +1633,1,2597,3402,16, +0,415,1,2561,3403, +16,0,415,1,2459, 882,1,2464,899,1, -2470,3428,16,0,421, -1,61,3429,19,420, -1,61,3430,5,9, +2470,3404,16,0,415, +1,63,3405,19,414, +1,63,3406,5,9, 1,2519,1618,1,2557, -1627,1,2521,3431,16, -0,418,1,2559,1633, -1,2597,3432,16,0, -418,1,2561,3433,16, -0,418,1,2459,882, +1627,1,2521,3407,16, +0,412,1,2559,1633, +1,2597,3408,16,0, +412,1,2561,3409,16, +0,412,1,2459,882, 1,2464,899,1,2470, -3434,16,0,418,1, -62,3435,19,417,1, -62,3436,5,9,1, +3410,16,0,412,1, +64,3411,19,653,1, +64,3412,5,9,1, 2519,1618,1,2557,1627, -1,2521,3437,16,0, -415,1,2559,1633,1, -2597,3438,16,0,415, -1,2561,3439,16,0, -415,1,2459,882,1, -2464,899,1,2470,3440, -16,0,415,1,63, -3441,19,414,1,63, -3442,5,9,1,2519, +1,2521,3413,16,0, +651,1,2559,1633,1, +2597,3414,16,0,651, +1,2561,3415,16,0, +651,1,2459,882,1, +2464,899,1,2470,3416, +16,0,651,1,65, +3417,19,410,1,65, +3418,5,9,1,2519, 1618,1,2557,1627,1, -2521,3443,16,0,412, +2521,3419,16,0,408, 1,2559,1633,1,2597, -3444,16,0,412,1, -2561,3445,16,0,412, +3420,16,0,408,1, +2561,3421,16,0,408, 1,2459,882,1,2464, -899,1,2470,3446,16, -0,412,1,64,3447, -19,653,1,64,3448, +899,1,2470,3422,16, +0,408,1,66,3423, +19,493,1,66,3424, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3449,16,0,651,1, -2559,1633,1,2597,3450, -16,0,651,1,2561, -3451,16,0,651,1, +3425,16,0,491,1, +2559,1633,1,2597,3426, +16,0,491,1,2561, +3427,16,0,491,1, 2459,882,1,2464,899, -1,2470,3452,16,0, -651,1,65,3453,19, -410,1,65,3454,5, +1,2470,3428,16,0, +491,1,67,3429,19, +406,1,67,3430,5, 9,1,2519,1618,1, -2557,1627,1,2521,3455, -16,0,408,1,2559, -1633,1,2597,3456,16, -0,408,1,2561,3457, -16,0,408,1,2459, +2557,1627,1,2521,3431, +16,0,404,1,2559, +1633,1,2597,3432,16, +0,404,1,2561,3433, +16,0,404,1,2459, 882,1,2464,899,1, -2470,3458,16,0,408, -1,66,3459,19,493, -1,66,3460,5,9, +2470,3434,16,0,404, +1,68,3435,19,403, +1,68,3436,5,9, 1,2519,1618,1,2557, -1627,1,2521,3461,16, -0,491,1,2559,1633, -1,2597,3462,16,0, -491,1,2561,3463,16, -0,491,1,2459,882, +1627,1,2521,3437,16, +0,401,1,2559,1633, +1,2597,3438,16,0, +401,1,2561,3439,16, +0,401,1,2459,882, 1,2464,899,1,2470, -3464,16,0,491,1, -67,3465,19,406,1, -67,3466,5,9,1, +3440,16,0,401,1, +69,3441,19,486,1, +69,3442,5,9,1, 2519,1618,1,2557,1627, -1,2521,3467,16,0, -404,1,2559,1633,1, -2597,3468,16,0,404, -1,2561,3469,16,0, -404,1,2459,882,1, -2464,899,1,2470,3470, -16,0,404,1,68, -3471,19,403,1,68, -3472,5,9,1,2519, +1,2521,3443,16,0, +484,1,2559,1633,1, +2597,3444,16,0,484, +1,2561,3445,16,0, +484,1,2459,882,1, +2464,899,1,2470,3446, +16,0,484,1,70, +3447,19,399,1,70, +3448,5,9,1,2519, 1618,1,2557,1627,1, -2521,3473,16,0,401, +2521,3449,16,0,397, 1,2559,1633,1,2597, -3474,16,0,401,1, -2561,3475,16,0,401, +3450,16,0,397,1, +2561,3451,16,0,397, 1,2459,882,1,2464, -899,1,2470,3476,16, -0,401,1,69,3477, -19,486,1,69,3478, +899,1,2470,3452,16, +0,397,1,71,3453, +19,483,1,71,3454, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3479,16,0,484,1, -2559,1633,1,2597,3480, -16,0,484,1,2561, -3481,16,0,484,1, +3455,16,0,481,1, +2559,1633,1,2597,3456, +16,0,481,1,2561, +3457,16,0,481,1, 2459,882,1,2464,899, -1,2470,3482,16,0, -484,1,70,3483,19, -399,1,70,3484,5, +1,2470,3458,16,0, +481,1,72,3459,19, +480,1,72,3460,5, 9,1,2519,1618,1, -2557,1627,1,2521,3485, -16,0,397,1,2559, -1633,1,2597,3486,16, -0,397,1,2561,3487, -16,0,397,1,2459, +2557,1627,1,2521,3461, +16,0,478,1,2559, +1633,1,2597,3462,16, +0,478,1,2561,3463, +16,0,478,1,2459, 882,1,2464,899,1, -2470,3488,16,0,397, -1,71,3489,19,483, -1,71,3490,5,9, +2470,3464,16,0,478, +1,73,3465,19,477, +1,73,3466,5,9, 1,2519,1618,1,2557, -1627,1,2521,3491,16, -0,481,1,2559,1633, -1,2597,3492,16,0, -481,1,2561,3493,16, -0,481,1,2459,882, +1627,1,2521,3467,16, +0,475,1,2559,1633, +1,2597,3468,16,0, +475,1,2561,3469,16, +0,475,1,2459,882, 1,2464,899,1,2470, -3494,16,0,481,1, -72,3495,19,480,1, -72,3496,5,9,1, +3470,16,0,475,1, +74,3471,19,474,1, +74,3472,5,9,1, 2519,1618,1,2557,1627, -1,2521,3497,16,0, -478,1,2559,1633,1, -2597,3498,16,0,478, -1,2561,3499,16,0, -478,1,2459,882,1, -2464,899,1,2470,3500, -16,0,478,1,73, -3501,19,477,1,73, -3502,5,9,1,2519, +1,2521,3473,16,0, +472,1,2559,1633,1, +2597,3474,16,0,472, +1,2561,3475,16,0, +472,1,2459,882,1, +2464,899,1,2470,3476, +16,0,472,1,75, +3477,19,390,1,75, +3478,5,9,1,2519, 1618,1,2557,1627,1, -2521,3503,16,0,475, +2521,3479,16,0,388, 1,2559,1633,1,2597, -3504,16,0,475,1, -2561,3505,16,0,475, +3480,16,0,388,1, +2561,3481,16,0,388, 1,2459,882,1,2464, -899,1,2470,3506,16, -0,475,1,74,3507, -19,474,1,74,3508, +899,1,2470,3482,16, +0,388,1,76,3483, +19,387,1,76,3484, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3509,16,0,472,1, -2559,1633,1,2597,3510, -16,0,472,1,2561, -3511,16,0,472,1, +3485,16,0,385,1, +2559,1633,1,2597,3486, +16,0,385,1,2561, +3487,16,0,385,1, 2459,882,1,2464,899, -1,2470,3512,16,0, -472,1,75,3513,19, -390,1,75,3514,5, +1,2470,3488,16,0, +385,1,77,3489,19, +471,1,77,3490,5, 9,1,2519,1618,1, -2557,1627,1,2521,3515, -16,0,388,1,2559, -1633,1,2597,3516,16, -0,388,1,2561,3517, -16,0,388,1,2459, +2557,1627,1,2521,3491, +16,0,469,1,2559, +1633,1,2597,3492,16, +0,469,1,2561,3493, +16,0,469,1,2459, 882,1,2464,899,1, -2470,3518,16,0,388, -1,76,3519,19,387, -1,76,3520,5,9, +2470,3494,16,0,469, +1,78,3495,19,566, +1,78,3496,5,9, 1,2519,1618,1,2557, -1627,1,2521,3521,16, -0,385,1,2559,1633, -1,2597,3522,16,0, -385,1,2561,3523,16, -0,385,1,2459,882, +1627,1,2521,3497,16, +0,564,1,2559,1633, +1,2597,3498,16,0, +564,1,2561,3499,16, +0,564,1,2459,882, 1,2464,899,1,2470, -3524,16,0,385,1, -77,3525,19,471,1, -77,3526,5,9,1, +3500,16,0,564,1, +79,3501,19,380,1, +79,3502,5,9,1, 2519,1618,1,2557,1627, -1,2521,3527,16,0, -469,1,2559,1633,1, -2597,3528,16,0,469, -1,2561,3529,16,0, -469,1,2459,882,1, -2464,899,1,2470,3530, -16,0,469,1,78, -3531,19,566,1,78, -3532,5,9,1,2519, +1,2521,3503,16,0, +378,1,2559,1633,1, +2597,3504,16,0,378, +1,2561,3505,16,0, +378,1,2459,882,1, +2464,899,1,2470,3506, +16,0,378,1,80, +3507,19,377,1,80, +3508,5,9,1,2519, 1618,1,2557,1627,1, -2521,3533,16,0,564, +2521,3509,16,0,375, 1,2559,1633,1,2597, -3534,16,0,564,1, -2561,3535,16,0,564, +3510,16,0,375,1, +2561,3511,16,0,375, 1,2459,882,1,2464, -899,1,2470,3536,16, -0,564,1,79,3537, -19,380,1,79,3538, +899,1,2470,3512,16, +0,375,1,81,3513, +19,374,1,81,3514, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3539,16,0,378,1, -2559,1633,1,2597,3540, -16,0,378,1,2561, -3541,16,0,378,1, +3515,16,0,372,1, +2559,1633,1,2597,3516, +16,0,372,1,2561, +3517,16,0,372,1, 2459,882,1,2464,899, -1,2470,3542,16,0, -378,1,80,3543,19, -377,1,80,3544,5, +1,2470,3518,16,0, +372,1,82,3519,19, +371,1,82,3520,5, 9,1,2519,1618,1, -2557,1627,1,2521,3545, -16,0,375,1,2559, -1633,1,2597,3546,16, -0,375,1,2561,3547, -16,0,375,1,2459, +2557,1627,1,2521,3521, +16,0,369,1,2559, +1633,1,2597,3522,16, +0,369,1,2561,3523, +16,0,369,1,2459, 882,1,2464,899,1, -2470,3548,16,0,375, -1,81,3549,19,374, -1,81,3550,5,9, +2470,3524,16,0,369, +1,83,3525,19,368, +1,83,3526,5,9, 1,2519,1618,1,2557, -1627,1,2521,3551,16, -0,372,1,2559,1633, -1,2597,3552,16,0, -372,1,2561,3553,16, -0,372,1,2459,882, +1627,1,2521,3527,16, +0,366,1,2559,1633, +1,2597,3528,16,0, +366,1,2561,3529,16, +0,366,1,2459,882, 1,2464,899,1,2470, -3554,16,0,372,1, -82,3555,19,371,1, -82,3556,5,9,1, +3530,16,0,366,1, +84,3531,19,365,1, +84,3532,5,9,1, 2519,1618,1,2557,1627, -1,2521,3557,16,0, -369,1,2559,1633,1, -2597,3558,16,0,369, -1,2561,3559,16,0, -369,1,2459,882,1, -2464,899,1,2470,3560, -16,0,369,1,83, -3561,19,368,1,83, -3562,5,9,1,2519, +1,2521,3533,16,0, +363,1,2559,1633,1, +2597,3534,16,0,363, +1,2561,3535,16,0, +363,1,2459,882,1, +2464,899,1,2470,3536, +16,0,363,1,85, +3537,19,362,1,85, +3538,5,9,1,2519, 1618,1,2557,1627,1, -2521,3563,16,0,366, +2521,3539,16,0,360, 1,2559,1633,1,2597, -3564,16,0,366,1, -2561,3565,16,0,366, +3540,16,0,360,1, +2561,3541,16,0,360, 1,2459,882,1,2464, -899,1,2470,3566,16, -0,366,1,84,3567, -19,365,1,84,3568, +899,1,2470,3542,16, +0,360,1,86,3543, +19,359,1,86,3544, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3569,16,0,363,1, -2559,1633,1,2597,3570, -16,0,363,1,2561, -3571,16,0,363,1, +3545,16,0,357,1, +2559,1633,1,2597,3546, +16,0,357,1,2561, +3547,16,0,357,1, 2459,882,1,2464,899, -1,2470,3572,16,0, -363,1,85,3573,19, -362,1,85,3574,5, +1,2470,3548,16,0, +357,1,87,3549,19, +356,1,87,3550,5, 9,1,2519,1618,1, -2557,1627,1,2521,3575, -16,0,360,1,2559, -1633,1,2597,3576,16, -0,360,1,2561,3577, -16,0,360,1,2459, +2557,1627,1,2521,3551, +16,0,354,1,2559, +1633,1,2597,3552,16, +0,354,1,2561,3553, +16,0,354,1,2459, 882,1,2464,899,1, -2470,3578,16,0,360, -1,86,3579,19,359, -1,86,3580,5,9, +2470,3554,16,0,354, +1,88,3555,19,353, +1,88,3556,5,9, 1,2519,1618,1,2557, -1627,1,2521,3581,16, -0,357,1,2559,1633, -1,2597,3582,16,0, -357,1,2561,3583,16, -0,357,1,2459,882, +1627,1,2521,3557,16, +0,351,1,2559,1633, +1,2597,3558,16,0, +351,1,2561,3559,16, +0,351,1,2459,882, 1,2464,899,1,2470, -3584,16,0,357,1, -87,3585,19,356,1, -87,3586,5,9,1, +3560,16,0,351,1, +89,3561,19,347,1, +89,3562,5,9,1, 2519,1618,1,2557,1627, -1,2521,3587,16,0, -354,1,2559,1633,1, -2597,3588,16,0,354, -1,2561,3589,16,0, -354,1,2459,882,1, -2464,899,1,2470,3590, -16,0,354,1,88, -3591,19,353,1,88, -3592,5,9,1,2519, +1,2521,3563,16,0, +345,1,2559,1633,1, +2597,3564,16,0,345, +1,2561,3565,16,0, +345,1,2459,882,1, +2464,899,1,2470,3566, +16,0,345,1,90, +3567,19,350,1,90, +3568,5,9,1,2519, 1618,1,2557,1627,1, -2521,3593,16,0,351, +2521,3569,16,0,348, 1,2559,1633,1,2597, -3594,16,0,351,1, -2561,3595,16,0,351, +3570,16,0,348,1, +2561,3571,16,0,348, 1,2459,882,1,2464, -899,1,2470,3596,16, -0,351,1,89,3597, -19,347,1,89,3598, +899,1,2470,3572,16, +0,348,1,91,3573, +19,344,1,91,3574, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3599,16,0,345,1, -2559,1633,1,2597,3600, -16,0,345,1,2561, -3601,16,0,345,1, +3575,16,0,342,1, +2559,1633,1,2597,3576, +16,0,342,1,2561, +3577,16,0,342,1, 2459,882,1,2464,899, -1,2470,3602,16,0, -345,1,90,3603,19, -350,1,90,3604,5, -9,1,2519,1618,1, -2557,1627,1,2521,3605, -16,0,348,1,2559, -1633,1,2597,3606,16, -0,348,1,2561,3607, -16,0,348,1,2459, -882,1,2464,899,1, -2470,3608,16,0,348, -1,91,3609,19,344, -1,91,3610,5,9, -1,2519,1618,1,2557, -1627,1,2521,3611,16, -0,342,1,2559,1633, -1,2597,3612,16,0, -342,1,2561,3613,16, -0,342,1,2459,882, -1,2464,899,1,2470, -3614,16,0,342,1, -92,3615,19,133,1, -92,3616,5,125,1, -0,3617,16,0,563, -1,1,1951,1,2, -1957,1,3,1962,1, -4,1967,1,5,1972, -1,6,1977,1,7, -1982,1,8,3618,16, -0,131,1,1515,3619, -16,0,165,1,2021, -718,1,2022,3620,16, -0,497,1,256,3621, -16,0,173,1,2025, -3622,16,0,501,1, -18,3623,16,0,138, -1,2027,3624,16,0, -505,1,2695,3625,16, -0,563,1,2029,725, +1,2470,3578,16,0, +342,1,92,3579,19, +133,1,92,3580,5, +125,1,0,3581,16, +0,563,1,1,1951, +1,2,1957,1,3, +1962,1,4,1967,1, +5,1972,1,6,1977, +1,7,1982,1,8, +3582,16,0,131,1, +1515,3583,16,0,165, +1,2021,718,1,2022, +3584,16,0,497,1, +256,3585,16,0,173, +1,2025,3586,16,0, +501,1,18,3587,16, +0,138,1,2027,3588, +16,0,505,1,2695, +3589,16,0,563,1, +2029,725,1,2030,731, +1,2031,736,1,2032, +741,1,2033,746,1, +277,3590,16,0,173, +1,2035,752,1,2037, +757,1,2039,762,1, +32,3591,16,0,165, +1,2041,768,1,2293, +3592,16,0,173,1, +2043,774,1,2045,779, +1,2713,3170,1,2715, +3159,1,41,3593,16, +0,173,1,1297,3594, +16,0,165,1,43, +3595,16,0,173,1, +46,3596,16,0,178, +1,1804,3597,16,0, +165,1,299,3598,16, +0,173,1,52,3599, +16,0,165,1,509, +3600,16,0,173,1, +2318,3601,16,0,165, +1,62,3602,16,0, +195,1,65,3603,16, +0,197,1,2075,3604, +16,0,165,1,1574, +799,1,71,3605,16, +0,173,1,1775,3606, +16,0,165,1,76, +3607,16,0,173,1, +1834,3608,16,0,165, +1,2337,3609,16,0, +165,1,79,3610,16, +0,173,1,1335,3611, +16,0,165,1,322, +3612,16,0,173,1, +85,3613,16,0,173, +1,1261,3614,16,0, +165,1,89,3615,16, +0,173,1,346,3616, +16,0,173,1,97, +3617,16,0,173,1, +2106,3618,16,0,165, +1,102,3619,16,0, +173,1,1860,821,1, +1803,787,1,2364,827, +1,1113,3620,16,0, +158,1,112,3621,16, +0,173,1,1117,3622, +16,0,165,1,1873, +835,1,1876,3623,16, +0,165,1,372,3624, +16,0,535,1,374, +3625,16,0,537,1, +124,3626,16,0,173, +1,376,3627,16,0, +539,1,378,3628,16, +0,541,1,2136,842, +1,381,3629,16,0, +173,1,525,3630,16, +0,173,1,137,3631, +16,0,173,1,1901, +3632,16,0,165,1, +2655,3175,1,2658,3633, +16,0,173,1,1153, +3634,16,0,165,1, +151,3635,16,0,173, +1,1407,3636,16,0, +165,1,1659,3637,16, +0,165,1,2413,3638, +16,0,165,1,406, +3639,16,0,173,1, +1371,3640,16,0,165, +1,2105,814,1,1657, +894,1,166,3641,16, +0,173,1,1622,3642, +16,0,173,1,2683, +3187,1,1931,861,1, +1933,3643,16,0,165, +1,431,3644,16,0, +173,1,1585,3645,16, +0,173,1,182,3646, +16,0,173,1,2694, +3180,1,1189,3647,16, +0,165,1,1443,3648, +16,0,165,1,1695, +3649,16,0,165,1, +2198,3650,16,0,165, +1,447,3651,16,0, +173,1,2458,876,1, +2459,882,1,1958,3652, +16,0,165,1,2462, +889,1,2714,3147,1, +2464,899,1,2716,3153, +1,2466,3164,1,459, +3653,16,0,173,1, +2468,3654,16,0,340, +1,462,3655,16,0, +173,1,199,3656,16, +0,173,1,217,3657, +16,0,173,1,2227, +908,1,1225,3658,16, +0,165,1,1479,3659, +16,0,165,1,1731, +3660,16,0,173,1, +1989,916,1,1990,3661, +16,0,165,1,236, +3662,16,0,173,1, +1756,3663,16,0,165, +1,93,3664,19,626, +1,93,3665,5,95, +1,256,3666,16,0, +624,1,1261,3667,16, +0,624,1,509,3668, +16,0,624,1,1515, +3669,16,0,624,1, +2021,718,1,1775,3670, +16,0,624,1,2029, +725,1,2030,731,1, +2031,736,1,2032,741, +1,2033,746,1,277, +3671,16,0,624,1, +2035,752,1,2037,757, +1,2039,762,1,32, +3672,16,0,624,1, +2041,768,1,2293,3673, +16,0,624,1,2043, +774,1,2045,779,1, +41,3674,16,0,624, +1,1297,3675,16,0, +624,1,43,3676,16, +0,624,1,1803,787, +1,1804,3677,16,0, +624,1,299,3678,16, +0,624,1,52,3679, +16,0,624,1,2318, +3680,16,0,624,1, +62,3681,16,0,624, +1,2075,3682,16,0, +624,1,1574,799,1, +71,3683,16,0,624, +1,76,3684,16,0, +624,1,1834,3685,16, +0,624,1,2337,3686, +16,0,624,1,79, +3687,16,0,624,1, +1335,3688,16,0,624, +1,322,3689,16,0, +624,1,85,3690,16, +0,624,1,89,3691, +16,0,624,1,346, +3692,16,0,624,1, +2105,814,1,2106,3693, +16,0,624,1,97, +3694,16,0,624,1, +1860,821,1,2364,827, +1,102,3695,16,0, +624,1,112,3696,16, +0,624,1,1117,3697, +16,0,624,1,1873, +835,1,1876,3698,16, +0,624,1,124,3699, +16,0,624,1,2136, +842,1,381,3700,16, +0,624,1,525,3701, +16,0,624,1,137, +3702,16,0,624,1, +1901,3703,16,0,624, +1,2658,3704,16,0, +624,1,1153,3705,16, +0,624,1,151,3706, +16,0,624,1,1407, +3707,16,0,624,1, +1659,3708,16,0,624, +1,2413,3709,16,0, +624,1,406,3710,16, +0,624,1,1371,3711, +16,0,624,1,166, +3712,16,0,624,1, +1622,3713,16,0,624, +1,1931,861,1,1933, +3714,16,0,624,1, +431,3715,16,0,624, +1,1585,3716,16,0, +624,1,182,3717,16, +0,624,1,1189,3718, +16,0,624,1,1443, +3719,16,0,624,1, +1695,3720,16,0,624, +1,2198,3721,16,0, +624,1,447,3722,16, +0,624,1,2458,876, +1,2459,882,1,1958, +3723,16,0,624,1, +2462,889,1,1657,894, +1,2464,899,1,199, +3724,16,0,624,1, +459,3725,16,0,624, +1,462,3726,16,0, +624,1,217,3727,16, +0,624,1,2227,908, +1,1225,3728,16,0, +624,1,1479,3729,16, +0,624,1,1731,3730, +16,0,624,1,1989, +916,1,1990,3731,16, +0,624,1,236,3732, +16,0,624,1,1756, +3733,16,0,624,1, +94,3734,19,623,1, +94,3735,5,95,1, +256,3736,16,0,621, +1,1261,3737,16,0, +621,1,509,3738,16, +0,621,1,1515,3739, +16,0,621,1,2021, +718,1,1775,3740,16, +0,621,1,2029,725, 1,2030,731,1,2031, 736,1,2032,741,1, -2033,746,1,277,3626, -16,0,173,1,2035, +2033,746,1,277,3741, +16,0,621,1,2035, 752,1,2037,757,1, -2039,762,1,32,3627, -16,0,165,1,2041, -768,1,2293,3628,16, -0,173,1,2043,774, -1,2045,779,1,2713, -3206,1,2715,3195,1, -41,3629,16,0,173, -1,1297,3630,16,0, -165,1,43,3631,16, -0,173,1,46,3632, -16,0,178,1,1804, -3633,16,0,165,1, -299,3634,16,0,173, -1,52,3635,16,0, -165,1,509,3636,16, -0,173,1,2318,3637, -16,0,165,1,62, -3638,16,0,195,1, -65,3639,16,0,197, -1,2075,3640,16,0, -165,1,1574,799,1, -71,3641,16,0,173, -1,1775,3642,16,0, -165,1,76,3643,16, -0,173,1,1834,3644, -16,0,165,1,2337, -3645,16,0,165,1, -79,3646,16,0,173, -1,1335,3647,16,0, -165,1,322,3648,16, -0,173,1,85,3649, -16,0,173,1,1261, -3650,16,0,165,1, -89,3651,16,0,173, -1,346,3652,16,0, -173,1,97,3653,16, -0,173,1,2106,3654, -16,0,165,1,102, -3655,16,0,173,1, -1860,821,1,1803,787, -1,2364,827,1,1113, -3656,16,0,158,1, -112,3657,16,0,173, -1,1117,3658,16,0, -165,1,1873,835,1, -1876,3659,16,0,165, -1,372,3660,16,0, -535,1,374,3661,16, -0,537,1,124,3662, -16,0,173,1,376, -3663,16,0,539,1, -378,3664,16,0,541, -1,2136,842,1,381, -3665,16,0,173,1, -525,3666,16,0,173, -1,137,3667,16,0, -173,1,1901,3668,16, -0,165,1,2655,3211, -1,2658,3669,16,0, -173,1,1153,3670,16, -0,165,1,151,3671, -16,0,173,1,1407, -3672,16,0,165,1, -1659,3673,16,0,165, -1,2413,3674,16,0, -165,1,406,3675,16, -0,173,1,1371,3676, -16,0,165,1,2105, -814,1,1657,894,1, -166,3677,16,0,173, -1,1622,3678,16,0, -173,1,2683,3223,1, -1931,861,1,1933,3679, -16,0,165,1,431, -3680,16,0,173,1, -1585,3681,16,0,173, -1,182,3682,16,0, -173,1,2694,3216,1, -1189,3683,16,0,165, -1,1443,3684,16,0, -165,1,1695,3685,16, -0,165,1,2198,3686, -16,0,165,1,447, -3687,16,0,173,1, -2458,876,1,2459,882, -1,1958,3688,16,0, -165,1,2462,889,1, -2714,3183,1,2464,899, -1,2716,3189,1,2466, -3200,1,459,3689,16, -0,173,1,2468,3690, -16,0,340,1,462, -3691,16,0,173,1, -199,3692,16,0,173, -1,217,3693,16,0, -173,1,2227,908,1, -1225,3694,16,0,165, -1,1479,3695,16,0, -165,1,1731,3696,16, -0,173,1,1989,916, -1,1990,3697,16,0, -165,1,236,3698,16, -0,173,1,1756,3699, -16,0,165,1,93, -3700,19,626,1,93, -3701,5,95,1,256, -3702,16,0,624,1, -1261,3703,16,0,624, -1,509,3704,16,0, -624,1,1515,3705,16, -0,624,1,2021,718, -1,1775,3706,16,0, -624,1,2029,725,1, +2039,762,1,32,3742, +16,0,621,1,2041, +768,1,2293,3743,16, +0,621,1,2043,774, +1,2045,779,1,41, +3744,16,0,621,1, +1297,3745,16,0,621, +1,43,3746,16,0, +621,1,1803,787,1, +1804,3747,16,0,621, +1,299,3748,16,0, +621,1,52,3749,16, +0,621,1,2318,3750, +16,0,621,1,62, +3751,16,0,621,1, +2075,3752,16,0,621, +1,1574,799,1,71, +3753,16,0,621,1, +76,3754,16,0,621, +1,1834,3755,16,0, +621,1,2337,3756,16, +0,621,1,79,3757, +16,0,621,1,1335, +3758,16,0,621,1, +322,3759,16,0,621, +1,85,3760,16,0, +621,1,89,3761,16, +0,621,1,346,3762, +16,0,621,1,2105, +814,1,2106,3763,16, +0,621,1,97,3764, +16,0,621,1,1860, +821,1,2364,827,1, +102,3765,16,0,621, +1,112,3766,16,0, +621,1,1117,3767,16, +0,621,1,1873,835, +1,1876,3768,16,0, +621,1,124,3769,16, +0,621,1,2136,842, +1,381,3770,16,0, +621,1,525,3771,16, +0,621,1,137,3772, +16,0,621,1,1901, +3773,16,0,621,1, +2658,3774,16,0,621, +1,1153,3775,16,0, +621,1,151,3776,16, +0,621,1,1407,3777, +16,0,621,1,1659, +3778,16,0,621,1, +2413,3779,16,0,621, +1,406,3780,16,0, +621,1,1371,3781,16, +0,621,1,166,3782, +16,0,621,1,1622, +3783,16,0,621,1, +1931,861,1,1933,3784, +16,0,621,1,431, +3785,16,0,621,1, +1585,3786,16,0,621, +1,182,3787,16,0, +621,1,1189,3788,16, +0,621,1,1443,3789, +16,0,621,1,1695, +3790,16,0,621,1, +2198,3791,16,0,621, +1,447,3792,16,0, +621,1,2458,876,1, +2459,882,1,1958,3793, +16,0,621,1,2462, +889,1,1657,894,1, +2464,899,1,199,3794, +16,0,621,1,459, +3795,16,0,621,1, +462,3796,16,0,621, +1,217,3797,16,0, +621,1,2227,908,1, +1225,3798,16,0,621, +1,1479,3799,16,0, +621,1,1731,3800,16, +0,621,1,1989,916, +1,1990,3801,16,0, +621,1,236,3802,16, +0,621,1,1756,3803, +16,0,621,1,95, +3804,19,620,1,95, +3805,5,95,1,256, +3806,16,0,618,1, +1261,3807,16,0,618, +1,509,3808,16,0, +618,1,1515,3809,16, +0,618,1,2021,718, +1,1775,3810,16,0, +618,1,2029,725,1, 2030,731,1,2031,736, 1,2032,741,1,2033, -746,1,277,3707,16, -0,624,1,2035,752, +746,1,277,3811,16, +0,618,1,2035,752, 1,2037,757,1,2039, -762,1,32,3708,16, -0,624,1,2041,768, -1,2293,3709,16,0, -624,1,2043,774,1, -2045,779,1,41,3710, -16,0,624,1,1297, -3711,16,0,624,1, -43,3712,16,0,624, +762,1,32,3812,16, +0,618,1,2041,768, +1,2293,3813,16,0, +618,1,2043,774,1, +2045,779,1,41,3814, +16,0,618,1,1297, +3815,16,0,618,1, +43,3816,16,0,618, 1,1803,787,1,1804, -3713,16,0,624,1, -299,3714,16,0,624, -1,52,3715,16,0, -624,1,2318,3716,16, -0,624,1,62,3717, -16,0,624,1,2075, -3718,16,0,624,1, -1574,799,1,71,3719, -16,0,624,1,76, -3720,16,0,624,1, -1834,3721,16,0,624, -1,2337,3722,16,0, -624,1,79,3723,16, -0,624,1,1335,3724, -16,0,624,1,322, -3725,16,0,624,1, -85,3726,16,0,624, -1,89,3727,16,0, -624,1,346,3728,16, -0,624,1,2105,814, -1,2106,3729,16,0, -624,1,97,3730,16, -0,624,1,1860,821, +3817,16,0,618,1, +299,3818,16,0,618, +1,52,3819,16,0, +618,1,2318,3820,16, +0,618,1,62,3821, +16,0,618,1,2075, +3822,16,0,618,1, +1574,799,1,71,3823, +16,0,618,1,76, +3824,16,0,618,1, +1834,3825,16,0,618, +1,2337,3826,16,0, +618,1,79,3827,16, +0,618,1,1335,3828, +16,0,618,1,322, +3829,16,0,618,1, +85,3830,16,0,618, +1,89,3831,16,0, +618,1,346,3832,16, +0,618,1,2105,814, +1,2106,3833,16,0, +618,1,97,3834,16, +0,618,1,1860,821, 1,2364,827,1,102, -3731,16,0,624,1, -112,3732,16,0,624, -1,1117,3733,16,0, -624,1,1873,835,1, -1876,3734,16,0,624, -1,124,3735,16,0, -624,1,2136,842,1, -381,3736,16,0,624, -1,525,3737,16,0, -624,1,137,3738,16, -0,624,1,1901,3739, -16,0,624,1,2658, -3740,16,0,624,1, -1153,3741,16,0,624, -1,151,3742,16,0, -624,1,1407,3743,16, -0,624,1,1659,3744, -16,0,624,1,2413, -3745,16,0,624,1, -406,3746,16,0,624, -1,1371,3747,16,0, -624,1,166,3748,16, -0,624,1,1622,3749, -16,0,624,1,1931, -861,1,1933,3750,16, -0,624,1,431,3751, -16,0,624,1,1585, -3752,16,0,624,1, -182,3753,16,0,624, -1,1189,3754,16,0, -624,1,1443,3755,16, -0,624,1,1695,3756, -16,0,624,1,2198, -3757,16,0,624,1, -447,3758,16,0,624, +3835,16,0,618,1, +112,3836,16,0,618, +1,1117,3837,16,0, +618,1,1873,835,1, +1876,3838,16,0,618, +1,124,3839,16,0, +618,1,2136,842,1, +381,3840,16,0,618, +1,525,3841,16,0, +618,1,137,3842,16, +0,618,1,1901,3843, +16,0,618,1,2658, +3844,16,0,618,1, +1153,3845,16,0,618, +1,151,3846,16,0, +618,1,1407,3847,16, +0,618,1,1659,3848, +16,0,618,1,2413, +3849,16,0,618,1, +406,3850,16,0,618, +1,1371,3851,16,0, +618,1,166,3852,16, +0,618,1,1622,3853, +16,0,618,1,1931, +861,1,1933,3854,16, +0,618,1,431,3855, +16,0,618,1,1585, +3856,16,0,618,1, +182,3857,16,0,618, +1,1189,3858,16,0, +618,1,1443,3859,16, +0,618,1,1695,3860, +16,0,618,1,2198, +3861,16,0,618,1, +447,3862,16,0,618, 1,2458,876,1,2459, -882,1,1958,3759,16, -0,624,1,2462,889, +882,1,1958,3863,16, +0,618,1,2462,889, 1,1657,894,1,2464, -899,1,199,3760,16, -0,624,1,459,3761, -16,0,624,1,462, -3762,16,0,624,1, -217,3763,16,0,624, +899,1,199,3864,16, +0,618,1,459,3865, +16,0,618,1,462, +3866,16,0,618,1, +217,3867,16,0,618, 1,2227,908,1,1225, -3764,16,0,624,1, -1479,3765,16,0,624, -1,1731,3766,16,0, -624,1,1989,916,1, -1990,3767,16,0,624, -1,236,3768,16,0, -624,1,1756,3769,16, -0,624,1,94,3770, -19,623,1,94,3771, -5,95,1,256,3772, -16,0,621,1,1261, -3773,16,0,621,1, -509,3774,16,0,621, -1,1515,3775,16,0, -621,1,2021,718,1, -1775,3776,16,0,621, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,277,3777,16,0, -621,1,2035,752,1, -2037,757,1,2039,762, -1,32,3778,16,0, -621,1,2041,768,1, -2293,3779,16,0,621, -1,2043,774,1,2045, -779,1,41,3780,16, -0,621,1,1297,3781, -16,0,621,1,43, -3782,16,0,621,1, -1803,787,1,1804,3783, -16,0,621,1,299, -3784,16,0,621,1, -52,3785,16,0,621, -1,2318,3786,16,0, -621,1,62,3787,16, -0,621,1,2075,3788, -16,0,621,1,1574, -799,1,71,3789,16, -0,621,1,76,3790, -16,0,621,1,1834, -3791,16,0,621,1, -2337,3792,16,0,621, -1,79,3793,16,0, -621,1,1335,3794,16, -0,621,1,322,3795, -16,0,621,1,85, -3796,16,0,621,1, -89,3797,16,0,621, -1,346,3798,16,0, -621,1,2105,814,1, -2106,3799,16,0,621, -1,97,3800,16,0, -621,1,1860,821,1, -2364,827,1,102,3801, -16,0,621,1,112, -3802,16,0,621,1, -1117,3803,16,0,621, -1,1873,835,1,1876, -3804,16,0,621,1, -124,3805,16,0,621, -1,2136,842,1,381, -3806,16,0,621,1, -525,3807,16,0,621, -1,137,3808,16,0, -621,1,1901,3809,16, -0,621,1,2658,3810, -16,0,621,1,1153, -3811,16,0,621,1, -151,3812,16,0,621, -1,1407,3813,16,0, -621,1,1659,3814,16, -0,621,1,2413,3815, -16,0,621,1,406, -3816,16,0,621,1, -1371,3817,16,0,621, -1,166,3818,16,0, -621,1,1622,3819,16, -0,621,1,1931,861, -1,1933,3820,16,0, -621,1,431,3821,16, -0,621,1,1585,3822, -16,0,621,1,182, -3823,16,0,621,1, -1189,3824,16,0,621, -1,1443,3825,16,0, -621,1,1695,3826,16, -0,621,1,2198,3827, -16,0,621,1,447, -3828,16,0,621,1, -2458,876,1,2459,882, -1,1958,3829,16,0, -621,1,2462,889,1, -1657,894,1,2464,899, -1,199,3830,16,0, -621,1,459,3831,16, -0,621,1,462,3832, -16,0,621,1,217, -3833,16,0,621,1, -2227,908,1,1225,3834, -16,0,621,1,1479, -3835,16,0,621,1, -1731,3836,16,0,621, -1,1989,916,1,1990, -3837,16,0,621,1, -236,3838,16,0,621, -1,1756,3839,16,0, -621,1,95,3840,19, -620,1,95,3841,5, -95,1,256,3842,16, -0,618,1,1261,3843, -16,0,618,1,509, -3844,16,0,618,1, -1515,3845,16,0,618, -1,2021,718,1,1775, -3846,16,0,618,1, -2029,725,1,2030,731, -1,2031,736,1,2032, -741,1,2033,746,1, -277,3847,16,0,618, -1,2035,752,1,2037, -757,1,2039,762,1, -32,3848,16,0,618, -1,2041,768,1,2293, -3849,16,0,618,1, -2043,774,1,2045,779, -1,41,3850,16,0, -618,1,1297,3851,16, -0,618,1,43,3852, -16,0,618,1,1803, -787,1,1804,3853,16, -0,618,1,299,3854, -16,0,618,1,52, -3855,16,0,618,1, -2318,3856,16,0,618, -1,62,3857,16,0, -618,1,2075,3858,16, -0,618,1,1574,799, -1,71,3859,16,0, -618,1,76,3860,16, -0,618,1,1834,3861, -16,0,618,1,2337, -3862,16,0,618,1, -79,3863,16,0,618, -1,1335,3864,16,0, -618,1,322,3865,16, -0,618,1,85,3866, -16,0,618,1,89, -3867,16,0,618,1, -346,3868,16,0,618, -1,2105,814,1,2106, -3869,16,0,618,1, -97,3870,16,0,618, -1,1860,821,1,2364, -827,1,102,3871,16, -0,618,1,112,3872, -16,0,618,1,1117, -3873,16,0,618,1, -1873,835,1,1876,3874, -16,0,618,1,124, -3875,16,0,618,1, -2136,842,1,381,3876, -16,0,618,1,525, -3877,16,0,618,1, -137,3878,16,0,618, -1,1901,3879,16,0, -618,1,2658,3880,16, -0,618,1,1153,3881, -16,0,618,1,151, -3882,16,0,618,1, -1407,3883,16,0,618, -1,1659,3884,16,0, -618,1,2413,3885,16, -0,618,1,406,3886, -16,0,618,1,1371, -3887,16,0,618,1, -166,3888,16,0,618, -1,1622,3889,16,0, -618,1,1931,861,1, -1933,3890,16,0,618, -1,431,3891,16,0, -618,1,1585,3892,16, -0,618,1,182,3893, -16,0,618,1,1189, -3894,16,0,618,1, -1443,3895,16,0,618, -1,1695,3896,16,0, -618,1,2198,3897,16, -0,618,1,447,3898, -16,0,618,1,2458, -876,1,2459,882,1, -1958,3899,16,0,618, -1,2462,889,1,1657, -894,1,2464,899,1, -199,3900,16,0,618, -1,459,3901,16,0, -618,1,462,3902,16, -0,618,1,217,3903, -16,0,618,1,2227, -908,1,1225,3904,16, -0,618,1,1479,3905, -16,0,618,1,1731, -3906,16,0,618,1, -1989,916,1,1990,3907, -16,0,618,1,236, -3908,16,0,618,1, -1756,3909,16,0,618, -1,96,3910,19,103, -1,96,3911,5,1, -1,0,3912,16,0, -104,1,97,3913,19, -611,1,97,3914,5, -1,1,0,3915,16, -0,609,1,98,3916, -19,636,1,98,3917, -5,2,1,0,3918, -16,0,638,1,2695, -3919,16,0,634,1, -99,3920,19,633,1, -99,3921,5,2,1, -0,3922,16,0,637, -1,2695,3923,16,0, -631,1,100,3924,19, -296,1,100,3925,5, -2,1,0,3926,16, -0,557,1,2695,3927, -16,0,294,1,101, -3928,19,561,1,101, -3929,5,4,1,0, -3930,16,0,641,1, -2695,3931,16,0,641, -1,2706,3932,16,0, -559,1,2636,3933,16, -0,559,1,102,3934, -19,591,1,102,3935, -5,2,1,2470,3936, -16,0,664,1,2561, -3937,16,0,589,1, -103,3938,19,463,1, -103,3939,5,4,1, -2597,3940,16,0,558, -1,2521,3941,16,0, -558,1,2470,3942,16, -0,461,1,2561,3943, -16,0,461,1,104, -3944,19,141,1,104, -3945,5,3,1,2642, -3946,16,0,569,1, -2506,3947,16,0,317, -1,10,3948,16,0, -139,1,105,3949,19, -151,1,105,3950,5, -17,1,0,3951,16, -0,254,1,2075,3952, -16,0,648,1,2337, -3953,16,0,648,1, -2413,3954,16,0,648, -1,10,3955,16,0, -336,1,2198,3956,16, -0,648,1,1901,3957, -16,0,648,1,2642, -3958,16,0,336,1, -21,3959,16,0,149, -1,2106,3960,16,0, -648,1,2506,3961,16, -0,336,1,1804,3962, -16,0,648,1,1990, -3963,16,0,648,1, -2695,3964,16,0,254, -1,32,3965,16,0, -648,1,1958,3966,16, -0,648,1,1775,3967, -16,0,648,1,106, -3968,19,130,1,106, -3969,5,18,1,0, -3970,16,0,128,1, -2642,3971,16,0,137, -1,2075,3972,16,0, -137,1,2337,3973,16, -0,137,1,2413,3974, -16,0,137,1,10, -3975,16,0,137,1, -2198,3976,16,0,137, -1,1901,3977,16,0, -137,1,52,3978,16, -0,193,1,21,3979, -16,0,137,1,2106, -3980,16,0,137,1, -2506,3981,16,0,137, -1,1804,3982,16,0, -137,1,1990,3983,16, -0,137,1,2695,3984, -16,0,128,1,32, -3985,16,0,137,1, -1958,3986,16,0,137, -1,1775,3987,16,0, -137,1,107,3988,19, -658,1,107,3989,5, -4,1,2597,3990,16, -0,656,1,2521,3991, -16,0,656,1,2470, -3992,16,0,656,1, -2561,3993,16,0,656, -1,108,3994,19,335, -1,108,3995,5,14, -1,2517,3996,16,0, -437,1,2075,3997,16, -0,506,1,2337,3998, -16,0,506,1,2413, -3999,16,0,506,1, -1901,4000,16,0,506, -1,2198,4001,16,0, -506,1,2106,4002,16, -0,506,1,2653,4003, -16,0,571,1,1804, -4004,16,0,506,1, -1990,4005,16,0,506, -1,31,4006,16,0, -333,1,32,4007,16, -0,506,1,1958,4008, -16,0,506,1,1775, -4009,16,0,506,1, -109,4010,19,302,1, -109,4011,5,1,1, -32,4012,16,0,300, -1,110,4013,19,261, -1,110,4014,5,11, -1,2075,4015,16,0, -577,1,2337,4016,16, -0,265,1,2413,4017, -16,0,445,1,1901, -4018,16,0,391,1, -2198,4019,16,0,319, -1,2106,4020,16,0, -607,1,1804,4021,16, -0,284,1,1990,4022, -16,0,494,1,32, -4023,16,0,329,1, -1958,4024,16,0,450, -1,1775,4025,16,0, -259,1,111,4026,19, -583,1,111,4027,5, -11,1,2075,4028,16, -0,581,1,2337,4029, -16,0,581,1,2413, -4030,16,0,581,1, -1901,4031,16,0,581, -1,2198,4032,16,0, -581,1,2106,4033,16, -0,581,1,1804,4034, -16,0,581,1,1990, -4035,16,0,581,1, -32,4036,16,0,581, -1,1958,4037,16,0, -581,1,1775,4038,16, -0,581,1,112,4039, -19,645,1,112,4040, -5,11,1,2075,4041, -16,0,643,1,2337, -4042,16,0,643,1, -2413,4043,16,0,643, -1,1901,4044,16,0, -643,1,2198,4045,16, -0,643,1,2106,4046, -16,0,643,1,1804, -4047,16,0,643,1, -1990,4048,16,0,643, -1,32,4049,16,0, -643,1,1958,4050,16, -0,643,1,1775,4051, -16,0,643,1,113, -4052,19,161,1,113, -4053,5,31,1,1901, -4054,16,0,647,1, -1479,4055,16,0,551, -1,2075,4056,16,0, -647,1,1695,4057,16, -0,189,1,1756,4058, -16,0,188,1,2413, -4059,16,0,647,1, -2198,4060,16,0,647, -1,1876,4061,16,0, -661,1,1659,4062,16, -0,188,1,1443,4063, -16,0,522,1,1117, -4064,16,0,159,1, -1990,4065,16,0,647, -1,1189,4066,16,0, -240,1,1775,4067,16, -0,647,1,32,4068, -16,0,647,1,2106, -4069,16,0,647,1, -1515,4070,16,0,579, -1,2337,4071,16,0, -647,1,52,4072,16, -0,592,1,1804,4073, -16,0,647,1,1261, -4074,16,0,298,1, -1153,4075,16,0,247, -1,1225,4076,16,0, -274,1,1335,4077,16, -0,443,1,1933,4078, -16,0,553,1,1834, -4079,16,0,312,1, -1297,4080,16,0,323, -1,1407,4081,16,0, -568,1,2318,4082,16, -0,188,1,1958,4083, -16,0,647,1,1371, -4084,16,0,438,1, -114,4085,19,531,1, -114,4086,5,11,1, -2075,4087,16,0,529, -1,2337,4088,16,0, -529,1,2413,4089,16, -0,529,1,1901,4090, -16,0,529,1,2198, -4091,16,0,529,1, -2106,4092,16,0,529, -1,1804,4093,16,0, -529,1,1990,4094,16, -0,529,1,32,4095, -16,0,529,1,1958, -4096,16,0,529,1, -1775,4097,16,0,529, -1,115,4098,19,527, -1,115,4099,5,11, -1,2075,4100,16,0, -525,1,2337,4101,16, -0,525,1,2413,4102, -16,0,525,1,1901, -4103,16,0,525,1, -2198,4104,16,0,525, -1,2106,4105,16,0, -525,1,1804,4106,16, -0,525,1,1990,4107, -16,0,525,1,32, -4108,16,0,525,1, -1958,4109,16,0,525, -1,1775,4110,16,0, -525,1,116,4111,19, -575,1,116,4112,5, -11,1,2075,4113,16, -0,573,1,2337,4114, -16,0,573,1,2413, -4115,16,0,573,1, -1901,4116,16,0,573, -1,2198,4117,16,0, -573,1,2106,4118,16, -0,573,1,1804,4119, -16,0,573,1,1990, -4120,16,0,573,1, -32,4121,16,0,573, -1,1958,4122,16,0, -573,1,1775,4123,16, -0,573,1,117,4124, -19,521,1,117,4125, -5,11,1,2075,4126, -16,0,519,1,2337, -4127,16,0,519,1, -2413,4128,16,0,519, -1,1901,4129,16,0, -519,1,2198,4130,16, -0,519,1,2106,4131, -16,0,519,1,1804, -4132,16,0,519,1, -1990,4133,16,0,519, -1,32,4134,16,0, -519,1,1958,4135,16, -0,519,1,1775,4136, -16,0,519,1,118, -4137,19,518,1,118, -4138,5,11,1,2075, -4139,16,0,516,1, -2337,4140,16,0,516, -1,2413,4141,16,0, -516,1,1901,4142,16, -0,516,1,2198,4143, -16,0,516,1,2106, -4144,16,0,516,1, -1804,4145,16,0,516, -1,1990,4146,16,0, -516,1,32,4147,16, -0,516,1,1958,4148, -16,0,516,1,1775, -4149,16,0,516,1, -119,4150,19,515,1, -119,4151,5,11,1, -2075,4152,16,0,513, -1,2337,4153,16,0, -513,1,2413,4154,16, -0,513,1,1901,4155, -16,0,513,1,2198, -4156,16,0,513,1, -2106,4157,16,0,513, -1,1804,4158,16,0, -513,1,1990,4159,16, -0,513,1,32,4160, -16,0,513,1,1958, -4161,16,0,513,1, -1775,4162,16,0,513, -1,120,4163,19,512, -1,120,4164,5,11, -1,2075,4165,16,0, -510,1,2337,4166,16, -0,510,1,2413,4167, -16,0,510,1,1901, -4168,16,0,510,1, -2198,4169,16,0,510, -1,2106,4170,16,0, -510,1,1804,4171,16, -0,510,1,1990,4172, -16,0,510,1,32, -4173,16,0,510,1, -1958,4174,16,0,510, -1,1775,4175,16,0, -510,1,121,4176,19, -509,1,121,4177,5, -11,1,2075,4178,16, -0,507,1,2337,4179, -16,0,507,1,2413, -4180,16,0,507,1, -1901,4181,16,0,507, -1,2198,4182,16,0, -507,1,2106,4183,16, -0,507,1,1804,4184, -16,0,507,1,1990, -4185,16,0,507,1, -32,4186,16,0,507, -1,1958,4187,16,0, -507,1,1775,4188,16, -0,507,1,122,4189, -19,147,1,122,4190, -5,3,1,1756,4191, -16,0,283,1,2318, -4192,16,0,297,1, -1659,4193,16,0,145, -1,123,4194,19,548, -1,123,4195,5,68, -1,1901,4196,16,0, -546,1,1479,4197,16, -0,546,1,112,4198, -16,0,546,1,2293, -4199,16,0,546,1, -1804,4200,16,0,546, -1,431,4201,16,0, -546,1,1443,4202,16, -0,546,1,1756,4203, -16,0,546,1,124, -4204,16,0,546,1, -525,4205,16,0,546, -1,236,4206,16,0, -546,1,346,4207,16, -0,546,1,1876,4208, -16,0,546,1,1659, -4209,16,0,546,1, -1225,4210,16,0,546, -1,1117,4211,16,0, -546,1,137,4212,16, -0,546,1,2318,4213, -16,0,546,1,1775, -4214,16,0,546,1, -32,4215,16,0,546, -1,1407,4216,16,0, -546,1,256,4217,16, -0,546,1,459,4218, -16,0,546,1,406, -4219,16,0,546,1, -41,4220,16,0,546, -1,2658,4221,16,0, -546,1,43,4222,16, -0,546,1,1585,4223, -16,0,546,1,1990, -4224,16,0,546,1, -2337,4225,16,0,546, -1,509,4226,16,0, -546,1,52,4227,16, -0,546,1,151,4228, -16,0,546,1,447, -4229,16,0,546,1, -166,4230,16,0,546, -1,462,4231,16,0, -546,1,277,4232,16, -0,546,1,1695,4233, -16,0,546,1,62, -4234,16,0,586,1, -1153,4235,16,0,546, -1,381,4236,16,0, -546,1,2106,4237,16, -0,546,1,1335,4238, -16,0,546,1,71, -4239,16,0,546,1, -182,4240,16,0,546, -1,76,4241,16,0, -546,1,79,4242,16, -0,546,1,1933,4243, -16,0,546,1,299, -4244,16,0,546,1, -85,4245,16,0,546, -1,1515,4246,16,0, -546,1,2198,4247,16, -0,546,1,89,4248, -16,0,546,1,1834, -4249,16,0,546,1, -1622,4250,16,0,546, -1,2413,4251,16,0, -546,1,2075,4252,16, -0,546,1,1731,4253, -16,0,546,1,97, -4254,16,0,546,1, -1297,4255,16,0,546, -1,1189,4256,16,0, -546,1,102,4257,16, -0,546,1,1261,4258, -16,0,546,1,322, -4259,16,0,546,1, -1958,4260,16,0,546, -1,199,4261,16,0, -546,1,1371,4262,16, -0,546,1,217,4263, -16,0,546,1,124, -4264,19,602,1,124, -4265,5,2,1,459, -4266,16,0,600,1, -41,4267,16,0,665, -1,125,4268,19,606, -1,125,4269,5,3, -1,462,4270,16,0, -604,1,459,4271,16, -0,630,1,41,4272, -16,0,630,1,126, -4273,19,4274,4,36, -69,0,120,0,112, -0,114,0,101,0, -115,0,115,0,105, -0,111,0,110,0, -65,0,114,0,103, -0,117,0,109,0, -101,0,110,0,116, -0,1,126,4269,1, -127,4275,19,544,1, -127,4276,5,68,1, -1901,4277,16,0,542, -1,1479,4278,16,0, -542,1,112,4279,16, -0,542,1,2293,4280, -16,0,542,1,1804, -4281,16,0,542,1, -431,4282,16,0,542, -1,1443,4283,16,0, -542,1,1756,4284,16, -0,542,1,124,4285, -16,0,542,1,525, -4286,16,0,542,1, -236,4287,16,0,542, -1,346,4288,16,0, -542,1,1876,4289,16, -0,542,1,1659,4290, -16,0,542,1,1225, -4291,16,0,542,1, -1117,4292,16,0,542, -1,137,4293,16,0, -542,1,2318,4294,16, -0,542,1,1775,4295, -16,0,542,1,32, -4296,16,0,542,1, -1407,4297,16,0,542, -1,256,4298,16,0, -542,1,459,4299,16, -0,542,1,406,4300, -16,0,542,1,41, -4301,16,0,542,1, -2658,4302,16,0,542, -1,43,4303,16,0, -542,1,1585,4304,16, -0,542,1,1990,4305, -16,0,542,1,2337, -4306,16,0,542,1, -509,4307,16,0,542, -1,52,4308,16,0, -542,1,151,4309,16, -0,542,1,447,4310, -16,0,542,1,166, -4311,16,0,542,1, -462,4312,16,0,542, -1,277,4313,16,0, -542,1,1695,4314,16, -0,542,1,62,4315, -16,0,587,1,1153, -4316,16,0,542,1, -381,4317,16,0,542, -1,2106,4318,16,0, -542,1,1335,4319,16, -0,542,1,71,4320, -16,0,542,1,182, -4321,16,0,542,1, -76,4322,16,0,542, -1,79,4323,16,0, -542,1,1933,4324,16, -0,542,1,299,4325, -16,0,542,1,85, -4326,16,0,542,1, -1515,4327,16,0,542, -1,2198,4328,16,0, -542,1,89,4329,16, -0,542,1,1834,4330, -16,0,542,1,1622, -4331,16,0,542,1, -2413,4332,16,0,542, -1,2075,4333,16,0, -542,1,1731,4334,16, -0,542,1,97,4335, -16,0,542,1,1297, -4336,16,0,542,1, -1189,4337,16,0,542, -1,102,4338,16,0, -542,1,1261,4339,16, -0,542,1,322,4340, -16,0,542,1,1958, -4341,16,0,542,1, -199,4342,16,0,542, -1,1371,4343,16,0, -542,1,217,4344,16, -0,542,1,128,4345, -19,4346,4,28,86, -0,101,0,99,0, -116,0,111,0,114, -0,67,0,111,0, -110,0,115,0,116, -0,97,0,110,0, -116,0,1,128,4276, -1,129,4347,19,4348, -4,32,82,0,111, -0,116,0,97,0, -116,0,105,0,111, -0,110,0,67,0, +3868,16,0,618,1, +1479,3869,16,0,618, +1,1731,3870,16,0, +618,1,1989,916,1, +1990,3871,16,0,618, +1,236,3872,16,0, +618,1,1756,3873,16, +0,618,1,96,3874, +19,103,1,96,3875, +5,1,1,0,3876, +16,0,104,1,97, +3877,19,611,1,97, +3878,5,1,1,0, +3879,16,0,609,1, +98,3880,19,636,1, +98,3881,5,2,1, +0,3882,16,0,638, +1,2695,3883,16,0, +634,1,99,3884,19, +633,1,99,3885,5, +2,1,0,3886,16, +0,637,1,2695,3887, +16,0,631,1,100, +3888,19,296,1,100, +3889,5,2,1,0, +3890,16,0,557,1, +2695,3891,16,0,294, +1,101,3892,19,561, +1,101,3893,5,4, +1,0,3894,16,0, +641,1,2695,3895,16, +0,641,1,2706,3896, +16,0,559,1,2636, +3897,16,0,559,1, +102,3898,19,591,1, +102,3899,5,2,1, +2470,3900,16,0,664, +1,2561,3901,16,0, +589,1,103,3902,19, +463,1,103,3903,5, +4,1,2597,3904,16, +0,558,1,2521,3905, +16,0,558,1,2470, +3906,16,0,461,1, +2561,3907,16,0,461, +1,104,3908,19,141, +1,104,3909,5,3, +1,2642,3910,16,0, +569,1,2506,3911,16, +0,317,1,10,3912, +16,0,139,1,105, +3913,19,151,1,105, +3914,5,17,1,0, +3915,16,0,254,1, +2075,3916,16,0,648, +1,2337,3917,16,0, +648,1,2413,3918,16, +0,648,1,10,3919, +16,0,336,1,2198, +3920,16,0,648,1, +1901,3921,16,0,648, +1,2642,3922,16,0, +336,1,21,3923,16, +0,149,1,2106,3924, +16,0,648,1,2506, +3925,16,0,336,1, +1804,3926,16,0,648, +1,1990,3927,16,0, +648,1,2695,3928,16, +0,254,1,32,3929, +16,0,648,1,1958, +3930,16,0,648,1, +1775,3931,16,0,648, +1,106,3932,19,130, +1,106,3933,5,18, +1,0,3934,16,0, +128,1,2642,3935,16, +0,137,1,2075,3936, +16,0,137,1,2337, +3937,16,0,137,1, +2413,3938,16,0,137, +1,10,3939,16,0, +137,1,2198,3940,16, +0,137,1,1901,3941, +16,0,137,1,52, +3942,16,0,193,1, +21,3943,16,0,137, +1,2106,3944,16,0, +137,1,2506,3945,16, +0,137,1,1804,3946, +16,0,137,1,1990, +3947,16,0,137,1, +2695,3948,16,0,128, +1,32,3949,16,0, +137,1,1958,3950,16, +0,137,1,1775,3951, +16,0,137,1,107, +3952,19,658,1,107, +3953,5,4,1,2597, +3954,16,0,656,1, +2521,3955,16,0,656, +1,2470,3956,16,0, +656,1,2561,3957,16, +0,656,1,108,3958, +19,335,1,108,3959, +5,14,1,2517,3960, +16,0,437,1,2075, +3961,16,0,506,1, +2337,3962,16,0,506, +1,2413,3963,16,0, +506,1,1901,3964,16, +0,506,1,2198,3965, +16,0,506,1,2106, +3966,16,0,506,1, +2653,3967,16,0,571, +1,1804,3968,16,0, +506,1,1990,3969,16, +0,506,1,31,3970, +16,0,333,1,32, +3971,16,0,506,1, +1958,3972,16,0,506, +1,1775,3973,16,0, +506,1,109,3974,19, +302,1,109,3975,5, +1,1,32,3976,16, +0,300,1,110,3977, +19,261,1,110,3978, +5,11,1,2075,3979, +16,0,577,1,2337, +3980,16,0,265,1, +2413,3981,16,0,445, +1,1901,3982,16,0, +391,1,2198,3983,16, +0,319,1,2106,3984, +16,0,607,1,1804, +3985,16,0,284,1, +1990,3986,16,0,494, +1,32,3987,16,0, +329,1,1958,3988,16, +0,450,1,1775,3989, +16,0,259,1,111, +3990,19,583,1,111, +3991,5,11,1,2075, +3992,16,0,581,1, +2337,3993,16,0,581, +1,2413,3994,16,0, +581,1,1901,3995,16, +0,581,1,2198,3996, +16,0,581,1,2106, +3997,16,0,581,1, +1804,3998,16,0,581, +1,1990,3999,16,0, +581,1,32,4000,16, +0,581,1,1958,4001, +16,0,581,1,1775, +4002,16,0,581,1, +112,4003,19,645,1, +112,4004,5,11,1, +2075,4005,16,0,643, +1,2337,4006,16,0, +643,1,2413,4007,16, +0,643,1,1901,4008, +16,0,643,1,2198, +4009,16,0,643,1, +2106,4010,16,0,643, +1,1804,4011,16,0, +643,1,1990,4012,16, +0,643,1,32,4013, +16,0,643,1,1958, +4014,16,0,643,1, +1775,4015,16,0,643, +1,113,4016,19,161, +1,113,4017,5,31, +1,1901,4018,16,0, +647,1,1479,4019,16, +0,551,1,2075,4020, +16,0,647,1,1695, +4021,16,0,189,1, +1756,4022,16,0,188, +1,2413,4023,16,0, +647,1,2198,4024,16, +0,647,1,1876,4025, +16,0,661,1,1659, +4026,16,0,188,1, +1443,4027,16,0,522, +1,1117,4028,16,0, +159,1,1990,4029,16, +0,647,1,1189,4030, +16,0,240,1,1775, +4031,16,0,647,1, +32,4032,16,0,647, +1,2106,4033,16,0, +647,1,1515,4034,16, +0,579,1,2337,4035, +16,0,647,1,52, +4036,16,0,592,1, +1804,4037,16,0,647, +1,1261,4038,16,0, +298,1,1153,4039,16, +0,247,1,1225,4040, +16,0,274,1,1335, +4041,16,0,443,1, +1933,4042,16,0,553, +1,1834,4043,16,0, +312,1,1297,4044,16, +0,323,1,1407,4045, +16,0,568,1,2318, +4046,16,0,188,1, +1958,4047,16,0,647, +1,1371,4048,16,0, +438,1,114,4049,19, +531,1,114,4050,5, +11,1,2075,4051,16, +0,529,1,2337,4052, +16,0,529,1,2413, +4053,16,0,529,1, +1901,4054,16,0,529, +1,2198,4055,16,0, +529,1,2106,4056,16, +0,529,1,1804,4057, +16,0,529,1,1990, +4058,16,0,529,1, +32,4059,16,0,529, +1,1958,4060,16,0, +529,1,1775,4061,16, +0,529,1,115,4062, +19,527,1,115,4063, +5,11,1,2075,4064, +16,0,525,1,2337, +4065,16,0,525,1, +2413,4066,16,0,525, +1,1901,4067,16,0, +525,1,2198,4068,16, +0,525,1,2106,4069, +16,0,525,1,1804, +4070,16,0,525,1, +1990,4071,16,0,525, +1,32,4072,16,0, +525,1,1958,4073,16, +0,525,1,1775,4074, +16,0,525,1,116, +4075,19,575,1,116, +4076,5,11,1,2075, +4077,16,0,573,1, +2337,4078,16,0,573, +1,2413,4079,16,0, +573,1,1901,4080,16, +0,573,1,2198,4081, +16,0,573,1,2106, +4082,16,0,573,1, +1804,4083,16,0,573, +1,1990,4084,16,0, +573,1,32,4085,16, +0,573,1,1958,4086, +16,0,573,1,1775, +4087,16,0,573,1, +117,4088,19,521,1, +117,4089,5,11,1, +2075,4090,16,0,519, +1,2337,4091,16,0, +519,1,2413,4092,16, +0,519,1,1901,4093, +16,0,519,1,2198, +4094,16,0,519,1, +2106,4095,16,0,519, +1,1804,4096,16,0, +519,1,1990,4097,16, +0,519,1,32,4098, +16,0,519,1,1958, +4099,16,0,519,1, +1775,4100,16,0,519, +1,118,4101,19,518, +1,118,4102,5,11, +1,2075,4103,16,0, +516,1,2337,4104,16, +0,516,1,2413,4105, +16,0,516,1,1901, +4106,16,0,516,1, +2198,4107,16,0,516, +1,2106,4108,16,0, +516,1,1804,4109,16, +0,516,1,1990,4110, +16,0,516,1,32, +4111,16,0,516,1, +1958,4112,16,0,516, +1,1775,4113,16,0, +516,1,119,4114,19, +515,1,119,4115,5, +11,1,2075,4116,16, +0,513,1,2337,4117, +16,0,513,1,2413, +4118,16,0,513,1, +1901,4119,16,0,513, +1,2198,4120,16,0, +513,1,2106,4121,16, +0,513,1,1804,4122, +16,0,513,1,1990, +4123,16,0,513,1, +32,4124,16,0,513, +1,1958,4125,16,0, +513,1,1775,4126,16, +0,513,1,120,4127, +19,512,1,120,4128, +5,11,1,2075,4129, +16,0,510,1,2337, +4130,16,0,510,1, +2413,4131,16,0,510, +1,1901,4132,16,0, +510,1,2198,4133,16, +0,510,1,2106,4134, +16,0,510,1,1804, +4135,16,0,510,1, +1990,4136,16,0,510, +1,32,4137,16,0, +510,1,1958,4138,16, +0,510,1,1775,4139, +16,0,510,1,121, +4140,19,509,1,121, +4141,5,11,1,2075, +4142,16,0,507,1, +2337,4143,16,0,507, +1,2413,4144,16,0, +507,1,1901,4145,16, +0,507,1,2198,4146, +16,0,507,1,2106, +4147,16,0,507,1, +1804,4148,16,0,507, +1,1990,4149,16,0, +507,1,32,4150,16, +0,507,1,1958,4151, +16,0,507,1,1775, +4152,16,0,507,1, +122,4153,19,147,1, +122,4154,5,3,1, +1756,4155,16,0,283, +1,2318,4156,16,0, +297,1,1659,4157,16, +0,145,1,123,4158, +19,548,1,123,4159, +5,68,1,1901,4160, +16,0,546,1,1479, +4161,16,0,546,1, +112,4162,16,0,546, +1,2293,4163,16,0, +546,1,1804,4164,16, +0,546,1,431,4165, +16,0,546,1,1443, +4166,16,0,546,1, +1756,4167,16,0,546, +1,124,4168,16,0, +546,1,525,4169,16, +0,546,1,236,4170, +16,0,546,1,346, +4171,16,0,546,1, +1876,4172,16,0,546, +1,1659,4173,16,0, +546,1,1225,4174,16, +0,546,1,1117,4175, +16,0,546,1,137, +4176,16,0,546,1, +2318,4177,16,0,546, +1,1775,4178,16,0, +546,1,32,4179,16, +0,546,1,1407,4180, +16,0,546,1,256, +4181,16,0,546,1, +459,4182,16,0,546, +1,406,4183,16,0, +546,1,41,4184,16, +0,546,1,2658,4185, +16,0,546,1,43, +4186,16,0,546,1, +1585,4187,16,0,546, +1,1990,4188,16,0, +546,1,2337,4189,16, +0,546,1,509,4190, +16,0,546,1,52, +4191,16,0,546,1, +151,4192,16,0,546, +1,447,4193,16,0, +546,1,166,4194,16, +0,546,1,462,4195, +16,0,546,1,277, +4196,16,0,546,1, +1695,4197,16,0,546, +1,62,4198,16,0, +586,1,1153,4199,16, +0,546,1,381,4200, +16,0,546,1,2106, +4201,16,0,546,1, +1335,4202,16,0,546, +1,71,4203,16,0, +546,1,182,4204,16, +0,546,1,76,4205, +16,0,546,1,79, +4206,16,0,546,1, +1933,4207,16,0,546, +1,299,4208,16,0, +546,1,85,4209,16, +0,546,1,1515,4210, +16,0,546,1,2198, +4211,16,0,546,1, +89,4212,16,0,546, +1,1834,4213,16,0, +546,1,1622,4214,16, +0,546,1,2413,4215, +16,0,546,1,2075, +4216,16,0,546,1, +1731,4217,16,0,546, +1,97,4218,16,0, +546,1,1297,4219,16, +0,546,1,1189,4220, +16,0,546,1,102, +4221,16,0,546,1, +1261,4222,16,0,546, +1,322,4223,16,0, +546,1,1958,4224,16, +0,546,1,199,4225, +16,0,546,1,1371, +4226,16,0,546,1, +217,4227,16,0,546, +1,124,4228,19,602, +1,124,4229,5,2, +1,459,4230,16,0, +600,1,41,4231,16, +0,665,1,125,4232, +19,606,1,125,4233, +5,3,1,462,4234, +16,0,604,1,459, +4235,16,0,630,1, +41,4236,16,0,630, +1,126,4237,19,4238, +4,36,69,0,120, +0,112,0,114,0, +101,0,115,0,115, +0,105,0,111,0, +110,0,65,0,114, +0,103,0,117,0, +109,0,101,0,110, +0,116,0,1,126, +4233,1,127,4239,19, +544,1,127,4240,5, +68,1,1901,4241,16, +0,542,1,1479,4242, +16,0,542,1,112, +4243,16,0,542,1, +2293,4244,16,0,542, +1,1804,4245,16,0, +542,1,431,4246,16, +0,542,1,1443,4247, +16,0,542,1,1756, +4248,16,0,542,1, +124,4249,16,0,542, +1,525,4250,16,0, +542,1,236,4251,16, +0,542,1,346,4252, +16,0,542,1,1876, +4253,16,0,542,1, +1659,4254,16,0,542, +1,1225,4255,16,0, +542,1,1117,4256,16, +0,542,1,137,4257, +16,0,542,1,2318, +4258,16,0,542,1, +1775,4259,16,0,542, +1,32,4260,16,0, +542,1,1407,4261,16, +0,542,1,256,4262, +16,0,542,1,459, +4263,16,0,542,1, +406,4264,16,0,542, +1,41,4265,16,0, +542,1,2658,4266,16, +0,542,1,43,4267, +16,0,542,1,1585, +4268,16,0,542,1, +1990,4269,16,0,542, +1,2337,4270,16,0, +542,1,509,4271,16, +0,542,1,52,4272, +16,0,542,1,151, +4273,16,0,542,1, +447,4274,16,0,542, +1,166,4275,16,0, +542,1,462,4276,16, +0,542,1,277,4277, +16,0,542,1,1695, +4278,16,0,542,1, +62,4279,16,0,587, +1,1153,4280,16,0, +542,1,381,4281,16, +0,542,1,2106,4282, +16,0,542,1,1335, +4283,16,0,542,1, +71,4284,16,0,542, +1,182,4285,16,0, +542,1,76,4286,16, +0,542,1,79,4287, +16,0,542,1,1933, +4288,16,0,542,1, +299,4289,16,0,542, +1,85,4290,16,0, +542,1,1515,4291,16, +0,542,1,2198,4292, +16,0,542,1,89, +4293,16,0,542,1, +1834,4294,16,0,542, +1,1622,4295,16,0, +542,1,2413,4296,16, +0,542,1,2075,4297, +16,0,542,1,1731, +4298,16,0,542,1, +97,4299,16,0,542, +1,1297,4300,16,0, +542,1,1189,4301,16, +0,542,1,102,4302, +16,0,542,1,1261, +4303,16,0,542,1, +322,4304,16,0,542, +1,1958,4305,16,0, +542,1,199,4306,16, +0,542,1,1371,4307, +16,0,542,1,217, +4308,16,0,542,1, +128,4309,19,4310,4, +28,86,0,101,0, +99,0,116,0,111, +0,114,0,67,0, 111,0,110,0,115, 0,116,0,97,0, 110,0,116,0,1, -129,4276,1,130,4349, -19,4350,4,24,76, -0,105,0,115,0, -116,0,67,0,111, -0,110,0,115,0, -116,0,97,0,110, -0,116,0,1,130, -4276,1,131,4351,19, -169,1,131,4352,5, -67,1,1901,4353,16, -0,585,1,1479,4354, -16,0,533,1,112, -4355,16,0,249,1, -2293,4356,16,0,273, -1,1804,4357,16,0, -585,1,431,4358,16, -0,580,1,1443,4359, -16,0,468,1,1756, -4360,16,0,673,1, -124,4361,16,0,258, -1,525,4362,16,0, -305,1,236,4363,16, -0,341,1,346,4364, -16,0,496,1,1876, -4365,16,0,318,1, -1659,4366,16,0,673, -1,1225,4367,16,0, -248,1,1117,4368,16, -0,219,1,137,4369, -16,0,272,1,2318, -4370,16,0,673,1, -1775,4371,16,0,585, -1,32,4372,16,0, -585,1,1407,4373,16, -0,487,1,256,4374, -16,0,395,1,459, -4375,16,0,167,1, -406,4376,16,0,562, -1,41,4377,16,0, -167,1,2658,4378,16, -0,659,1,43,4379, -16,0,640,1,1990, -4380,16,0,585,1, -2337,4381,16,0,585, -1,509,4382,16,0, -655,1,52,4383,16, -0,594,1,151,4384, -16,0,282,1,447, -4385,16,0,305,1, -166,4386,16,0,293, -1,462,4387,16,0, -167,1,277,4388,16, -0,434,1,1695,4389, -16,0,270,1,1261, -4390,16,0,281,1, -1153,4391,16,0,174, -1,381,4392,16,0, -550,1,2106,4393,16, -0,585,1,1335,4394, -16,0,326,1,71, -4395,16,0,203,1, -182,4396,16,0,305, -1,76,4397,16,0, -549,1,79,4398,16, -0,218,1,1933,4399, -16,0,407,1,299, -4400,16,0,444,1, -85,4401,16,0,457, -1,1515,4402,16,0, -556,1,2198,4403,16, -0,585,1,89,4404, -16,0,227,1,1834, -4405,16,0,292,1, -1622,4406,16,0,654, -1,2413,4407,16,0, -585,1,2075,4408,16, -0,585,1,1731,4409, -16,0,250,1,97, -4410,16,0,411,1, -1297,4411,16,0,328, -1,1189,4412,16,0, -217,1,102,4413,16, -0,238,1,1585,4414, -16,0,663,1,322, -4415,16,0,458,1, -1958,4416,16,0,585, -1,199,4417,16,0, -316,1,1371,4418,16, -0,396,1,217,4419, -16,0,325,1,132, -4420,19,4421,4,36, +128,4240,1,129,4311, +19,4312,4,32,82, +0,111,0,116,0, +97,0,116,0,105, +0,111,0,110,0, 67,0,111,0,110, 0,115,0,116,0, 97,0,110,0,116, -0,69,0,120,0, -112,0,114,0,101, -0,115,0,115,0, -105,0,111,0,110, -0,1,132,4352,1, -133,4422,19,4423,4, -30,73,0,100,0, -101,0,110,0,116, -0,69,0,120,0, -112,0,114,0,101, -0,115,0,115,0, -105,0,111,0,110, -0,1,133,4352,1, -134,4424,19,4425,4, -36,73,0,100,0, -101,0,110,0,116, -0,68,0,111,0, -116,0,69,0,120, -0,112,0,114,0, -101,0,115,0,115, -0,105,0,111,0, -110,0,1,134,4352, -1,135,4426,19,4427, -4,44,70,0,117, -0,110,0,99,0, -116,0,105,0,111, -0,110,0,67,0, -97,0,108,0,108, -0,69,0,120,0, -112,0,114,0,101, -0,115,0,115,0, -105,0,111,0,110, -0,1,135,4352,1, -136,4428,19,4429,4, -32,66,0,105,0, -110,0,97,0,114, -0,121,0,69,0, +0,1,129,4240,1, +130,4313,19,4314,4, +24,76,0,105,0, +115,0,116,0,67, +0,111,0,110,0, +115,0,116,0,97, +0,110,0,116,0, +1,130,4240,1,131, +4315,19,169,1,131, +4316,5,67,1,1901, +4317,16,0,585,1, +1479,4318,16,0,533, +1,112,4319,16,0, +249,1,2293,4320,16, +0,273,1,1804,4321, +16,0,585,1,431, +4322,16,0,580,1, +1443,4323,16,0,468, +1,1756,4324,16,0, +673,1,124,4325,16, +0,258,1,525,4326, +16,0,305,1,236, +4327,16,0,341,1, +346,4328,16,0,496, +1,1876,4329,16,0, +318,1,1659,4330,16, +0,673,1,1225,4331, +16,0,248,1,1117, +4332,16,0,219,1, +137,4333,16,0,272, +1,2318,4334,16,0, +673,1,1775,4335,16, +0,585,1,32,4336, +16,0,585,1,1407, +4337,16,0,487,1, +256,4338,16,0,395, +1,459,4339,16,0, +167,1,406,4340,16, +0,562,1,41,4341, +16,0,167,1,2658, +4342,16,0,659,1, +43,4343,16,0,640, +1,1990,4344,16,0, +585,1,2337,4345,16, +0,585,1,509,4346, +16,0,655,1,52, +4347,16,0,594,1, +151,4348,16,0,282, +1,447,4349,16,0, +305,1,166,4350,16, +0,293,1,462,4351, +16,0,167,1,277, +4352,16,0,434,1, +1695,4353,16,0,270, +1,1261,4354,16,0, +281,1,1153,4355,16, +0,174,1,381,4356, +16,0,550,1,2106, +4357,16,0,585,1, +1335,4358,16,0,326, +1,71,4359,16,0, +203,1,182,4360,16, +0,305,1,76,4361, +16,0,549,1,79, +4362,16,0,218,1, +1933,4363,16,0,407, +1,299,4364,16,0, +444,1,85,4365,16, +0,457,1,1515,4366, +16,0,556,1,2198, +4367,16,0,585,1, +89,4368,16,0,227, +1,1834,4369,16,0, +292,1,1622,4370,16, +0,654,1,2413,4371, +16,0,585,1,2075, +4372,16,0,585,1, +1731,4373,16,0,250, +1,97,4374,16,0, +411,1,1297,4375,16, +0,328,1,1189,4376, +16,0,217,1,102, +4377,16,0,238,1, +1585,4378,16,0,663, +1,322,4379,16,0, +458,1,1958,4380,16, +0,585,1,199,4381, +16,0,316,1,1371, +4382,16,0,396,1, +217,4383,16,0,325, +1,132,4384,19,4385, +4,36,67,0,111, +0,110,0,115,0, +116,0,97,0,110, +0,116,0,69,0, 120,0,112,0,114, 0,101,0,115,0, 115,0,105,0,111, -0,110,0,1,136, -4352,1,137,4430,19, -4431,4,30,85,0, -110,0,97,0,114, -0,121,0,69,0, +0,110,0,1,132, +4316,1,133,4386,19, +4387,4,30,73,0, +100,0,101,0,110, +0,116,0,69,0, 120,0,112,0,114, 0,101,0,115,0, 115,0,105,0,111, -0,110,0,1,137, -4352,1,138,4432,19, -4433,4,36,84,0, -121,0,112,0,101, -0,99,0,97,0, -115,0,116,0,69, +0,110,0,1,133, +4316,1,134,4388,19, +4389,4,36,73,0, +100,0,101,0,110, +0,116,0,68,0, +111,0,116,0,69, 0,120,0,112,0, 114,0,101,0,115, 0,115,0,105,0, 111,0,110,0,1, -138,4352,1,139,4434, -19,4435,4,42,80, -0,97,0,114,0, -101,0,110,0,116, -0,104,0,101,0, -115,0,105,0,115, +134,4316,1,135,4390, +19,4391,4,44,70, +0,117,0,110,0, +99,0,116,0,105, +0,111,0,110,0, +67,0,97,0,108, +0,108,0,69,0, +120,0,112,0,114, +0,101,0,115,0, +115,0,105,0,111, +0,110,0,1,135, +4316,1,136,4392,19, +4393,4,32,66,0, +105,0,110,0,97, +0,114,0,121,0, +69,0,120,0,112, +0,114,0,101,0, +115,0,115,0,105, +0,111,0,110,0, +1,136,4316,1,137, +4394,19,4395,4,30, +85,0,110,0,97, +0,114,0,121,0, +69,0,120,0,112, +0,114,0,101,0, +115,0,115,0,105, +0,111,0,110,0, +1,137,4316,1,138, +4396,19,4397,4,36, +84,0,121,0,112, +0,101,0,99,0, +97,0,115,0,116, 0,69,0,120,0, 112,0,114,0,101, 0,115,0,115,0, 105,0,111,0,110, -0,1,139,4352,1, -140,4436,19,4437,4, -56,73,0,110,0, +0,1,138,4316,1, +139,4398,19,4399,4, +42,80,0,97,0, +114,0,101,0,110, +0,116,0,104,0, +101,0,115,0,105, +0,115,0,69,0, +120,0,112,0,114, +0,101,0,115,0, +115,0,105,0,111, +0,110,0,1,139, +4316,1,140,4400,19, +4401,4,56,73,0, +110,0,99,0,114, +0,101,0,109,0, +101,0,110,0,116, +0,68,0,101,0, 99,0,114,0,101, 0,109,0,101,0, -110,0,116,0,68, -0,101,0,99,0, -114,0,101,0,109, -0,101,0,110,0, -116,0,69,0,120, -0,112,0,114,0, -101,0,115,0,115, +110,0,116,0,69, +0,120,0,112,0, +114,0,101,0,115, +0,115,0,105,0, +111,0,110,0,1, +140,4316,1,142,4402, +19,683,1,142,3875, +1,143,4403,19,705, +1,143,3875,1,144, +4404,19,3156,1,144, +3878,1,145,4405,19, +3151,1,145,3878,1, +146,4406,19,3162,1, +146,3878,1,147,4407, +19,3173,1,147,3878, +1,148,4408,19,3184, +1,148,3881,1,149, +4409,19,3190,1,149, +3881,1,150,4410,19, +3178,1,150,3885,1, +151,4411,19,3168,1, +151,3885,1,152,4412, +19,689,1,152,3889, +1,153,4413,19,710, +1,153,3889,1,154, +4414,19,695,1,154, +3893,1,155,4415,19, +700,1,155,3893,1, +156,4416,19,1636,1, +156,3899,1,157,4417, +19,1631,1,157,3899, +1,158,4418,19,1622, +1,158,3903,1,159, +4419,19,1680,1,159, +3909,1,160,4420,19, +1657,1,160,3909,1, +161,4421,19,1117,1, +161,3914,1,162,4422, +19,902,1,162,3959, +1,163,4423,19,886, +1,163,3959,1,164, +4424,19,892,1,164, +3975,1,165,4425,19, +880,1,165,3975,1, +166,4426,19,1145,1, +166,3991,1,167,4427, +19,782,1,167,3978, +1,168,4428,19,897, +1,168,3978,1,169, +4429,19,777,1,169, +3978,1,170,4430,19, +802,1,170,3978,1, +171,4431,19,771,1, +171,3978,1,172,4432, +19,765,1,172,3978, +1,173,4433,19,760, +1,173,3978,1,174, +4434,19,755,1,174, +3978,1,175,4435,19, +749,1,175,3978,1, +176,4436,19,744,1, +176,3978,1,177,4437, +19,739,1,177,3978, +1,178,4438,19,734, +1,178,3978,1,179, +4439,19,729,1,179, +3978,1,180,4440,19, +1152,1,180,4063,1, +181,4441,19,1290,1, +181,4076,1,182,4442, +19,1139,1,182,4089, +1,183,4443,19,1278, +1,183,4089,1,184, +4444,19,919,1,184, +4102,1,185,4445,19, +722,1,185,4102,1, +186,4446,19,817,1, +186,4102,1,187,4447, +19,845,1,187,4102, +1,188,4448,19,865, +1,188,4115,1,189, +4449,19,911,1,189, +4115,1,190,4450,19, +825,1,190,4128,1, +191,4451,19,838,1, +191,4128,1,192,4452, +19,791,1,192,4141, +1,193,4453,19,830, +1,193,4141,1,194, +4454,19,1477,1,194, +4154,1,195,4455,19, +1158,1,195,4154,1, +196,4456,19,1509,1, +196,4154,1,197,4457, +19,1541,1,197,4154, +1,198,4458,19,1406, +1,198,4004,1,199, +4459,19,1466,1,199, +4004,1,200,4460,19, +1133,1,200,4017,1, +201,4461,19,1573,1, +201,4017,1,202,4462, +19,1504,1,202,4017, +1,203,4463,19,1451, +1,203,4017,1,204, +4464,19,1374,1,204, +4017,1,205,4465,19, +1300,1,205,4017,1, +206,4466,19,1310,1, +206,4017,1,207,4467, +19,1128,1,207,4017, +1,208,4468,19,1557, +1,208,4017,1,209, +4469,19,1499,1,209, +4017,1,210,4470,19, +1441,1,210,4017,1, +211,4471,19,1363,1, +211,4017,1,212,4472, +19,1326,1,212,4017, +1,213,4473,19,1111, +1,213,4017,1,214, +4474,19,1461,1,214, +4017,1,215,4475,19, +1487,1,215,4017,1, +216,4476,19,1434,1, +216,4017,1,217,4477, +19,1456,1,217,4017, +1,218,4478,19,1266, +1,218,4017,1,219, +4479,19,1170,1,219, +4017,1,220,4480,19, +1100,1,220,4017,1, +221,4481,19,1531,1, +221,4017,1,222,4482, +19,1482,1,222,4017, +1,223,4483,19,1429, +1,223,4017,1,224, +4484,19,1295,1,224, +4050,1,225,4485,19, +1273,1,225,4050,1, +226,4486,19,1562,1, +226,4240,1,227,4487, +19,1586,1,227,4240, +1,228,4488,19,1552, +1,228,4240,1,229, +4489,19,1547,1,229, +4240,1,230,4490,19, +1568,1,230,4240,1, +231,4491,19,1515,1, +231,4240,1,232,4492, +19,1220,1,232,4240, +1,233,4493,19,1395, +1,233,4316,1,234, +4494,19,1181,1,234, +4316,1,235,4495,19, +1188,1,235,4316,1, +236,4496,19,1209,1, +236,4316,1,237,4497, +19,1204,1,237,4316, +1,238,4498,19,1199, +1,238,4316,1,239, +4499,19,1194,1,239, +4316,1,240,4500,19, +1384,1,240,4316,1, +241,4501,19,1412,1, +241,4316,1,242,4502, +19,1389,1,242,4316, +1,243,4503,19,1379, +1,243,4316,1,244, +4504,19,1369,1,244, +4316,1,245,4505,19, +1352,1,245,4316,1, +246,4506,19,1305,1, +246,4316,1,247,4507, +19,1214,1,247,4316, +1,248,4508,19,1175, +1,248,4316,1,249, +4509,19,1123,1,249, +4316,1,250,4510,19, +1581,1,250,4316,1, +251,4511,19,1536,1, +251,4316,1,252,4512, +19,1526,1,252,4316, +1,253,4513,19,1521, +1,253,4316,1,254, +4514,19,1472,1,254, +4316,1,255,4515,19, +1446,1,255,4316,1, +256,4516,19,1422,1, +256,4316,1,257,4517, +19,1417,1,257,4316, +1,258,4518,19,1358, +1,258,4316,1,259, +4519,19,1334,1,259, +4316,1,260,4520,19, +1400,1,260,4316,1, +261,4521,19,1493,1, +261,4316,1,262,4522, +19,1347,1,262,4316, +1,263,4523,19,1341, +1,263,4316,1,264, +4524,19,1321,1,264, +4316,1,265,4525,19, +1284,1,265,4316,1, +266,4526,19,1261,1, +266,4316,1,267,4527, +19,1106,1,267,4316, +1,268,4528,19,1596, +1,268,4316,1,269, +4529,19,1226,1,269, +4316,1,270,4530,19, +1231,1,270,4316,1, +271,4531,19,1251,1, +271,4316,1,272,4532, +19,1241,1,272,4316, +1,273,4533,19,1246, +1,273,4316,1,274, +4534,19,1236,1,274, +4316,1,275,4535,19, +1591,1,275,4316,1, +276,4536,19,1256,1, +276,4316,1,277,4537, +19,1316,1,277,4159, +1,278,4538,19,1650, +1,278,4229,1,279, +4539,19,1686,1,279, +4229,1,280,4540,19, +1666,1,280,4233,1, +281,4541,19,1985,1, +281,3933,1,282,4542, +19,1980,1,282,3933, +1,283,4543,19,1975, +1,283,3933,1,284, +4544,19,1970,1,284, +3933,1,285,4545,19, +1965,1,285,3933,1, +286,4546,19,1960,1, +286,3933,1,287,4547, +19,1955,1,287,3933, +1,288,4548,19,1944, +1,288,3953,1,289, +4549,19,1939,1,289, +3953,1,290,4550,19, +1934,1,290,3953,1, +291,4551,19,1929,1, +291,3953,1,292,4552, +19,1924,1,292,3953, +1,293,4553,19,1919, +1,293,3953,1,294, +4554,19,1914,1,294, +3953,1,295,4555,19, +1909,1,295,3953,1, +296,4556,19,1904,1, +296,3953,1,297,4557, +19,1739,1,297,3953, +1,298,4558,19,1898, +1,298,3953,1,299, +4559,19,1893,1,299, +3953,1,300,4560,19, +1888,1,300,3953,1, +301,4561,19,1732,1, +301,3953,1,302,4562, +19,1883,1,302,3953, +1,303,4563,19,1878, +1,303,3953,1,304, +4564,19,1873,1,304, +3953,1,305,4565,19, +1868,1,305,3953,1, +306,4566,19,1863,1, +306,3953,1,307,4567, +19,1858,1,307,3953, +1,308,4568,19,1725, +1,308,3953,1,309, +4569,19,1852,1,309, +3953,1,310,4570,19, +1847,1,310,3953,1, +311,4571,19,1842,1, +311,3953,1,312,4572, +19,1719,1,312,3953, +1,313,4573,19,1836, +1,313,3953,1,314, +4574,19,1767,1,314, +3953,1,315,4575,19, +1831,1,315,3953,1, +316,4576,19,1826,1, +316,3953,1,317,4577, +19,1821,1,317,3953, +1,318,4578,19,1816, +1,318,3953,1,319, +4579,19,1811,1,319, +3953,1,320,4580,19, +1806,1,320,3953,1, +321,4581,19,1801,1, +321,3953,1,322,4582, +19,4583,4,50,65, +0,114,0,103,0, +117,0,109,0,101, +0,110,0,116,0, +68,0,101,0,99, +0,108,0,97,0, +114,0,97,0,116, 0,105,0,111,0, -110,0,1,140,4352, -1,142,4438,19,683, -1,142,3911,1,143, -4439,19,705,1,143, -3911,1,144,4440,19, -3192,1,144,3914,1, -145,4441,19,3187,1, -145,3914,1,146,4442, -19,3198,1,146,3914, -1,147,4443,19,3209, -1,147,3914,1,148, -4444,19,3220,1,148, -3917,1,149,4445,19, -3226,1,149,3917,1, -150,4446,19,3214,1, -150,3921,1,151,4447, -19,3204,1,151,3921, -1,152,4448,19,689, -1,152,3925,1,153, -4449,19,710,1,153, -3925,1,154,4450,19, -695,1,154,3929,1, -155,4451,19,700,1, -155,3929,1,156,4452, -19,1636,1,156,3935, -1,157,4453,19,1631, -1,157,3935,1,158, -4454,19,1622,1,158, -3939,1,159,4455,19, -1680,1,159,3945,1, -160,4456,19,1657,1, -160,3945,1,161,4457, -19,1117,1,161,3950, -1,162,4458,19,902, -1,162,3995,1,163, -4459,19,886,1,163, -3995,1,164,4460,19, -892,1,164,4011,1, -165,4461,19,880,1, -165,4011,1,166,4462, -19,1145,1,166,4027, -1,167,4463,19,782, -1,167,4014,1,168, -4464,19,897,1,168, -4014,1,169,4465,19, -777,1,169,4014,1, -170,4466,19,802,1, -170,4014,1,171,4467, -19,771,1,171,4014, -1,172,4468,19,765, -1,172,4014,1,173, -4469,19,760,1,173, -4014,1,174,4470,19, -755,1,174,4014,1, -175,4471,19,749,1, -175,4014,1,176,4472, -19,744,1,176,4014, -1,177,4473,19,739, -1,177,4014,1,178, -4474,19,734,1,178, -4014,1,179,4475,19, -729,1,179,4014,1, -180,4476,19,1152,1, -180,4099,1,181,4477, -19,1290,1,181,4112, -1,182,4478,19,1139, -1,182,4125,1,183, -4479,19,1278,1,183, -4125,1,184,4480,19, -919,1,184,4138,1, -185,4481,19,722,1, -185,4138,1,186,4482, -19,817,1,186,4138, -1,187,4483,19,845, -1,187,4138,1,188, -4484,19,865,1,188, -4151,1,189,4485,19, -911,1,189,4151,1, -190,4486,19,825,1, -190,4164,1,191,4487, -19,838,1,191,4164, -1,192,4488,19,791, -1,192,4177,1,193, -4489,19,830,1,193, -4177,1,194,4490,19, -1477,1,194,4190,1, -195,4491,19,1158,1, -195,4190,1,196,4492, -19,1509,1,196,4190, -1,197,4493,19,1541, -1,197,4190,1,198, -4494,19,1406,1,198, -4040,1,199,4495,19, -1466,1,199,4040,1, -200,4496,19,1133,1, -200,4053,1,201,4497, -19,1573,1,201,4053, -1,202,4498,19,1504, -1,202,4053,1,203, -4499,19,1451,1,203, -4053,1,204,4500,19, -1374,1,204,4053,1, -205,4501,19,1300,1, -205,4053,1,206,4502, -19,1310,1,206,4053, -1,207,4503,19,1128, -1,207,4053,1,208, -4504,19,1557,1,208, -4053,1,209,4505,19, -1499,1,209,4053,1, -210,4506,19,1441,1, -210,4053,1,211,4507, -19,1363,1,211,4053, -1,212,4508,19,1326, -1,212,4053,1,213, -4509,19,1111,1,213, -4053,1,214,4510,19, -1461,1,214,4053,1, -215,4511,19,1487,1, -215,4053,1,216,4512, -19,1434,1,216,4053, -1,217,4513,19,1456, -1,217,4053,1,218, -4514,19,1266,1,218, -4053,1,219,4515,19, -1170,1,219,4053,1, -220,4516,19,1100,1, -220,4053,1,221,4517, -19,1531,1,221,4053, -1,222,4518,19,1482, -1,222,4053,1,223, -4519,19,1429,1,223, -4053,1,224,4520,19, -1295,1,224,4086,1, -225,4521,19,1273,1, -225,4086,1,226,4522, -19,1562,1,226,4276, -1,227,4523,19,1586, -1,227,4276,1,228, -4524,19,1552,1,228, -4276,1,229,4525,19, -1547,1,229,4276,1, -230,4526,19,1568,1, -230,4276,1,231,4527, -19,1515,1,231,4276, -1,232,4528,19,1220, -1,232,4276,1,233, -4529,19,1395,1,233, -4352,1,234,4530,19, -1181,1,234,4352,1, -235,4531,19,1188,1, -235,4352,1,236,4532, -19,1209,1,236,4352, -1,237,4533,19,1204, -1,237,4352,1,238, -4534,19,1199,1,238, -4352,1,239,4535,19, -1194,1,239,4352,1, -240,4536,19,1384,1, -240,4352,1,241,4537, -19,1412,1,241,4352, -1,242,4538,19,1389, -1,242,4352,1,243, -4539,19,1379,1,243, -4352,1,244,4540,19, -1369,1,244,4352,1, -245,4541,19,1352,1, -245,4352,1,246,4542, -19,1305,1,246,4352, -1,247,4543,19,1214, -1,247,4352,1,248, -4544,19,1175,1,248, -4352,1,249,4545,19, -1123,1,249,4352,1, -250,4546,19,1581,1, -250,4352,1,251,4547, -19,1536,1,251,4352, -1,252,4548,19,1526, -1,252,4352,1,253, -4549,19,1521,1,253, -4352,1,254,4550,19, -1472,1,254,4352,1, -255,4551,19,1446,1, -255,4352,1,256,4552, -19,1422,1,256,4352, -1,257,4553,19,1417, -1,257,4352,1,258, -4554,19,1358,1,258, -4352,1,259,4555,19, -1334,1,259,4352,1, -260,4556,19,1400,1, -260,4352,1,261,4557, -19,1493,1,261,4352, -1,262,4558,19,1347, -1,262,4352,1,263, -4559,19,1341,1,263, -4352,1,264,4560,19, -1321,1,264,4352,1, -265,4561,19,1284,1, -265,4352,1,266,4562, -19,1261,1,266,4352, -1,267,4563,19,1106, -1,267,4352,1,268, -4564,19,1596,1,268, -4352,1,269,4565,19, -1226,1,269,4352,1, -270,4566,19,1231,1, -270,4352,1,271,4567, -19,1251,1,271,4352, -1,272,4568,19,1241, -1,272,4352,1,273, -4569,19,1246,1,273, -4352,1,274,4570,19, -1236,1,274,4352,1, -275,4571,19,1591,1, -275,4352,1,276,4572, -19,1256,1,276,4352, -1,277,4573,19,1316, -1,277,4195,1,278, -4574,19,1650,1,278, -4265,1,279,4575,19, -1686,1,279,4265,1, -280,4576,19,1666,1, -280,4269,1,281,4577, -19,1985,1,281,3969, -1,282,4578,19,1980, -1,282,3969,1,283, -4579,19,1975,1,283, -3969,1,284,4580,19, -1970,1,284,3969,1, -285,4581,19,1965,1, -285,3969,1,286,4582, -19,1960,1,286,3969, -1,287,4583,19,1955, -1,287,3969,1,288, -4584,19,1944,1,288, -3989,1,289,4585,19, -1939,1,289,3989,1, -290,4586,19,1934,1, -290,3989,1,291,4587, -19,1929,1,291,3989, -1,292,4588,19,1924, -1,292,3989,1,293, -4589,19,1919,1,293, -3989,1,294,4590,19, -1914,1,294,3989,1, -295,4591,19,1909,1, -295,3989,1,296,4592, -19,1904,1,296,3989, -1,297,4593,19,1739, -1,297,3989,1,298, -4594,19,1898,1,298, -3989,1,299,4595,19, -1893,1,299,3989,1, -300,4596,19,1888,1, -300,3989,1,301,4597, -19,1732,1,301,3989, -1,302,4598,19,1883, -1,302,3989,1,303, -4599,19,1878,1,303, -3989,1,304,4600,19, -1873,1,304,3989,1, -305,4601,19,1868,1, -305,3989,1,306,4602, -19,1863,1,306,3989, -1,307,4603,19,1858, -1,307,3989,1,308, -4604,19,1725,1,308, -3989,1,309,4605,19, -1852,1,309,3989,1, -310,4606,19,1847,1, -310,3989,1,311,4607, -19,1842,1,311,3989, -1,312,4608,19,1719, -1,312,3989,1,313, -4609,19,1836,1,313, -3989,1,314,4610,19, -1767,1,314,3989,1, -315,4611,19,1831,1, -315,3989,1,316,4612, -19,1826,1,316,3989, -1,317,4613,19,1821, -1,317,3989,1,318, -4614,19,1816,1,318, -3989,1,319,4615,19, -1811,1,319,3989,1, -320,4616,19,1806,1, -320,3989,1,321,4617, -19,1801,1,321,3989, -1,322,4618,19,4619, +110,0,76,0,105, +0,115,0,116,0, +95,0,51,0,1, +322,3909,1,323,4584, +19,4585,4,28,65, +0,114,0,103,0, +117,0,109,0,101, +0,110,0,116,0, +76,0,105,0,115, +0,116,0,95,0, +51,0,1,323,4229, +1,324,4586,19,4587, 4,50,65,0,114, 0,103,0,117,0, 109,0,101,0,110, @@ -10739,16 +10737,16 @@ public yyLSLSyntax 0,111,0,110,0, 76,0,105,0,115, 0,116,0,95,0, -51,0,1,322,3945, -1,323,4620,19,4621, +52,0,1,324,3909, +1,325,4588,19,4589, 4,28,65,0,114, 0,103,0,117,0, 109,0,101,0,110, 0,116,0,76,0, 105,0,115,0,116, -0,95,0,51,0, -1,323,4265,1,324, -4622,19,4623,4,50, +0,95,0,52,0, +1,325,4229,1,326, +4590,19,4591,4,50, 65,0,114,0,103, 0,117,0,109,0, 101,0,110,0,116, @@ -10758,28 +10756,8 @@ public yyLSLSyntax 116,0,105,0,111, 0,110,0,76,0, 105,0,115,0,116, -0,95,0,52,0, -1,324,3945,1,325, -4624,19,4625,4,28, -65,0,114,0,103, -0,117,0,109,0, -101,0,110,0,116, -0,76,0,105,0, -115,0,116,0,95, -0,52,0,1,325, -4265,1,326,4626,19, -4627,4,50,65,0, -114,0,103,0,117, -0,109,0,101,0, -110,0,116,0,68, -0,101,0,99,0, -108,0,97,0,114, -0,97,0,116,0, -105,0,111,0,110, -0,76,0,105,0, -115,0,116,0,95, -0,53,0,1,326, -3945,2,0,0}; +0,95,0,53,0, +1,326,3909,2,0,0}; new Sfactory(this,"ExpressionArgument_1",new SCreator(ExpressionArgument_1_factory)); new Sfactory(this,"SimpleAssignment_8",new SCreator(SimpleAssignment_8_factory)); new Sfactory(this,"StatementList_1",new SCreator(StatementList_1_factory)); -- cgit v1.1 From 71ba85137f6b85db7c617bd6ee8ef2081b9fab61 Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 11 Jun 2012 16:45:52 +0100 Subject: Commitig the Avination implementation of llTeleportAgent and llTeleportAgentGlobalCoords. These do NOT use PERMISSION_TELEPORT like their SL counterparts because that permission is not yet understood by TPVs based on v1.x. --- .../Shared/Api/Implementation/LSL_Api.cs | 94 ++++++++++++++++++++++ .../ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 2 + .../ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 10 +++ 3 files changed, 106 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index fb0fdc9..89f2068 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4169,6 +4169,100 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ScriptSleep(5000); } + public void llTeleportAgent(string agent, string destination, LSL_Vector pos, LSL_Vector lookAt) + { + m_host.AddScriptLPS(1); + UUID agentId = new UUID(); + + Vector3 targetPos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); + Vector3 targetLookAt = new Vector3((float)lookAt.x, (float)lookAt.y, (float)lookAt.z); + + if (UUID.TryParse(agent, out agentId)) + { + ScenePresence presence = World.GetScenePresence(agentId); + if (presence != null && presence.PresenceType != PresenceType.Npc) + { + // agent must not be a god + if (presence.GodLevel >= 200) return; + + if (destination == String.Empty) + destination = World.RegionInfo.RegionName; + + // agent must be over the owners land + if (m_host.OwnerID == World.LandChannel.GetLandObject( + presence.AbsolutePosition.X, presence.AbsolutePosition.Y).LandData.OwnerID) + { + DoLLTeleport(presence, destination, targetPos, targetLookAt); + } + else // or must be wearing the prim + { + if (m_host.ParentGroup.AttachmentPoint != 0 && m_host.OwnerID == presence.UUID) + { + DoLLTeleport(presence, destination, targetPos, targetLookAt); + } + } + } + } + } + + public void llTeleportAgentGlobalCoords(string agent, LSL_Vector global_coords, LSL_Vector pos, LSL_Vector lookAt) + { + m_host.AddScriptLPS(1); + UUID agentId = new UUID(); + + ulong regionHandle = Utils.UIntsToLong((uint)global_coords.x, (uint)global_coords.y); + + Vector3 targetPos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); + Vector3 targetLookAt = new Vector3((float)lookAt.x, (float)lookAt.y, (float)lookAt.z); + if (UUID.TryParse(agent, out agentId)) + { + ScenePresence presence = World.GetScenePresence(agentId); + if (presence != null && presence.PresenceType != PresenceType.Npc) + { + // agent must not be a god + if (presence.GodLevel >= 200) return; + + // agent must be over the owners land + if (m_host.OwnerID == World.LandChannel.GetLandObject( + presence.AbsolutePosition.X, presence.AbsolutePosition.Y).LandData.OwnerID) + { + World.RequestTeleportLocation(presence.ControllingClient, regionHandle, targetPos, targetLookAt, (uint)TeleportFlags.ViaLocation); + } + else // or must be wearing the prim + { + if (m_host.ParentGroup.AttachmentPoint != 0 && m_host.OwnerID == presence.UUID) + { + World.RequestTeleportLocation(presence.ControllingClient, regionHandle, targetPos, targetLookAt, (uint)TeleportFlags.ViaLocation); + } + } + } + } + } + + private void DoLLTeleport(ScenePresence sp, string destination, Vector3 targetPos, Vector3 targetLookAt) + { + UUID assetID = KeyOrName(destination); + + // The destinaion is not an asset ID and also doesn't name a landmark. + // Use it as a sim name + if (assetID == UUID.Zero) + { + World.RequestTeleportLocation(sp.ControllingClient, destination, targetPos, targetLookAt, (uint)TeleportFlags.ViaLocation); + return; + } + + AssetBase lma = World.AssetService.Get(assetID.ToString()); + if (lma == null) + return; + + if (lma.Type != (sbyte)AssetType.Landmark) + return; + + AssetLandmark lm = new AssetLandmark(lma); + + World.RequestTeleportLocation(sp.ControllingClient, lm.RegionHandle, targetPos, targetLookAt, (uint)TeleportFlags.ViaLocation); + } + public void llTextBox(string agent, string message, int chatChannel) { IDialogModule dm = World.RequestModuleInterface(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 7f5d1fe..d39b204 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -403,6 +403,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void llTargetOmega(LSL_Vector axis, double spinrate, double gain); void llTargetRemove(int number); void llTeleportAgentHome(string agent); + void llTeleportAgent(string agent, string simname, LSL_Vector pos, LSL_Vector lookAt); + void llTeleportAgentGlobalCoords(string agent, LSL_Vector global, LSL_Vector pos, LSL_Vector lookAt); void llTextBox(string avatar, string message, int chat_channel); LSL_String llToLower(string source); LSL_String llToUpper(string source); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index c0bf29c..06f5617 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -1833,6 +1833,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_LSL_Functions.llTargetRemove(number); } + public void llTeleportAgent(string agent, string simname, LSL_Vector pos, LSL_Vector lookAt) + { + m_LSL_Functions.llTeleportAgent(agent, simname, pos, lookAt); + } + + public void llTeleportAgentGlobalCoords(string agent, LSL_Vector global, LSL_Vector pos, LSL_Vector lookAt) + { + m_LSL_Functions.llTeleportAgentGlobalCoords(agent, global, pos, lookAt); + } + public void llTeleportAgentHome(string agent) { m_LSL_Functions.llTeleportAgentHome(agent); -- cgit v1.1 From daad0a3e110699660c12e30283597db1a7344984 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 11 Jun 2012 23:30:58 +0100 Subject: Revert "Bind ~ and ! operators in LSL tighter in order to resolve issues in LSL where these aren't evaluated propertly." This reverts commit a8a9d13dc07bc9e23ebf439cbea5ece6ae002315. Accidentally committed, this patch might not be the correct approach. --- .../ScriptEngine/Shared/CodeTools/lsl.parser.cs | 7936 ++++++++++---------- 1 file changed, 3979 insertions(+), 3957 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs index 8428c96..ca56cd6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs @@ -6338,488 +6338,494 @@ public yyLSLSyntax 16,0,488,1,74, 1253,1,328,1302,1, 1048,2014,16,0,488, -1,82,1280,1,1840, -2015,16,0,488,1, -1591,2016,16,0,488, -1,1341,2017,16,0, -488,1,1096,1312,1, -93,1318,1,352,1349, -1,107,1338,1,1114, -1343,1,118,2018,16, -0,488,1,1123,2019, -16,0,488,1,371, -1365,1,1628,2020,16, -0,488,1,375,1376, -1,1882,2021,16,0, -488,1,377,1381,1, -379,1386,1,380,1391, -1,883,2022,16,0, -488,1,373,1409,1, -130,2023,16,0,488, -1,143,2024,16,0, -488,1,387,2025,16, -0,488,1,2664,2026, -16,0,488,1,1159, -2027,16,0,488,1, -157,2028,16,0,488, -1,1413,2029,16,0, -488,1,1665,2030,16, -0,488,1,412,2031, -16,0,488,1,1377, -2032,16,0,488,1, -172,2033,16,0,488, -1,1939,2034,16,0, -488,1,437,2035,16, -0,488,1,188,2036, -16,0,488,1,942, -2037,16,0,488,1, -1195,2038,16,0,488, -1,1449,2039,16,0, -488,1,1701,2040,16, -0,488,1,447,1511, -1,205,2041,16,0, -488,1,827,2042,16, -0,488,1,223,2043, -16,0,488,1,476, -1543,1,477,1549,1, -1231,2044,16,0,488, +1,82,2015,16,0, +488,1,1840,2016,16, +0,488,1,1591,2017, +16,0,488,1,1341, +2018,16,0,488,1, +1096,1312,1,93,1318, +1,352,1349,1,107, +2019,16,0,488,1, +1114,1343,1,118,2020, +16,0,488,1,1123, +2021,16,0,488,1, +371,1365,1,1628,2022, +16,0,488,1,375, +1376,1,1882,2023,16, +0,488,1,377,1381, +1,379,1386,1,380, +1391,1,883,2024,16, +0,488,1,373,1409, +1,130,2025,16,0, +488,1,143,2026,16, +0,488,1,387,2027, +16,0,488,1,2664, +2028,16,0,488,1, +1159,2029,16,0,488, +1,157,2030,16,0, +488,1,1413,2031,16, +0,488,1,1665,2032, +16,0,488,1,412, +2033,16,0,488,1, +1377,2034,16,0,488, +1,172,2035,16,0, +488,1,1939,2036,16, +0,488,1,437,2037, +16,0,488,1,188, +2038,16,0,488,1, +942,2039,16,0,488, +1,1195,2040,16,0, +488,1,1449,2041,16, +0,488,1,1701,2042, +16,0,488,1,447, +1511,1,205,2043,16, +0,488,1,827,2044, +16,0,488,1,223, +2045,16,0,488,1, +476,1543,1,477,1549, +1,1231,2046,16,0, +488,1,479,1559,1, +480,1564,1,1485,2047, +16,0,488,1,1737, +2048,16,0,488,1, +242,2049,16,0,488, +1,478,1583,1,1001, +1588,1,1002,1593,1, +19,2050,19,225,1, +19,2051,5,176,1, +256,2052,16,0,223, +1,1261,2053,16,0, +223,1,1011,1102,1, +1012,2054,16,0,455, +1,2458,876,1,262, +1119,1,1267,2055,16, +0,455,1,2021,718, +1,1521,2056,16,0, +455,1,1775,2057,16, +0,223,1,2029,725, +1,2030,731,1,2031, +736,1,2032,741,1, +2033,746,1,277,2058, +16,0,223,1,2035, +752,1,2037,757,1, +2039,762,1,32,2059, +16,0,223,1,2464, +899,1,2293,2060,16, +0,223,1,2043,774, +1,2045,779,1,2299, +2061,16,0,455,1, +41,2062,16,0,223, +1,42,2063,16,0, +455,1,40,1177,1, +44,1183,1,43,2064, +16,0,223,1,1804, +2065,16,0,223,1, +48,1190,1,49,1196, +1,47,1184,1,51, +1206,1,52,2066,16, +0,223,1,50,1201, +1,305,1211,1,1096, +1312,1,1515,2067,16, +0,223,1,2318,2068, +16,0,223,1,283, +1172,1,63,1222,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +71,2069,16,0,223, +1,73,2070,16,0, +455,1,74,1253,1, +1013,1258,1,76,2071, +16,0,223,1,1834, +2072,16,0,223,1, +2337,2073,16,0,223, +1,79,2074,16,0, +223,1,1335,2075,16, +0,223,1,299,2076, +16,0,223,1,82, +2077,16,0,455,1, +1840,2078,16,0,455, +1,1297,2079,16,0, +223,1,85,2080,16, +0,223,1,1341,2081, +16,0,455,1,89, +2082,16,0,223,1, +1303,2083,16,0,455, +1,509,2084,16,0, +223,1,93,1318,1, +322,2085,16,0,223, +1,97,2086,16,0, +223,1,2041,768,1, +1555,2087,16,0,455, +1,827,2088,16,0, +455,1,102,2089,16, +0,223,1,1860,821, +1,1803,787,1,2364, +827,1,107,2090,16, +0,455,1,1114,1343, +1,112,2091,16,0, +223,1,1117,2092,16, +0,223,1,352,1349, +1,1873,835,1,118, +2093,16,0,455,1, +1123,2094,16,0,455, +1,371,1365,1,515, +2095,16,0,455,1, +1377,2096,16,0,455, +1,124,2097,16,0, +223,1,1882,2098,16, +0,455,1,377,1381, +1,379,1386,1,380, +1391,1,130,2099,16, +0,455,1,346,2100, +16,0,223,1,2075, +2101,16,0,223,1, +373,1409,1,387,2102, +16,0,455,1,137, +2103,16,0,223,1, +143,2104,16,0,455, +1,1901,2105,16,0, +223,1,1048,2106,16, +0,455,1,2658,2107, +16,0,223,1,1153, +2108,16,0,223,1, +375,1376,1,151,2109, +16,0,223,1,1407, +2110,16,0,223,1, +1659,2111,16,0,223, +1,2413,2112,16,0, +223,1,1159,2113,16, +0,455,1,381,2114, +16,0,223,1,157, +2115,16,0,455,1, +1413,2116,16,0,455, +1,883,2117,16,0, +455,1,1371,2118,16, +0,223,1,328,1302, +1,2105,814,1,2106, +2119,16,0,223,1, +166,2120,16,0,223, +1,525,2121,16,0, +223,1,1622,2122,16, +0,223,1,406,2123, +16,0,223,1,1574, +799,1,172,2124,16, +0,455,1,1931,861, +1,412,2125,16,0, +455,1,1933,2126,16, +0,223,1,1876,2127, +16,0,223,1,431, +2128,16,0,223,1, +1585,2129,16,0,223, +1,182,2130,16,0, +223,1,1628,2131,16, +0,455,1,1189,2132, +16,0,223,1,437, +2133,16,0,455,1, +1591,2134,16,0,455, +1,188,2135,16,0, +455,1,1695,2136,16, +0,223,1,2198,2137, +16,0,223,1,1195, +2138,16,0,455,1, +1449,2139,16,0,455, +1,1701,2140,16,0, +455,1,447,2141,16, +0,223,1,199,2142, +16,0,223,1,2459, +882,1,1958,2143,16, +0,223,1,2462,889, +1,1657,894,1,205, +2144,16,0,455,1, +459,2145,16,0,223, +1,462,2146,16,0, +223,1,1665,2147,16, +0,455,1,217,2148, +16,0,223,1,2227, +908,1,942,2149,16, +0,455,1,1225,2150, +16,0,223,1,223, +2151,16,0,455,1, +1479,2152,16,0,223, +1,1731,2153,16,0, +223,1,477,1549,1, +1231,2154,16,0,455, 1,479,1559,1,480, -1564,1,1485,2045,16, -0,488,1,1737,2046, -16,0,488,1,242, -2047,16,0,488,1, -478,1583,1,1001,1588, -1,1002,1593,1,19, -2048,19,225,1,19, -2049,5,176,1,256, -2050,16,0,223,1, -1261,2051,16,0,223, -1,1011,1102,1,1012, -2052,16,0,455,1, -2458,876,1,262,1119, -1,1267,2053,16,0, -455,1,2021,718,1, -1521,2054,16,0,455, -1,1775,2055,16,0, -223,1,2029,725,1, -2030,731,1,2031,736, -1,2032,741,1,2033, -746,1,277,2056,16, -0,223,1,2035,752, -1,2037,757,1,2039, -762,1,32,2057,16, -0,223,1,2464,899, -1,2293,2058,16,0, -223,1,2043,774,1, -2045,779,1,2299,2059, -16,0,455,1,41, -2060,16,0,223,1, -42,2061,16,0,455, -1,40,1177,1,44, -1183,1,43,2062,16, -0,223,1,1804,2063, -16,0,223,1,48, +1564,1,1485,2155,16, +0,455,1,1737,2156, +16,0,455,1,1989, +916,1,1990,2157,16, +0,223,1,1443,2158, +16,0,223,1,236, +2159,16,0,223,1, +2136,842,1,2664,2160, +16,0,455,1,476, +1543,1,242,2161,16, +0,455,1,478,1583, +1,1939,2162,16,0, +455,1,1001,1588,1, +1002,1593,1,1756,2163, +16,0,223,1,20, +2164,19,442,1,20, +2165,5,84,1,1011, +1102,1,1012,2166,16, +0,440,1,1013,1258, +1,262,1119,1,1267, +2167,16,0,440,1, +515,2168,16,0,440, +1,1521,2169,16,0, +440,1,525,1216,1, +283,1172,1,2299,2170, +16,0,440,1,42, +2171,16,0,440,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +2172,16,0,440,1, +1555,2173,16,0,440, +1,50,1201,1,48, 1190,1,49,1196,1, -47,1184,1,51,1206, -1,52,2064,16,0, -223,1,50,1201,1, -305,1211,1,1096,1312, -1,1515,2065,16,0, -223,1,2318,2066,16, -0,223,1,283,1172, -1,63,1222,1,66, +51,1206,1,63,1222, +1,305,1211,1,66, 1228,1,67,1233,1, 68,1238,1,69,1243, -1,70,1248,1,71, -2067,16,0,223,1, -73,2068,16,0,455, -1,74,1253,1,1013, -1258,1,76,2069,16, -0,223,1,1834,2070, -16,0,223,1,2337, -2071,16,0,223,1, -79,2072,16,0,223, -1,1335,2073,16,0, -223,1,299,2074,16, -0,223,1,82,1280, -1,1840,2075,16,0, -455,1,1297,2076,16, -0,223,1,85,2077, -16,0,223,1,1341, -2078,16,0,455,1, -89,2079,16,0,223, -1,1303,2080,16,0, -455,1,509,2081,16, -0,223,1,93,1318, -1,322,2082,16,0, -223,1,97,2083,16, -0,223,1,2041,768, -1,1555,2084,16,0, -455,1,827,2085,16, -0,455,1,102,2086, -16,0,223,1,1860, -821,1,1803,787,1, -2364,827,1,107,1338, -1,1114,1343,1,112, -2087,16,0,223,1, -1117,2088,16,0,223, -1,352,1349,1,1873, -835,1,118,2089,16, -0,455,1,1123,2090, -16,0,455,1,371, -1365,1,515,2091,16, -0,455,1,1377,2092, -16,0,455,1,124, -2093,16,0,223,1, -1882,2094,16,0,455, -1,377,1381,1,379, -1386,1,380,1391,1, -130,2095,16,0,455, -1,346,2096,16,0, -223,1,2075,2097,16, -0,223,1,373,1409, -1,387,2098,16,0, -455,1,137,2099,16, -0,223,1,143,2100, -16,0,455,1,1901, -2101,16,0,223,1, -1048,2102,16,0,455, -1,2658,2103,16,0, -223,1,1153,2104,16, -0,223,1,375,1376, -1,151,2105,16,0, -223,1,1407,2106,16, -0,223,1,1659,2107, -16,0,223,1,2413, -2108,16,0,223,1, -1159,2109,16,0,455, -1,381,2110,16,0, -223,1,157,2111,16, -0,455,1,1413,2112, -16,0,455,1,883, -2113,16,0,455,1, -1371,2114,16,0,223, -1,328,1302,1,2105, -814,1,2106,2115,16, -0,223,1,166,2116, -16,0,223,1,525, -2117,16,0,223,1, -1622,2118,16,0,223, -1,406,2119,16,0, -223,1,1574,799,1, -172,2120,16,0,455, -1,1931,861,1,412, -2121,16,0,455,1, -1933,2122,16,0,223, -1,1876,2123,16,0, -223,1,431,2124,16, -0,223,1,1585,2125, -16,0,223,1,182, -2126,16,0,223,1, -1628,2127,16,0,455, -1,1189,2128,16,0, -223,1,437,2129,16, -0,455,1,1591,2130, -16,0,455,1,188, -2131,16,0,455,1, -1695,2132,16,0,223, -1,2198,2133,16,0, -223,1,1195,2134,16, -0,455,1,1449,2135, -16,0,455,1,1701, -2136,16,0,455,1, -447,2137,16,0,223, -1,199,2138,16,0, -223,1,2459,882,1, -1958,2139,16,0,223, -1,2462,889,1,1657, -894,1,205,2140,16, -0,455,1,459,2141, -16,0,223,1,462, -2142,16,0,223,1, -1665,2143,16,0,455, -1,217,2144,16,0, -223,1,2227,908,1, -942,2145,16,0,455, -1,1225,2146,16,0, -223,1,223,2147,16, -0,455,1,1479,2148, -16,0,223,1,1731, -2149,16,0,223,1, -477,1549,1,1231,2150, -16,0,455,1,479, +1,70,1248,1,73, +2174,16,0,440,1, +74,1253,1,328,2175, +16,0,440,1,1048, +2176,16,0,440,1, +82,2177,16,0,440, +1,1840,2178,16,0, +440,1,1591,2179,16, +0,440,1,1341,2180, +16,0,440,1,1096, +1312,1,93,1318,1, +352,2181,16,0,440, +1,107,2182,16,0, +440,1,1114,1343,1, +118,2183,16,0,440, +1,1123,2184,16,0, +440,1,371,1365,1, +1628,2185,16,0,440, +1,375,1376,1,1882, +2186,16,0,440,1, +377,1381,1,379,1386, +1,380,1391,1,883, +2187,16,0,440,1, +373,1409,1,130,2188, +16,0,440,1,143, +2189,16,0,440,1, +387,2190,16,0,440, +1,2664,2191,16,0, +440,1,1159,2192,16, +0,440,1,157,2193, +16,0,440,1,1413, +2194,16,0,440,1, +1665,2195,16,0,440, +1,412,2196,16,0, +440,1,1377,2197,16, +0,440,1,172,2198, +16,0,440,1,1939, +2199,16,0,440,1, +437,2200,16,0,440, +1,188,2201,16,0, +440,1,942,2202,16, +0,440,1,1195,2203, +16,0,440,1,1449, +2204,16,0,440,1, +1701,2205,16,0,440, +1,447,1511,1,205, +2206,16,0,440,1, +827,2207,16,0,440, +1,223,2208,16,0, +440,1,476,1543,1, +477,1549,1,1231,2209, +16,0,440,1,479, 1559,1,480,1564,1, -1485,2151,16,0,455, -1,1737,2152,16,0, -455,1,1989,916,1, -1990,2153,16,0,223, -1,1443,2154,16,0, -223,1,236,2155,16, -0,223,1,2136,842, -1,2664,2156,16,0, -455,1,476,1543,1, -242,2157,16,0,455, -1,478,1583,1,1939, -2158,16,0,455,1, -1001,1588,1,1002,1593, -1,1756,2159,16,0, -223,1,20,2160,19, -442,1,20,2161,5, +1485,2210,16,0,440, +1,1737,2211,16,0, +440,1,242,2212,16, +0,440,1,478,1583, +1,1001,1588,1,1002, +1593,1,21,2213,19, +432,1,21,2214,5, 84,1,1011,1102,1, -1012,2162,16,0,440, +1012,2215,16,0,430, 1,1013,1258,1,262, -1119,1,1267,2163,16, -0,440,1,515,2164, -16,0,440,1,1521, -2165,16,0,440,1, +1119,1,1267,2216,16, +0,430,1,515,2217, +16,0,430,1,1521, +2218,16,0,430,1, 525,1216,1,283,1172, -1,2299,2166,16,0, -440,1,42,2167,16, -0,440,1,40,1177, +1,2299,2219,16,0, +430,1,42,2220,16, +0,430,1,40,1177, 1,44,1183,1,47, -1184,1,1303,2168,16, -0,440,1,1555,2169, -16,0,440,1,50, +1184,1,1303,2221,16, +0,430,1,1555,2222, +16,0,430,1,50, 1201,1,48,1190,1, 49,1196,1,51,1206, 1,63,1222,1,305, 1211,1,66,1228,1, 67,1233,1,68,1238, 1,69,1243,1,70, -1248,1,73,2170,16, -0,440,1,74,1253, -1,328,2171,16,0, -440,1,1048,2172,16, -0,440,1,82,1280, -1,1840,2173,16,0, -440,1,1591,2174,16, -0,440,1,1341,2175, -16,0,440,1,1096, -1312,1,93,1318,1, -352,2176,16,0,440, -1,107,1338,1,1114, -1343,1,118,2177,16, -0,440,1,1123,2178, -16,0,440,1,371, -1365,1,1628,2179,16, -0,440,1,375,1376, -1,1882,2180,16,0, -440,1,377,1381,1, -379,1386,1,380,1391, -1,883,2181,16,0, -440,1,373,1409,1, -130,2182,16,0,440, -1,143,2183,16,0, -440,1,387,2184,16, -0,440,1,2664,2185, -16,0,440,1,1159, -2186,16,0,440,1, -157,2187,16,0,440, -1,1413,2188,16,0, -440,1,1665,2189,16, -0,440,1,412,2190, -16,0,440,1,1377, -2191,16,0,440,1, -172,2192,16,0,440, -1,1939,2193,16,0, -440,1,437,2194,16, -0,440,1,188,2195, -16,0,440,1,942, -2196,16,0,440,1, -1195,2197,16,0,440, -1,1449,2198,16,0, -440,1,1701,2199,16, -0,440,1,447,1511, -1,205,2200,16,0, -440,1,827,2201,16, -0,440,1,223,2202, -16,0,440,1,476, -1543,1,477,1549,1, -1231,2203,16,0,440, -1,479,1559,1,480, -1564,1,1485,2204,16, -0,440,1,1737,2205, -16,0,440,1,242, -2206,16,0,440,1, -478,1583,1,1001,1588, -1,1002,1593,1,21, -2207,19,432,1,21, -2208,5,84,1,1011, -1102,1,1012,2209,16, -0,430,1,1013,1258, -1,262,1119,1,1267, -2210,16,0,430,1, -515,2211,16,0,430, -1,1521,2212,16,0, -430,1,525,1216,1, -283,1172,1,2299,2213, -16,0,430,1,42, -2214,16,0,430,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -2215,16,0,430,1, -1555,2216,16,0,430, -1,50,1201,1,48, -1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, -1228,1,67,1233,1, -68,1238,1,69,1243, -1,70,1248,1,73, -2217,16,0,430,1, -74,1253,1,328,2218, -16,0,430,1,1048, -2219,16,0,430,1, -82,1280,1,1840,2220, -16,0,430,1,1591, -2221,16,0,430,1, -1341,2222,16,0,430, -1,1096,1312,1,93, -1318,1,352,2223,16, -0,430,1,107,1338, -1,1114,1343,1,118, -2224,16,0,430,1, -1123,2225,16,0,430, -1,371,1365,1,1628, -2226,16,0,430,1, -375,1376,1,1882,2227, -16,0,430,1,377, -1381,1,379,1386,1, -380,1391,1,883,2228, -16,0,430,1,373, -1409,1,130,2229,16, -0,430,1,143,2230, -16,0,430,1,387, +1248,1,73,2223,16, +0,430,1,74,1253, +1,328,2224,16,0, +430,1,1048,2225,16, +0,430,1,82,2226, +16,0,430,1,1840, +2227,16,0,430,1, +1591,2228,16,0,430, +1,1341,2229,16,0, +430,1,1096,1312,1, +93,1318,1,352,2230, +16,0,430,1,107, 2231,16,0,430,1, -2664,2232,16,0,430, -1,1159,2233,16,0, -430,1,157,2234,16, -0,430,1,1413,2235, -16,0,430,1,1665, -2236,16,0,430,1, -412,2237,16,0,430, -1,1377,2238,16,0, -430,1,172,2239,16, -0,430,1,1939,2240, -16,0,430,1,437, -2241,16,0,430,1, -188,2242,16,0,430, -1,942,2243,16,0, -430,1,1195,2244,16, -0,430,1,1449,2245, -16,0,430,1,1701, -2246,16,0,430,1, -447,1511,1,205,2247, -16,0,430,1,827, -2248,16,0,430,1, -223,2249,16,0,430, -1,476,1543,1,477, -1549,1,1231,2250,16, -0,430,1,479,1559, -1,480,1564,1,1485, -2251,16,0,430,1, -1737,2252,16,0,430, -1,242,2253,16,0, -430,1,478,1583,1, -1001,1588,1,1002,1593, -1,22,2254,19,383, -1,22,2255,5,84, -1,1011,1102,1,1012, -2256,16,0,381,1, -1013,1258,1,262,1119, -1,1267,2257,16,0, -381,1,515,2258,16, -0,381,1,1521,2259, -16,0,381,1,525, -1216,1,283,1172,1, -2299,2260,16,0,381, -1,42,2261,16,0, -381,1,40,1177,1, -44,1183,1,47,1184, -1,1303,2262,16,0, -381,1,1555,2263,16, -0,381,1,50,1201, -1,48,1190,1,49, -1196,1,51,1206,1, -63,1222,1,305,1211, -1,66,1228,1,67, -1233,1,68,1238,1, -69,1243,1,70,1248, -1,73,2264,16,0, -381,1,74,1253,1, -328,2265,16,0,381, -1,1048,2266,16,0, -381,1,82,1280,1, -1840,2267,16,0,381, -1,1591,2268,16,0, -381,1,1341,2269,16, -0,381,1,1096,1312, -1,93,1318,1,352, -2270,16,0,381,1, -107,1338,1,1114,1343, -1,118,2271,16,0, -381,1,1123,2272,16, +1114,1343,1,118,2232, +16,0,430,1,1123, +2233,16,0,430,1, +371,1365,1,1628,2234, +16,0,430,1,375, +1376,1,1882,2235,16, +0,430,1,377,1381, +1,379,1386,1,380, +1391,1,883,2236,16, +0,430,1,373,1409, +1,130,2237,16,0, +430,1,143,2238,16, +0,430,1,387,2239, +16,0,430,1,2664, +2240,16,0,430,1, +1159,2241,16,0,430, +1,157,2242,16,0, +430,1,1413,2243,16, +0,430,1,1665,2244, +16,0,430,1,412, +2245,16,0,430,1, +1377,2246,16,0,430, +1,172,2247,16,0, +430,1,1939,2248,16, +0,430,1,437,2249, +16,0,430,1,188, +2250,16,0,430,1, +942,2251,16,0,430, +1,1195,2252,16,0, +430,1,1449,2253,16, +0,430,1,1701,2254, +16,0,430,1,447, +1511,1,205,2255,16, +0,430,1,827,2256, +16,0,430,1,223, +2257,16,0,430,1, +476,1543,1,477,1549, +1,1231,2258,16,0, +430,1,479,1559,1, +480,1564,1,1485,2259, +16,0,430,1,1737, +2260,16,0,430,1, +242,2261,16,0,430, +1,478,1583,1,1001, +1588,1,1002,1593,1, +22,2262,19,383,1, +22,2263,5,84,1, +1011,1102,1,1012,2264, +16,0,381,1,1013, +1258,1,262,1119,1, +1267,2265,16,0,381, +1,515,2266,16,0, +381,1,1521,2267,16, +0,381,1,525,1216, +1,283,1172,1,2299, +2268,16,0,381,1, +42,2269,16,0,381, +1,40,1177,1,44, +1183,1,47,1184,1, +1303,2270,16,0,381, +1,1555,2271,16,0, +381,1,50,1201,1, +48,1190,1,49,1196, +1,51,1206,1,63, +1222,1,305,1211,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +73,2272,16,0,381, +1,74,1253,1,328, +2273,16,0,381,1, +1048,2274,16,0,381, +1,82,2275,16,0, +381,1,1840,2276,16, +0,381,1,1591,2277, +16,0,381,1,1341, +2278,16,0,381,1, +1096,1312,1,93,1318, +1,352,2279,16,0, +381,1,107,2280,16, +0,381,1,1114,1343, +1,118,2281,16,0, +381,1,1123,2282,16, 0,381,1,371,1365, -1,1628,2273,16,0, +1,1628,2283,16,0, 381,1,375,1376,1, -1882,2274,16,0,381, +1882,2284,16,0,381, 1,377,1381,1,379, 1386,1,380,1391,1, -883,2275,16,0,381, +883,2285,16,0,381, 1,373,1409,1,130, -2276,16,0,381,1, -143,2277,16,0,381, -1,387,2278,16,0, -381,1,2664,2279,16, -0,381,1,1159,2280, +2286,16,0,381,1, +143,2287,16,0,381, +1,387,2288,16,0, +381,1,2664,2289,16, +0,381,1,1159,2290, 16,0,381,1,157, -2281,16,0,381,1, -1413,2282,16,0,381, -1,1665,2283,16,0, -381,1,412,2284,16, -0,381,1,1377,2285, +2291,16,0,381,1, +1413,2292,16,0,381, +1,1665,2293,16,0, +381,1,412,2294,16, +0,381,1,1377,2295, 16,0,381,1,172, -2286,16,0,381,1, -1939,2287,16,0,381, -1,437,2288,16,0, -381,1,188,2289,16, -0,381,1,942,2290, +2296,16,0,381,1, +1939,2297,16,0,381, +1,437,2298,16,0, +381,1,188,2299,16, +0,381,1,942,2300, 16,0,381,1,1195, -2291,16,0,381,1, -1449,2292,16,0,381, -1,1701,2293,16,0, +2301,16,0,381,1, +1449,2302,16,0,381, +1,1701,2303,16,0, 381,1,447,1511,1, -205,2294,16,0,381, -1,827,2295,16,0, -381,1,223,2296,16, +205,2304,16,0,381, +1,827,2305,16,0, +381,1,223,2306,16, 0,381,1,476,1543, 1,477,1549,1,1231, -2297,16,0,381,1, +2307,16,0,381,1, 479,1559,1,480,1564, -1,1485,2298,16,0, -381,1,1737,2299,16, -0,381,1,242,2300, +1,1485,2308,16,0, +381,1,1737,2309,16, +0,381,1,242,2310, 16,0,381,1,478, 1583,1,1001,1588,1, -1002,1593,1,23,2301, -19,504,1,23,2302, -5,38,1,1901,2303, +1002,1593,1,23,2311, +19,504,1,23,2312, +5,38,1,1901,2313, 16,0,502,1,2075, -2304,16,0,502,1, +2314,16,0,502,1, 1860,821,1,1803,787, -1,1804,2305,16,0, -502,1,2413,2306,16, -0,502,1,2198,2307, +1,1804,2315,16,0, +502,1,2413,2316,16, +0,502,1,2198,2317, 16,0,502,1,1873, 835,1,1657,894,1, -1989,916,1,1990,2308, +1989,916,1,1990,2318, 16,0,502,1,1775, -2309,16,0,502,1, -32,2310,16,0,502, +2319,16,0,502,1, +32,2320,16,0,502, 1,2105,814,1,2106, -2311,16,0,502,1, +2321,16,0,502,1, 2364,827,1,2227,908, -1,2337,2312,16,0, +1,2337,2322,16,0, 502,1,2021,718,1, 2458,876,1,2459,882, 1,2462,889,1,2136, @@ -6832,1195 +6838,1207 @@ public yyLSLSyntax 861,1,2041,768,1, 2043,774,1,2045,779, 1,1574,799,1,1958, -2313,16,0,502,1, -24,2314,19,177,1, -24,2315,5,5,1, -44,2316,16,0,175, -1,377,2317,16,0, -540,1,40,2318,16, -0,674,1,63,2319, +2323,16,0,502,1, +24,2324,19,177,1, +24,2325,5,5,1, +44,2326,16,0,175, +1,377,2327,16,0, +540,1,40,2328,16, +0,674,1,63,2329, 16,0,196,1,373, -2320,16,0,536,1, -25,2321,19,291,1, -25,2322,5,177,1, -256,2323,16,0,545, -1,1261,2324,16,0, +2330,16,0,536,1, +25,2331,19,291,1, +25,2332,5,177,1, +256,2333,16,0,545, +1,1261,2334,16,0, 545,1,1011,1102,1, -1012,2325,16,0,289, +1012,2335,16,0,289, 1,2458,876,1,262, -1119,1,1267,2326,16, +1119,1,1267,2336,16, 0,289,1,2021,718, -1,1521,2327,16,0, -289,1,1775,2328,16, +1,1521,2337,16,0, +289,1,1775,2338,16, 0,545,1,2029,725, 1,2030,731,1,2031, 736,1,2032,741,1, -2033,746,1,277,2329, +2033,746,1,277,2339, 16,0,545,1,2035, 752,1,2037,757,1, -2039,762,1,32,2330, +2039,762,1,32,2340, 16,0,545,1,2464, -899,1,2293,2331,16, +899,1,2293,2341,16, 0,545,1,2043,774, 1,2045,779,1,2299, -2332,16,0,289,1, -41,2333,16,0,545, -1,42,2334,16,0, +2342,16,0,289,1, +41,2343,16,0,545, +1,42,2344,16,0, 289,1,40,1177,1, -44,1183,1,43,2335, +44,1183,1,43,2345, 16,0,545,1,1804, -2336,16,0,545,1, +2346,16,0,545,1, 48,1190,1,49,1196, 1,47,1184,1,51, -1206,1,52,2337,16, +1206,1,52,2347,16, 0,545,1,50,1201, 1,305,1211,1,1096, -1312,1,1515,2338,16, -0,545,1,2318,2339, +1312,1,1515,2348,16, +0,545,1,2318,2349, 16,0,545,1,62, -2340,16,0,545,1, +2350,16,0,545,1, 63,1222,1,66,1228, 1,67,1233,1,68, 1238,1,69,1243,1, -70,1248,1,71,2341, +70,1248,1,71,2351, 16,0,545,1,283, -1172,1,73,2342,16, +1172,1,73,2352,16, 0,289,1,74,1253, 1,1013,1258,1,76, -2343,16,0,545,1, -1834,2344,16,0,545, -1,2337,2345,16,0, -545,1,79,2346,16, -0,545,1,1335,2347, +2353,16,0,545,1, +1834,2354,16,0,545, +1,2337,2355,16,0, +545,1,79,2356,16, +0,545,1,1335,2357, 16,0,545,1,299, -2348,16,0,545,1, -82,1280,1,1840,2349, -16,0,289,1,1297, -2350,16,0,545,1, -85,2351,16,0,545, -1,1341,2352,16,0, -289,1,89,2353,16, -0,545,1,1303,2354, -16,0,289,1,509, -2355,16,0,545,1, -93,1318,1,322,2356, -16,0,545,1,97, -2357,16,0,545,1, -2041,768,1,1555,2358, -16,0,289,1,827, -2359,16,0,289,1, -102,2360,16,0,545, -1,1860,821,1,1803, -787,1,2364,827,1, -107,1338,1,1114,1343, -1,112,2361,16,0, -545,1,1117,2362,16, -0,545,1,352,1349, -1,1873,835,1,118, -1355,1,1123,2363,16, -0,289,1,371,1365, -1,515,2364,16,0, -289,1,1377,2365,16, -0,289,1,124,2366, -16,0,545,1,1882, -2367,16,0,289,1, -377,1381,1,379,1386, -1,380,1391,1,130, -1414,1,346,2368,16, -0,545,1,2075,2369, -16,0,545,1,373, -1409,1,387,2370,16, -0,289,1,137,2371, -16,0,545,1,143, -2372,16,0,289,1, -1901,2373,16,0,545, -1,1048,1344,1,2658, -2374,16,0,545,1, -1153,2375,16,0,545, -1,375,1376,1,151, -2376,16,0,545,1, -1407,2377,16,0,545, -1,1659,2378,16,0, -545,1,2413,2379,16, -0,545,1,1159,2380, -16,0,289,1,381, +2358,16,0,545,1, +82,2359,16,0,289, +1,1840,2360,16,0, +289,1,1297,2361,16, +0,545,1,85,2362, +16,0,545,1,1341, +2363,16,0,289,1, +89,2364,16,0,545, +1,1303,2365,16,0, +289,1,509,2366,16, +0,545,1,93,1318, +1,322,2367,16,0, +545,1,97,2368,16, +0,545,1,2041,768, +1,1555,2369,16,0, +289,1,827,2370,16, +0,289,1,102,2371, +16,0,545,1,1860, +821,1,1803,787,1, +2364,827,1,107,2372, +16,0,289,1,1114, +1343,1,112,2373,16, +0,545,1,1117,2374, +16,0,545,1,352, +1349,1,1873,835,1, +118,1355,1,1123,2375, +16,0,289,1,371, +1365,1,515,2376,16, +0,289,1,1377,2377, +16,0,289,1,124, +2378,16,0,545,1, +1882,2379,16,0,289, +1,377,1381,1,379, +1386,1,380,1391,1, +130,1414,1,346,2380, +16,0,545,1,2075, 2381,16,0,545,1, -157,2382,16,0,289, -1,1413,2383,16,0, -289,1,883,2384,16, -0,289,1,1371,2385, -16,0,545,1,328, -1302,1,2105,814,1, -2106,2386,16,0,545, -1,166,2387,16,0, -545,1,525,2388,16, -0,545,1,1622,2389, -16,0,545,1,406, -2390,16,0,545,1, -1574,799,1,172,1469, -1,1931,861,1,412, -2391,16,0,289,1, -1933,2392,16,0,545, -1,1876,2393,16,0, -545,1,431,2394,16, -0,545,1,1585,2395, -16,0,545,1,182, -2396,16,0,545,1, -1628,2397,16,0,289, -1,1189,2398,16,0, -545,1,437,2399,16, -0,289,1,1591,2400, -16,0,289,1,188, -1518,1,1695,2401,16, -0,545,1,2198,2402, -16,0,545,1,1195, -2403,16,0,289,1, -1449,2404,16,0,289, -1,1701,2405,16,0, -289,1,447,2406,16, -0,545,1,199,2407, -16,0,545,1,2459, -882,1,1958,2408,16, -0,545,1,2462,889, -1,1657,894,1,205, -2409,16,0,289,1, -459,2410,16,0,545, -1,462,2411,16,0, -545,1,1665,2412,16, -0,289,1,217,2413, -16,0,545,1,2227, -908,1,942,1490,1, -1225,2414,16,0,545, -1,223,2415,16,0, -289,1,1479,2416,16, -0,545,1,1731,2417, -16,0,545,1,477, -1549,1,1231,2418,16, -0,289,1,479,1559, +373,1409,1,387,2382, +16,0,289,1,137, +2383,16,0,545,1, +143,2384,16,0,289, +1,1901,2385,16,0, +545,1,1048,1344,1, +2658,2386,16,0,545, +1,1153,2387,16,0, +545,1,375,1376,1, +151,2388,16,0,545, +1,1407,2389,16,0, +545,1,1659,2390,16, +0,545,1,2413,2391, +16,0,545,1,1159, +2392,16,0,289,1, +381,2393,16,0,545, +1,157,2394,16,0, +289,1,1413,2395,16, +0,289,1,883,2396, +16,0,289,1,1371, +2397,16,0,545,1, +328,1302,1,2105,814, +1,2106,2398,16,0, +545,1,166,2399,16, +0,545,1,525,2400, +16,0,545,1,1622, +2401,16,0,545,1, +406,2402,16,0,545, +1,1574,799,1,172, +1469,1,1931,861,1, +412,2403,16,0,289, +1,1933,2404,16,0, +545,1,1876,2405,16, +0,545,1,431,2406, +16,0,545,1,1585, +2407,16,0,545,1, +182,2408,16,0,545, +1,1628,2409,16,0, +289,1,1189,2410,16, +0,545,1,437,2411, +16,0,289,1,1591, +2412,16,0,289,1, +188,1518,1,1695,2413, +16,0,545,1,2198, +2414,16,0,545,1, +1195,2415,16,0,289, +1,1449,2416,16,0, +289,1,1701,2417,16, +0,289,1,447,2418, +16,0,545,1,199, +2419,16,0,545,1, +2459,882,1,1958,2420, +16,0,545,1,2462, +889,1,1657,894,1, +205,2421,16,0,289, +1,459,2422,16,0, +545,1,462,2423,16, +0,545,1,1665,2424, +16,0,289,1,217, +2425,16,0,545,1, +2227,908,1,942,1490, +1,1225,2426,16,0, +545,1,223,2427,16, +0,289,1,1479,2428, +16,0,545,1,1731, +2429,16,0,545,1, +477,1549,1,1231,2430, +16,0,289,1,479, +1559,1,480,1564,1, +1485,2431,16,0,289, +1,1737,2432,16,0, +289,1,1989,916,1, +1990,2433,16,0,545, +1,1443,2434,16,0, +545,1,236,2435,16, +0,545,1,2136,842, +1,2664,2436,16,0, +289,1,476,1543,1, +242,2437,16,0,289, +1,478,1583,1,1939, +2438,16,0,289,1, +1001,1588,1,1002,1593, +1,1756,2439,16,0, +545,1,26,2440,19, +308,1,26,2441,5, +84,1,1011,1102,1, +1012,2442,16,0,306, +1,1013,1258,1,262, +1119,1,1267,2443,16, +0,306,1,515,2444, +16,0,660,1,1521, +2445,16,0,306,1, +525,1216,1,283,1172, +1,2299,2446,16,0, +306,1,42,2447,16, +0,306,1,40,1177, +1,44,1183,1,47, +1184,1,1303,2448,16, +0,306,1,1555,2449, +16,0,306,1,50, +1201,1,48,1190,1, +49,1196,1,51,1206, +1,63,1222,1,305, +1211,1,66,1228,1, +67,1233,1,68,1238, +1,69,1243,1,70, +1248,1,73,2450,16, +0,306,1,74,1253, +1,328,1302,1,1048, +1344,1,82,2451,16, +0,306,1,1840,2452, +16,0,306,1,1591, +2453,16,0,306,1, +1341,2454,16,0,306, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,2455,16,0,306, +1,1114,1343,1,118, +1355,1,1123,2456,16, +0,306,1,371,1365, +1,1628,2457,16,0, +306,1,375,1376,1, +1882,2458,16,0,306, +1,377,1381,1,379, +1386,1,380,1391,1, +883,2459,16,0,306, +1,373,1409,1,130, +1414,1,143,2460,16, +0,306,1,387,2461, +16,0,306,1,2664, +2462,16,0,306,1, +1159,2463,16,0,306, +1,157,2464,16,0, +306,1,1413,2465,16, +0,306,1,1665,2466, +16,0,306,1,412, +2467,16,0,306,1, +1377,2468,16,0,306, +1,172,1469,1,1939, +2469,16,0,306,1, +437,2470,16,0,588, +1,188,1518,1,942, +1490,1,1195,2471,16, +0,306,1,1449,2472, +16,0,306,1,1701, +2473,16,0,306,1, +447,1511,1,205,2474, +16,0,306,1,827, +2475,16,0,306,1, +223,2476,16,0,306, +1,476,1543,1,477, +1549,1,1231,2477,16, +0,306,1,479,1559, 1,480,1564,1,1485, -2419,16,0,289,1, -1737,2420,16,0,289, -1,1989,916,1,1990, -2421,16,0,545,1, -1443,2422,16,0,545, -1,236,2423,16,0, -545,1,2136,842,1, -2664,2424,16,0,289, -1,476,1543,1,242, -2425,16,0,289,1, -478,1583,1,1939,2426, -16,0,289,1,1001, -1588,1,1002,1593,1, -1756,2427,16,0,545, -1,26,2428,19,308, -1,26,2429,5,84, -1,1011,1102,1,1012, -2430,16,0,306,1, -1013,1258,1,262,1119, -1,1267,2431,16,0, -306,1,515,2432,16, -0,660,1,1521,2433, -16,0,306,1,525, -1216,1,283,1172,1, -2299,2434,16,0,306, -1,42,2435,16,0, -306,1,40,1177,1, -44,1183,1,47,1184, -1,1303,2436,16,0, -306,1,1555,2437,16, -0,306,1,50,1201, -1,48,1190,1,49, -1196,1,51,1206,1, -63,1222,1,305,1211, -1,66,1228,1,67, -1233,1,68,1238,1, -69,1243,1,70,1248, -1,73,2438,16,0, -306,1,74,1253,1, -328,1302,1,1048,1344, -1,82,1280,1,1840, -2439,16,0,306,1, -1591,2440,16,0,306, -1,1341,2441,16,0, -306,1,1096,1312,1, -93,1318,1,352,1349, -1,107,1338,1,1114, -1343,1,118,1355,1, -1123,2442,16,0,306, -1,371,1365,1,1628, -2443,16,0,306,1, -375,1376,1,1882,2444, -16,0,306,1,377, -1381,1,379,1386,1, -380,1391,1,883,2445, -16,0,306,1,373, -1409,1,130,1414,1, -143,2446,16,0,306, -1,387,2447,16,0, -306,1,2664,2448,16, -0,306,1,1159,2449, -16,0,306,1,157, -2450,16,0,306,1, -1413,2451,16,0,306, -1,1665,2452,16,0, -306,1,412,2453,16, -0,306,1,1377,2454, -16,0,306,1,172, -1469,1,1939,2455,16, -0,306,1,437,2456, -16,0,588,1,188, -1518,1,942,1490,1, -1195,2457,16,0,306, -1,1449,2458,16,0, -306,1,1701,2459,16, -0,306,1,447,1511, -1,205,2460,16,0, -306,1,827,2461,16, -0,306,1,223,2462, -16,0,306,1,476, -1543,1,477,1549,1, -1231,2463,16,0,306, -1,479,1559,1,480, -1564,1,1485,2464,16, -0,306,1,1737,2465, -16,0,306,1,242, -2466,16,0,306,1, -478,1583,1,1001,1588, -1,1002,1593,1,27, -2467,19,598,1,27, -2468,5,95,1,256, -2469,16,0,596,1, -1261,2470,16,0,596, -1,509,2471,16,0, -596,1,1515,2472,16, -0,596,1,2021,718, -1,1775,2473,16,0, -596,1,2029,725,1, -2030,731,1,2031,736, -1,2032,741,1,2033, -746,1,277,2474,16, -0,596,1,2035,752, -1,2037,757,1,2039, -762,1,32,2475,16, -0,596,1,2041,768, -1,2293,2476,16,0, -596,1,2043,774,1, -2045,779,1,41,2477, -16,0,596,1,1297, -2478,16,0,596,1, -43,2479,16,0,596, -1,1803,787,1,1804, -2480,16,0,596,1, -299,2481,16,0,596, -1,52,2482,16,0, -596,1,2318,2483,16, -0,596,1,62,2484, -16,0,596,1,2075, -2485,16,0,596,1, -1574,799,1,71,2486, -16,0,596,1,76, -2487,16,0,596,1, -1834,2488,16,0,596, -1,2337,2489,16,0, -596,1,79,2490,16, -0,596,1,1335,2491, -16,0,596,1,322, -2492,16,0,596,1, -85,2493,16,0,596, -1,89,2494,16,0, -596,1,346,2495,16, -0,596,1,2105,814, -1,2106,2496,16,0, -596,1,97,2497,16, -0,596,1,1860,821, -1,2364,827,1,102, -2498,16,0,596,1, -112,2499,16,0,596, -1,1117,2500,16,0, -596,1,1873,835,1, -1876,2501,16,0,596, -1,124,2502,16,0, -596,1,2136,842,1, -381,2503,16,0,596, -1,525,2504,16,0, -596,1,137,2505,16, -0,596,1,1901,2506, -16,0,596,1,2658, -2507,16,0,596,1, -1153,2508,16,0,596, -1,151,2509,16,0, -596,1,1407,2510,16, -0,596,1,1659,2511, -16,0,596,1,2413, -2512,16,0,596,1, -406,2513,16,0,596, -1,1371,2514,16,0, -596,1,166,2515,16, -0,596,1,1622,2516, -16,0,596,1,1931, -861,1,1933,2517,16, -0,596,1,431,2518, -16,0,596,1,1585, +2478,16,0,306,1, +1737,2479,16,0,306, +1,242,2480,16,0, +306,1,478,1583,1, +1001,1588,1,1002,1593, +1,27,2481,19,598, +1,27,2482,5,95, +1,256,2483,16,0, +596,1,1261,2484,16, +0,596,1,509,2485, +16,0,596,1,1515, +2486,16,0,596,1, +2021,718,1,1775,2487, +16,0,596,1,2029, +725,1,2030,731,1, +2031,736,1,2032,741, +1,2033,746,1,277, +2488,16,0,596,1, +2035,752,1,2037,757, +1,2039,762,1,32, +2489,16,0,596,1, +2041,768,1,2293,2490, +16,0,596,1,2043, +774,1,2045,779,1, +41,2491,16,0,596, +1,1297,2492,16,0, +596,1,43,2493,16, +0,596,1,1803,787, +1,1804,2494,16,0, +596,1,299,2495,16, +0,596,1,52,2496, +16,0,596,1,2318, +2497,16,0,596,1, +62,2498,16,0,596, +1,2075,2499,16,0, +596,1,1574,799,1, +71,2500,16,0,596, +1,76,2501,16,0, +596,1,1834,2502,16, +0,596,1,2337,2503, +16,0,596,1,79, +2504,16,0,596,1, +1335,2505,16,0,596, +1,322,2506,16,0, +596,1,85,2507,16, +0,596,1,89,2508, +16,0,596,1,346, +2509,16,0,596,1, +2105,814,1,2106,2510, +16,0,596,1,97, +2511,16,0,596,1, +1860,821,1,2364,827, +1,102,2512,16,0, +596,1,112,2513,16, +0,596,1,1117,2514, +16,0,596,1,1873, +835,1,1876,2515,16, +0,596,1,124,2516, +16,0,596,1,2136, +842,1,381,2517,16, +0,596,1,525,2518, +16,0,596,1,137, 2519,16,0,596,1, -182,2520,16,0,596, -1,1189,2521,16,0, -596,1,1443,2522,16, -0,596,1,1695,2523, -16,0,596,1,2198, +1901,2520,16,0,596, +1,2658,2521,16,0, +596,1,1153,2522,16, +0,596,1,151,2523, +16,0,596,1,1407, 2524,16,0,596,1, -447,2525,16,0,596, -1,2458,876,1,2459, -882,1,1958,2526,16, -0,596,1,2462,889, -1,1657,894,1,2464, -899,1,199,2527,16, -0,596,1,459,2528, -16,0,596,1,462, +1659,2525,16,0,596, +1,2413,2526,16,0, +596,1,406,2527,16, +0,596,1,1371,2528, +16,0,596,1,166, 2529,16,0,596,1, -217,2530,16,0,596, -1,2227,908,1,1225, +1622,2530,16,0,596, +1,1931,861,1,1933, 2531,16,0,596,1, -1479,2532,16,0,596, -1,1731,2533,16,0, -596,1,1989,916,1, -1990,2534,16,0,596, -1,236,2535,16,0, -596,1,1756,2536,16, -0,596,1,28,2537, -19,629,1,28,2538, -5,60,1,328,1302, -1,223,1533,1,1096, -1312,1,118,1355,1, -883,1397,1,525,1216, -1,1001,1588,1,130, -1414,1,459,1688,1, -1114,1343,1,352,1349, -1,447,1511,1,464, -1683,1,1011,1102,1, -1013,1258,1,242,1578, -1,143,1419,1,40, -1177,1,41,1659,1, -42,1662,1,479,1559, -1,44,1183,1,481, -1646,1,373,1409,1, -47,1184,1,157,1443, -1,49,1196,1,50, -1201,1,48,1190,1, -379,1386,1,380,1391, -1,51,1206,1,476, -1543,1,371,1365,1, -478,1583,1,1048,1344, -1,375,1376,1,172, -1469,1,262,1119,1, -283,1172,1,63,1222, +431,2532,16,0,596, +1,1585,2533,16,0, +596,1,182,2534,16, +0,596,1,1189,2535, +16,0,596,1,1443, +2536,16,0,596,1, +1695,2537,16,0,596, +1,2198,2538,16,0, +596,1,447,2539,16, +0,596,1,2458,876, +1,2459,882,1,1958, +2540,16,0,596,1, +2462,889,1,1657,894, +1,2464,899,1,199, +2541,16,0,596,1, +459,2542,16,0,596, +1,462,2543,16,0, +596,1,217,2544,16, +0,596,1,2227,908, +1,1225,2545,16,0, +596,1,1479,2546,16, +0,596,1,1731,2547, +16,0,596,1,1989, +916,1,1990,2548,16, +0,596,1,236,2549, +16,0,596,1,1756, +2550,16,0,596,1, +28,2551,19,629,1, +28,2552,5,60,1, +328,1302,1,223,1533, +1,1096,1312,1,118, +1355,1,883,1397,1, +525,1216,1,1001,1588, +1,130,1414,1,459, +1688,1,1114,1343,1, +352,1349,1,447,1511, +1,464,1683,1,1011, +1102,1,1013,1258,1, +242,1578,1,143,1419, +1,40,1177,1,41, +1659,1,42,1662,1, +479,1559,1,44,1183, +1,481,1646,1,373, +1409,1,47,1184,1, +157,1443,1,49,1196, +1,50,1201,1,48, +1190,1,379,1386,1, +380,1391,1,51,1206, +1,476,1543,1,371, +1365,1,478,1583,1, +1048,1344,1,375,1376, +1,172,1469,1,262, +1119,1,283,1172,1, +63,1222,1,67,1233, +1,68,1238,1,69, +1243,1,66,1228,1, +461,2553,16,0,627, +1,74,1253,1,377, +1381,1,1002,1593,1, +70,1248,1,188,1518, +1,82,1280,1,305, +1211,1,477,1549,1, +827,1331,1,93,1318, +1,480,1564,1,205, +1523,1,942,1490,1, +107,1338,1,29,2554, +19,280,1,29,2555, +5,84,1,1011,1102, +1,1012,2556,16,0, +278,1,1013,1258,1, +262,1119,1,1267,2557, +16,0,278,1,515, +2558,16,0,278,1, +1521,2559,16,0,278, +1,525,1216,1,283, +1172,1,2299,2560,16, +0,278,1,42,2561, +16,0,278,1,40, +1177,1,44,1183,1, +47,1184,1,1303,2562, +16,0,278,1,1555, +2563,16,0,278,1, +50,1201,1,48,1190, +1,49,1196,1,51, +1206,1,63,1222,1, +305,1211,1,66,1228, 1,67,1233,1,68, 1238,1,69,1243,1, -66,1228,1,461,2539, -16,0,627,1,74, -1253,1,377,1381,1, -1002,1593,1,70,1248, -1,188,1518,1,82, -1280,1,305,1211,1, -477,1549,1,827,1331, -1,93,1318,1,480, -1564,1,205,1523,1, -942,1490,1,107,1338, -1,29,2540,19,280, -1,29,2541,5,84, +70,1248,1,73,2564, +16,0,278,1,74, +1253,1,328,1302,1, +1048,1344,1,82,2565, +16,0,278,1,1840, +2566,16,0,278,1, +1591,2567,16,0,278, +1,1341,2568,16,0, +278,1,1096,1312,1, +93,1318,1,352,1349, +1,107,2569,16,0, +278,1,1114,1343,1, +118,1355,1,1123,2570, +16,0,278,1,371, +1365,1,1628,2571,16, +0,278,1,375,1376, +1,1882,2572,16,0, +278,1,377,1381,1, +379,1386,1,380,1391, +1,883,2573,16,0, +278,1,373,1409,1, +130,1414,1,143,1419, +1,387,2574,16,0, +278,1,2664,2575,16, +0,278,1,1159,2576, +16,0,278,1,157, +1443,1,1413,2577,16, +0,278,1,1665,2578, +16,0,278,1,412, +2579,16,0,278,1, +1377,2580,16,0,278, +1,172,1469,1,1939, +2581,16,0,278,1, +437,2582,16,0,278, +1,188,1518,1,942, +1490,1,1195,2583,16, +0,278,1,1449,2584, +16,0,278,1,1701, +2585,16,0,278,1, +447,1511,1,205,2586, +16,0,278,1,827, +2587,16,0,278,1, +223,2588,16,0,278, +1,476,1543,1,477, +1549,1,1231,2589,16, +0,278,1,479,1559, +1,480,1564,1,1485, +2590,16,0,278,1, +1737,2591,16,0,278, +1,242,2592,16,0, +278,1,478,1583,1, +1001,1588,1,1002,1593, +1,30,2593,19,268, +1,30,2594,5,84, 1,1011,1102,1,1012, -2542,16,0,278,1, +2595,16,0,266,1, 1013,1258,1,262,1119, -1,1267,2543,16,0, -278,1,515,2544,16, -0,278,1,1521,2545, -16,0,278,1,525, +1,1267,2596,16,0, +266,1,515,2597,16, +0,266,1,1521,2598, +16,0,266,1,525, 1216,1,283,1172,1, -2299,2546,16,0,278, -1,42,2547,16,0, -278,1,40,1177,1, +2299,2599,16,0,266, +1,42,2600,16,0, +266,1,40,1177,1, 44,1183,1,47,1184, -1,1303,2548,16,0, -278,1,1555,2549,16, -0,278,1,50,1201, +1,1303,2601,16,0, +266,1,1555,2602,16, +0,266,1,50,1201, 1,48,1190,1,49, 1196,1,51,1206,1, 63,1222,1,305,1211, 1,66,1228,1,67, 1233,1,68,1238,1, 69,1243,1,70,1248, -1,73,2550,16,0, -278,1,74,1253,1, +1,73,2603,16,0, +266,1,74,1253,1, 328,1302,1,1048,1344, -1,82,1280,1,1840, -2551,16,0,278,1, -1591,2552,16,0,278, -1,1341,2553,16,0, -278,1,1096,1312,1, -93,1318,1,352,1349, -1,107,1338,1,1114, -1343,1,118,1355,1, -1123,2554,16,0,278, -1,371,1365,1,1628, -2555,16,0,278,1, -375,1376,1,1882,2556, -16,0,278,1,377, -1381,1,379,1386,1, -380,1391,1,883,2557, -16,0,278,1,373, -1409,1,130,1414,1, -143,1419,1,387,2558, -16,0,278,1,2664, -2559,16,0,278,1, -1159,2560,16,0,278, -1,157,1443,1,1413, -2561,16,0,278,1, -1665,2562,16,0,278, -1,412,2563,16,0, -278,1,1377,2564,16, -0,278,1,172,1469, -1,1939,2565,16,0, -278,1,437,2566,16, -0,278,1,188,1518, -1,942,1490,1,1195, -2567,16,0,278,1, -1449,2568,16,0,278, -1,1701,2569,16,0, -278,1,447,1511,1, -205,2570,16,0,278, -1,827,2571,16,0, -278,1,223,2572,16, -0,278,1,476,1543, -1,477,1549,1,1231, -2573,16,0,278,1, -479,1559,1,480,1564, -1,1485,2574,16,0, -278,1,1737,2575,16, -0,278,1,242,2576, -16,0,278,1,478, -1583,1,1001,1588,1, -1002,1593,1,30,2577, -19,268,1,30,2578, -5,84,1,1011,1102, -1,1012,2579,16,0, -266,1,1013,1258,1, -262,1119,1,1267,2580, -16,0,266,1,515, -2581,16,0,266,1, -1521,2582,16,0,266, -1,525,1216,1,283, -1172,1,2299,2583,16, -0,266,1,42,2584, -16,0,266,1,40, -1177,1,44,1183,1, -47,1184,1,1303,2585, -16,0,266,1,1555, -2586,16,0,266,1, -50,1201,1,48,1190, -1,49,1196,1,51, -1206,1,63,1222,1, -305,1211,1,66,1228, -1,67,1233,1,68, -1238,1,69,1243,1, -70,1248,1,73,2587, -16,0,266,1,74, -1253,1,328,1302,1, -1048,1344,1,82,1280, -1,1840,2588,16,0, -266,1,1591,2589,16, -0,266,1,1341,2590, -16,0,266,1,1096, -1312,1,93,1318,1, -352,1349,1,107,1338, -1,1114,1343,1,118, -1355,1,1123,2591,16, -0,266,1,371,1365, -1,1628,2592,16,0, -266,1,375,1376,1, -1882,2593,16,0,266, -1,377,1381,1,379, -1386,1,380,1391,1, -883,2594,16,0,266, -1,373,1409,1,130, -1414,1,143,1419,1, -387,2595,16,0,266, -1,2664,2596,16,0, -266,1,1159,2597,16, -0,266,1,157,1443, -1,1413,2598,16,0, -266,1,1665,2599,16, -0,266,1,412,2600, -16,0,266,1,1377, -2601,16,0,266,1, -172,1469,1,1939,2602, -16,0,266,1,437, -2603,16,0,266,1, -188,1518,1,942,1490, -1,1195,2604,16,0, -266,1,1449,2605,16, -0,266,1,1701,2606, -16,0,266,1,447, -1511,1,205,2607,16, -0,266,1,827,2608, -16,0,266,1,223, -2609,16,0,266,1, -476,1543,1,477,1549, -1,1231,2610,16,0, -266,1,479,1559,1, -480,1564,1,1485,2611, -16,0,266,1,1737, +1,82,2604,16,0, +266,1,1840,2605,16, +0,266,1,1591,2606, +16,0,266,1,1341, +2607,16,0,266,1, +1096,1312,1,93,1318, +1,352,1349,1,107, +2608,16,0,266,1, +1114,1343,1,118,1355, +1,1123,2609,16,0, +266,1,371,1365,1, +1628,2610,16,0,266, +1,375,1376,1,1882, +2611,16,0,266,1, +377,1381,1,379,1386, +1,380,1391,1,883, 2612,16,0,266,1, -242,2613,16,0,266, -1,478,1583,1,1001, -1588,1,1002,1593,1, -31,2614,19,253,1, -31,2615,5,84,1, -1011,1102,1,1012,2616, -16,0,251,1,1013, -1258,1,262,1119,1, -1267,2617,16,0,251, -1,515,2618,16,0, -251,1,1521,2619,16, -0,251,1,525,1216, -1,283,1172,1,2299, -2620,16,0,251,1, -42,2621,16,0,251, -1,40,1177,1,44, -1183,1,47,1184,1, -1303,2622,16,0,251, -1,1555,2623,16,0, -251,1,50,1201,1, -48,1190,1,49,1196, -1,51,1206,1,63, -1222,1,305,1211,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -73,2624,16,0,251, -1,74,1253,1,328, -1302,1,1048,1344,1, -82,1280,1,1840,2625, -16,0,251,1,1591, -2626,16,0,251,1, -1341,2627,16,0,251, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,1338,1,1114,1343, +373,1409,1,130,1414, +1,143,1419,1,387, +2613,16,0,266,1, +2664,2614,16,0,266, +1,1159,2615,16,0, +266,1,157,1443,1, +1413,2616,16,0,266, +1,1665,2617,16,0, +266,1,412,2618,16, +0,266,1,1377,2619, +16,0,266,1,172, +1469,1,1939,2620,16, +0,266,1,437,2621, +16,0,266,1,188, +1518,1,942,1490,1, +1195,2622,16,0,266, +1,1449,2623,16,0, +266,1,1701,2624,16, +0,266,1,447,1511, +1,205,2625,16,0, +266,1,827,2626,16, +0,266,1,223,2627, +16,0,266,1,476, +1543,1,477,1549,1, +1231,2628,16,0,266, +1,479,1559,1,480, +1564,1,1485,2629,16, +0,266,1,1737,2630, +16,0,266,1,242, +2631,16,0,266,1, +478,1583,1,1001,1588, +1,1002,1593,1,31, +2632,19,253,1,31, +2633,5,84,1,1011, +1102,1,1012,2634,16, +0,251,1,1013,1258, +1,262,1119,1,1267, +2635,16,0,251,1, +515,2636,16,0,251, +1,1521,2637,16,0, +251,1,525,1216,1, +283,1172,1,2299,2638, +16,0,251,1,42, +2639,16,0,251,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +2640,16,0,251,1, +1555,2641,16,0,251, +1,50,1201,1,48, +1190,1,49,1196,1, +51,1206,1,63,1222, +1,305,1211,1,66, +1228,1,67,1233,1, +68,1238,1,69,1243, +1,70,1248,1,73, +2642,16,0,251,1, +74,1253,1,328,1302, +1,1048,1344,1,82, +2643,16,0,251,1, +1840,2644,16,0,251, +1,1591,2645,16,0, +251,1,1341,2646,16, +0,251,1,1096,1312, +1,93,1318,1,352, +1349,1,107,2647,16, +0,251,1,1114,1343, 1,118,1355,1,1123, -2628,16,0,251,1, -371,1365,1,1628,2629, +2648,16,0,251,1, +371,1365,1,1628,2649, 16,0,251,1,375, -1376,1,1882,2630,16, +1376,1,1882,2650,16, 0,251,1,377,1381, 1,379,1386,1,380, -1391,1,883,2631,16, +1391,1,883,2651,16, 0,251,1,373,1409, 1,130,1414,1,143, -2632,16,0,251,1, -387,2633,16,0,251, -1,2664,2634,16,0, -251,1,1159,2635,16, -0,251,1,157,2636, +2652,16,0,251,1, +387,2653,16,0,251, +1,2664,2654,16,0, +251,1,1159,2655,16, +0,251,1,157,2656, 16,0,251,1,1413, -2637,16,0,251,1, -1665,2638,16,0,251, -1,412,2639,16,0, -251,1,1377,2640,16, +2657,16,0,251,1, +1665,2658,16,0,251, +1,412,2659,16,0, +251,1,1377,2660,16, 0,251,1,172,1469, -1,1939,2641,16,0, -251,1,437,2642,16, +1,1939,2661,16,0, +251,1,437,2662,16, 0,251,1,188,1518, 1,942,1490,1,1195, -2643,16,0,251,1, -1449,2644,16,0,251, -1,1701,2645,16,0, +2663,16,0,251,1, +1449,2664,16,0,251, +1,1701,2665,16,0, 251,1,447,1511,1, -205,2646,16,0,251, -1,827,2647,16,0, -251,1,223,2648,16, +205,2666,16,0,251, +1,827,2667,16,0, +251,1,223,2668,16, 0,251,1,476,1543, 1,477,1549,1,1231, -2649,16,0,251,1, +2669,16,0,251,1, 479,1559,1,480,1564, -1,1485,2650,16,0, -251,1,1737,2651,16, -0,251,1,242,2652, +1,1485,2670,16,0, +251,1,1737,2671,16, +0,251,1,242,2672, 16,0,251,1,478, 1583,1,1001,1588,1, -1002,1593,1,32,2653, -19,246,1,32,2654, +1002,1593,1,32,2673, +19,246,1,32,2674, 5,84,1,1011,1102, -1,1012,2655,16,0, +1,1012,2675,16,0, 244,1,1013,1258,1, -262,1119,1,1267,2656, +262,1119,1,1267,2676, 16,0,244,1,515, -2657,16,0,244,1, -1521,2658,16,0,244, +2677,16,0,244,1, +1521,2678,16,0,244, 1,525,1216,1,283, -1172,1,2299,2659,16, -0,244,1,42,2660, +1172,1,2299,2679,16, +0,244,1,42,2680, 16,0,244,1,40, 1177,1,44,1183,1, -47,1184,1,1303,2661, +47,1184,1,1303,2681, 16,0,244,1,1555, -2662,16,0,244,1, +2682,16,0,244,1, 50,1201,1,48,1190, 1,49,1196,1,51, 1206,1,63,1222,1, 305,1211,1,66,1228, 1,67,1233,1,68, 1238,1,69,1243,1, -70,1248,1,73,2663, +70,1248,1,73,2683, 16,0,244,1,74, 1253,1,328,1302,1, -1048,1344,1,82,1280, -1,1840,2664,16,0, -244,1,1591,2665,16, -0,244,1,1341,2666, -16,0,244,1,1096, -1312,1,93,1318,1, -352,1349,1,107,1338, +1048,1344,1,82,2684, +16,0,244,1,1840, +2685,16,0,244,1, +1591,2686,16,0,244, +1,1341,2687,16,0, +244,1,1096,1312,1, +93,1318,1,352,1349, +1,107,2688,16,0, +244,1,1114,1343,1, +118,1355,1,1123,2689, +16,0,244,1,371, +1365,1,1628,2690,16, +0,244,1,375,1376, +1,1882,2691,16,0, +244,1,377,1381,1, +379,1386,1,380,1391, +1,883,2692,16,0, +244,1,373,1409,1, +130,1414,1,143,2693, +16,0,244,1,387, +2694,16,0,244,1, +2664,2695,16,0,244, +1,1159,2696,16,0, +244,1,157,2697,16, +0,244,1,1413,2698, +16,0,244,1,1665, +2699,16,0,244,1, +412,2700,16,0,244, +1,1377,2701,16,0, +244,1,172,1469,1, +1939,2702,16,0,244, +1,437,2703,16,0, +244,1,188,1518,1, +942,1490,1,1195,2704, +16,0,244,1,1449, +2705,16,0,244,1, +1701,2706,16,0,244, +1,447,1511,1,205, +2707,16,0,244,1, +827,2708,16,0,244, +1,223,2709,16,0, +244,1,476,1543,1, +477,1549,1,1231,2710, +16,0,244,1,479, +1559,1,480,1564,1, +1485,2711,16,0,244, +1,1737,2712,16,0, +244,1,242,2713,16, +0,244,1,478,1583, +1,1001,1588,1,1002, +1593,1,33,2714,19, +332,1,33,2715,5, +84,1,1011,1102,1, +1012,2716,16,0,330, +1,1013,1258,1,262, +1119,1,1267,2717,16, +0,330,1,515,2718, +16,0,330,1,1521, +2719,16,0,330,1, +525,1216,1,283,1172, +1,2299,2720,16,0, +330,1,42,2721,16, +0,330,1,40,1177, +1,44,1183,1,47, +1184,1,1303,2722,16, +0,330,1,1555,2723, +16,0,330,1,50, +1201,1,48,1190,1, +49,1196,1,51,1206, +1,63,1222,1,305, +1211,1,66,1228,1, +67,1233,1,68,1238, +1,69,1243,1,70, +1248,1,73,2724,16, +0,330,1,74,1253, +1,328,1302,1,1048, +1344,1,82,2725,16, +0,330,1,1840,2726, +16,0,330,1,1591, +2727,16,0,330,1, +1341,2728,16,0,330, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,2729,16,0,330, 1,1114,1343,1,118, -1355,1,1123,2667,16, -0,244,1,371,1365, -1,1628,2668,16,0, -244,1,375,1376,1, -1882,2669,16,0,244, +1355,1,1123,2730,16, +0,330,1,371,1365, +1,1628,2731,16,0, +330,1,375,1376,1, +1882,2732,16,0,330, 1,377,1381,1,379, 1386,1,380,1391,1, -883,2670,16,0,244, +883,2733,16,0,330, 1,373,1409,1,130, -1414,1,143,2671,16, -0,244,1,387,2672, -16,0,244,1,2664, -2673,16,0,244,1, -1159,2674,16,0,244, -1,157,2675,16,0, -244,1,1413,2676,16, -0,244,1,1665,2677, -16,0,244,1,412, -2678,16,0,244,1, -1377,2679,16,0,244, -1,172,1469,1,1939, -2680,16,0,244,1, -437,2681,16,0,244, -1,188,1518,1,942, -1490,1,1195,2682,16, -0,244,1,1449,2683, -16,0,244,1,1701, -2684,16,0,244,1, -447,1511,1,205,2685, -16,0,244,1,827, -2686,16,0,244,1, -223,2687,16,0,244, -1,476,1543,1,477, -1549,1,1231,2688,16, -0,244,1,479,1559, -1,480,1564,1,1485, -2689,16,0,244,1, -1737,2690,16,0,244, -1,242,2691,16,0, -244,1,478,1583,1, +1414,1,143,1419,1, +387,2734,16,0,330, +1,2664,2735,16,0, +330,1,1159,2736,16, +0,330,1,157,1443, +1,1413,2737,16,0, +330,1,1665,2738,16, +0,330,1,412,2739, +16,0,330,1,1377, +2740,16,0,330,1, +172,1469,1,1939,2741, +16,0,330,1,437, +2742,16,0,330,1, +188,1518,1,942,1490, +1,1195,2743,16,0, +330,1,1449,2744,16, +0,330,1,1701,2745, +16,0,330,1,447, +1511,1,205,2746,16, +0,330,1,827,2747, +16,0,330,1,223, +2748,16,0,330,1, +476,1543,1,477,1549, +1,1231,2749,16,0, +330,1,479,1559,1, +480,1564,1,1485,2750, +16,0,330,1,1737, +2751,16,0,330,1, +242,1578,1,478,1583, +1,1001,1588,1,1002, +1593,1,34,2752,19, +322,1,34,2753,5, +84,1,1011,1102,1, +1012,2754,16,0,320, +1,1013,1258,1,262, +1119,1,1267,2755,16, +0,320,1,515,2756, +16,0,320,1,1521, +2757,16,0,320,1, +525,1216,1,283,1172, +1,2299,2758,16,0, +320,1,42,2759,16, +0,320,1,40,1177, +1,44,1183,1,47, +1184,1,1303,2760,16, +0,320,1,1555,2761, +16,0,320,1,50, +1201,1,48,1190,1, +49,1196,1,51,1206, +1,63,1222,1,305, +1211,1,66,1228,1, +67,1233,1,68,1238, +1,69,1243,1,70, +1248,1,73,2762,16, +0,320,1,74,1253, +1,328,1302,1,1048, +1344,1,82,2763,16, +0,320,1,1840,2764, +16,0,320,1,1591, +2765,16,0,320,1, +1341,2766,16,0,320, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,2767,16,0,320, +1,1114,1343,1,118, +1355,1,1123,2768,16, +0,320,1,371,1365, +1,1628,2769,16,0, +320,1,375,1376,1, +1882,2770,16,0,320, +1,377,1381,1,379, +1386,1,380,1391,1, +883,2771,16,0,320, +1,373,1409,1,130, +1414,1,143,1419,1, +387,2772,16,0,320, +1,2664,2773,16,0, +320,1,1159,2774,16, +0,320,1,157,1443, +1,1413,2775,16,0, +320,1,1665,2776,16, +0,320,1,412,2777, +16,0,320,1,1377, +2778,16,0,320,1, +172,1469,1,1939,2779, +16,0,320,1,437, +2780,16,0,320,1, +188,1518,1,942,1490, +1,1195,2781,16,0, +320,1,1449,2782,16, +0,320,1,1701,2783, +16,0,320,1,447, +1511,1,205,1523,1, +827,2784,16,0,320, +1,223,1533,1,476, +1543,1,477,1549,1, +1231,2785,16,0,320, +1,479,1559,1,480, +1564,1,1485,2786,16, +0,320,1,1737,2787, +16,0,320,1,242, +1578,1,478,1583,1, 1001,1588,1,1002,1593, -1,33,2692,19,332, -1,33,2693,5,84, +1,35,2788,19,311, +1,35,2789,5,84, 1,1011,1102,1,1012, -2694,16,0,330,1, +2790,16,0,309,1, 1013,1258,1,262,1119, -1,1267,2695,16,0, -330,1,515,2696,16, -0,330,1,1521,2697, -16,0,330,1,525, +1,1267,2791,16,0, +309,1,515,2792,16, +0,309,1,1521,2793, +16,0,309,1,525, 1216,1,283,1172,1, -2299,2698,16,0,330, -1,42,2699,16,0, -330,1,40,1177,1, +2299,2794,16,0,309, +1,42,2795,16,0, +309,1,40,1177,1, 44,1183,1,47,1184, -1,1303,2700,16,0, -330,1,1555,2701,16, -0,330,1,50,1201, +1,1303,2796,16,0, +309,1,1555,2797,16, +0,309,1,50,1201, 1,48,1190,1,49, 1196,1,51,1206,1, 63,1222,1,305,1211, 1,66,1228,1,67, 1233,1,68,1238,1, 69,1243,1,70,1248, -1,73,2702,16,0, -330,1,74,1253,1, +1,73,2798,16,0, +309,1,74,1253,1, 328,1302,1,1048,1344, -1,82,1280,1,1840, -2703,16,0,330,1, -1591,2704,16,0,330, -1,1341,2705,16,0, -330,1,1096,1312,1, -93,1318,1,352,1349, -1,107,1338,1,1114, -1343,1,118,1355,1, -1123,2706,16,0,330, -1,371,1365,1,1628, -2707,16,0,330,1, -375,1376,1,1882,2708, -16,0,330,1,377, -1381,1,379,1386,1, -380,1391,1,883,2709, -16,0,330,1,373, -1409,1,130,1414,1, -143,1419,1,387,2710, -16,0,330,1,2664, -2711,16,0,330,1, -1159,2712,16,0,330, -1,157,1443,1,1413, -2713,16,0,330,1, -1665,2714,16,0,330, -1,412,2715,16,0, -330,1,1377,2716,16, -0,330,1,172,1469, -1,1939,2717,16,0, -330,1,437,2718,16, -0,330,1,188,1518, -1,942,1490,1,1195, -2719,16,0,330,1, -1449,2720,16,0,330, -1,1701,2721,16,0, -330,1,447,1511,1, -205,2722,16,0,330, -1,827,2723,16,0, -330,1,223,2724,16, -0,330,1,476,1543, -1,477,1549,1,1231, -2725,16,0,330,1, -479,1559,1,480,1564, -1,1485,2726,16,0, -330,1,1737,2727,16, -0,330,1,242,1578, -1,478,1583,1,1001, -1588,1,1002,1593,1, -34,2728,19,322,1, -34,2729,5,84,1, -1011,1102,1,1012,2730, -16,0,320,1,1013, -1258,1,262,1119,1, -1267,2731,16,0,320, -1,515,2732,16,0, -320,1,1521,2733,16, -0,320,1,525,1216, -1,283,1172,1,2299, -2734,16,0,320,1, -42,2735,16,0,320, -1,40,1177,1,44, -1183,1,47,1184,1, -1303,2736,16,0,320, -1,1555,2737,16,0, -320,1,50,1201,1, -48,1190,1,49,1196, -1,51,1206,1,63, -1222,1,305,1211,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -73,2738,16,0,320, -1,74,1253,1,328, -1302,1,1048,1344,1, -82,1280,1,1840,2739, -16,0,320,1,1591, -2740,16,0,320,1, -1341,2741,16,0,320, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,1338,1,1114,1343, -1,118,1355,1,1123, -2742,16,0,320,1, -371,1365,1,1628,2743, -16,0,320,1,375, -1376,1,1882,2744,16, -0,320,1,377,1381, -1,379,1386,1,380, -1391,1,883,2745,16, -0,320,1,373,1409, -1,130,1414,1,143, -1419,1,387,2746,16, -0,320,1,2664,2747, -16,0,320,1,1159, -2748,16,0,320,1, -157,1443,1,1413,2749, -16,0,320,1,1665, -2750,16,0,320,1, -412,2751,16,0,320, -1,1377,2752,16,0, -320,1,172,1469,1, -1939,2753,16,0,320, -1,437,2754,16,0, -320,1,188,1518,1, -942,1490,1,1195,2755, -16,0,320,1,1449, -2756,16,0,320,1, -1701,2757,16,0,320, -1,447,1511,1,205, -1523,1,827,2758,16, -0,320,1,223,1533, +1,82,2799,16,0, +309,1,1840,2800,16, +0,309,1,1591,2801, +16,0,309,1,1341, +2802,16,0,309,1, +1096,1312,1,93,1318, +1,352,1349,1,107, +2803,16,0,309,1, +1114,1343,1,118,1355, +1,1123,2804,16,0, +309,1,371,1365,1, +1628,2805,16,0,309, +1,375,1376,1,1882, +2806,16,0,309,1, +377,1381,1,379,1386, +1,380,1391,1,883, +2807,16,0,309,1, +373,1409,1,130,1414, +1,143,1419,1,387, +2808,16,0,309,1, +2664,2809,16,0,309, +1,1159,2810,16,0, +309,1,157,1443,1, +1413,2811,16,0,309, +1,1665,2812,16,0, +309,1,412,2813,16, +0,309,1,1377,2814, +16,0,309,1,172, +1469,1,1939,2815,16, +0,309,1,437,2816, +16,0,309,1,188, +1518,1,942,1490,1, +1195,2817,16,0,309, +1,1449,2818,16,0, +309,1,1701,2819,16, +0,309,1,447,1511, +1,205,1523,1,827, +2820,16,0,309,1, +223,2821,16,0,309, 1,476,1543,1,477, -1549,1,1231,2759,16, -0,320,1,479,1559, +1549,1,1231,2822,16, +0,309,1,479,1559, 1,480,1564,1,1485, -2760,16,0,320,1, -1737,2761,16,0,320, +2823,16,0,309,1, +1737,2824,16,0,309, 1,242,1578,1,478, 1583,1,1001,1588,1, -1002,1593,1,35,2762, -19,311,1,35,2763, -5,84,1,1011,1102, -1,1012,2764,16,0, -309,1,1013,1258,1, -262,1119,1,1267,2765, -16,0,309,1,515, -2766,16,0,309,1, -1521,2767,16,0,309, -1,525,1216,1,283, -1172,1,2299,2768,16, -0,309,1,42,2769, -16,0,309,1,40, -1177,1,44,1183,1, -47,1184,1,1303,2770, -16,0,309,1,1555, -2771,16,0,309,1, -50,1201,1,48,1190, -1,49,1196,1,51, -1206,1,63,1222,1, -305,1211,1,66,1228, -1,67,1233,1,68, -1238,1,69,1243,1, -70,1248,1,73,2772, -16,0,309,1,74, -1253,1,328,1302,1, -1048,1344,1,82,1280, -1,1840,2773,16,0, -309,1,1591,2774,16, -0,309,1,1341,2775, -16,0,309,1,1096, -1312,1,93,1318,1, -352,1349,1,107,1338, -1,1114,1343,1,118, -1355,1,1123,2776,16, -0,309,1,371,1365, -1,1628,2777,16,0, -309,1,375,1376,1, -1882,2778,16,0,309, -1,377,1381,1,379, -1386,1,380,1391,1, -883,2779,16,0,309, -1,373,1409,1,130, -1414,1,143,1419,1, -387,2780,16,0,309, -1,2664,2781,16,0, -309,1,1159,2782,16, -0,309,1,157,1443, -1,1413,2783,16,0, -309,1,1665,2784,16, -0,309,1,412,2785, -16,0,309,1,1377, -2786,16,0,309,1, -172,1469,1,1939,2787, -16,0,309,1,437, -2788,16,0,309,1, -188,1518,1,942,1490, -1,1195,2789,16,0, -309,1,1449,2790,16, -0,309,1,1701,2791, -16,0,309,1,447, -1511,1,205,1523,1, -827,2792,16,0,309, -1,223,2793,16,0, -309,1,476,1543,1, -477,1549,1,1231,2794, -16,0,309,1,479, -1559,1,480,1564,1, -1485,2795,16,0,309, -1,1737,2796,16,0, -309,1,242,1578,1, -478,1583,1,1001,1588, -1,1002,1593,1,36, -2797,19,216,1,36, -2798,5,94,1,256, -2799,16,0,214,1, -1261,2800,16,0,214, -1,509,2801,16,0, -214,1,1515,2802,16, -0,214,1,2021,718, -1,1775,2803,16,0, -214,1,2029,725,1, -2030,731,1,2031,736, -1,2032,741,1,2033, -746,1,277,2804,16, -0,214,1,2035,752, -1,2037,757,1,2039, -762,1,32,2805,16, -0,214,1,2041,768, -1,2293,2806,16,0, -214,1,2043,774,1, -2045,779,1,41,2807, -16,0,214,1,1297, -2808,16,0,214,1, -43,2809,16,0,214, -1,1803,787,1,1804, -2810,16,0,214,1, -299,2811,16,0,214, -1,52,2812,16,0, -214,1,2318,2813,16, -0,214,1,2075,2814, -16,0,214,1,1574, -799,1,71,2815,16, -0,214,1,76,2816, -16,0,214,1,1834, -2817,16,0,214,1, -2337,2818,16,0,214, -1,79,2819,16,0, -214,1,1335,2820,16, -0,214,1,322,2821, -16,0,214,1,85, -2822,16,0,214,1, -89,2823,16,0,214, -1,346,2824,16,0, -214,1,2105,814,1, -2106,2825,16,0,214, -1,97,2826,16,0, -214,1,1860,821,1, -2364,827,1,102,2827, -16,0,214,1,112, +1002,1593,1,36,2825, +19,216,1,36,2826, +5,94,1,256,2827, +16,0,214,1,1261, 2828,16,0,214,1, -1117,2829,16,0,214, -1,1873,835,1,1876, -2830,16,0,214,1, -124,2831,16,0,214, -1,2136,842,1,381, -2832,16,0,214,1, -525,2833,16,0,214, -1,137,2834,16,0, -214,1,1901,2835,16, -0,214,1,2658,2836, -16,0,214,1,1153, +509,2829,16,0,214, +1,1515,2830,16,0, +214,1,2021,718,1, +1775,2831,16,0,214, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,277,2832,16,0, +214,1,2035,752,1, +2037,757,1,2039,762, +1,32,2833,16,0, +214,1,2041,768,1, +2293,2834,16,0,214, +1,2043,774,1,2045, +779,1,41,2835,16, +0,214,1,1297,2836, +16,0,214,1,43, 2837,16,0,214,1, -151,2838,16,0,214, -1,1407,2839,16,0, -214,1,1659,2840,16, -0,214,1,2413,2841, -16,0,214,1,406, -2842,16,0,214,1, -1371,2843,16,0,214, -1,166,2844,16,0, -214,1,1622,2845,16, -0,214,1,1931,861, -1,1933,2846,16,0, -214,1,431,2847,16, -0,214,1,1585,2848, -16,0,214,1,182, -2849,16,0,214,1, -1189,2850,16,0,214, -1,1443,2851,16,0, -214,1,1695,2852,16, -0,214,1,2198,2853, -16,0,214,1,447, -2854,16,0,214,1, -2458,876,1,2459,882, -1,1958,2855,16,0, -214,1,2462,889,1, -1657,894,1,2464,899, -1,199,2856,16,0, -214,1,459,2857,16, -0,214,1,462,2858, -16,0,214,1,217, +1803,787,1,1804,2838, +16,0,214,1,299, +2839,16,0,214,1, +52,2840,16,0,214, +1,2318,2841,16,0, +214,1,2075,2842,16, +0,214,1,1574,799, +1,71,2843,16,0, +214,1,76,2844,16, +0,214,1,1834,2845, +16,0,214,1,2337, +2846,16,0,214,1, +79,2847,16,0,214, +1,1335,2848,16,0, +214,1,322,2849,16, +0,214,1,85,2850, +16,0,214,1,89, +2851,16,0,214,1, +346,2852,16,0,214, +1,2105,814,1,2106, +2853,16,0,214,1, +97,2854,16,0,214, +1,1860,821,1,2364, +827,1,102,2855,16, +0,214,1,112,2856, +16,0,214,1,1117, +2857,16,0,214,1, +1873,835,1,1876,2858, +16,0,214,1,124, 2859,16,0,214,1, -2227,908,1,1225,2860, -16,0,214,1,1479, +2136,842,1,381,2860, +16,0,214,1,525, 2861,16,0,214,1, -1731,2862,16,0,214, -1,1989,916,1,1990, -2863,16,0,214,1, -236,2864,16,0,214, -1,1756,2865,16,0, -214,1,37,2866,19, -233,1,37,2867,5, -94,1,256,2868,16, -0,231,1,1261,2869, -16,0,231,1,509, -2870,16,0,231,1, -1515,2871,16,0,231, -1,2021,718,1,1775, -2872,16,0,231,1, -2029,725,1,2030,731, -1,2031,736,1,2032, -741,1,2033,746,1, -277,2873,16,0,231, -1,2035,752,1,2037, -757,1,2039,762,1, -32,2874,16,0,231, -1,2041,768,1,2293, -2875,16,0,231,1, -2043,774,1,2045,779, -1,41,2876,16,0, -231,1,1297,2877,16, -0,231,1,43,2878, -16,0,231,1,1803, -787,1,1804,2879,16, -0,231,1,299,2880, -16,0,231,1,52, -2881,16,0,231,1, -2318,2882,16,0,231, -1,2075,2883,16,0, -231,1,1574,799,1, -71,2884,16,0,231, -1,76,2885,16,0, -231,1,1834,2886,16, -0,231,1,2337,2887, -16,0,231,1,79, -2888,16,0,231,1, -1335,2889,16,0,231, -1,322,2890,16,0, -231,1,85,2891,16, -0,231,1,89,2892, -16,0,231,1,346, -2893,16,0,231,1, -2105,814,1,2106,2894, -16,0,231,1,97, -2895,16,0,231,1, -1860,821,1,2364,827, -1,102,2896,16,0, -231,1,112,2897,16, -0,231,1,1117,2898, -16,0,231,1,1873, -835,1,1876,2899,16, -0,231,1,124,2900, -16,0,231,1,2136, -842,1,381,2901,16, -0,231,1,525,2902, -16,0,231,1,137, -2903,16,0,231,1, -1901,2904,16,0,231, -1,2658,2905,16,0, -231,1,1153,2906,16, -0,231,1,151,2907, -16,0,231,1,1407, -2908,16,0,231,1, -1659,2909,16,0,231, -1,2413,2910,16,0, -231,1,406,2911,16, -0,231,1,1371,2912, -16,0,231,1,166, -2913,16,0,231,1, -1622,2914,16,0,231, -1,1931,861,1,1933, -2915,16,0,231,1, -431,2916,16,0,231, -1,1585,2917,16,0, -231,1,182,2918,16, -0,231,1,1189,2919, -16,0,231,1,1443, -2920,16,0,231,1, -1695,2921,16,0,231, -1,2198,2922,16,0, -231,1,447,2923,16, -0,231,1,2458,876, -1,2459,882,1,1958, -2924,16,0,231,1, -2462,889,1,1657,894, -1,2464,899,1,199, -2925,16,0,231,1, -459,2926,16,0,231, -1,462,2927,16,0, -231,1,217,2928,16, -0,231,1,2227,908, -1,1225,2929,16,0, -231,1,1479,2930,16, -0,231,1,1731,2931, -16,0,231,1,1989, -916,1,1990,2932,16, -0,231,1,236,2933, -16,0,231,1,1756, -2934,16,0,231,1, -38,2935,19,230,1, -38,2936,5,84,1, -1011,1102,1,1012,2937, -16,0,228,1,1013, -1258,1,262,1119,1, -1267,2938,16,0,228, -1,515,2939,16,0, -228,1,1521,2940,16, -0,228,1,525,1216, -1,283,1172,1,2299, -2941,16,0,228,1, -42,2942,16,0,228, -1,40,1177,1,44, -1183,1,47,1184,1, -1303,2943,16,0,228, -1,1555,2944,16,0, -228,1,50,1201,1, -48,1190,1,49,1196, -1,51,1206,1,63, -1222,1,305,1211,1, -66,1228,1,67,1233, -1,68,1238,1,69, -1243,1,70,1248,1, -73,2945,16,0,228, -1,74,1253,1,328, -1302,1,1048,1344,1, -82,1280,1,1840,2946, -16,0,228,1,1591, -2947,16,0,228,1, -1341,2948,16,0,228, -1,1096,1312,1,93, -1318,1,352,1349,1, -107,1338,1,1114,1343, +137,2862,16,0,214, +1,1901,2863,16,0, +214,1,2658,2864,16, +0,214,1,1153,2865, +16,0,214,1,151, +2866,16,0,214,1, +1407,2867,16,0,214, +1,1659,2868,16,0, +214,1,2413,2869,16, +0,214,1,406,2870, +16,0,214,1,1371, +2871,16,0,214,1, +166,2872,16,0,214, +1,1622,2873,16,0, +214,1,1931,861,1, +1933,2874,16,0,214, +1,431,2875,16,0, +214,1,1585,2876,16, +0,214,1,182,2877, +16,0,214,1,1189, +2878,16,0,214,1, +1443,2879,16,0,214, +1,1695,2880,16,0, +214,1,2198,2881,16, +0,214,1,447,2882, +16,0,214,1,2458, +876,1,2459,882,1, +1958,2883,16,0,214, +1,2462,889,1,1657, +894,1,2464,899,1, +199,2884,16,0,214, +1,459,2885,16,0, +214,1,462,2886,16, +0,214,1,217,2887, +16,0,214,1,2227, +908,1,1225,2888,16, +0,214,1,1479,2889, +16,0,214,1,1731, +2890,16,0,214,1, +1989,916,1,1990,2891, +16,0,214,1,236, +2892,16,0,214,1, +1756,2893,16,0,214, +1,37,2894,19,233, +1,37,2895,5,94, +1,256,2896,16,0, +231,1,1261,2897,16, +0,231,1,509,2898, +16,0,231,1,1515, +2899,16,0,231,1, +2021,718,1,1775,2900, +16,0,231,1,2029, +725,1,2030,731,1, +2031,736,1,2032,741, +1,2033,746,1,277, +2901,16,0,231,1, +2035,752,1,2037,757, +1,2039,762,1,32, +2902,16,0,231,1, +2041,768,1,2293,2903, +16,0,231,1,2043, +774,1,2045,779,1, +41,2904,16,0,231, +1,1297,2905,16,0, +231,1,43,2906,16, +0,231,1,1803,787, +1,1804,2907,16,0, +231,1,299,2908,16, +0,231,1,52,2909, +16,0,231,1,2318, +2910,16,0,231,1, +2075,2911,16,0,231, +1,1574,799,1,71, +2912,16,0,231,1, +76,2913,16,0,231, +1,1834,2914,16,0, +231,1,2337,2915,16, +0,231,1,79,2916, +16,0,231,1,1335, +2917,16,0,231,1, +322,2918,16,0,231, +1,85,2919,16,0, +231,1,89,2920,16, +0,231,1,346,2921, +16,0,231,1,2105, +814,1,2106,2922,16, +0,231,1,97,2923, +16,0,231,1,1860, +821,1,2364,827,1, +102,2924,16,0,231, +1,112,2925,16,0, +231,1,1117,2926,16, +0,231,1,1873,835, +1,1876,2927,16,0, +231,1,124,2928,16, +0,231,1,2136,842, +1,381,2929,16,0, +231,1,525,2930,16, +0,231,1,137,2931, +16,0,231,1,1901, +2932,16,0,231,1, +2658,2933,16,0,231, +1,1153,2934,16,0, +231,1,151,2935,16, +0,231,1,1407,2936, +16,0,231,1,1659, +2937,16,0,231,1, +2413,2938,16,0,231, +1,406,2939,16,0, +231,1,1371,2940,16, +0,231,1,166,2941, +16,0,231,1,1622, +2942,16,0,231,1, +1931,861,1,1933,2943, +16,0,231,1,431, +2944,16,0,231,1, +1585,2945,16,0,231, +1,182,2946,16,0, +231,1,1189,2947,16, +0,231,1,1443,2948, +16,0,231,1,1695, +2949,16,0,231,1, +2198,2950,16,0,231, +1,447,2951,16,0, +231,1,2458,876,1, +2459,882,1,1958,2952, +16,0,231,1,2462, +889,1,1657,894,1, +2464,899,1,199,2953, +16,0,231,1,459, +2954,16,0,231,1, +462,2955,16,0,231, +1,217,2956,16,0, +231,1,2227,908,1, +1225,2957,16,0,231, +1,1479,2958,16,0, +231,1,1731,2959,16, +0,231,1,1989,916, +1,1990,2960,16,0, +231,1,236,2961,16, +0,231,1,1756,2962, +16,0,231,1,38, +2963,19,230,1,38, +2964,5,84,1,1011, +1102,1,1012,2965,16, +0,228,1,1013,1258, +1,262,1119,1,1267, +2966,16,0,228,1, +515,2967,16,0,228, +1,1521,2968,16,0, +228,1,525,1216,1, +283,1172,1,2299,2969, +16,0,228,1,42, +2970,16,0,228,1, +40,1177,1,44,1183, +1,47,1184,1,1303, +2971,16,0,228,1, +1555,2972,16,0,228, +1,50,1201,1,48, +1190,1,49,1196,1, +51,1206,1,63,1222, +1,305,1211,1,66, +1228,1,67,1233,1, +68,1238,1,69,1243, +1,70,1248,1,73, +2973,16,0,228,1, +74,1253,1,328,1302, +1,1048,1344,1,82, +2974,16,0,228,1, +1840,2975,16,0,228, +1,1591,2976,16,0, +228,1,1341,2977,16, +0,228,1,1096,1312, +1,93,1318,1,352, +1349,1,107,2978,16, +0,228,1,1114,1343, 1,118,1355,1,1123, -2949,16,0,228,1, -371,1365,1,1628,2950, +2979,16,0,228,1, +371,1365,1,1628,2980, 16,0,228,1,375, -1376,1,1882,2951,16, +1376,1,1882,2981,16, 0,228,1,377,1381, 1,379,1386,1,380, 1391,1,883,1397,1, 373,1409,1,130,1414, 1,143,1419,1,387, -2952,16,0,228,1, -2664,2953,16,0,228, -1,1159,2954,16,0, +2982,16,0,228,1, +2664,2983,16,0,228, +1,1159,2984,16,0, 228,1,157,1443,1, -1413,2955,16,0,228, -1,1665,2956,16,0, -228,1,412,2957,16, -0,228,1,1377,2958, +1413,2985,16,0,228, +1,1665,2986,16,0, +228,1,412,2987,16, +0,228,1,1377,2988, 16,0,228,1,172, -1469,1,1939,2959,16, -0,228,1,437,2960, +1469,1,1939,2989,16, +0,228,1,437,2990, 16,0,228,1,188, 1518,1,942,1490,1, -1195,2961,16,0,228, -1,1449,2962,16,0, -228,1,1701,2963,16, +1195,2991,16,0,228, +1,1449,2992,16,0, +228,1,1701,2993,16, 0,228,1,447,1511, 1,205,1523,1,827, 1331,1,223,1533,1, 476,1543,1,477,1549, -1,1231,2964,16,0, +1,1231,2994,16,0, 228,1,479,1559,1, -480,1564,1,1485,2965, +480,1564,1,1485,2995, 16,0,228,1,1737, -2966,16,0,228,1, +2996,16,0,228,1, 242,1578,1,478,1583, 1,1001,1588,1,1002, -1593,1,39,2967,19, -222,1,39,2968,5, +1593,1,39,2997,19, +222,1,39,2998,5, 84,1,1011,1102,1, -1012,2969,16,0,220, +1012,2999,16,0,220, 1,1013,1258,1,262, -1119,1,1267,2970,16, -0,220,1,515,2971, +1119,1,1267,3000,16, +0,220,1,515,3001, 16,0,220,1,1521, -2972,16,0,220,1, +3002,16,0,220,1, 525,1216,1,283,1172, -1,2299,2973,16,0, -220,1,42,2974,16, +1,2299,3003,16,0, +220,1,42,3004,16, 0,220,1,40,1177, 1,44,1183,1,47, -1184,1,1303,2975,16, -0,220,1,1555,2976, +1184,1,1303,3005,16, +0,220,1,1555,3006, 16,0,220,1,50, 1201,1,48,1190,1, 49,1196,1,51,1206, @@ -8028,276 +8046,230 @@ public yyLSLSyntax 1211,1,66,1228,1, 67,1233,1,68,1238, 1,69,1243,1,70, -1248,1,73,2977,16, +1248,1,73,3007,16, 0,220,1,74,1253, 1,328,1302,1,1048, -1344,1,82,1280,1, -1840,2978,16,0,220, -1,1591,2979,16,0, -220,1,1341,2980,16, -0,220,1,1096,1312, -1,93,1318,1,352, -1349,1,107,1338,1, -1114,1343,1,118,1355, -1,1123,2981,16,0, -220,1,371,1365,1, -1628,2982,16,0,220, -1,375,1376,1,1882, -2983,16,0,220,1, -377,1381,1,379,1386, -1,380,1391,1,883, -1397,1,373,1409,1, -130,1414,1,143,1419, -1,387,2984,16,0, -220,1,2664,2985,16, -0,220,1,1159,2986, -16,0,220,1,157, -1443,1,1413,2987,16, -0,220,1,1665,2988, -16,0,220,1,412, -2989,16,0,220,1, -1377,2990,16,0,220, -1,172,1469,1,1939, -2991,16,0,220,1, -437,2992,16,0,220, -1,188,1518,1,942, -1490,1,1195,2993,16, -0,220,1,1449,2994, -16,0,220,1,1701, -2995,16,0,220,1, -447,1511,1,205,1523, -1,827,1331,1,223, -1533,1,476,1543,1, -477,1549,1,1231,2996, -16,0,220,1,479, -1559,1,480,1564,1, -1485,2997,16,0,220, -1,1737,2998,16,0, -220,1,242,1578,1, -478,1583,1,1001,1588, -1,1002,1593,1,40, -2999,19,210,1,40, -3000,5,84,1,1011, -1102,1,1012,3001,16, -0,208,1,1013,1258, -1,262,1119,1,1267, -3002,16,0,208,1, -515,3003,16,0,208, -1,1521,3004,16,0, -208,1,525,1216,1, -283,1172,1,2299,3005, -16,0,208,1,42, -3006,16,0,208,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -3007,16,0,208,1, -1555,3008,16,0,208, -1,50,1201,1,48, -1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, -1228,1,67,1233,1, -68,1238,1,69,1243, -1,70,1248,1,73, -3009,16,0,208,1, -74,1253,1,328,1302, -1,1048,1344,1,82, -1280,1,1840,3010,16, -0,208,1,1591,3011, -16,0,208,1,1341, -3012,16,0,208,1, -1096,1312,1,93,1318, -1,352,1349,1,107, -1338,1,1114,1343,1, -118,3013,16,0,208, -1,1123,3014,16,0, -208,1,371,1365,1, -1628,3015,16,0,208, -1,375,1376,1,1882, -3016,16,0,208,1, -377,1381,1,379,1386, -1,380,1391,1,883, -3017,16,0,208,1, -373,1409,1,130,3018, -16,0,208,1,143, -3019,16,0,208,1, -387,3020,16,0,208, -1,2664,3021,16,0, -208,1,1159,3022,16, -0,208,1,157,3023, -16,0,208,1,1413, -3024,16,0,208,1, -1665,3025,16,0,208, -1,412,3026,16,0, -208,1,1377,3027,16, -0,208,1,172,3028, -16,0,208,1,1939, -3029,16,0,208,1, -437,3030,16,0,208, -1,188,3031,16,0, -208,1,942,1490,1, -1195,3032,16,0,208, -1,1449,3033,16,0, -208,1,1701,3034,16, -0,208,1,447,1511, -1,205,3035,16,0, -208,1,827,3036,16, -0,208,1,223,3037, -16,0,208,1,476, -1543,1,477,1549,1, -1231,3038,16,0,208, -1,479,1559,1,480, -1564,1,1485,3039,16, -0,208,1,1737,3040, -16,0,208,1,242, -3041,16,0,208,1, -478,1583,1,1001,1588, -1,1002,1593,1,41, -3042,19,172,1,41, -3043,5,84,1,1011, -1102,1,1012,3044,16, -0,170,1,1013,1258, -1,262,1119,1,1267, -3045,16,0,170,1, -515,3046,16,0,170, -1,1521,3047,16,0, -170,1,525,1216,1, -283,1172,1,2299,3048, -16,0,170,1,42, -3049,16,0,170,1, -40,1177,1,44,1183, -1,47,1184,1,1303, -3050,16,0,170,1, -1555,3051,16,0,170, -1,50,1201,1,48, -1190,1,49,1196,1, -51,1206,1,63,1222, -1,305,1211,1,66, -1228,1,67,1233,1, -68,1238,1,69,1243, -1,70,1248,1,73, -3052,16,0,170,1, -74,1253,1,328,1302, -1,1048,1344,1,82, -1280,1,1840,3053,16, -0,170,1,1591,3054, +1344,1,82,3008,16, +0,220,1,1840,3009, +16,0,220,1,1591, +3010,16,0,220,1, +1341,3011,16,0,220, +1,1096,1312,1,93, +1318,1,352,1349,1, +107,3012,16,0,220, +1,1114,1343,1,118, +1355,1,1123,3013,16, +0,220,1,371,1365, +1,1628,3014,16,0, +220,1,375,1376,1, +1882,3015,16,0,220, +1,377,1381,1,379, +1386,1,380,1391,1, +883,1397,1,373,1409, +1,130,1414,1,143, +1419,1,387,3016,16, +0,220,1,2664,3017, +16,0,220,1,1159, +3018,16,0,220,1, +157,1443,1,1413,3019, +16,0,220,1,1665, +3020,16,0,220,1, +412,3021,16,0,220, +1,1377,3022,16,0, +220,1,172,1469,1, +1939,3023,16,0,220, +1,437,3024,16,0, +220,1,188,1518,1, +942,1490,1,1195,3025, +16,0,220,1,1449, +3026,16,0,220,1, +1701,3027,16,0,220, +1,447,1511,1,205, +1523,1,827,1331,1, +223,1533,1,476,1543, +1,477,1549,1,1231, +3028,16,0,220,1, +479,1559,1,480,1564, +1,1485,3029,16,0, +220,1,1737,3030,16, +0,220,1,242,1578, +1,478,1583,1,1001, +1588,1,1002,1593,1, +40,3031,19,210,1, +40,3032,5,84,1, +1011,1102,1,1012,3033, +16,0,208,1,1013, +1258,1,262,1119,1, +1267,3034,16,0,208, +1,515,3035,16,0, +208,1,1521,3036,16, +0,208,1,525,1216, +1,283,1172,1,2299, +3037,16,0,208,1, +42,3038,16,0,208, +1,40,1177,1,44, +1183,1,47,1184,1, +1303,3039,16,0,208, +1,1555,3040,16,0, +208,1,50,1201,1, +48,1190,1,49,1196, +1,51,1206,1,63, +1222,1,305,1211,1, +66,1228,1,67,1233, +1,68,1238,1,69, +1243,1,70,1248,1, +73,3041,16,0,208, +1,74,1253,1,328, +1302,1,1048,1344,1, +82,3042,16,0,208, +1,1840,3043,16,0, +208,1,1591,3044,16, +0,208,1,1341,3045, +16,0,208,1,1096, +1312,1,93,1318,1, +352,1349,1,107,3046, +16,0,208,1,1114, +1343,1,118,3047,16, +0,208,1,1123,3048, +16,0,208,1,371, +1365,1,1628,3049,16, +0,208,1,375,1376, +1,1882,3050,16,0, +208,1,377,1381,1, +379,1386,1,380,1391, +1,883,3051,16,0, +208,1,373,1409,1, +130,3052,16,0,208, +1,143,3053,16,0, +208,1,387,3054,16, +0,208,1,2664,3055, +16,0,208,1,1159, +3056,16,0,208,1, +157,3057,16,0,208, +1,1413,3058,16,0, +208,1,1665,3059,16, +0,208,1,412,3060, +16,0,208,1,1377, +3061,16,0,208,1, +172,3062,16,0,208, +1,1939,3063,16,0, +208,1,437,3064,16, +0,208,1,188,3065, +16,0,208,1,942, +1490,1,1195,3066,16, +0,208,1,1449,3067, +16,0,208,1,1701, +3068,16,0,208,1, +447,1511,1,205,3069, +16,0,208,1,827, +3070,16,0,208,1, +223,3071,16,0,208, +1,476,1543,1,477, +1549,1,1231,3072,16, +0,208,1,479,1559, +1,480,1564,1,1485, +3073,16,0,208,1, +1737,3074,16,0,208, +1,242,3075,16,0, +208,1,478,1583,1, +1001,1588,1,1002,1593, +1,41,3076,19,172, +1,41,3077,5,84, +1,1011,1102,1,1012, +3078,16,0,170,1, +1013,1258,1,262,1119, +1,1267,3079,16,0, +170,1,515,3080,16, +0,170,1,1521,3081, +16,0,170,1,525, +1216,1,283,1172,1, +2299,3082,16,0,170, +1,42,3083,16,0, +170,1,40,1177,1, +44,1183,1,47,1184, +1,1303,3084,16,0, +170,1,1555,3085,16, +0,170,1,50,1201, +1,48,1190,1,49, +1196,1,51,1206,1, +63,1222,1,305,1211, +1,66,1228,1,67, +1233,1,68,1238,1, +69,1243,1,70,1248, +1,73,3086,16,0, +170,1,74,1253,1, +328,1302,1,1048,1344, +1,82,3087,16,0, +170,1,1840,3088,16, +0,170,1,1591,3089, 16,0,170,1,1341, -3055,16,0,170,1, +3090,16,0,170,1, 1096,1312,1,93,1318, 1,352,1349,1,107, -1338,1,1114,1343,1, -118,3056,16,0,170, -1,1123,3057,16,0, -170,1,371,1365,1, -1628,3058,16,0,170, -1,375,1376,1,1882, -3059,16,0,170,1, -377,1381,1,379,1386, -1,380,1391,1,883, -3060,16,0,170,1, -373,1409,1,130,3061, -16,0,170,1,143, -3062,16,0,170,1, -387,3063,16,0,170, -1,2664,3064,16,0, -170,1,1159,3065,16, -0,170,1,157,3066, -16,0,170,1,1413, -3067,16,0,170,1, -1665,3068,16,0,170, -1,412,3069,16,0, -170,1,1377,3070,16, -0,170,1,172,3071, -16,0,170,1,1939, -3072,16,0,170,1, -437,3073,16,0,170, -1,188,3074,16,0, -170,1,942,1490,1, -1195,3075,16,0,170, -1,1449,3076,16,0, -170,1,1701,3077,16, -0,170,1,447,1511, -1,205,3078,16,0, -170,1,827,3079,16, -0,170,1,223,3080, -16,0,170,1,476, -1543,1,477,1549,1, -1231,3081,16,0,170, -1,479,1559,1,480, -1564,1,1485,3082,16, -0,170,1,1737,3083, -16,0,170,1,242, -3084,16,0,170,1, -478,1583,1,1001,1588, -1,1002,1593,1,42, -3085,19,394,1,42, -3086,5,38,1,1901, -3087,16,0,392,1, -2075,3088,16,0,392, -1,1860,821,1,1803, -787,1,1804,3089,16, -0,392,1,2413,3090, -16,0,392,1,2198, -3091,16,0,392,1, -1873,835,1,1657,894, -1,1989,916,1,1990, -3092,16,0,392,1, -1775,3093,16,0,392, -1,32,3094,16,0, -392,1,2105,814,1, -2106,3095,16,0,392, -1,2364,827,1,2227, -908,1,2337,3096,16, -0,392,1,2021,718, -1,2458,876,1,2459, -882,1,2462,889,1, -2136,842,1,2464,899, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,2035,752,1,2037, -757,1,2039,762,1, -1931,861,1,2041,768, -1,2043,774,1,2045, -779,1,1574,799,1, -1958,3097,16,0,392, -1,43,3098,19,453, -1,43,3099,5,25, -1,2035,752,1,2037, -757,1,2039,762,1, -2041,768,1,2227,908, -1,2043,774,1,1657, -894,1,1860,821,1, -2136,842,1,2021,718, -1,2459,882,1,1574, -799,1,2105,3100,16, -0,578,1,1931,861, -1,1873,835,1,2031, -736,1,1803,787,1, -1989,3101,16,0,451, -1,2464,899,1,2029, -725,1,2030,731,1, -2364,827,1,2032,741, -1,2033,746,1,2045, -779,1,44,3102,19, -264,1,44,3103,5, -38,1,1901,3104,16, -0,262,1,2075,3105, -16,0,262,1,1860, +3091,16,0,170,1, +1114,1343,1,118,3092, +16,0,170,1,1123, +3093,16,0,170,1, +371,1365,1,1628,3094, +16,0,170,1,375, +1376,1,1882,3095,16, +0,170,1,377,1381, +1,379,1386,1,380, +1391,1,883,3096,16, +0,170,1,373,1409, +1,130,3097,16,0, +170,1,143,3098,16, +0,170,1,387,3099, +16,0,170,1,2664, +3100,16,0,170,1, +1159,3101,16,0,170, +1,157,3102,16,0, +170,1,1413,3103,16, +0,170,1,1665,3104, +16,0,170,1,412, +3105,16,0,170,1, +1377,3106,16,0,170, +1,172,3107,16,0, +170,1,1939,3108,16, +0,170,1,437,3109, +16,0,170,1,188, +3110,16,0,170,1, +942,1490,1,1195,3111, +16,0,170,1,1449, +3112,16,0,170,1, +1701,3113,16,0,170, +1,447,1511,1,205, +3114,16,0,170,1, +827,3115,16,0,170, +1,223,3116,16,0, +170,1,476,1543,1, +477,1549,1,1231,3117, +16,0,170,1,479, +1559,1,480,1564,1, +1485,3118,16,0,170, +1,1737,3119,16,0, +170,1,242,3120,16, +0,170,1,478,1583, +1,1001,1588,1,1002, +1593,1,42,3121,19, +394,1,42,3122,5, +38,1,1901,3123,16, +0,392,1,2075,3124, +16,0,392,1,1860, 821,1,1803,787,1, -1804,3106,16,0,262, -1,2413,3107,16,0, -262,1,2198,3108,16, -0,262,1,1873,835, +1804,3125,16,0,392, +1,2413,3126,16,0, +392,1,2198,3127,16, +0,392,1,1873,835, 1,1657,894,1,1989, -916,1,1990,3109,16, -0,262,1,1775,3110, -16,0,262,1,32, -3111,16,0,262,1, -2105,814,1,2106,3112, -16,0,262,1,2364, +916,1,1990,3128,16, +0,392,1,1775,3129, +16,0,392,1,32, +3130,16,0,392,1, +2105,814,1,2106,3131, +16,0,392,1,2364, 827,1,2227,908,1, -2337,3113,16,0,262, +2337,3132,16,0,392, 1,2021,718,1,2458, 876,1,2459,882,1, 2462,889,1,2136,842, @@ -8309,59 +8281,76 @@ public yyLSLSyntax 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -1574,799,1,1958,3114, -16,0,262,1,45, -3115,19,287,1,45, -3116,5,39,1,1901, -3117,16,0,315,1, -2075,3118,16,0,315, -1,1860,821,1,1803, -787,1,1804,3119,16, -0,315,1,2413,3120, -16,0,315,1,2198, -3121,16,0,315,1, -1873,835,1,1657,894, -1,1989,916,1,1990, -3122,16,0,315,1, -1775,3123,16,0,315, -1,32,3124,16,0, -315,1,2105,814,1, -2106,3125,16,0,315, -1,2364,827,1,2227, -908,1,2337,3126,16, -0,315,1,2021,718, -1,2458,876,1,2459, -882,1,2462,889,1, -2136,842,1,2464,899, -1,2029,725,1,2030, -731,1,2031,736,1, -2032,741,1,2033,746, -1,2035,752,1,2037, -757,1,2039,762,1, -1931,861,1,2041,768, -1,2043,774,1,2045, -779,1,1832,3127,16, -0,285,1,1574,799, -1,1958,3128,16,0, -315,1,46,3129,19, -671,1,46,3130,5, -38,1,1901,3131,16, -0,669,1,2075,3132, -16,0,669,1,1860, +1574,799,1,1958,3133, +16,0,392,1,43, +3134,19,453,1,43, +3135,5,25,1,2035, +752,1,2037,757,1, +2039,762,1,2041,768, +1,2227,908,1,2043, +774,1,1657,894,1, +1860,821,1,2136,842, +1,2021,718,1,2459, +882,1,1574,799,1, +2105,3136,16,0,578, +1,1931,861,1,1873, +835,1,2031,736,1, +1803,787,1,1989,3137, +16,0,451,1,2464, +899,1,2029,725,1, +2030,731,1,2364,827, +1,2032,741,1,2033, +746,1,2045,779,1, +44,3138,19,264,1, +44,3139,5,38,1, +1901,3140,16,0,262, +1,2075,3141,16,0, +262,1,1860,821,1, +1803,787,1,1804,3142, +16,0,262,1,2413, +3143,16,0,262,1, +2198,3144,16,0,262, +1,1873,835,1,1657, +894,1,1989,916,1, +1990,3145,16,0,262, +1,1775,3146,16,0, +262,1,32,3147,16, +0,262,1,2105,814, +1,2106,3148,16,0, +262,1,2364,827,1, +2227,908,1,2337,3149, +16,0,262,1,2021, +718,1,2458,876,1, +2459,882,1,2462,889, +1,2136,842,1,2464, +899,1,2029,725,1, +2030,731,1,2031,736, +1,2032,741,1,2033, +746,1,2035,752,1, +2037,757,1,2039,762, +1,1931,861,1,2041, +768,1,2043,774,1, +2045,779,1,1574,799, +1,1958,3150,16,0, +262,1,45,3151,19, +287,1,45,3152,5, +39,1,1901,3153,16, +0,315,1,2075,3154, +16,0,315,1,1860, 821,1,1803,787,1, -1804,3133,16,0,669, -1,2413,3134,16,0, -669,1,2198,3135,16, -0,669,1,1873,835, +1804,3155,16,0,315, +1,2413,3156,16,0, +315,1,2198,3157,16, +0,315,1,1873,835, 1,1657,894,1,1989, -916,1,1990,3136,16, -0,669,1,1775,3137, -16,0,669,1,32, -3138,16,0,669,1, -2105,814,1,2106,3139, -16,0,669,1,2364, +916,1,1990,3158,16, +0,315,1,1775,3159, +16,0,315,1,32, +3160,16,0,315,1, +2105,814,1,2106,3161, +16,0,315,1,2364, 827,1,2227,908,1, -2337,3140,16,0,669, +2337,3162,16,0,315, 1,2021,718,1,2458, 876,1,2459,882,1, 2462,889,1,2136,842, @@ -8373,67 +8362,111 @@ public yyLSLSyntax 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -1574,799,1,1958,3141, -16,0,669,1,47, -3142,19,466,1,47, -3143,5,19,1,0, -3144,16,0,464,1, -2706,3145,16,0,464, -1,2634,691,1,2636, -3146,16,0,464,1, -2639,707,1,2714,3147, -17,3148,15,3149,4, -36,37,0,71,0, -108,0,111,0,98, -0,97,0,108,0, -68,0,101,0,102, -0,105,0,110,0, -105,0,116,0,105, -0,111,0,110,0, -115,0,1,-1,1, -5,3150,20,3151,4, -38,71,0,108,0, +1832,3163,16,0,285, +1,1574,799,1,1958, +3164,16,0,315,1, +46,3165,19,671,1, +46,3166,5,38,1, +1901,3167,16,0,669, +1,2075,3168,16,0, +669,1,1860,821,1, +1803,787,1,1804,3169, +16,0,669,1,2413, +3170,16,0,669,1, +2198,3171,16,0,669, +1,1873,835,1,1657, +894,1,1989,916,1, +1990,3172,16,0,669, +1,1775,3173,16,0, +669,1,32,3174,16, +0,669,1,2105,814, +1,2106,3175,16,0, +669,1,2364,827,1, +2227,908,1,2337,3176, +16,0,669,1,2021, +718,1,2458,876,1, +2459,882,1,2462,889, +1,2136,842,1,2464, +899,1,2029,725,1, +2030,731,1,2031,736, +1,2032,741,1,2033, +746,1,2035,752,1, +2037,757,1,2039,762, +1,1931,861,1,2041, +768,1,2043,774,1, +2045,779,1,1574,799, +1,1958,3177,16,0, +669,1,47,3178,19, +466,1,47,3179,5, +19,1,0,3180,16, +0,464,1,2706,3181, +16,0,464,1,2634, +691,1,2636,3182,16, +0,464,1,2639,707, +1,2714,3183,17,3184, +15,3185,4,36,37, +0,71,0,108,0, 111,0,98,0,97, 0,108,0,68,0, 101,0,102,0,105, 0,110,0,105,0, 116,0,105,0,111, 0,110,0,115,0, -95,0,50,0,1, -145,1,3,1,3, -1,2,3152,22,1, -4,1,2558,697,1, -2716,3153,17,3154,15, -3149,1,-1,1,5, -3155,20,3156,4,38, -71,0,108,0,111, -0,98,0,97,0, -108,0,68,0,101, -0,102,0,105,0, -110,0,105,0,116, -0,105,0,111,0, -110,0,115,0,95, -0,49,0,1,144, -1,3,1,2,1, -1,3157,22,1,3, -1,2022,3158,16,0, -567,1,2459,882,1, -2715,3159,17,3160,15, -3149,1,-1,1,5, -3161,20,3162,4,38, -71,0,108,0,111, -0,98,0,97,0, -108,0,68,0,101, -0,102,0,105,0, -110,0,105,0,116, -0,105,0,111,0, -110,0,115,0,95, -0,51,0,1,146, -1,3,1,2,1, -1,3163,22,1,5, -1,2464,899,1,2466, -3164,17,3165,15,3166, -4,50,37,0,71, +1,-1,1,5,3186, +20,3187,4,38,71, +0,108,0,111,0, +98,0,97,0,108, +0,68,0,101,0, +102,0,105,0,110, +0,105,0,116,0, +105,0,111,0,110, +0,115,0,95,0, +50,0,1,145,1, +3,1,3,1,2, +3188,22,1,4,1, +2558,697,1,2716,3189, +17,3190,15,3185,1, +-1,1,5,3191,20, +3192,4,38,71,0, +108,0,111,0,98, +0,97,0,108,0, +68,0,101,0,102, +0,105,0,110,0, +105,0,116,0,105, +0,111,0,110,0, +115,0,95,0,49, +0,1,144,1,3, +1,2,1,1,3193, +22,1,3,1,2022, +3194,16,0,567,1, +2459,882,1,2715,3195, +17,3196,15,3185,1, +-1,1,5,3197,20, +3198,4,38,71,0, +108,0,111,0,98, +0,97,0,108,0, +68,0,101,0,102, +0,105,0,110,0, +105,0,116,0,105, +0,111,0,110,0, +115,0,95,0,51, +0,1,146,1,3, +1,2,1,1,3199, +22,1,5,1,2464, +899,1,2466,3200,17, +3201,15,3202,4,50, +37,0,71,0,108, +0,111,0,98,0, +97,0,108,0,70, +0,117,0,110,0, +99,0,116,0,105, +0,111,0,110,0, +68,0,101,0,102, +0,105,0,110,0, +105,0,116,0,105, +0,111,0,110,0, +1,-1,1,5,3203, +20,3204,4,52,71, 0,108,0,111,0, 98,0,97,0,108, 0,70,0,117,0, @@ -8443,82 +8476,53 @@ public yyLSLSyntax 0,102,0,105,0, 110,0,105,0,116, 0,105,0,111,0, -110,0,1,-1,1, -5,3167,20,3168,4, -52,71,0,108,0, -111,0,98,0,97, -0,108,0,70,0, -117,0,110,0,99, -0,116,0,105,0, -111,0,110,0,68, +110,0,95,0,50, +0,1,151,1,3, +1,7,1,6,3205, +22,1,10,1,2640, +685,1,2713,3206,17, +3207,15,3185,1,-1, +1,5,3208,20,3209, +4,38,71,0,108, +0,111,0,98,0, +97,0,108,0,68, 0,101,0,102,0, 105,0,110,0,105, 0,116,0,105,0, -111,0,110,0,95, -0,50,0,1,151, -1,3,1,7,1, -6,3169,22,1,10, -1,2640,685,1,2713, -3170,17,3171,15,3149, -1,-1,1,5,3172, -20,3173,4,38,71, -0,108,0,111,0, -98,0,97,0,108, +111,0,110,0,115, +0,95,0,52,0, +1,147,1,3,1, +3,1,2,3210,22, +1,6,1,2655,3211, +17,3212,15,3202,1, +-1,1,5,3213,20, +3214,4,52,71,0, +108,0,111,0,98, +0,97,0,108,0, +70,0,117,0,110, +0,99,0,116,0, +105,0,111,0,110, 0,68,0,101,0, 102,0,105,0,110, 0,105,0,116,0, 105,0,111,0,110, -0,115,0,95,0, -52,0,1,147,1, -3,1,3,1,2, -3174,22,1,6,1, -2655,3175,17,3176,15, -3166,1,-1,1,5, -3177,20,3178,4,52, -71,0,108,0,111, -0,98,0,97,0, -108,0,70,0,117, -0,110,0,99,0, -116,0,105,0,111, -0,110,0,68,0, -101,0,102,0,105, -0,110,0,105,0, +0,95,0,49,0, +1,150,1,3,1, +6,1,5,3215,22, +1,9,1,2694,3216, +17,3217,15,3218,4, +52,37,0,71,0, +108,0,111,0,98, +0,97,0,108,0, +86,0,97,0,114, +0,105,0,97,0, +98,0,108,0,101, +0,68,0,101,0, +99,0,108,0,97, +0,114,0,97,0, 116,0,105,0,111, -0,110,0,95,0, -49,0,1,150,1, -3,1,6,1,5, -3179,22,1,9,1, -2694,3180,17,3181,15, -3182,4,52,37,0, -71,0,108,0,111, -0,98,0,97,0, -108,0,86,0,97, -0,114,0,105,0, -97,0,98,0,108, -0,101,0,68,0, -101,0,99,0,108, -0,97,0,114,0, -97,0,116,0,105, -0,111,0,110,0, -1,-1,1,5,3183, -20,3184,4,54,71, -0,108,0,111,0, -98,0,97,0,108, -0,86,0,97,0, -114,0,105,0,97, -0,98,0,108,0, -101,0,68,0,101, -0,99,0,108,0, -97,0,114,0,97, -0,116,0,105,0, -111,0,110,0,95, -0,49,0,1,148, -1,3,1,3,1, -2,3185,22,1,7, -1,2695,3186,16,0, -464,1,2683,3187,17, -3188,15,3182,1,-1, -1,5,3189,20,3190, +0,110,0,1,-1, +1,5,3219,20,3220, 4,54,71,0,108, 0,111,0,98,0, 97,0,108,0,86, @@ -8529,72 +8533,121 @@ public yyLSLSyntax 0,108,0,97,0, 114,0,97,0,116, 0,105,0,111,0, -110,0,95,0,50, -0,1,149,1,3, -1,5,1,4,3191, -22,1,8,1,48, -3192,19,339,1,48, -3193,5,54,1,0, -3194,16,0,337,1, -2075,3195,16,0,495, -1,1860,821,1,1803, -787,1,1804,3196,16, -0,495,1,2413,3197, -16,0,495,1,2634, -691,1,1873,835,1, -1657,894,1,2639,707, -1,2640,685,1,1989, -916,1,1990,3198,16, -0,495,1,2459,882, -1,1775,3199,16,0, -495,1,32,3200,16, -0,495,1,2105,814, -1,2106,3201,16,0, -495,1,2466,3164,1, -2655,3175,1,2683,3187, -1,2227,908,1,2337, -3202,16,0,495,1, -2558,697,1,2694,3180, -1,2695,3203,16,0, -337,1,2021,718,1, -2458,876,1,1901,3204, -16,0,495,1,2462, -889,1,2136,842,1, -2464,899,1,2029,725, -1,2030,731,1,2031, -736,1,2032,741,1, -2033,746,1,2035,752, -1,2364,827,1,2715, -3159,1,2039,762,1, +110,0,95,0,49, +0,1,148,1,3, +1,3,1,2,3221, +22,1,7,1,2695, +3222,16,0,464,1, +2683,3223,17,3224,15, +3218,1,-1,1,5, +3225,20,3226,4,54, +71,0,108,0,111, +0,98,0,97,0, +108,0,86,0,97, +0,114,0,105,0, +97,0,98,0,108, +0,101,0,68,0, +101,0,99,0,108, +0,97,0,114,0, +97,0,116,0,105, +0,111,0,110,0, +95,0,50,0,1, +149,1,3,1,5, +1,4,3227,22,1, +8,1,48,3228,19, +339,1,48,3229,5, +54,1,0,3230,16, +0,337,1,2075,3231, +16,0,495,1,1860, +821,1,1803,787,1, +1804,3232,16,0,495, +1,2413,3233,16,0, +495,1,2634,691,1, +1873,835,1,1657,894, +1,2639,707,1,2640, +685,1,1989,916,1, +1990,3234,16,0,495, +1,2459,882,1,1775, +3235,16,0,495,1, +32,3236,16,0,495, +1,2105,814,1,2106, +3237,16,0,495,1, +2466,3200,1,2655,3211, +1,2683,3223,1,2227, +908,1,2337,3238,16, +0,495,1,2558,697, +1,2694,3216,1,2695, +3239,16,0,337,1, +2021,718,1,2458,876, +1,1901,3240,16,0, +495,1,2462,889,1, +2136,842,1,2464,899, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,2035,752,1,2364, +827,1,2715,3195,1, +2039,762,1,1931,861, +1,2041,768,1,2043, +774,1,2045,779,1, +2198,3241,16,0,495, +1,2706,3242,16,0, +337,1,2037,757,1, +2713,3206,1,2714,3183, +1,1574,799,1,2716, +3189,1,2636,3243,16, +0,337,1,1958,3244, +16,0,495,1,49, +3245,19,500,1,49, +3246,5,38,1,1901, +3247,16,0,498,1, +2075,3248,16,0,498, +1,1860,821,1,1803, +787,1,1804,3249,16, +0,498,1,2413,3250, +16,0,498,1,2198, +3251,16,0,498,1, +1873,835,1,1657,894, +1,1989,916,1,1990, +3252,16,0,498,1, +1775,3253,16,0,498, +1,32,3254,16,0, +498,1,2105,814,1, +2106,3255,16,0,498, +1,2364,827,1,2227, +908,1,2337,3256,16, +0,498,1,2021,718, +1,2458,876,1,2459, +882,1,2462,889,1, +2136,842,1,2464,899, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,2035,752,1,2037, +757,1,2039,762,1, 1931,861,1,2041,768, 1,2043,774,1,2045, -779,1,2198,3205,16, -0,495,1,2706,3206, -16,0,337,1,2037, -757,1,2713,3170,1, -2714,3147,1,1574,799, -1,2716,3153,1,2636, -3207,16,0,337,1, -1958,3208,16,0,495, -1,49,3209,19,500, -1,49,3210,5,38, -1,1901,3211,16,0, -498,1,2075,3212,16, -0,498,1,1860,821, +779,1,1574,799,1, +1958,3257,16,0,498, +1,50,3258,19,614, +1,50,3259,5,38, +1,1901,3260,16,0, +612,1,2075,3261,16, +0,612,1,1860,821, 1,1803,787,1,1804, -3213,16,0,498,1, -2413,3214,16,0,498, -1,2198,3215,16,0, -498,1,1873,835,1, +3262,16,0,612,1, +2413,3263,16,0,612, +1,2198,3264,16,0, +612,1,1873,835,1, 1657,894,1,1989,916, -1,1990,3216,16,0, -498,1,1775,3217,16, -0,498,1,32,3218, -16,0,498,1,2105, -814,1,2106,3219,16, -0,498,1,2364,827, +1,1990,3265,16,0, +612,1,1775,3266,16, +0,612,1,32,3267, +16,0,612,1,2105, +814,1,2106,3268,16, +0,612,1,2364,827, 1,2227,908,1,2337, -3220,16,0,498,1, +3269,16,0,612,1, 2021,718,1,2458,876, 1,2459,882,1,2462, 889,1,2136,842,1, @@ -8606,2127 +8659,2076 @@ public yyLSLSyntax 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,1574, -799,1,1958,3221,16, -0,498,1,50,3222, -19,614,1,50,3223, -5,38,1,1901,3224, -16,0,612,1,2075, -3225,16,0,612,1, -1860,821,1,1803,787, -1,1804,3226,16,0, -612,1,2413,3227,16, -0,612,1,2198,3228, -16,0,612,1,1873, -835,1,1657,894,1, -1989,916,1,1990,3229, -16,0,612,1,1775, -3230,16,0,612,1, -32,3231,16,0,612, -1,2105,814,1,2106, -3232,16,0,612,1, -2364,827,1,2227,908, -1,2337,3233,16,0, -612,1,2021,718,1, -2458,876,1,2459,882, -1,2462,889,1,2136, -842,1,2464,899,1, -2029,725,1,2030,731, -1,2031,736,1,2032, -741,1,2033,746,1, -2035,752,1,2037,757, -1,2039,762,1,1931, -861,1,2041,768,1, -2043,774,1,2045,779, -1,1574,799,1,1958, -3234,16,0,612,1, -51,3235,19,127,1, -51,3236,5,53,1, -0,3237,16,0,125, -1,2075,3238,16,0, -125,1,1860,821,1, -1803,787,1,1804,3239, -16,0,125,1,10, -3240,16,0,125,1, -2413,3241,16,0,125, -1,2198,3242,16,0, -125,1,1873,835,1, -21,3243,16,0,125, -1,1657,894,1,2030, -731,1,2642,3244,16, -0,125,1,1989,916, -1,1990,3245,16,0, -125,1,2459,882,1, -1775,3246,16,0,125, -1,32,3247,16,0, -125,1,2105,814,1, -2106,3248,16,0,125, -1,2655,3175,1,2683, -3187,1,2227,908,1, -2337,3249,16,0,125, -1,52,3250,16,0, -125,1,2694,3180,1, -2695,3251,16,0,125, -1,2021,718,1,2458, -876,1,1901,3252,16, -0,125,1,2462,889, -1,2136,842,1,2464, -899,1,2029,725,1, -2466,3164,1,2031,736, -1,2032,741,1,2033, -746,1,2035,752,1, -2364,827,1,2715,3159, -1,2039,762,1,1931, -861,1,2041,768,1, -2043,774,1,2045,779, -1,2037,757,1,2713, -3170,1,2714,3147,1, -1574,799,1,2716,3153, -1,1958,3253,16,0, -125,1,2506,3254,16, -0,125,1,52,3255, -19,124,1,52,3256, -5,53,1,0,3257, -16,0,122,1,2075, -3258,16,0,122,1, +799,1,1958,3270,16, +0,612,1,51,3271, +19,127,1,51,3272, +5,53,1,0,3273, +16,0,125,1,2075, +3274,16,0,125,1, 1860,821,1,1803,787, -1,1804,3259,16,0, -122,1,10,3260,16, -0,122,1,2413,3261, -16,0,122,1,2198, -3262,16,0,122,1, -1873,835,1,21,3263, -16,0,122,1,1657, +1,1804,3275,16,0, +125,1,10,3276,16, +0,125,1,2413,3277, +16,0,125,1,2198, +3278,16,0,125,1, +1873,835,1,21,3279, +16,0,125,1,1657, 894,1,2030,731,1, -2642,3264,16,0,122, +2642,3280,16,0,125, 1,1989,916,1,1990, -3265,16,0,122,1, -2459,882,1,1775,3266, -16,0,122,1,32, -3267,16,0,122,1, -2105,814,1,2106,3268, -16,0,122,1,2655, -3175,1,2683,3187,1, -2227,908,1,2337,3269, -16,0,122,1,52, -3270,16,0,122,1, -2694,3180,1,2695,3271, -16,0,122,1,2021, +3281,16,0,125,1, +2459,882,1,1775,3282, +16,0,125,1,32, +3283,16,0,125,1, +2105,814,1,2106,3284, +16,0,125,1,2655, +3211,1,2683,3223,1, +2227,908,1,2337,3285, +16,0,125,1,52, +3286,16,0,125,1, +2694,3216,1,2695,3287, +16,0,125,1,2021, 718,1,2458,876,1, -1901,3272,16,0,122, +1901,3288,16,0,125, 1,2462,889,1,2136, 842,1,2464,899,1, -2029,725,1,2466,3164, +2029,725,1,2466,3200, 1,2031,736,1,2032, 741,1,2033,746,1, 2035,752,1,2364,827, -1,2715,3159,1,2039, +1,2715,3195,1,2039, 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,2037, -757,1,2713,3170,1, -2714,3147,1,1574,799, -1,2716,3153,1,1958, -3273,16,0,122,1, -2506,3274,16,0,122, -1,53,3275,19,121, -1,53,3276,5,53, -1,0,3277,16,0, -119,1,2075,3278,16, -0,119,1,1860,821, +757,1,2713,3206,1, +2714,3183,1,1574,799, +1,2716,3189,1,1958, +3289,16,0,125,1, +2506,3290,16,0,125, +1,52,3291,19,124, +1,52,3292,5,53, +1,0,3293,16,0, +122,1,2075,3294,16, +0,122,1,1860,821, 1,1803,787,1,1804, -3279,16,0,119,1, -10,3280,16,0,119, -1,2413,3281,16,0, -119,1,2198,3282,16, -0,119,1,1873,835, -1,21,3283,16,0, -119,1,1657,894,1, -2030,731,1,2642,3284, -16,0,119,1,1989, -916,1,1990,3285,16, -0,119,1,2459,882, -1,1775,3286,16,0, -119,1,32,3287,16, -0,119,1,2105,814, -1,2106,3288,16,0, -119,1,2655,3175,1, -2683,3187,1,2227,908, -1,2337,3289,16,0, -119,1,52,3290,16, -0,119,1,2694,3180, -1,2695,3291,16,0, -119,1,2021,718,1, -2458,876,1,1901,3292, -16,0,119,1,2462, +3295,16,0,122,1, +10,3296,16,0,122, +1,2413,3297,16,0, +122,1,2198,3298,16, +0,122,1,1873,835, +1,21,3299,16,0, +122,1,1657,894,1, +2030,731,1,2642,3300, +16,0,122,1,1989, +916,1,1990,3301,16, +0,122,1,2459,882, +1,1775,3302,16,0, +122,1,32,3303,16, +0,122,1,2105,814, +1,2106,3304,16,0, +122,1,2655,3211,1, +2683,3223,1,2227,908, +1,2337,3305,16,0, +122,1,52,3306,16, +0,122,1,2694,3216, +1,2695,3307,16,0, +122,1,2021,718,1, +2458,876,1,1901,3308, +16,0,122,1,2462, 889,1,2136,842,1, 2464,899,1,2029,725, -1,2466,3164,1,2031, +1,2466,3200,1,2031, 736,1,2032,741,1, 2033,746,1,2035,752, 1,2364,827,1,2715, -3159,1,2039,762,1, +3195,1,2039,762,1, 1931,861,1,2041,768, 1,2043,774,1,2045, 779,1,2037,757,1, -2713,3170,1,2714,3147, +2713,3206,1,2714,3183, 1,1574,799,1,2716, -3153,1,1958,3293,16, -0,119,1,2506,3294, -16,0,119,1,54, -3295,19,118,1,54, -3296,5,53,1,0, -3297,16,0,116,1, -2075,3298,16,0,116, +3189,1,1958,3309,16, +0,122,1,2506,3310, +16,0,122,1,53, +3311,19,121,1,53, +3312,5,53,1,0, +3313,16,0,119,1, +2075,3314,16,0,119, 1,1860,821,1,1803, -787,1,1804,3299,16, -0,116,1,10,3300, -16,0,116,1,2413, -3301,16,0,116,1, -2198,3302,16,0,116, +787,1,1804,3315,16, +0,119,1,10,3316, +16,0,119,1,2413, +3317,16,0,119,1, +2198,3318,16,0,119, 1,1873,835,1,21, -3303,16,0,116,1, +3319,16,0,119,1, 1657,894,1,2030,731, -1,2642,3304,16,0, -116,1,1989,916,1, -1990,3305,16,0,116, +1,2642,3320,16,0, +119,1,1989,916,1, +1990,3321,16,0,119, 1,2459,882,1,1775, -3306,16,0,116,1, -32,3307,16,0,116, +3322,16,0,119,1, +32,3323,16,0,119, 1,2105,814,1,2106, -3308,16,0,116,1, -2655,3175,1,2683,3187, +3324,16,0,119,1, +2655,3211,1,2683,3223, 1,2227,908,1,2337, -3309,16,0,116,1, -52,3310,16,0,116, -1,2694,3180,1,2695, -3311,16,0,116,1, +3325,16,0,119,1, +52,3326,16,0,119, +1,2694,3216,1,2695, +3327,16,0,119,1, 2021,718,1,2458,876, -1,1901,3312,16,0, -116,1,2462,889,1, +1,1901,3328,16,0, +119,1,2462,889,1, 2136,842,1,2464,899, 1,2029,725,1,2466, -3164,1,2031,736,1, +3200,1,2031,736,1, 2032,741,1,2033,746, 1,2035,752,1,2364, -827,1,2715,3159,1, +827,1,2715,3195,1, 2039,762,1,1931,861, 1,2041,768,1,2043, 774,1,2045,779,1, -2037,757,1,2713,3170, -1,2714,3147,1,1574, -799,1,2716,3153,1, -1958,3313,16,0,116, -1,2506,3314,16,0, -116,1,55,3315,19, -115,1,55,3316,5, -53,1,0,3317,16, -0,113,1,2075,3318, -16,0,113,1,1860, +2037,757,1,2713,3206, +1,2714,3183,1,1574, +799,1,2716,3189,1, +1958,3329,16,0,119, +1,2506,3330,16,0, +119,1,54,3331,19, +118,1,54,3332,5, +53,1,0,3333,16, +0,116,1,2075,3334, +16,0,116,1,1860, 821,1,1803,787,1, -1804,3319,16,0,113, -1,10,3320,16,0, -113,1,2413,3321,16, -0,113,1,2198,3322, -16,0,113,1,1873, -835,1,21,3323,16, -0,113,1,1657,894, +1804,3335,16,0,116, +1,10,3336,16,0, +116,1,2413,3337,16, +0,116,1,2198,3338, +16,0,116,1,1873, +835,1,21,3339,16, +0,116,1,1657,894, 1,2030,731,1,2642, -3324,16,0,113,1, -1989,916,1,1990,3325, -16,0,113,1,2459, -882,1,1775,3326,16, -0,113,1,32,3327, -16,0,113,1,2105, -814,1,2106,3328,16, -0,113,1,2655,3175, -1,2683,3187,1,2227, -908,1,2337,3329,16, -0,113,1,52,3330, -16,0,113,1,2694, -3180,1,2695,3331,16, -0,113,1,2021,718, +3340,16,0,116,1, +1989,916,1,1990,3341, +16,0,116,1,2459, +882,1,1775,3342,16, +0,116,1,32,3343, +16,0,116,1,2105, +814,1,2106,3344,16, +0,116,1,2655,3211, +1,2683,3223,1,2227, +908,1,2337,3345,16, +0,116,1,52,3346, +16,0,116,1,2694, +3216,1,2695,3347,16, +0,116,1,2021,718, 1,2458,876,1,1901, -3332,16,0,113,1, +3348,16,0,116,1, 2462,889,1,2136,842, 1,2464,899,1,2029, -725,1,2466,3164,1, +725,1,2466,3200,1, 2031,736,1,2032,741, 1,2033,746,1,2035, 752,1,2364,827,1, -2715,3159,1,2039,762, +2715,3195,1,2039,762, 1,1931,861,1,2041, 768,1,2043,774,1, 2045,779,1,2037,757, -1,2713,3170,1,2714, -3147,1,1574,799,1, -2716,3153,1,1958,3333, -16,0,113,1,2506, -3334,16,0,113,1, -56,3335,19,112,1, -56,3336,5,53,1, -0,3337,16,0,110, -1,2075,3338,16,0, -110,1,1860,821,1, -1803,787,1,1804,3339, -16,0,110,1,10, -3340,16,0,110,1, -2413,3341,16,0,110, -1,2198,3342,16,0, -110,1,1873,835,1, -21,3343,16,0,110, +1,2713,3206,1,2714, +3183,1,1574,799,1, +2716,3189,1,1958,3349, +16,0,116,1,2506, +3350,16,0,116,1, +55,3351,19,115,1, +55,3352,5,53,1, +0,3353,16,0,113, +1,2075,3354,16,0, +113,1,1860,821,1, +1803,787,1,1804,3355, +16,0,113,1,10, +3356,16,0,113,1, +2413,3357,16,0,113, +1,2198,3358,16,0, +113,1,1873,835,1, +21,3359,16,0,113, 1,1657,894,1,2030, -731,1,2642,3344,16, -0,110,1,1989,916, -1,1990,3345,16,0, -110,1,2459,882,1, -1775,3346,16,0,110, -1,32,3347,16,0, -110,1,2105,814,1, -2106,3348,16,0,110, -1,2655,3175,1,2683, -3187,1,2227,908,1, -2337,3349,16,0,110, -1,52,3350,16,0, -110,1,2694,3180,1, -2695,3351,16,0,110, +731,1,2642,3360,16, +0,113,1,1989,916, +1,1990,3361,16,0, +113,1,2459,882,1, +1775,3362,16,0,113, +1,32,3363,16,0, +113,1,2105,814,1, +2106,3364,16,0,113, +1,2655,3211,1,2683, +3223,1,2227,908,1, +2337,3365,16,0,113, +1,52,3366,16,0, +113,1,2694,3216,1, +2695,3367,16,0,113, 1,2021,718,1,2458, -876,1,1901,3352,16, -0,110,1,2462,889, +876,1,1901,3368,16, +0,113,1,2462,889, 1,2136,842,1,2464, 899,1,2029,725,1, -2466,3164,1,2031,736, +2466,3200,1,2031,736, 1,2032,741,1,2033, 746,1,2035,752,1, -2364,827,1,2715,3159, +2364,827,1,2715,3195, 1,2039,762,1,1931, 861,1,2041,768,1, 2043,774,1,2045,779, 1,2037,757,1,2713, -3170,1,2714,3147,1, -1574,799,1,2716,3153, -1,1958,3353,16,0, -110,1,2506,3354,16, -0,110,1,57,3355, -19,109,1,57,3356, -5,53,1,0,3357, -16,0,107,1,2075, -3358,16,0,107,1, +3206,1,2714,3183,1, +1574,799,1,2716,3189, +1,1958,3369,16,0, +113,1,2506,3370,16, +0,113,1,56,3371, +19,112,1,56,3372, +5,53,1,0,3373, +16,0,110,1,2075, +3374,16,0,110,1, 1860,821,1,1803,787, -1,1804,3359,16,0, -107,1,10,3360,16, -0,107,1,2413,3361, -16,0,107,1,2198, -3362,16,0,107,1, -1873,835,1,21,3363, -16,0,107,1,1657, +1,1804,3375,16,0, +110,1,10,3376,16, +0,110,1,2413,3377, +16,0,110,1,2198, +3378,16,0,110,1, +1873,835,1,21,3379, +16,0,110,1,1657, 894,1,2030,731,1, -2642,3364,16,0,107, +2642,3380,16,0,110, 1,1989,916,1,1990, -3365,16,0,107,1, -2459,882,1,1775,3366, -16,0,107,1,32, -3367,16,0,107,1, -2105,814,1,2106,3368, -16,0,107,1,2655, -3175,1,2683,3187,1, -2227,908,1,2337,3369, -16,0,107,1,52, -3370,16,0,107,1, -2694,3180,1,2695,3371, -16,0,107,1,2021, +3381,16,0,110,1, +2459,882,1,1775,3382, +16,0,110,1,32, +3383,16,0,110,1, +2105,814,1,2106,3384, +16,0,110,1,2655, +3211,1,2683,3223,1, +2227,908,1,2337,3385, +16,0,110,1,52, +3386,16,0,110,1, +2694,3216,1,2695,3387, +16,0,110,1,2021, 718,1,2458,876,1, -1901,3372,16,0,107, +1901,3388,16,0,110, 1,2462,889,1,2136, 842,1,2464,899,1, -2029,725,1,2466,3164, +2029,725,1,2466,3200, 1,2031,736,1,2032, 741,1,2033,746,1, 2035,752,1,2364,827, -1,2715,3159,1,2039, +1,2715,3195,1,2039, 762,1,1931,861,1, 2041,768,1,2043,774, 1,2045,779,1,2037, -757,1,2713,3170,1, -2714,3147,1,1574,799, -1,2716,3153,1,1958, -3373,16,0,107,1, -2506,3374,16,0,107, -1,58,3375,19,429, -1,58,3376,5,9, -1,2519,1618,1,2557, -1627,1,2521,3377,16, -0,427,1,2559,1633, -1,2597,3378,16,0, -427,1,2561,3379,16, -0,427,1,2459,882, -1,2464,899,1,2470, -3380,16,0,427,1, -59,3381,19,426,1, -59,3382,5,9,1, -2519,1618,1,2557,1627, -1,2521,3383,16,0, -424,1,2559,1633,1, -2597,3384,16,0,424, -1,2561,3385,16,0, -424,1,2459,882,1, -2464,899,1,2470,3386, -16,0,424,1,60, -3387,19,423,1,60, -3388,5,9,1,2519, +757,1,2713,3206,1, +2714,3183,1,1574,799, +1,2716,3189,1,1958, +3389,16,0,110,1, +2506,3390,16,0,110, +1,57,3391,19,109, +1,57,3392,5,53, +1,0,3393,16,0, +107,1,2075,3394,16, +0,107,1,1860,821, +1,1803,787,1,1804, +3395,16,0,107,1, +10,3396,16,0,107, +1,2413,3397,16,0, +107,1,2198,3398,16, +0,107,1,1873,835, +1,21,3399,16,0, +107,1,1657,894,1, +2030,731,1,2642,3400, +16,0,107,1,1989, +916,1,1990,3401,16, +0,107,1,2459,882, +1,1775,3402,16,0, +107,1,32,3403,16, +0,107,1,2105,814, +1,2106,3404,16,0, +107,1,2655,3211,1, +2683,3223,1,2227,908, +1,2337,3405,16,0, +107,1,52,3406,16, +0,107,1,2694,3216, +1,2695,3407,16,0, +107,1,2021,718,1, +2458,876,1,1901,3408, +16,0,107,1,2462, +889,1,2136,842,1, +2464,899,1,2029,725, +1,2466,3200,1,2031, +736,1,2032,741,1, +2033,746,1,2035,752, +1,2364,827,1,2715, +3195,1,2039,762,1, +1931,861,1,2041,768, +1,2043,774,1,2045, +779,1,2037,757,1, +2713,3206,1,2714,3183, +1,1574,799,1,2716, +3189,1,1958,3409,16, +0,107,1,2506,3410, +16,0,107,1,58, +3411,19,429,1,58, +3412,5,9,1,2519, 1618,1,2557,1627,1, -2521,3389,16,0,421, +2521,3413,16,0,427, 1,2559,1633,1,2597, -3390,16,0,421,1, -2561,3391,16,0,421, +3414,16,0,427,1, +2561,3415,16,0,427, 1,2459,882,1,2464, -899,1,2470,3392,16, -0,421,1,61,3393, -19,420,1,61,3394, +899,1,2470,3416,16, +0,427,1,59,3417, +19,426,1,59,3418, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3395,16,0,418,1, -2559,1633,1,2597,3396, -16,0,418,1,2561, -3397,16,0,418,1, +3419,16,0,424,1, +2559,1633,1,2597,3420, +16,0,424,1,2561, +3421,16,0,424,1, 2459,882,1,2464,899, -1,2470,3398,16,0, -418,1,62,3399,19, -417,1,62,3400,5, +1,2470,3422,16,0, +424,1,60,3423,19, +423,1,60,3424,5, 9,1,2519,1618,1, -2557,1627,1,2521,3401, -16,0,415,1,2559, -1633,1,2597,3402,16, -0,415,1,2561,3403, -16,0,415,1,2459, +2557,1627,1,2521,3425, +16,0,421,1,2559, +1633,1,2597,3426,16, +0,421,1,2561,3427, +16,0,421,1,2459, 882,1,2464,899,1, -2470,3404,16,0,415, -1,63,3405,19,414, -1,63,3406,5,9, +2470,3428,16,0,421, +1,61,3429,19,420, +1,61,3430,5,9, 1,2519,1618,1,2557, -1627,1,2521,3407,16, -0,412,1,2559,1633, -1,2597,3408,16,0, -412,1,2561,3409,16, -0,412,1,2459,882, +1627,1,2521,3431,16, +0,418,1,2559,1633, +1,2597,3432,16,0, +418,1,2561,3433,16, +0,418,1,2459,882, 1,2464,899,1,2470, -3410,16,0,412,1, -64,3411,19,653,1, -64,3412,5,9,1, +3434,16,0,418,1, +62,3435,19,417,1, +62,3436,5,9,1, 2519,1618,1,2557,1627, -1,2521,3413,16,0, -651,1,2559,1633,1, -2597,3414,16,0,651, -1,2561,3415,16,0, -651,1,2459,882,1, -2464,899,1,2470,3416, -16,0,651,1,65, -3417,19,410,1,65, -3418,5,9,1,2519, +1,2521,3437,16,0, +415,1,2559,1633,1, +2597,3438,16,0,415, +1,2561,3439,16,0, +415,1,2459,882,1, +2464,899,1,2470,3440, +16,0,415,1,63, +3441,19,414,1,63, +3442,5,9,1,2519, 1618,1,2557,1627,1, -2521,3419,16,0,408, +2521,3443,16,0,412, 1,2559,1633,1,2597, -3420,16,0,408,1, -2561,3421,16,0,408, +3444,16,0,412,1, +2561,3445,16,0,412, 1,2459,882,1,2464, -899,1,2470,3422,16, -0,408,1,66,3423, -19,493,1,66,3424, +899,1,2470,3446,16, +0,412,1,64,3447, +19,653,1,64,3448, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3425,16,0,491,1, -2559,1633,1,2597,3426, -16,0,491,1,2561, -3427,16,0,491,1, +3449,16,0,651,1, +2559,1633,1,2597,3450, +16,0,651,1,2561, +3451,16,0,651,1, 2459,882,1,2464,899, -1,2470,3428,16,0, -491,1,67,3429,19, -406,1,67,3430,5, +1,2470,3452,16,0, +651,1,65,3453,19, +410,1,65,3454,5, 9,1,2519,1618,1, -2557,1627,1,2521,3431, -16,0,404,1,2559, -1633,1,2597,3432,16, -0,404,1,2561,3433, -16,0,404,1,2459, +2557,1627,1,2521,3455, +16,0,408,1,2559, +1633,1,2597,3456,16, +0,408,1,2561,3457, +16,0,408,1,2459, 882,1,2464,899,1, -2470,3434,16,0,404, -1,68,3435,19,403, -1,68,3436,5,9, +2470,3458,16,0,408, +1,66,3459,19,493, +1,66,3460,5,9, 1,2519,1618,1,2557, -1627,1,2521,3437,16, -0,401,1,2559,1633, -1,2597,3438,16,0, -401,1,2561,3439,16, -0,401,1,2459,882, +1627,1,2521,3461,16, +0,491,1,2559,1633, +1,2597,3462,16,0, +491,1,2561,3463,16, +0,491,1,2459,882, 1,2464,899,1,2470, -3440,16,0,401,1, -69,3441,19,486,1, -69,3442,5,9,1, +3464,16,0,491,1, +67,3465,19,406,1, +67,3466,5,9,1, 2519,1618,1,2557,1627, -1,2521,3443,16,0, -484,1,2559,1633,1, -2597,3444,16,0,484, -1,2561,3445,16,0, -484,1,2459,882,1, -2464,899,1,2470,3446, -16,0,484,1,70, -3447,19,399,1,70, -3448,5,9,1,2519, +1,2521,3467,16,0, +404,1,2559,1633,1, +2597,3468,16,0,404, +1,2561,3469,16,0, +404,1,2459,882,1, +2464,899,1,2470,3470, +16,0,404,1,68, +3471,19,403,1,68, +3472,5,9,1,2519, 1618,1,2557,1627,1, -2521,3449,16,0,397, +2521,3473,16,0,401, 1,2559,1633,1,2597, -3450,16,0,397,1, -2561,3451,16,0,397, +3474,16,0,401,1, +2561,3475,16,0,401, 1,2459,882,1,2464, -899,1,2470,3452,16, -0,397,1,71,3453, -19,483,1,71,3454, +899,1,2470,3476,16, +0,401,1,69,3477, +19,486,1,69,3478, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3455,16,0,481,1, -2559,1633,1,2597,3456, -16,0,481,1,2561, -3457,16,0,481,1, +3479,16,0,484,1, +2559,1633,1,2597,3480, +16,0,484,1,2561, +3481,16,0,484,1, 2459,882,1,2464,899, -1,2470,3458,16,0, -481,1,72,3459,19, -480,1,72,3460,5, +1,2470,3482,16,0, +484,1,70,3483,19, +399,1,70,3484,5, 9,1,2519,1618,1, -2557,1627,1,2521,3461, -16,0,478,1,2559, -1633,1,2597,3462,16, -0,478,1,2561,3463, -16,0,478,1,2459, +2557,1627,1,2521,3485, +16,0,397,1,2559, +1633,1,2597,3486,16, +0,397,1,2561,3487, +16,0,397,1,2459, 882,1,2464,899,1, -2470,3464,16,0,478, -1,73,3465,19,477, -1,73,3466,5,9, +2470,3488,16,0,397, +1,71,3489,19,483, +1,71,3490,5,9, 1,2519,1618,1,2557, -1627,1,2521,3467,16, -0,475,1,2559,1633, -1,2597,3468,16,0, -475,1,2561,3469,16, -0,475,1,2459,882, +1627,1,2521,3491,16, +0,481,1,2559,1633, +1,2597,3492,16,0, +481,1,2561,3493,16, +0,481,1,2459,882, 1,2464,899,1,2470, -3470,16,0,475,1, -74,3471,19,474,1, -74,3472,5,9,1, +3494,16,0,481,1, +72,3495,19,480,1, +72,3496,5,9,1, 2519,1618,1,2557,1627, -1,2521,3473,16,0, -472,1,2559,1633,1, -2597,3474,16,0,472, -1,2561,3475,16,0, -472,1,2459,882,1, -2464,899,1,2470,3476, -16,0,472,1,75, -3477,19,390,1,75, -3478,5,9,1,2519, +1,2521,3497,16,0, +478,1,2559,1633,1, +2597,3498,16,0,478, +1,2561,3499,16,0, +478,1,2459,882,1, +2464,899,1,2470,3500, +16,0,478,1,73, +3501,19,477,1,73, +3502,5,9,1,2519, 1618,1,2557,1627,1, -2521,3479,16,0,388, +2521,3503,16,0,475, 1,2559,1633,1,2597, -3480,16,0,388,1, -2561,3481,16,0,388, +3504,16,0,475,1, +2561,3505,16,0,475, 1,2459,882,1,2464, -899,1,2470,3482,16, -0,388,1,76,3483, -19,387,1,76,3484, +899,1,2470,3506,16, +0,475,1,74,3507, +19,474,1,74,3508, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3485,16,0,385,1, -2559,1633,1,2597,3486, -16,0,385,1,2561, -3487,16,0,385,1, +3509,16,0,472,1, +2559,1633,1,2597,3510, +16,0,472,1,2561, +3511,16,0,472,1, 2459,882,1,2464,899, -1,2470,3488,16,0, -385,1,77,3489,19, -471,1,77,3490,5, +1,2470,3512,16,0, +472,1,75,3513,19, +390,1,75,3514,5, 9,1,2519,1618,1, -2557,1627,1,2521,3491, -16,0,469,1,2559, -1633,1,2597,3492,16, -0,469,1,2561,3493, -16,0,469,1,2459, +2557,1627,1,2521,3515, +16,0,388,1,2559, +1633,1,2597,3516,16, +0,388,1,2561,3517, +16,0,388,1,2459, 882,1,2464,899,1, -2470,3494,16,0,469, -1,78,3495,19,566, -1,78,3496,5,9, +2470,3518,16,0,388, +1,76,3519,19,387, +1,76,3520,5,9, 1,2519,1618,1,2557, -1627,1,2521,3497,16, -0,564,1,2559,1633, -1,2597,3498,16,0, -564,1,2561,3499,16, -0,564,1,2459,882, +1627,1,2521,3521,16, +0,385,1,2559,1633, +1,2597,3522,16,0, +385,1,2561,3523,16, +0,385,1,2459,882, 1,2464,899,1,2470, -3500,16,0,564,1, -79,3501,19,380,1, -79,3502,5,9,1, +3524,16,0,385,1, +77,3525,19,471,1, +77,3526,5,9,1, 2519,1618,1,2557,1627, -1,2521,3503,16,0, -378,1,2559,1633,1, -2597,3504,16,0,378, -1,2561,3505,16,0, -378,1,2459,882,1, -2464,899,1,2470,3506, -16,0,378,1,80, -3507,19,377,1,80, -3508,5,9,1,2519, +1,2521,3527,16,0, +469,1,2559,1633,1, +2597,3528,16,0,469, +1,2561,3529,16,0, +469,1,2459,882,1, +2464,899,1,2470,3530, +16,0,469,1,78, +3531,19,566,1,78, +3532,5,9,1,2519, 1618,1,2557,1627,1, -2521,3509,16,0,375, +2521,3533,16,0,564, 1,2559,1633,1,2597, -3510,16,0,375,1, -2561,3511,16,0,375, +3534,16,0,564,1, +2561,3535,16,0,564, 1,2459,882,1,2464, -899,1,2470,3512,16, -0,375,1,81,3513, -19,374,1,81,3514, +899,1,2470,3536,16, +0,564,1,79,3537, +19,380,1,79,3538, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3515,16,0,372,1, -2559,1633,1,2597,3516, -16,0,372,1,2561, -3517,16,0,372,1, +3539,16,0,378,1, +2559,1633,1,2597,3540, +16,0,378,1,2561, +3541,16,0,378,1, 2459,882,1,2464,899, -1,2470,3518,16,0, -372,1,82,3519,19, -371,1,82,3520,5, +1,2470,3542,16,0, +378,1,80,3543,19, +377,1,80,3544,5, 9,1,2519,1618,1, -2557,1627,1,2521,3521, -16,0,369,1,2559, -1633,1,2597,3522,16, -0,369,1,2561,3523, -16,0,369,1,2459, +2557,1627,1,2521,3545, +16,0,375,1,2559, +1633,1,2597,3546,16, +0,375,1,2561,3547, +16,0,375,1,2459, 882,1,2464,899,1, -2470,3524,16,0,369, -1,83,3525,19,368, -1,83,3526,5,9, +2470,3548,16,0,375, +1,81,3549,19,374, +1,81,3550,5,9, 1,2519,1618,1,2557, -1627,1,2521,3527,16, -0,366,1,2559,1633, -1,2597,3528,16,0, -366,1,2561,3529,16, -0,366,1,2459,882, +1627,1,2521,3551,16, +0,372,1,2559,1633, +1,2597,3552,16,0, +372,1,2561,3553,16, +0,372,1,2459,882, 1,2464,899,1,2470, -3530,16,0,366,1, -84,3531,19,365,1, -84,3532,5,9,1, +3554,16,0,372,1, +82,3555,19,371,1, +82,3556,5,9,1, 2519,1618,1,2557,1627, -1,2521,3533,16,0, -363,1,2559,1633,1, -2597,3534,16,0,363, -1,2561,3535,16,0, -363,1,2459,882,1, -2464,899,1,2470,3536, -16,0,363,1,85, -3537,19,362,1,85, -3538,5,9,1,2519, +1,2521,3557,16,0, +369,1,2559,1633,1, +2597,3558,16,0,369, +1,2561,3559,16,0, +369,1,2459,882,1, +2464,899,1,2470,3560, +16,0,369,1,83, +3561,19,368,1,83, +3562,5,9,1,2519, 1618,1,2557,1627,1, -2521,3539,16,0,360, +2521,3563,16,0,366, 1,2559,1633,1,2597, -3540,16,0,360,1, -2561,3541,16,0,360, +3564,16,0,366,1, +2561,3565,16,0,366, 1,2459,882,1,2464, -899,1,2470,3542,16, -0,360,1,86,3543, -19,359,1,86,3544, +899,1,2470,3566,16, +0,366,1,84,3567, +19,365,1,84,3568, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3545,16,0,357,1, -2559,1633,1,2597,3546, -16,0,357,1,2561, -3547,16,0,357,1, +3569,16,0,363,1, +2559,1633,1,2597,3570, +16,0,363,1,2561, +3571,16,0,363,1, 2459,882,1,2464,899, -1,2470,3548,16,0, -357,1,87,3549,19, -356,1,87,3550,5, +1,2470,3572,16,0, +363,1,85,3573,19, +362,1,85,3574,5, 9,1,2519,1618,1, -2557,1627,1,2521,3551, -16,0,354,1,2559, -1633,1,2597,3552,16, -0,354,1,2561,3553, -16,0,354,1,2459, +2557,1627,1,2521,3575, +16,0,360,1,2559, +1633,1,2597,3576,16, +0,360,1,2561,3577, +16,0,360,1,2459, 882,1,2464,899,1, -2470,3554,16,0,354, -1,88,3555,19,353, -1,88,3556,5,9, +2470,3578,16,0,360, +1,86,3579,19,359, +1,86,3580,5,9, 1,2519,1618,1,2557, -1627,1,2521,3557,16, -0,351,1,2559,1633, -1,2597,3558,16,0, -351,1,2561,3559,16, -0,351,1,2459,882, +1627,1,2521,3581,16, +0,357,1,2559,1633, +1,2597,3582,16,0, +357,1,2561,3583,16, +0,357,1,2459,882, 1,2464,899,1,2470, -3560,16,0,351,1, -89,3561,19,347,1, -89,3562,5,9,1, +3584,16,0,357,1, +87,3585,19,356,1, +87,3586,5,9,1, 2519,1618,1,2557,1627, -1,2521,3563,16,0, -345,1,2559,1633,1, -2597,3564,16,0,345, -1,2561,3565,16,0, -345,1,2459,882,1, -2464,899,1,2470,3566, -16,0,345,1,90, -3567,19,350,1,90, -3568,5,9,1,2519, +1,2521,3587,16,0, +354,1,2559,1633,1, +2597,3588,16,0,354, +1,2561,3589,16,0, +354,1,2459,882,1, +2464,899,1,2470,3590, +16,0,354,1,88, +3591,19,353,1,88, +3592,5,9,1,2519, 1618,1,2557,1627,1, -2521,3569,16,0,348, +2521,3593,16,0,351, 1,2559,1633,1,2597, -3570,16,0,348,1, -2561,3571,16,0,348, +3594,16,0,351,1, +2561,3595,16,0,351, 1,2459,882,1,2464, -899,1,2470,3572,16, -0,348,1,91,3573, -19,344,1,91,3574, +899,1,2470,3596,16, +0,351,1,89,3597, +19,347,1,89,3598, 5,9,1,2519,1618, 1,2557,1627,1,2521, -3575,16,0,342,1, -2559,1633,1,2597,3576, -16,0,342,1,2561, -3577,16,0,342,1, +3599,16,0,345,1, +2559,1633,1,2597,3600, +16,0,345,1,2561, +3601,16,0,345,1, 2459,882,1,2464,899, -1,2470,3578,16,0, -342,1,92,3579,19, -133,1,92,3580,5, -125,1,0,3581,16, -0,563,1,1,1951, -1,2,1957,1,3, -1962,1,4,1967,1, -5,1972,1,6,1977, -1,7,1982,1,8, -3582,16,0,131,1, -1515,3583,16,0,165, -1,2021,718,1,2022, -3584,16,0,497,1, -256,3585,16,0,173, -1,2025,3586,16,0, -501,1,18,3587,16, -0,138,1,2027,3588, -16,0,505,1,2695, -3589,16,0,563,1, -2029,725,1,2030,731, -1,2031,736,1,2032, -741,1,2033,746,1, -277,3590,16,0,173, -1,2035,752,1,2037, -757,1,2039,762,1, -32,3591,16,0,165, -1,2041,768,1,2293, -3592,16,0,173,1, -2043,774,1,2045,779, -1,2713,3170,1,2715, -3159,1,41,3593,16, -0,173,1,1297,3594, -16,0,165,1,43, -3595,16,0,173,1, -46,3596,16,0,178, -1,1804,3597,16,0, -165,1,299,3598,16, -0,173,1,52,3599, -16,0,165,1,509, -3600,16,0,173,1, -2318,3601,16,0,165, -1,62,3602,16,0, -195,1,65,3603,16, -0,197,1,2075,3604, -16,0,165,1,1574, -799,1,71,3605,16, -0,173,1,1775,3606, -16,0,165,1,76, -3607,16,0,173,1, -1834,3608,16,0,165, -1,2337,3609,16,0, -165,1,79,3610,16, -0,173,1,1335,3611, -16,0,165,1,322, -3612,16,0,173,1, -85,3613,16,0,173, -1,1261,3614,16,0, -165,1,89,3615,16, -0,173,1,346,3616, -16,0,173,1,97, -3617,16,0,173,1, -2106,3618,16,0,165, -1,102,3619,16,0, -173,1,1860,821,1, -1803,787,1,2364,827, -1,1113,3620,16,0, -158,1,112,3621,16, -0,173,1,1117,3622, -16,0,165,1,1873, -835,1,1876,3623,16, -0,165,1,372,3624, -16,0,535,1,374, -3625,16,0,537,1, -124,3626,16,0,173, -1,376,3627,16,0, -539,1,378,3628,16, -0,541,1,2136,842, -1,381,3629,16,0, -173,1,525,3630,16, -0,173,1,137,3631, -16,0,173,1,1901, -3632,16,0,165,1, -2655,3175,1,2658,3633, -16,0,173,1,1153, -3634,16,0,165,1, -151,3635,16,0,173, -1,1407,3636,16,0, -165,1,1659,3637,16, -0,165,1,2413,3638, -16,0,165,1,406, -3639,16,0,173,1, -1371,3640,16,0,165, -1,2105,814,1,1657, -894,1,166,3641,16, -0,173,1,1622,3642, -16,0,173,1,2683, -3187,1,1931,861,1, -1933,3643,16,0,165, -1,431,3644,16,0, -173,1,1585,3645,16, -0,173,1,182,3646, -16,0,173,1,2694, -3180,1,1189,3647,16, -0,165,1,1443,3648, -16,0,165,1,1695, -3649,16,0,165,1, -2198,3650,16,0,165, -1,447,3651,16,0, -173,1,2458,876,1, -2459,882,1,1958,3652, -16,0,165,1,2462, -889,1,2714,3147,1, -2464,899,1,2716,3153, -1,2466,3164,1,459, -3653,16,0,173,1, -2468,3654,16,0,340, -1,462,3655,16,0, -173,1,199,3656,16, -0,173,1,217,3657, -16,0,173,1,2227, -908,1,1225,3658,16, -0,165,1,1479,3659, -16,0,165,1,1731, -3660,16,0,173,1, -1989,916,1,1990,3661, -16,0,165,1,236, -3662,16,0,173,1, -1756,3663,16,0,165, -1,93,3664,19,626, -1,93,3665,5,95, -1,256,3666,16,0, -624,1,1261,3667,16, -0,624,1,509,3668, -16,0,624,1,1515, -3669,16,0,624,1, -2021,718,1,1775,3670, -16,0,624,1,2029, -725,1,2030,731,1, -2031,736,1,2032,741, -1,2033,746,1,277, -3671,16,0,624,1, -2035,752,1,2037,757, -1,2039,762,1,32, -3672,16,0,624,1, -2041,768,1,2293,3673, -16,0,624,1,2043, -774,1,2045,779,1, -41,3674,16,0,624, -1,1297,3675,16,0, -624,1,43,3676,16, -0,624,1,1803,787, -1,1804,3677,16,0, -624,1,299,3678,16, -0,624,1,52,3679, -16,0,624,1,2318, -3680,16,0,624,1, -62,3681,16,0,624, -1,2075,3682,16,0, -624,1,1574,799,1, -71,3683,16,0,624, -1,76,3684,16,0, -624,1,1834,3685,16, -0,624,1,2337,3686, -16,0,624,1,79, -3687,16,0,624,1, -1335,3688,16,0,624, -1,322,3689,16,0, -624,1,85,3690,16, -0,624,1,89,3691, -16,0,624,1,346, -3692,16,0,624,1, -2105,814,1,2106,3693, -16,0,624,1,97, -3694,16,0,624,1, -1860,821,1,2364,827, -1,102,3695,16,0, -624,1,112,3696,16, -0,624,1,1117,3697, -16,0,624,1,1873, -835,1,1876,3698,16, -0,624,1,124,3699, -16,0,624,1,2136, -842,1,381,3700,16, -0,624,1,525,3701, -16,0,624,1,137, -3702,16,0,624,1, -1901,3703,16,0,624, -1,2658,3704,16,0, -624,1,1153,3705,16, -0,624,1,151,3706, -16,0,624,1,1407, -3707,16,0,624,1, -1659,3708,16,0,624, -1,2413,3709,16,0, -624,1,406,3710,16, -0,624,1,1371,3711, -16,0,624,1,166, -3712,16,0,624,1, -1622,3713,16,0,624, -1,1931,861,1,1933, -3714,16,0,624,1, -431,3715,16,0,624, -1,1585,3716,16,0, -624,1,182,3717,16, -0,624,1,1189,3718, -16,0,624,1,1443, -3719,16,0,624,1, -1695,3720,16,0,624, -1,2198,3721,16,0, -624,1,447,3722,16, -0,624,1,2458,876, -1,2459,882,1,1958, -3723,16,0,624,1, -2462,889,1,1657,894, -1,2464,899,1,199, -3724,16,0,624,1, -459,3725,16,0,624, -1,462,3726,16,0, -624,1,217,3727,16, -0,624,1,2227,908, -1,1225,3728,16,0, -624,1,1479,3729,16, -0,624,1,1731,3730, -16,0,624,1,1989, -916,1,1990,3731,16, -0,624,1,236,3732, -16,0,624,1,1756, -3733,16,0,624,1, -94,3734,19,623,1, -94,3735,5,95,1, -256,3736,16,0,621, -1,1261,3737,16,0, -621,1,509,3738,16, -0,621,1,1515,3739, -16,0,621,1,2021, -718,1,1775,3740,16, -0,621,1,2029,725, +1,2470,3602,16,0, +345,1,90,3603,19, +350,1,90,3604,5, +9,1,2519,1618,1, +2557,1627,1,2521,3605, +16,0,348,1,2559, +1633,1,2597,3606,16, +0,348,1,2561,3607, +16,0,348,1,2459, +882,1,2464,899,1, +2470,3608,16,0,348, +1,91,3609,19,344, +1,91,3610,5,9, +1,2519,1618,1,2557, +1627,1,2521,3611,16, +0,342,1,2559,1633, +1,2597,3612,16,0, +342,1,2561,3613,16, +0,342,1,2459,882, +1,2464,899,1,2470, +3614,16,0,342,1, +92,3615,19,133,1, +92,3616,5,125,1, +0,3617,16,0,563, +1,1,1951,1,2, +1957,1,3,1962,1, +4,1967,1,5,1972, +1,6,1977,1,7, +1982,1,8,3618,16, +0,131,1,1515,3619, +16,0,165,1,2021, +718,1,2022,3620,16, +0,497,1,256,3621, +16,0,173,1,2025, +3622,16,0,501,1, +18,3623,16,0,138, +1,2027,3624,16,0, +505,1,2695,3625,16, +0,563,1,2029,725, 1,2030,731,1,2031, 736,1,2032,741,1, -2033,746,1,277,3741, -16,0,621,1,2035, +2033,746,1,277,3626, +16,0,173,1,2035, 752,1,2037,757,1, -2039,762,1,32,3742, -16,0,621,1,2041, -768,1,2293,3743,16, -0,621,1,2043,774, -1,2045,779,1,41, -3744,16,0,621,1, -1297,3745,16,0,621, -1,43,3746,16,0, -621,1,1803,787,1, -1804,3747,16,0,621, -1,299,3748,16,0, -621,1,52,3749,16, -0,621,1,2318,3750, -16,0,621,1,62, -3751,16,0,621,1, -2075,3752,16,0,621, -1,1574,799,1,71, -3753,16,0,621,1, -76,3754,16,0,621, -1,1834,3755,16,0, -621,1,2337,3756,16, -0,621,1,79,3757, -16,0,621,1,1335, -3758,16,0,621,1, -322,3759,16,0,621, -1,85,3760,16,0, -621,1,89,3761,16, -0,621,1,346,3762, -16,0,621,1,2105, -814,1,2106,3763,16, -0,621,1,97,3764, -16,0,621,1,1860, -821,1,2364,827,1, -102,3765,16,0,621, -1,112,3766,16,0, -621,1,1117,3767,16, -0,621,1,1873,835, -1,1876,3768,16,0, -621,1,124,3769,16, -0,621,1,2136,842, -1,381,3770,16,0, -621,1,525,3771,16, -0,621,1,137,3772, -16,0,621,1,1901, -3773,16,0,621,1, -2658,3774,16,0,621, -1,1153,3775,16,0, -621,1,151,3776,16, -0,621,1,1407,3777, -16,0,621,1,1659, -3778,16,0,621,1, -2413,3779,16,0,621, -1,406,3780,16,0, -621,1,1371,3781,16, -0,621,1,166,3782, -16,0,621,1,1622, -3783,16,0,621,1, -1931,861,1,1933,3784, -16,0,621,1,431, -3785,16,0,621,1, -1585,3786,16,0,621, -1,182,3787,16,0, -621,1,1189,3788,16, -0,621,1,1443,3789, -16,0,621,1,1695, -3790,16,0,621,1, -2198,3791,16,0,621, -1,447,3792,16,0, -621,1,2458,876,1, -2459,882,1,1958,3793, -16,0,621,1,2462, -889,1,1657,894,1, -2464,899,1,199,3794, -16,0,621,1,459, -3795,16,0,621,1, -462,3796,16,0,621, -1,217,3797,16,0, -621,1,2227,908,1, -1225,3798,16,0,621, -1,1479,3799,16,0, -621,1,1731,3800,16, -0,621,1,1989,916, -1,1990,3801,16,0, -621,1,236,3802,16, -0,621,1,1756,3803, -16,0,621,1,95, -3804,19,620,1,95, -3805,5,95,1,256, -3806,16,0,618,1, -1261,3807,16,0,618, -1,509,3808,16,0, -618,1,1515,3809,16, -0,618,1,2021,718, -1,1775,3810,16,0, -618,1,2029,725,1, +2039,762,1,32,3627, +16,0,165,1,2041, +768,1,2293,3628,16, +0,173,1,2043,774, +1,2045,779,1,2713, +3206,1,2715,3195,1, +41,3629,16,0,173, +1,1297,3630,16,0, +165,1,43,3631,16, +0,173,1,46,3632, +16,0,178,1,1804, +3633,16,0,165,1, +299,3634,16,0,173, +1,52,3635,16,0, +165,1,509,3636,16, +0,173,1,2318,3637, +16,0,165,1,62, +3638,16,0,195,1, +65,3639,16,0,197, +1,2075,3640,16,0, +165,1,1574,799,1, +71,3641,16,0,173, +1,1775,3642,16,0, +165,1,76,3643,16, +0,173,1,1834,3644, +16,0,165,1,2337, +3645,16,0,165,1, +79,3646,16,0,173, +1,1335,3647,16,0, +165,1,322,3648,16, +0,173,1,85,3649, +16,0,173,1,1261, +3650,16,0,165,1, +89,3651,16,0,173, +1,346,3652,16,0, +173,1,97,3653,16, +0,173,1,2106,3654, +16,0,165,1,102, +3655,16,0,173,1, +1860,821,1,1803,787, +1,2364,827,1,1113, +3656,16,0,158,1, +112,3657,16,0,173, +1,1117,3658,16,0, +165,1,1873,835,1, +1876,3659,16,0,165, +1,372,3660,16,0, +535,1,374,3661,16, +0,537,1,124,3662, +16,0,173,1,376, +3663,16,0,539,1, +378,3664,16,0,541, +1,2136,842,1,381, +3665,16,0,173,1, +525,3666,16,0,173, +1,137,3667,16,0, +173,1,1901,3668,16, +0,165,1,2655,3211, +1,2658,3669,16,0, +173,1,1153,3670,16, +0,165,1,151,3671, +16,0,173,1,1407, +3672,16,0,165,1, +1659,3673,16,0,165, +1,2413,3674,16,0, +165,1,406,3675,16, +0,173,1,1371,3676, +16,0,165,1,2105, +814,1,1657,894,1, +166,3677,16,0,173, +1,1622,3678,16,0, +173,1,2683,3223,1, +1931,861,1,1933,3679, +16,0,165,1,431, +3680,16,0,173,1, +1585,3681,16,0,173, +1,182,3682,16,0, +173,1,2694,3216,1, +1189,3683,16,0,165, +1,1443,3684,16,0, +165,1,1695,3685,16, +0,165,1,2198,3686, +16,0,165,1,447, +3687,16,0,173,1, +2458,876,1,2459,882, +1,1958,3688,16,0, +165,1,2462,889,1, +2714,3183,1,2464,899, +1,2716,3189,1,2466, +3200,1,459,3689,16, +0,173,1,2468,3690, +16,0,340,1,462, +3691,16,0,173,1, +199,3692,16,0,173, +1,217,3693,16,0, +173,1,2227,908,1, +1225,3694,16,0,165, +1,1479,3695,16,0, +165,1,1731,3696,16, +0,173,1,1989,916, +1,1990,3697,16,0, +165,1,236,3698,16, +0,173,1,1756,3699, +16,0,165,1,93, +3700,19,626,1,93, +3701,5,95,1,256, +3702,16,0,624,1, +1261,3703,16,0,624, +1,509,3704,16,0, +624,1,1515,3705,16, +0,624,1,2021,718, +1,1775,3706,16,0, +624,1,2029,725,1, 2030,731,1,2031,736, 1,2032,741,1,2033, -746,1,277,3811,16, -0,618,1,2035,752, +746,1,277,3707,16, +0,624,1,2035,752, 1,2037,757,1,2039, -762,1,32,3812,16, -0,618,1,2041,768, -1,2293,3813,16,0, -618,1,2043,774,1, -2045,779,1,41,3814, -16,0,618,1,1297, -3815,16,0,618,1, -43,3816,16,0,618, +762,1,32,3708,16, +0,624,1,2041,768, +1,2293,3709,16,0, +624,1,2043,774,1, +2045,779,1,41,3710, +16,0,624,1,1297, +3711,16,0,624,1, +43,3712,16,0,624, 1,1803,787,1,1804, -3817,16,0,618,1, -299,3818,16,0,618, -1,52,3819,16,0, -618,1,2318,3820,16, -0,618,1,62,3821, -16,0,618,1,2075, -3822,16,0,618,1, -1574,799,1,71,3823, -16,0,618,1,76, -3824,16,0,618,1, -1834,3825,16,0,618, -1,2337,3826,16,0, -618,1,79,3827,16, -0,618,1,1335,3828, -16,0,618,1,322, -3829,16,0,618,1, -85,3830,16,0,618, -1,89,3831,16,0, -618,1,346,3832,16, -0,618,1,2105,814, -1,2106,3833,16,0, -618,1,97,3834,16, -0,618,1,1860,821, +3713,16,0,624,1, +299,3714,16,0,624, +1,52,3715,16,0, +624,1,2318,3716,16, +0,624,1,62,3717, +16,0,624,1,2075, +3718,16,0,624,1, +1574,799,1,71,3719, +16,0,624,1,76, +3720,16,0,624,1, +1834,3721,16,0,624, +1,2337,3722,16,0, +624,1,79,3723,16, +0,624,1,1335,3724, +16,0,624,1,322, +3725,16,0,624,1, +85,3726,16,0,624, +1,89,3727,16,0, +624,1,346,3728,16, +0,624,1,2105,814, +1,2106,3729,16,0, +624,1,97,3730,16, +0,624,1,1860,821, 1,2364,827,1,102, -3835,16,0,618,1, -112,3836,16,0,618, -1,1117,3837,16,0, -618,1,1873,835,1, -1876,3838,16,0,618, -1,124,3839,16,0, -618,1,2136,842,1, -381,3840,16,0,618, -1,525,3841,16,0, -618,1,137,3842,16, -0,618,1,1901,3843, -16,0,618,1,2658, -3844,16,0,618,1, -1153,3845,16,0,618, -1,151,3846,16,0, -618,1,1407,3847,16, -0,618,1,1659,3848, -16,0,618,1,2413, -3849,16,0,618,1, -406,3850,16,0,618, -1,1371,3851,16,0, -618,1,166,3852,16, -0,618,1,1622,3853, -16,0,618,1,1931, -861,1,1933,3854,16, -0,618,1,431,3855, -16,0,618,1,1585, -3856,16,0,618,1, -182,3857,16,0,618, -1,1189,3858,16,0, -618,1,1443,3859,16, -0,618,1,1695,3860, -16,0,618,1,2198, -3861,16,0,618,1, -447,3862,16,0,618, +3731,16,0,624,1, +112,3732,16,0,624, +1,1117,3733,16,0, +624,1,1873,835,1, +1876,3734,16,0,624, +1,124,3735,16,0, +624,1,2136,842,1, +381,3736,16,0,624, +1,525,3737,16,0, +624,1,137,3738,16, +0,624,1,1901,3739, +16,0,624,1,2658, +3740,16,0,624,1, +1153,3741,16,0,624, +1,151,3742,16,0, +624,1,1407,3743,16, +0,624,1,1659,3744, +16,0,624,1,2413, +3745,16,0,624,1, +406,3746,16,0,624, +1,1371,3747,16,0, +624,1,166,3748,16, +0,624,1,1622,3749, +16,0,624,1,1931, +861,1,1933,3750,16, +0,624,1,431,3751, +16,0,624,1,1585, +3752,16,0,624,1, +182,3753,16,0,624, +1,1189,3754,16,0, +624,1,1443,3755,16, +0,624,1,1695,3756, +16,0,624,1,2198, +3757,16,0,624,1, +447,3758,16,0,624, 1,2458,876,1,2459, -882,1,1958,3863,16, -0,618,1,2462,889, +882,1,1958,3759,16, +0,624,1,2462,889, 1,1657,894,1,2464, -899,1,199,3864,16, -0,618,1,459,3865, -16,0,618,1,462, -3866,16,0,618,1, -217,3867,16,0,618, +899,1,199,3760,16, +0,624,1,459,3761, +16,0,624,1,462, +3762,16,0,624,1, +217,3763,16,0,624, 1,2227,908,1,1225, -3868,16,0,618,1, -1479,3869,16,0,618, -1,1731,3870,16,0, -618,1,1989,916,1, -1990,3871,16,0,618, -1,236,3872,16,0, -618,1,1756,3873,16, -0,618,1,96,3874, -19,103,1,96,3875, -5,1,1,0,3876, -16,0,104,1,97, -3877,19,611,1,97, -3878,5,1,1,0, -3879,16,0,609,1, -98,3880,19,636,1, -98,3881,5,2,1, -0,3882,16,0,638, -1,2695,3883,16,0, -634,1,99,3884,19, -633,1,99,3885,5, -2,1,0,3886,16, -0,637,1,2695,3887, -16,0,631,1,100, -3888,19,296,1,100, -3889,5,2,1,0, -3890,16,0,557,1, -2695,3891,16,0,294, -1,101,3892,19,561, -1,101,3893,5,4, -1,0,3894,16,0, -641,1,2695,3895,16, -0,641,1,2706,3896, -16,0,559,1,2636, -3897,16,0,559,1, -102,3898,19,591,1, -102,3899,5,2,1, -2470,3900,16,0,664, -1,2561,3901,16,0, -589,1,103,3902,19, -463,1,103,3903,5, -4,1,2597,3904,16, -0,558,1,2521,3905, -16,0,558,1,2470, -3906,16,0,461,1, -2561,3907,16,0,461, -1,104,3908,19,141, -1,104,3909,5,3, -1,2642,3910,16,0, -569,1,2506,3911,16, -0,317,1,10,3912, -16,0,139,1,105, -3913,19,151,1,105, -3914,5,17,1,0, -3915,16,0,254,1, -2075,3916,16,0,648, -1,2337,3917,16,0, -648,1,2413,3918,16, -0,648,1,10,3919, -16,0,336,1,2198, -3920,16,0,648,1, -1901,3921,16,0,648, -1,2642,3922,16,0, -336,1,21,3923,16, -0,149,1,2106,3924, -16,0,648,1,2506, -3925,16,0,336,1, -1804,3926,16,0,648, -1,1990,3927,16,0, -648,1,2695,3928,16, -0,254,1,32,3929, -16,0,648,1,1958, -3930,16,0,648,1, -1775,3931,16,0,648, -1,106,3932,19,130, -1,106,3933,5,18, -1,0,3934,16,0, -128,1,2642,3935,16, -0,137,1,2075,3936, -16,0,137,1,2337, -3937,16,0,137,1, -2413,3938,16,0,137, -1,10,3939,16,0, -137,1,2198,3940,16, -0,137,1,1901,3941, -16,0,137,1,52, -3942,16,0,193,1, -21,3943,16,0,137, -1,2106,3944,16,0, -137,1,2506,3945,16, -0,137,1,1804,3946, -16,0,137,1,1990, -3947,16,0,137,1, -2695,3948,16,0,128, -1,32,3949,16,0, -137,1,1958,3950,16, -0,137,1,1775,3951, -16,0,137,1,107, -3952,19,658,1,107, -3953,5,4,1,2597, -3954,16,0,656,1, -2521,3955,16,0,656, -1,2470,3956,16,0, -656,1,2561,3957,16, -0,656,1,108,3958, -19,335,1,108,3959, -5,14,1,2517,3960, -16,0,437,1,2075, -3961,16,0,506,1, -2337,3962,16,0,506, -1,2413,3963,16,0, -506,1,1901,3964,16, -0,506,1,2198,3965, -16,0,506,1,2106, -3966,16,0,506,1, -2653,3967,16,0,571, -1,1804,3968,16,0, -506,1,1990,3969,16, -0,506,1,31,3970, -16,0,333,1,32, -3971,16,0,506,1, -1958,3972,16,0,506, -1,1775,3973,16,0, -506,1,109,3974,19, -302,1,109,3975,5, -1,1,32,3976,16, -0,300,1,110,3977, -19,261,1,110,3978, -5,11,1,2075,3979, -16,0,577,1,2337, -3980,16,0,265,1, -2413,3981,16,0,445, -1,1901,3982,16,0, -391,1,2198,3983,16, -0,319,1,2106,3984, -16,0,607,1,1804, -3985,16,0,284,1, -1990,3986,16,0,494, -1,32,3987,16,0, -329,1,1958,3988,16, -0,450,1,1775,3989, -16,0,259,1,111, -3990,19,583,1,111, -3991,5,11,1,2075, -3992,16,0,581,1, -2337,3993,16,0,581, -1,2413,3994,16,0, -581,1,1901,3995,16, -0,581,1,2198,3996, -16,0,581,1,2106, -3997,16,0,581,1, -1804,3998,16,0,581, -1,1990,3999,16,0, -581,1,32,4000,16, -0,581,1,1958,4001, -16,0,581,1,1775, -4002,16,0,581,1, -112,4003,19,645,1, -112,4004,5,11,1, -2075,4005,16,0,643, -1,2337,4006,16,0, -643,1,2413,4007,16, -0,643,1,1901,4008, -16,0,643,1,2198, -4009,16,0,643,1, -2106,4010,16,0,643, -1,1804,4011,16,0, -643,1,1990,4012,16, -0,643,1,32,4013, -16,0,643,1,1958, -4014,16,0,643,1, -1775,4015,16,0,643, -1,113,4016,19,161, -1,113,4017,5,31, -1,1901,4018,16,0, -647,1,1479,4019,16, -0,551,1,2075,4020, -16,0,647,1,1695, -4021,16,0,189,1, -1756,4022,16,0,188, -1,2413,4023,16,0, -647,1,2198,4024,16, -0,647,1,1876,4025, -16,0,661,1,1659, -4026,16,0,188,1, -1443,4027,16,0,522, -1,1117,4028,16,0, -159,1,1990,4029,16, -0,647,1,1189,4030, -16,0,240,1,1775, -4031,16,0,647,1, -32,4032,16,0,647, -1,2106,4033,16,0, -647,1,1515,4034,16, -0,579,1,2337,4035, -16,0,647,1,52, -4036,16,0,592,1, -1804,4037,16,0,647, -1,1261,4038,16,0, -298,1,1153,4039,16, -0,247,1,1225,4040, -16,0,274,1,1335, -4041,16,0,443,1, -1933,4042,16,0,553, -1,1834,4043,16,0, -312,1,1297,4044,16, -0,323,1,1407,4045, -16,0,568,1,2318, -4046,16,0,188,1, -1958,4047,16,0,647, -1,1371,4048,16,0, -438,1,114,4049,19, -531,1,114,4050,5, -11,1,2075,4051,16, -0,529,1,2337,4052, -16,0,529,1,2413, -4053,16,0,529,1, -1901,4054,16,0,529, -1,2198,4055,16,0, -529,1,2106,4056,16, -0,529,1,1804,4057, -16,0,529,1,1990, -4058,16,0,529,1, -32,4059,16,0,529, -1,1958,4060,16,0, -529,1,1775,4061,16, -0,529,1,115,4062, -19,527,1,115,4063, -5,11,1,2075,4064, -16,0,525,1,2337, -4065,16,0,525,1, -2413,4066,16,0,525, -1,1901,4067,16,0, -525,1,2198,4068,16, -0,525,1,2106,4069, -16,0,525,1,1804, -4070,16,0,525,1, -1990,4071,16,0,525, -1,32,4072,16,0, -525,1,1958,4073,16, -0,525,1,1775,4074, -16,0,525,1,116, -4075,19,575,1,116, -4076,5,11,1,2075, -4077,16,0,573,1, -2337,4078,16,0,573, -1,2413,4079,16,0, -573,1,1901,4080,16, -0,573,1,2198,4081, -16,0,573,1,2106, -4082,16,0,573,1, -1804,4083,16,0,573, -1,1990,4084,16,0, -573,1,32,4085,16, -0,573,1,1958,4086, -16,0,573,1,1775, -4087,16,0,573,1, -117,4088,19,521,1, -117,4089,5,11,1, -2075,4090,16,0,519, -1,2337,4091,16,0, -519,1,2413,4092,16, -0,519,1,1901,4093, -16,0,519,1,2198, -4094,16,0,519,1, -2106,4095,16,0,519, -1,1804,4096,16,0, -519,1,1990,4097,16, -0,519,1,32,4098, -16,0,519,1,1958, -4099,16,0,519,1, -1775,4100,16,0,519, -1,118,4101,19,518, -1,118,4102,5,11, -1,2075,4103,16,0, -516,1,2337,4104,16, -0,516,1,2413,4105, -16,0,516,1,1901, -4106,16,0,516,1, -2198,4107,16,0,516, -1,2106,4108,16,0, -516,1,1804,4109,16, -0,516,1,1990,4110, -16,0,516,1,32, -4111,16,0,516,1, -1958,4112,16,0,516, -1,1775,4113,16,0, -516,1,119,4114,19, -515,1,119,4115,5, -11,1,2075,4116,16, -0,513,1,2337,4117, -16,0,513,1,2413, -4118,16,0,513,1, -1901,4119,16,0,513, -1,2198,4120,16,0, -513,1,2106,4121,16, -0,513,1,1804,4122, -16,0,513,1,1990, -4123,16,0,513,1, -32,4124,16,0,513, -1,1958,4125,16,0, -513,1,1775,4126,16, -0,513,1,120,4127, -19,512,1,120,4128, -5,11,1,2075,4129, -16,0,510,1,2337, -4130,16,0,510,1, -2413,4131,16,0,510, -1,1901,4132,16,0, -510,1,2198,4133,16, -0,510,1,2106,4134, -16,0,510,1,1804, -4135,16,0,510,1, -1990,4136,16,0,510, -1,32,4137,16,0, -510,1,1958,4138,16, -0,510,1,1775,4139, -16,0,510,1,121, -4140,19,509,1,121, -4141,5,11,1,2075, -4142,16,0,507,1, -2337,4143,16,0,507, -1,2413,4144,16,0, -507,1,1901,4145,16, -0,507,1,2198,4146, -16,0,507,1,2106, -4147,16,0,507,1, -1804,4148,16,0,507, -1,1990,4149,16,0, -507,1,32,4150,16, -0,507,1,1958,4151, -16,0,507,1,1775, -4152,16,0,507,1, -122,4153,19,147,1, -122,4154,5,3,1, -1756,4155,16,0,283, -1,2318,4156,16,0, -297,1,1659,4157,16, -0,145,1,123,4158, -19,548,1,123,4159, -5,68,1,1901,4160, -16,0,546,1,1479, -4161,16,0,546,1, -112,4162,16,0,546, -1,2293,4163,16,0, -546,1,1804,4164,16, -0,546,1,431,4165, -16,0,546,1,1443, -4166,16,0,546,1, -1756,4167,16,0,546, -1,124,4168,16,0, -546,1,525,4169,16, -0,546,1,236,4170, -16,0,546,1,346, -4171,16,0,546,1, -1876,4172,16,0,546, -1,1659,4173,16,0, -546,1,1225,4174,16, -0,546,1,1117,4175, -16,0,546,1,137, -4176,16,0,546,1, -2318,4177,16,0,546, -1,1775,4178,16,0, -546,1,32,4179,16, -0,546,1,1407,4180, -16,0,546,1,256, -4181,16,0,546,1, -459,4182,16,0,546, -1,406,4183,16,0, -546,1,41,4184,16, -0,546,1,2658,4185, -16,0,546,1,43, -4186,16,0,546,1, -1585,4187,16,0,546, -1,1990,4188,16,0, -546,1,2337,4189,16, -0,546,1,509,4190, -16,0,546,1,52, -4191,16,0,546,1, -151,4192,16,0,546, -1,447,4193,16,0, -546,1,166,4194,16, -0,546,1,462,4195, -16,0,546,1,277, -4196,16,0,546,1, -1695,4197,16,0,546, -1,62,4198,16,0, -586,1,1153,4199,16, -0,546,1,381,4200, -16,0,546,1,2106, -4201,16,0,546,1, -1335,4202,16,0,546, -1,71,4203,16,0, -546,1,182,4204,16, -0,546,1,76,4205, -16,0,546,1,79, -4206,16,0,546,1, -1933,4207,16,0,546, -1,299,4208,16,0, -546,1,85,4209,16, -0,546,1,1515,4210, -16,0,546,1,2198, -4211,16,0,546,1, -89,4212,16,0,546, -1,1834,4213,16,0, -546,1,1622,4214,16, -0,546,1,2413,4215, -16,0,546,1,2075, -4216,16,0,546,1, -1731,4217,16,0,546, -1,97,4218,16,0, -546,1,1297,4219,16, -0,546,1,1189,4220, -16,0,546,1,102, -4221,16,0,546,1, -1261,4222,16,0,546, -1,322,4223,16,0, -546,1,1958,4224,16, -0,546,1,199,4225, -16,0,546,1,1371, -4226,16,0,546,1, -217,4227,16,0,546, -1,124,4228,19,602, -1,124,4229,5,2, -1,459,4230,16,0, -600,1,41,4231,16, -0,665,1,125,4232, -19,606,1,125,4233, -5,3,1,462,4234, -16,0,604,1,459, -4235,16,0,630,1, -41,4236,16,0,630, -1,126,4237,19,4238, -4,36,69,0,120, -0,112,0,114,0, -101,0,115,0,115, -0,105,0,111,0, -110,0,65,0,114, -0,103,0,117,0, -109,0,101,0,110, -0,116,0,1,126, -4233,1,127,4239,19, -544,1,127,4240,5, -68,1,1901,4241,16, -0,542,1,1479,4242, -16,0,542,1,112, -4243,16,0,542,1, -2293,4244,16,0,542, -1,1804,4245,16,0, -542,1,431,4246,16, -0,542,1,1443,4247, -16,0,542,1,1756, -4248,16,0,542,1, -124,4249,16,0,542, -1,525,4250,16,0, -542,1,236,4251,16, -0,542,1,346,4252, -16,0,542,1,1876, -4253,16,0,542,1, -1659,4254,16,0,542, -1,1225,4255,16,0, -542,1,1117,4256,16, -0,542,1,137,4257, -16,0,542,1,2318, -4258,16,0,542,1, -1775,4259,16,0,542, -1,32,4260,16,0, -542,1,1407,4261,16, -0,542,1,256,4262, -16,0,542,1,459, -4263,16,0,542,1, -406,4264,16,0,542, -1,41,4265,16,0, -542,1,2658,4266,16, -0,542,1,43,4267, -16,0,542,1,1585, -4268,16,0,542,1, -1990,4269,16,0,542, -1,2337,4270,16,0, -542,1,509,4271,16, -0,542,1,52,4272, -16,0,542,1,151, -4273,16,0,542,1, -447,4274,16,0,542, -1,166,4275,16,0, -542,1,462,4276,16, -0,542,1,277,4277, -16,0,542,1,1695, -4278,16,0,542,1, -62,4279,16,0,587, -1,1153,4280,16,0, -542,1,381,4281,16, -0,542,1,2106,4282, -16,0,542,1,1335, -4283,16,0,542,1, -71,4284,16,0,542, -1,182,4285,16,0, -542,1,76,4286,16, -0,542,1,79,4287, -16,0,542,1,1933, -4288,16,0,542,1, -299,4289,16,0,542, -1,85,4290,16,0, -542,1,1515,4291,16, -0,542,1,2198,4292, -16,0,542,1,89, -4293,16,0,542,1, -1834,4294,16,0,542, -1,1622,4295,16,0, -542,1,2413,4296,16, -0,542,1,2075,4297, -16,0,542,1,1731, -4298,16,0,542,1, -97,4299,16,0,542, -1,1297,4300,16,0, -542,1,1189,4301,16, -0,542,1,102,4302, -16,0,542,1,1261, -4303,16,0,542,1, -322,4304,16,0,542, -1,1958,4305,16,0, -542,1,199,4306,16, -0,542,1,1371,4307, -16,0,542,1,217, -4308,16,0,542,1, -128,4309,19,4310,4, -28,86,0,101,0, -99,0,116,0,111, -0,114,0,67,0, +3764,16,0,624,1, +1479,3765,16,0,624, +1,1731,3766,16,0, +624,1,1989,916,1, +1990,3767,16,0,624, +1,236,3768,16,0, +624,1,1756,3769,16, +0,624,1,94,3770, +19,623,1,94,3771, +5,95,1,256,3772, +16,0,621,1,1261, +3773,16,0,621,1, +509,3774,16,0,621, +1,1515,3775,16,0, +621,1,2021,718,1, +1775,3776,16,0,621, +1,2029,725,1,2030, +731,1,2031,736,1, +2032,741,1,2033,746, +1,277,3777,16,0, +621,1,2035,752,1, +2037,757,1,2039,762, +1,32,3778,16,0, +621,1,2041,768,1, +2293,3779,16,0,621, +1,2043,774,1,2045, +779,1,41,3780,16, +0,621,1,1297,3781, +16,0,621,1,43, +3782,16,0,621,1, +1803,787,1,1804,3783, +16,0,621,1,299, +3784,16,0,621,1, +52,3785,16,0,621, +1,2318,3786,16,0, +621,1,62,3787,16, +0,621,1,2075,3788, +16,0,621,1,1574, +799,1,71,3789,16, +0,621,1,76,3790, +16,0,621,1,1834, +3791,16,0,621,1, +2337,3792,16,0,621, +1,79,3793,16,0, +621,1,1335,3794,16, +0,621,1,322,3795, +16,0,621,1,85, +3796,16,0,621,1, +89,3797,16,0,621, +1,346,3798,16,0, +621,1,2105,814,1, +2106,3799,16,0,621, +1,97,3800,16,0, +621,1,1860,821,1, +2364,827,1,102,3801, +16,0,621,1,112, +3802,16,0,621,1, +1117,3803,16,0,621, +1,1873,835,1,1876, +3804,16,0,621,1, +124,3805,16,0,621, +1,2136,842,1,381, +3806,16,0,621,1, +525,3807,16,0,621, +1,137,3808,16,0, +621,1,1901,3809,16, +0,621,1,2658,3810, +16,0,621,1,1153, +3811,16,0,621,1, +151,3812,16,0,621, +1,1407,3813,16,0, +621,1,1659,3814,16, +0,621,1,2413,3815, +16,0,621,1,406, +3816,16,0,621,1, +1371,3817,16,0,621, +1,166,3818,16,0, +621,1,1622,3819,16, +0,621,1,1931,861, +1,1933,3820,16,0, +621,1,431,3821,16, +0,621,1,1585,3822, +16,0,621,1,182, +3823,16,0,621,1, +1189,3824,16,0,621, +1,1443,3825,16,0, +621,1,1695,3826,16, +0,621,1,2198,3827, +16,0,621,1,447, +3828,16,0,621,1, +2458,876,1,2459,882, +1,1958,3829,16,0, +621,1,2462,889,1, +1657,894,1,2464,899, +1,199,3830,16,0, +621,1,459,3831,16, +0,621,1,462,3832, +16,0,621,1,217, +3833,16,0,621,1, +2227,908,1,1225,3834, +16,0,621,1,1479, +3835,16,0,621,1, +1731,3836,16,0,621, +1,1989,916,1,1990, +3837,16,0,621,1, +236,3838,16,0,621, +1,1756,3839,16,0, +621,1,95,3840,19, +620,1,95,3841,5, +95,1,256,3842,16, +0,618,1,1261,3843, +16,0,618,1,509, +3844,16,0,618,1, +1515,3845,16,0,618, +1,2021,718,1,1775, +3846,16,0,618,1, +2029,725,1,2030,731, +1,2031,736,1,2032, +741,1,2033,746,1, +277,3847,16,0,618, +1,2035,752,1,2037, +757,1,2039,762,1, +32,3848,16,0,618, +1,2041,768,1,2293, +3849,16,0,618,1, +2043,774,1,2045,779, +1,41,3850,16,0, +618,1,1297,3851,16, +0,618,1,43,3852, +16,0,618,1,1803, +787,1,1804,3853,16, +0,618,1,299,3854, +16,0,618,1,52, +3855,16,0,618,1, +2318,3856,16,0,618, +1,62,3857,16,0, +618,1,2075,3858,16, +0,618,1,1574,799, +1,71,3859,16,0, +618,1,76,3860,16, +0,618,1,1834,3861, +16,0,618,1,2337, +3862,16,0,618,1, +79,3863,16,0,618, +1,1335,3864,16,0, +618,1,322,3865,16, +0,618,1,85,3866, +16,0,618,1,89, +3867,16,0,618,1, +346,3868,16,0,618, +1,2105,814,1,2106, +3869,16,0,618,1, +97,3870,16,0,618, +1,1860,821,1,2364, +827,1,102,3871,16, +0,618,1,112,3872, +16,0,618,1,1117, +3873,16,0,618,1, +1873,835,1,1876,3874, +16,0,618,1,124, +3875,16,0,618,1, +2136,842,1,381,3876, +16,0,618,1,525, +3877,16,0,618,1, +137,3878,16,0,618, +1,1901,3879,16,0, +618,1,2658,3880,16, +0,618,1,1153,3881, +16,0,618,1,151, +3882,16,0,618,1, +1407,3883,16,0,618, +1,1659,3884,16,0, +618,1,2413,3885,16, +0,618,1,406,3886, +16,0,618,1,1371, +3887,16,0,618,1, +166,3888,16,0,618, +1,1622,3889,16,0, +618,1,1931,861,1, +1933,3890,16,0,618, +1,431,3891,16,0, +618,1,1585,3892,16, +0,618,1,182,3893, +16,0,618,1,1189, +3894,16,0,618,1, +1443,3895,16,0,618, +1,1695,3896,16,0, +618,1,2198,3897,16, +0,618,1,447,3898, +16,0,618,1,2458, +876,1,2459,882,1, +1958,3899,16,0,618, +1,2462,889,1,1657, +894,1,2464,899,1, +199,3900,16,0,618, +1,459,3901,16,0, +618,1,462,3902,16, +0,618,1,217,3903, +16,0,618,1,2227, +908,1,1225,3904,16, +0,618,1,1479,3905, +16,0,618,1,1731, +3906,16,0,618,1, +1989,916,1,1990,3907, +16,0,618,1,236, +3908,16,0,618,1, +1756,3909,16,0,618, +1,96,3910,19,103, +1,96,3911,5,1, +1,0,3912,16,0, +104,1,97,3913,19, +611,1,97,3914,5, +1,1,0,3915,16, +0,609,1,98,3916, +19,636,1,98,3917, +5,2,1,0,3918, +16,0,638,1,2695, +3919,16,0,634,1, +99,3920,19,633,1, +99,3921,5,2,1, +0,3922,16,0,637, +1,2695,3923,16,0, +631,1,100,3924,19, +296,1,100,3925,5, +2,1,0,3926,16, +0,557,1,2695,3927, +16,0,294,1,101, +3928,19,561,1,101, +3929,5,4,1,0, +3930,16,0,641,1, +2695,3931,16,0,641, +1,2706,3932,16,0, +559,1,2636,3933,16, +0,559,1,102,3934, +19,591,1,102,3935, +5,2,1,2470,3936, +16,0,664,1,2561, +3937,16,0,589,1, +103,3938,19,463,1, +103,3939,5,4,1, +2597,3940,16,0,558, +1,2521,3941,16,0, +558,1,2470,3942,16, +0,461,1,2561,3943, +16,0,461,1,104, +3944,19,141,1,104, +3945,5,3,1,2642, +3946,16,0,569,1, +2506,3947,16,0,317, +1,10,3948,16,0, +139,1,105,3949,19, +151,1,105,3950,5, +17,1,0,3951,16, +0,254,1,2075,3952, +16,0,648,1,2337, +3953,16,0,648,1, +2413,3954,16,0,648, +1,10,3955,16,0, +336,1,2198,3956,16, +0,648,1,1901,3957, +16,0,648,1,2642, +3958,16,0,336,1, +21,3959,16,0,149, +1,2106,3960,16,0, +648,1,2506,3961,16, +0,336,1,1804,3962, +16,0,648,1,1990, +3963,16,0,648,1, +2695,3964,16,0,254, +1,32,3965,16,0, +648,1,1958,3966,16, +0,648,1,1775,3967, +16,0,648,1,106, +3968,19,130,1,106, +3969,5,18,1,0, +3970,16,0,128,1, +2642,3971,16,0,137, +1,2075,3972,16,0, +137,1,2337,3973,16, +0,137,1,2413,3974, +16,0,137,1,10, +3975,16,0,137,1, +2198,3976,16,0,137, +1,1901,3977,16,0, +137,1,52,3978,16, +0,193,1,21,3979, +16,0,137,1,2106, +3980,16,0,137,1, +2506,3981,16,0,137, +1,1804,3982,16,0, +137,1,1990,3983,16, +0,137,1,2695,3984, +16,0,128,1,32, +3985,16,0,137,1, +1958,3986,16,0,137, +1,1775,3987,16,0, +137,1,107,3988,19, +658,1,107,3989,5, +4,1,2597,3990,16, +0,656,1,2521,3991, +16,0,656,1,2470, +3992,16,0,656,1, +2561,3993,16,0,656, +1,108,3994,19,335, +1,108,3995,5,14, +1,2517,3996,16,0, +437,1,2075,3997,16, +0,506,1,2337,3998, +16,0,506,1,2413, +3999,16,0,506,1, +1901,4000,16,0,506, +1,2198,4001,16,0, +506,1,2106,4002,16, +0,506,1,2653,4003, +16,0,571,1,1804, +4004,16,0,506,1, +1990,4005,16,0,506, +1,31,4006,16,0, +333,1,32,4007,16, +0,506,1,1958,4008, +16,0,506,1,1775, +4009,16,0,506,1, +109,4010,19,302,1, +109,4011,5,1,1, +32,4012,16,0,300, +1,110,4013,19,261, +1,110,4014,5,11, +1,2075,4015,16,0, +577,1,2337,4016,16, +0,265,1,2413,4017, +16,0,445,1,1901, +4018,16,0,391,1, +2198,4019,16,0,319, +1,2106,4020,16,0, +607,1,1804,4021,16, +0,284,1,1990,4022, +16,0,494,1,32, +4023,16,0,329,1, +1958,4024,16,0,450, +1,1775,4025,16,0, +259,1,111,4026,19, +583,1,111,4027,5, +11,1,2075,4028,16, +0,581,1,2337,4029, +16,0,581,1,2413, +4030,16,0,581,1, +1901,4031,16,0,581, +1,2198,4032,16,0, +581,1,2106,4033,16, +0,581,1,1804,4034, +16,0,581,1,1990, +4035,16,0,581,1, +32,4036,16,0,581, +1,1958,4037,16,0, +581,1,1775,4038,16, +0,581,1,112,4039, +19,645,1,112,4040, +5,11,1,2075,4041, +16,0,643,1,2337, +4042,16,0,643,1, +2413,4043,16,0,643, +1,1901,4044,16,0, +643,1,2198,4045,16, +0,643,1,2106,4046, +16,0,643,1,1804, +4047,16,0,643,1, +1990,4048,16,0,643, +1,32,4049,16,0, +643,1,1958,4050,16, +0,643,1,1775,4051, +16,0,643,1,113, +4052,19,161,1,113, +4053,5,31,1,1901, +4054,16,0,647,1, +1479,4055,16,0,551, +1,2075,4056,16,0, +647,1,1695,4057,16, +0,189,1,1756,4058, +16,0,188,1,2413, +4059,16,0,647,1, +2198,4060,16,0,647, +1,1876,4061,16,0, +661,1,1659,4062,16, +0,188,1,1443,4063, +16,0,522,1,1117, +4064,16,0,159,1, +1990,4065,16,0,647, +1,1189,4066,16,0, +240,1,1775,4067,16, +0,647,1,32,4068, +16,0,647,1,2106, +4069,16,0,647,1, +1515,4070,16,0,579, +1,2337,4071,16,0, +647,1,52,4072,16, +0,592,1,1804,4073, +16,0,647,1,1261, +4074,16,0,298,1, +1153,4075,16,0,247, +1,1225,4076,16,0, +274,1,1335,4077,16, +0,443,1,1933,4078, +16,0,553,1,1834, +4079,16,0,312,1, +1297,4080,16,0,323, +1,1407,4081,16,0, +568,1,2318,4082,16, +0,188,1,1958,4083, +16,0,647,1,1371, +4084,16,0,438,1, +114,4085,19,531,1, +114,4086,5,11,1, +2075,4087,16,0,529, +1,2337,4088,16,0, +529,1,2413,4089,16, +0,529,1,1901,4090, +16,0,529,1,2198, +4091,16,0,529,1, +2106,4092,16,0,529, +1,1804,4093,16,0, +529,1,1990,4094,16, +0,529,1,32,4095, +16,0,529,1,1958, +4096,16,0,529,1, +1775,4097,16,0,529, +1,115,4098,19,527, +1,115,4099,5,11, +1,2075,4100,16,0, +525,1,2337,4101,16, +0,525,1,2413,4102, +16,0,525,1,1901, +4103,16,0,525,1, +2198,4104,16,0,525, +1,2106,4105,16,0, +525,1,1804,4106,16, +0,525,1,1990,4107, +16,0,525,1,32, +4108,16,0,525,1, +1958,4109,16,0,525, +1,1775,4110,16,0, +525,1,116,4111,19, +575,1,116,4112,5, +11,1,2075,4113,16, +0,573,1,2337,4114, +16,0,573,1,2413, +4115,16,0,573,1, +1901,4116,16,0,573, +1,2198,4117,16,0, +573,1,2106,4118,16, +0,573,1,1804,4119, +16,0,573,1,1990, +4120,16,0,573,1, +32,4121,16,0,573, +1,1958,4122,16,0, +573,1,1775,4123,16, +0,573,1,117,4124, +19,521,1,117,4125, +5,11,1,2075,4126, +16,0,519,1,2337, +4127,16,0,519,1, +2413,4128,16,0,519, +1,1901,4129,16,0, +519,1,2198,4130,16, +0,519,1,2106,4131, +16,0,519,1,1804, +4132,16,0,519,1, +1990,4133,16,0,519, +1,32,4134,16,0, +519,1,1958,4135,16, +0,519,1,1775,4136, +16,0,519,1,118, +4137,19,518,1,118, +4138,5,11,1,2075, +4139,16,0,516,1, +2337,4140,16,0,516, +1,2413,4141,16,0, +516,1,1901,4142,16, +0,516,1,2198,4143, +16,0,516,1,2106, +4144,16,0,516,1, +1804,4145,16,0,516, +1,1990,4146,16,0, +516,1,32,4147,16, +0,516,1,1958,4148, +16,0,516,1,1775, +4149,16,0,516,1, +119,4150,19,515,1, +119,4151,5,11,1, +2075,4152,16,0,513, +1,2337,4153,16,0, +513,1,2413,4154,16, +0,513,1,1901,4155, +16,0,513,1,2198, +4156,16,0,513,1, +2106,4157,16,0,513, +1,1804,4158,16,0, +513,1,1990,4159,16, +0,513,1,32,4160, +16,0,513,1,1958, +4161,16,0,513,1, +1775,4162,16,0,513, +1,120,4163,19,512, +1,120,4164,5,11, +1,2075,4165,16,0, +510,1,2337,4166,16, +0,510,1,2413,4167, +16,0,510,1,1901, +4168,16,0,510,1, +2198,4169,16,0,510, +1,2106,4170,16,0, +510,1,1804,4171,16, +0,510,1,1990,4172, +16,0,510,1,32, +4173,16,0,510,1, +1958,4174,16,0,510, +1,1775,4175,16,0, +510,1,121,4176,19, +509,1,121,4177,5, +11,1,2075,4178,16, +0,507,1,2337,4179, +16,0,507,1,2413, +4180,16,0,507,1, +1901,4181,16,0,507, +1,2198,4182,16,0, +507,1,2106,4183,16, +0,507,1,1804,4184, +16,0,507,1,1990, +4185,16,0,507,1, +32,4186,16,0,507, +1,1958,4187,16,0, +507,1,1775,4188,16, +0,507,1,122,4189, +19,147,1,122,4190, +5,3,1,1756,4191, +16,0,283,1,2318, +4192,16,0,297,1, +1659,4193,16,0,145, +1,123,4194,19,548, +1,123,4195,5,68, +1,1901,4196,16,0, +546,1,1479,4197,16, +0,546,1,112,4198, +16,0,546,1,2293, +4199,16,0,546,1, +1804,4200,16,0,546, +1,431,4201,16,0, +546,1,1443,4202,16, +0,546,1,1756,4203, +16,0,546,1,124, +4204,16,0,546,1, +525,4205,16,0,546, +1,236,4206,16,0, +546,1,346,4207,16, +0,546,1,1876,4208, +16,0,546,1,1659, +4209,16,0,546,1, +1225,4210,16,0,546, +1,1117,4211,16,0, +546,1,137,4212,16, +0,546,1,2318,4213, +16,0,546,1,1775, +4214,16,0,546,1, +32,4215,16,0,546, +1,1407,4216,16,0, +546,1,256,4217,16, +0,546,1,459,4218, +16,0,546,1,406, +4219,16,0,546,1, +41,4220,16,0,546, +1,2658,4221,16,0, +546,1,43,4222,16, +0,546,1,1585,4223, +16,0,546,1,1990, +4224,16,0,546,1, +2337,4225,16,0,546, +1,509,4226,16,0, +546,1,52,4227,16, +0,546,1,151,4228, +16,0,546,1,447, +4229,16,0,546,1, +166,4230,16,0,546, +1,462,4231,16,0, +546,1,277,4232,16, +0,546,1,1695,4233, +16,0,546,1,62, +4234,16,0,586,1, +1153,4235,16,0,546, +1,381,4236,16,0, +546,1,2106,4237,16, +0,546,1,1335,4238, +16,0,546,1,71, +4239,16,0,546,1, +182,4240,16,0,546, +1,76,4241,16,0, +546,1,79,4242,16, +0,546,1,1933,4243, +16,0,546,1,299, +4244,16,0,546,1, +85,4245,16,0,546, +1,1515,4246,16,0, +546,1,2198,4247,16, +0,546,1,89,4248, +16,0,546,1,1834, +4249,16,0,546,1, +1622,4250,16,0,546, +1,2413,4251,16,0, +546,1,2075,4252,16, +0,546,1,1731,4253, +16,0,546,1,97, +4254,16,0,546,1, +1297,4255,16,0,546, +1,1189,4256,16,0, +546,1,102,4257,16, +0,546,1,1261,4258, +16,0,546,1,322, +4259,16,0,546,1, +1958,4260,16,0,546, +1,199,4261,16,0, +546,1,1371,4262,16, +0,546,1,217,4263, +16,0,546,1,124, +4264,19,602,1,124, +4265,5,2,1,459, +4266,16,0,600,1, +41,4267,16,0,665, +1,125,4268,19,606, +1,125,4269,5,3, +1,462,4270,16,0, +604,1,459,4271,16, +0,630,1,41,4272, +16,0,630,1,126, +4273,19,4274,4,36, +69,0,120,0,112, +0,114,0,101,0, +115,0,115,0,105, +0,111,0,110,0, +65,0,114,0,103, +0,117,0,109,0, +101,0,110,0,116, +0,1,126,4269,1, +127,4275,19,544,1, +127,4276,5,68,1, +1901,4277,16,0,542, +1,1479,4278,16,0, +542,1,112,4279,16, +0,542,1,2293,4280, +16,0,542,1,1804, +4281,16,0,542,1, +431,4282,16,0,542, +1,1443,4283,16,0, +542,1,1756,4284,16, +0,542,1,124,4285, +16,0,542,1,525, +4286,16,0,542,1, +236,4287,16,0,542, +1,346,4288,16,0, +542,1,1876,4289,16, +0,542,1,1659,4290, +16,0,542,1,1225, +4291,16,0,542,1, +1117,4292,16,0,542, +1,137,4293,16,0, +542,1,2318,4294,16, +0,542,1,1775,4295, +16,0,542,1,32, +4296,16,0,542,1, +1407,4297,16,0,542, +1,256,4298,16,0, +542,1,459,4299,16, +0,542,1,406,4300, +16,0,542,1,41, +4301,16,0,542,1, +2658,4302,16,0,542, +1,43,4303,16,0, +542,1,1585,4304,16, +0,542,1,1990,4305, +16,0,542,1,2337, +4306,16,0,542,1, +509,4307,16,0,542, +1,52,4308,16,0, +542,1,151,4309,16, +0,542,1,447,4310, +16,0,542,1,166, +4311,16,0,542,1, +462,4312,16,0,542, +1,277,4313,16,0, +542,1,1695,4314,16, +0,542,1,62,4315, +16,0,587,1,1153, +4316,16,0,542,1, +381,4317,16,0,542, +1,2106,4318,16,0, +542,1,1335,4319,16, +0,542,1,71,4320, +16,0,542,1,182, +4321,16,0,542,1, +76,4322,16,0,542, +1,79,4323,16,0, +542,1,1933,4324,16, +0,542,1,299,4325, +16,0,542,1,85, +4326,16,0,542,1, +1515,4327,16,0,542, +1,2198,4328,16,0, +542,1,89,4329,16, +0,542,1,1834,4330, +16,0,542,1,1622, +4331,16,0,542,1, +2413,4332,16,0,542, +1,2075,4333,16,0, +542,1,1731,4334,16, +0,542,1,97,4335, +16,0,542,1,1297, +4336,16,0,542,1, +1189,4337,16,0,542, +1,102,4338,16,0, +542,1,1261,4339,16, +0,542,1,322,4340, +16,0,542,1,1958, +4341,16,0,542,1, +199,4342,16,0,542, +1,1371,4343,16,0, +542,1,217,4344,16, +0,542,1,128,4345, +19,4346,4,28,86, +0,101,0,99,0, +116,0,111,0,114, +0,67,0,111,0, +110,0,115,0,116, +0,97,0,110,0, +116,0,1,128,4276, +1,129,4347,19,4348, +4,32,82,0,111, +0,116,0,97,0, +116,0,105,0,111, +0,110,0,67,0, 111,0,110,0,115, 0,116,0,97,0, 110,0,116,0,1, -128,4240,1,129,4311, -19,4312,4,32,82, -0,111,0,116,0, -97,0,116,0,105, -0,111,0,110,0, +129,4276,1,130,4349, +19,4350,4,24,76, +0,105,0,115,0, +116,0,67,0,111, +0,110,0,115,0, +116,0,97,0,110, +0,116,0,1,130, +4276,1,131,4351,19, +169,1,131,4352,5, +67,1,1901,4353,16, +0,585,1,1479,4354, +16,0,533,1,112, +4355,16,0,249,1, +2293,4356,16,0,273, +1,1804,4357,16,0, +585,1,431,4358,16, +0,580,1,1443,4359, +16,0,468,1,1756, +4360,16,0,673,1, +124,4361,16,0,258, +1,525,4362,16,0, +305,1,236,4363,16, +0,341,1,346,4364, +16,0,496,1,1876, +4365,16,0,318,1, +1659,4366,16,0,673, +1,1225,4367,16,0, +248,1,1117,4368,16, +0,219,1,137,4369, +16,0,272,1,2318, +4370,16,0,673,1, +1775,4371,16,0,585, +1,32,4372,16,0, +585,1,1407,4373,16, +0,487,1,256,4374, +16,0,395,1,459, +4375,16,0,167,1, +406,4376,16,0,562, +1,41,4377,16,0, +167,1,2658,4378,16, +0,659,1,43,4379, +16,0,640,1,1990, +4380,16,0,585,1, +2337,4381,16,0,585, +1,509,4382,16,0, +655,1,52,4383,16, +0,594,1,151,4384, +16,0,282,1,447, +4385,16,0,305,1, +166,4386,16,0,293, +1,462,4387,16,0, +167,1,277,4388,16, +0,434,1,1695,4389, +16,0,270,1,1261, +4390,16,0,281,1, +1153,4391,16,0,174, +1,381,4392,16,0, +550,1,2106,4393,16, +0,585,1,1335,4394, +16,0,326,1,71, +4395,16,0,203,1, +182,4396,16,0,305, +1,76,4397,16,0, +549,1,79,4398,16, +0,218,1,1933,4399, +16,0,407,1,299, +4400,16,0,444,1, +85,4401,16,0,457, +1,1515,4402,16,0, +556,1,2198,4403,16, +0,585,1,89,4404, +16,0,227,1,1834, +4405,16,0,292,1, +1622,4406,16,0,654, +1,2413,4407,16,0, +585,1,2075,4408,16, +0,585,1,1731,4409, +16,0,250,1,97, +4410,16,0,411,1, +1297,4411,16,0,328, +1,1189,4412,16,0, +217,1,102,4413,16, +0,238,1,1585,4414, +16,0,663,1,322, +4415,16,0,458,1, +1958,4416,16,0,585, +1,199,4417,16,0, +316,1,1371,4418,16, +0,396,1,217,4419, +16,0,325,1,132, +4420,19,4421,4,36, 67,0,111,0,110, 0,115,0,116,0, 97,0,110,0,116, -0,1,129,4240,1, -130,4313,19,4314,4, -24,76,0,105,0, -115,0,116,0,67, -0,111,0,110,0, -115,0,116,0,97, -0,110,0,116,0, -1,130,4240,1,131, -4315,19,169,1,131, -4316,5,67,1,1901, -4317,16,0,585,1, -1479,4318,16,0,533, -1,112,4319,16,0, -249,1,2293,4320,16, -0,273,1,1804,4321, -16,0,585,1,431, -4322,16,0,580,1, -1443,4323,16,0,468, -1,1756,4324,16,0, -673,1,124,4325,16, -0,258,1,525,4326, -16,0,305,1,236, -4327,16,0,341,1, -346,4328,16,0,496, -1,1876,4329,16,0, -318,1,1659,4330,16, -0,673,1,1225,4331, -16,0,248,1,1117, -4332,16,0,219,1, -137,4333,16,0,272, -1,2318,4334,16,0, -673,1,1775,4335,16, -0,585,1,32,4336, -16,0,585,1,1407, -4337,16,0,487,1, -256,4338,16,0,395, -1,459,4339,16,0, -167,1,406,4340,16, -0,562,1,41,4341, -16,0,167,1,2658, -4342,16,0,659,1, -43,4343,16,0,640, -1,1990,4344,16,0, -585,1,2337,4345,16, -0,585,1,509,4346, -16,0,655,1,52, -4347,16,0,594,1, -151,4348,16,0,282, -1,447,4349,16,0, -305,1,166,4350,16, -0,293,1,462,4351, -16,0,167,1,277, -4352,16,0,434,1, -1695,4353,16,0,270, -1,1261,4354,16,0, -281,1,1153,4355,16, -0,174,1,381,4356, -16,0,550,1,2106, -4357,16,0,585,1, -1335,4358,16,0,326, -1,71,4359,16,0, -203,1,182,4360,16, -0,305,1,76,4361, -16,0,549,1,79, -4362,16,0,218,1, -1933,4363,16,0,407, -1,299,4364,16,0, -444,1,85,4365,16, -0,457,1,1515,4366, -16,0,556,1,2198, -4367,16,0,585,1, -89,4368,16,0,227, -1,1834,4369,16,0, -292,1,1622,4370,16, -0,654,1,2413,4371, -16,0,585,1,2075, -4372,16,0,585,1, -1731,4373,16,0,250, -1,97,4374,16,0, -411,1,1297,4375,16, -0,328,1,1189,4376, -16,0,217,1,102, -4377,16,0,238,1, -1585,4378,16,0,663, -1,322,4379,16,0, -458,1,1958,4380,16, -0,585,1,199,4381, -16,0,316,1,1371, -4382,16,0,396,1, -217,4383,16,0,325, -1,132,4384,19,4385, -4,36,67,0,111, -0,110,0,115,0, -116,0,97,0,110, -0,116,0,69,0, +0,69,0,120,0, +112,0,114,0,101, +0,115,0,115,0, +105,0,111,0,110, +0,1,132,4352,1, +133,4422,19,4423,4, +30,73,0,100,0, +101,0,110,0,116, +0,69,0,120,0, +112,0,114,0,101, +0,115,0,115,0, +105,0,111,0,110, +0,1,133,4352,1, +134,4424,19,4425,4, +36,73,0,100,0, +101,0,110,0,116, +0,68,0,111,0, +116,0,69,0,120, +0,112,0,114,0, +101,0,115,0,115, +0,105,0,111,0, +110,0,1,134,4352, +1,135,4426,19,4427, +4,44,70,0,117, +0,110,0,99,0, +116,0,105,0,111, +0,110,0,67,0, +97,0,108,0,108, +0,69,0,120,0, +112,0,114,0,101, +0,115,0,115,0, +105,0,111,0,110, +0,1,135,4352,1, +136,4428,19,4429,4, +32,66,0,105,0, +110,0,97,0,114, +0,121,0,69,0, 120,0,112,0,114, 0,101,0,115,0, 115,0,105,0,111, -0,110,0,1,132, -4316,1,133,4386,19, -4387,4,30,73,0, -100,0,101,0,110, -0,116,0,69,0, +0,110,0,1,136, +4352,1,137,4430,19, +4431,4,30,85,0, +110,0,97,0,114, +0,121,0,69,0, 120,0,112,0,114, 0,101,0,115,0, 115,0,105,0,111, -0,110,0,1,133, -4316,1,134,4388,19, -4389,4,36,73,0, -100,0,101,0,110, -0,116,0,68,0, -111,0,116,0,69, +0,110,0,1,137, +4352,1,138,4432,19, +4433,4,36,84,0, +121,0,112,0,101, +0,99,0,97,0, +115,0,116,0,69, 0,120,0,112,0, 114,0,101,0,115, 0,115,0,105,0, 111,0,110,0,1, -134,4316,1,135,4390, -19,4391,4,44,70, -0,117,0,110,0, -99,0,116,0,105, -0,111,0,110,0, -67,0,97,0,108, -0,108,0,69,0, -120,0,112,0,114, -0,101,0,115,0, -115,0,105,0,111, -0,110,0,1,135, -4316,1,136,4392,19, -4393,4,32,66,0, -105,0,110,0,97, -0,114,0,121,0, -69,0,120,0,112, -0,114,0,101,0, -115,0,115,0,105, -0,111,0,110,0, -1,136,4316,1,137, -4394,19,4395,4,30, -85,0,110,0,97, -0,114,0,121,0, -69,0,120,0,112, -0,114,0,101,0, -115,0,115,0,105, -0,111,0,110,0, -1,137,4316,1,138, -4396,19,4397,4,36, -84,0,121,0,112, -0,101,0,99,0, -97,0,115,0,116, +138,4352,1,139,4434, +19,4435,4,42,80, +0,97,0,114,0, +101,0,110,0,116, +0,104,0,101,0, +115,0,105,0,115, 0,69,0,120,0, 112,0,114,0,101, 0,115,0,115,0, 105,0,111,0,110, -0,1,138,4316,1, -139,4398,19,4399,4, -42,80,0,97,0, -114,0,101,0,110, -0,116,0,104,0, -101,0,115,0,105, -0,115,0,69,0, -120,0,112,0,114, -0,101,0,115,0, -115,0,105,0,111, -0,110,0,1,139, -4316,1,140,4400,19, -4401,4,56,73,0, -110,0,99,0,114, -0,101,0,109,0, -101,0,110,0,116, -0,68,0,101,0, +0,1,139,4352,1, +140,4436,19,4437,4, +56,73,0,110,0, 99,0,114,0,101, 0,109,0,101,0, -110,0,116,0,69, -0,120,0,112,0, -114,0,101,0,115, -0,115,0,105,0, -111,0,110,0,1, -140,4316,1,142,4402, -19,683,1,142,3875, -1,143,4403,19,705, -1,143,3875,1,144, -4404,19,3156,1,144, -3878,1,145,4405,19, -3151,1,145,3878,1, -146,4406,19,3162,1, -146,3878,1,147,4407, -19,3173,1,147,3878, -1,148,4408,19,3184, -1,148,3881,1,149, -4409,19,3190,1,149, -3881,1,150,4410,19, -3178,1,150,3885,1, -151,4411,19,3168,1, -151,3885,1,152,4412, -19,689,1,152,3889, -1,153,4413,19,710, -1,153,3889,1,154, -4414,19,695,1,154, -3893,1,155,4415,19, -700,1,155,3893,1, -156,4416,19,1636,1, -156,3899,1,157,4417, -19,1631,1,157,3899, -1,158,4418,19,1622, -1,158,3903,1,159, -4419,19,1680,1,159, -3909,1,160,4420,19, -1657,1,160,3909,1, -161,4421,19,1117,1, -161,3914,1,162,4422, -19,902,1,162,3959, -1,163,4423,19,886, -1,163,3959,1,164, -4424,19,892,1,164, -3975,1,165,4425,19, -880,1,165,3975,1, -166,4426,19,1145,1, -166,3991,1,167,4427, -19,782,1,167,3978, -1,168,4428,19,897, -1,168,3978,1,169, -4429,19,777,1,169, -3978,1,170,4430,19, -802,1,170,3978,1, -171,4431,19,771,1, -171,3978,1,172,4432, -19,765,1,172,3978, -1,173,4433,19,760, -1,173,3978,1,174, -4434,19,755,1,174, -3978,1,175,4435,19, -749,1,175,3978,1, -176,4436,19,744,1, -176,3978,1,177,4437, -19,739,1,177,3978, -1,178,4438,19,734, -1,178,3978,1,179, -4439,19,729,1,179, -3978,1,180,4440,19, -1152,1,180,4063,1, -181,4441,19,1290,1, -181,4076,1,182,4442, -19,1139,1,182,4089, -1,183,4443,19,1278, -1,183,4089,1,184, -4444,19,919,1,184, -4102,1,185,4445,19, -722,1,185,4102,1, -186,4446,19,817,1, -186,4102,1,187,4447, -19,845,1,187,4102, -1,188,4448,19,865, -1,188,4115,1,189, -4449,19,911,1,189, -4115,1,190,4450,19, -825,1,190,4128,1, -191,4451,19,838,1, -191,4128,1,192,4452, -19,791,1,192,4141, -1,193,4453,19,830, -1,193,4141,1,194, -4454,19,1477,1,194, -4154,1,195,4455,19, -1158,1,195,4154,1, -196,4456,19,1509,1, -196,4154,1,197,4457, -19,1541,1,197,4154, -1,198,4458,19,1406, -1,198,4004,1,199, -4459,19,1466,1,199, -4004,1,200,4460,19, -1133,1,200,4017,1, -201,4461,19,1573,1, -201,4017,1,202,4462, -19,1504,1,202,4017, -1,203,4463,19,1451, -1,203,4017,1,204, -4464,19,1374,1,204, -4017,1,205,4465,19, -1300,1,205,4017,1, -206,4466,19,1310,1, -206,4017,1,207,4467, -19,1128,1,207,4017, -1,208,4468,19,1557, -1,208,4017,1,209, -4469,19,1499,1,209, -4017,1,210,4470,19, -1441,1,210,4017,1, -211,4471,19,1363,1, -211,4017,1,212,4472, -19,1326,1,212,4017, -1,213,4473,19,1111, -1,213,4017,1,214, -4474,19,1461,1,214, -4017,1,215,4475,19, -1487,1,215,4017,1, -216,4476,19,1434,1, -216,4017,1,217,4477, -19,1456,1,217,4017, -1,218,4478,19,1266, -1,218,4017,1,219, -4479,19,1170,1,219, -4017,1,220,4480,19, -1100,1,220,4017,1, -221,4481,19,1531,1, -221,4017,1,222,4482, -19,1482,1,222,4017, -1,223,4483,19,1429, -1,223,4017,1,224, -4484,19,1295,1,224, -4050,1,225,4485,19, -1273,1,225,4050,1, -226,4486,19,1562,1, -226,4240,1,227,4487, -19,1586,1,227,4240, -1,228,4488,19,1552, -1,228,4240,1,229, -4489,19,1547,1,229, -4240,1,230,4490,19, -1568,1,230,4240,1, -231,4491,19,1515,1, -231,4240,1,232,4492, -19,1220,1,232,4240, -1,233,4493,19,1395, -1,233,4316,1,234, -4494,19,1181,1,234, -4316,1,235,4495,19, -1188,1,235,4316,1, -236,4496,19,1209,1, -236,4316,1,237,4497, -19,1204,1,237,4316, -1,238,4498,19,1199, -1,238,4316,1,239, -4499,19,1194,1,239, -4316,1,240,4500,19, -1384,1,240,4316,1, -241,4501,19,1412,1, -241,4316,1,242,4502, -19,1389,1,242,4316, -1,243,4503,19,1379, -1,243,4316,1,244, -4504,19,1369,1,244, -4316,1,245,4505,19, -1352,1,245,4316,1, -246,4506,19,1305,1, -246,4316,1,247,4507, -19,1214,1,247,4316, -1,248,4508,19,1175, -1,248,4316,1,249, -4509,19,1123,1,249, -4316,1,250,4510,19, -1581,1,250,4316,1, -251,4511,19,1536,1, -251,4316,1,252,4512, -19,1526,1,252,4316, -1,253,4513,19,1521, -1,253,4316,1,254, -4514,19,1472,1,254, -4316,1,255,4515,19, -1446,1,255,4316,1, -256,4516,19,1422,1, -256,4316,1,257,4517, -19,1417,1,257,4316, -1,258,4518,19,1358, -1,258,4316,1,259, -4519,19,1334,1,259, -4316,1,260,4520,19, -1400,1,260,4316,1, -261,4521,19,1493,1, -261,4316,1,262,4522, -19,1347,1,262,4316, -1,263,4523,19,1341, -1,263,4316,1,264, -4524,19,1321,1,264, -4316,1,265,4525,19, -1284,1,265,4316,1, -266,4526,19,1261,1, -266,4316,1,267,4527, -19,1106,1,267,4316, -1,268,4528,19,1596, -1,268,4316,1,269, -4529,19,1226,1,269, -4316,1,270,4530,19, -1231,1,270,4316,1, -271,4531,19,1251,1, -271,4316,1,272,4532, -19,1241,1,272,4316, -1,273,4533,19,1246, -1,273,4316,1,274, -4534,19,1236,1,274, -4316,1,275,4535,19, -1591,1,275,4316,1, -276,4536,19,1256,1, -276,4316,1,277,4537, -19,1316,1,277,4159, -1,278,4538,19,1650, -1,278,4229,1,279, -4539,19,1686,1,279, -4229,1,280,4540,19, -1666,1,280,4233,1, -281,4541,19,1985,1, -281,3933,1,282,4542, -19,1980,1,282,3933, -1,283,4543,19,1975, -1,283,3933,1,284, -4544,19,1970,1,284, -3933,1,285,4545,19, -1965,1,285,3933,1, -286,4546,19,1960,1, -286,3933,1,287,4547, -19,1955,1,287,3933, -1,288,4548,19,1944, -1,288,3953,1,289, -4549,19,1939,1,289, -3953,1,290,4550,19, -1934,1,290,3953,1, -291,4551,19,1929,1, -291,3953,1,292,4552, -19,1924,1,292,3953, -1,293,4553,19,1919, -1,293,3953,1,294, -4554,19,1914,1,294, -3953,1,295,4555,19, -1909,1,295,3953,1, -296,4556,19,1904,1, -296,3953,1,297,4557, -19,1739,1,297,3953, -1,298,4558,19,1898, -1,298,3953,1,299, -4559,19,1893,1,299, -3953,1,300,4560,19, -1888,1,300,3953,1, -301,4561,19,1732,1, -301,3953,1,302,4562, -19,1883,1,302,3953, -1,303,4563,19,1878, -1,303,3953,1,304, -4564,19,1873,1,304, -3953,1,305,4565,19, -1868,1,305,3953,1, -306,4566,19,1863,1, -306,3953,1,307,4567, -19,1858,1,307,3953, -1,308,4568,19,1725, -1,308,3953,1,309, -4569,19,1852,1,309, -3953,1,310,4570,19, -1847,1,310,3953,1, -311,4571,19,1842,1, -311,3953,1,312,4572, -19,1719,1,312,3953, -1,313,4573,19,1836, -1,313,3953,1,314, -4574,19,1767,1,314, -3953,1,315,4575,19, -1831,1,315,3953,1, -316,4576,19,1826,1, -316,3953,1,317,4577, -19,1821,1,317,3953, -1,318,4578,19,1816, -1,318,3953,1,319, -4579,19,1811,1,319, -3953,1,320,4580,19, -1806,1,320,3953,1, -321,4581,19,1801,1, -321,3953,1,322,4582, -19,4583,4,50,65, -0,114,0,103,0, -117,0,109,0,101, -0,110,0,116,0, -68,0,101,0,99, -0,108,0,97,0, -114,0,97,0,116, +110,0,116,0,68, +0,101,0,99,0, +114,0,101,0,109, +0,101,0,110,0, +116,0,69,0,120, +0,112,0,114,0, +101,0,115,0,115, 0,105,0,111,0, -110,0,76,0,105, -0,115,0,116,0, -95,0,51,0,1, -322,3909,1,323,4584, -19,4585,4,28,65, -0,114,0,103,0, -117,0,109,0,101, -0,110,0,116,0, -76,0,105,0,115, -0,116,0,95,0, -51,0,1,323,4229, -1,324,4586,19,4587, +110,0,1,140,4352, +1,142,4438,19,683, +1,142,3911,1,143, +4439,19,705,1,143, +3911,1,144,4440,19, +3192,1,144,3914,1, +145,4441,19,3187,1, +145,3914,1,146,4442, +19,3198,1,146,3914, +1,147,4443,19,3209, +1,147,3914,1,148, +4444,19,3220,1,148, +3917,1,149,4445,19, +3226,1,149,3917,1, +150,4446,19,3214,1, +150,3921,1,151,4447, +19,3204,1,151,3921, +1,152,4448,19,689, +1,152,3925,1,153, +4449,19,710,1,153, +3925,1,154,4450,19, +695,1,154,3929,1, +155,4451,19,700,1, +155,3929,1,156,4452, +19,1636,1,156,3935, +1,157,4453,19,1631, +1,157,3935,1,158, +4454,19,1622,1,158, +3939,1,159,4455,19, +1680,1,159,3945,1, +160,4456,19,1657,1, +160,3945,1,161,4457, +19,1117,1,161,3950, +1,162,4458,19,902, +1,162,3995,1,163, +4459,19,886,1,163, +3995,1,164,4460,19, +892,1,164,4011,1, +165,4461,19,880,1, +165,4011,1,166,4462, +19,1145,1,166,4027, +1,167,4463,19,782, +1,167,4014,1,168, +4464,19,897,1,168, +4014,1,169,4465,19, +777,1,169,4014,1, +170,4466,19,802,1, +170,4014,1,171,4467, +19,771,1,171,4014, +1,172,4468,19,765, +1,172,4014,1,173, +4469,19,760,1,173, +4014,1,174,4470,19, +755,1,174,4014,1, +175,4471,19,749,1, +175,4014,1,176,4472, +19,744,1,176,4014, +1,177,4473,19,739, +1,177,4014,1,178, +4474,19,734,1,178, +4014,1,179,4475,19, +729,1,179,4014,1, +180,4476,19,1152,1, +180,4099,1,181,4477, +19,1290,1,181,4112, +1,182,4478,19,1139, +1,182,4125,1,183, +4479,19,1278,1,183, +4125,1,184,4480,19, +919,1,184,4138,1, +185,4481,19,722,1, +185,4138,1,186,4482, +19,817,1,186,4138, +1,187,4483,19,845, +1,187,4138,1,188, +4484,19,865,1,188, +4151,1,189,4485,19, +911,1,189,4151,1, +190,4486,19,825,1, +190,4164,1,191,4487, +19,838,1,191,4164, +1,192,4488,19,791, +1,192,4177,1,193, +4489,19,830,1,193, +4177,1,194,4490,19, +1477,1,194,4190,1, +195,4491,19,1158,1, +195,4190,1,196,4492, +19,1509,1,196,4190, +1,197,4493,19,1541, +1,197,4190,1,198, +4494,19,1406,1,198, +4040,1,199,4495,19, +1466,1,199,4040,1, +200,4496,19,1133,1, +200,4053,1,201,4497, +19,1573,1,201,4053, +1,202,4498,19,1504, +1,202,4053,1,203, +4499,19,1451,1,203, +4053,1,204,4500,19, +1374,1,204,4053,1, +205,4501,19,1300,1, +205,4053,1,206,4502, +19,1310,1,206,4053, +1,207,4503,19,1128, +1,207,4053,1,208, +4504,19,1557,1,208, +4053,1,209,4505,19, +1499,1,209,4053,1, +210,4506,19,1441,1, +210,4053,1,211,4507, +19,1363,1,211,4053, +1,212,4508,19,1326, +1,212,4053,1,213, +4509,19,1111,1,213, +4053,1,214,4510,19, +1461,1,214,4053,1, +215,4511,19,1487,1, +215,4053,1,216,4512, +19,1434,1,216,4053, +1,217,4513,19,1456, +1,217,4053,1,218, +4514,19,1266,1,218, +4053,1,219,4515,19, +1170,1,219,4053,1, +220,4516,19,1100,1, +220,4053,1,221,4517, +19,1531,1,221,4053, +1,222,4518,19,1482, +1,222,4053,1,223, +4519,19,1429,1,223, +4053,1,224,4520,19, +1295,1,224,4086,1, +225,4521,19,1273,1, +225,4086,1,226,4522, +19,1562,1,226,4276, +1,227,4523,19,1586, +1,227,4276,1,228, +4524,19,1552,1,228, +4276,1,229,4525,19, +1547,1,229,4276,1, +230,4526,19,1568,1, +230,4276,1,231,4527, +19,1515,1,231,4276, +1,232,4528,19,1220, +1,232,4276,1,233, +4529,19,1395,1,233, +4352,1,234,4530,19, +1181,1,234,4352,1, +235,4531,19,1188,1, +235,4352,1,236,4532, +19,1209,1,236,4352, +1,237,4533,19,1204, +1,237,4352,1,238, +4534,19,1199,1,238, +4352,1,239,4535,19, +1194,1,239,4352,1, +240,4536,19,1384,1, +240,4352,1,241,4537, +19,1412,1,241,4352, +1,242,4538,19,1389, +1,242,4352,1,243, +4539,19,1379,1,243, +4352,1,244,4540,19, +1369,1,244,4352,1, +245,4541,19,1352,1, +245,4352,1,246,4542, +19,1305,1,246,4352, +1,247,4543,19,1214, +1,247,4352,1,248, +4544,19,1175,1,248, +4352,1,249,4545,19, +1123,1,249,4352,1, +250,4546,19,1581,1, +250,4352,1,251,4547, +19,1536,1,251,4352, +1,252,4548,19,1526, +1,252,4352,1,253, +4549,19,1521,1,253, +4352,1,254,4550,19, +1472,1,254,4352,1, +255,4551,19,1446,1, +255,4352,1,256,4552, +19,1422,1,256,4352, +1,257,4553,19,1417, +1,257,4352,1,258, +4554,19,1358,1,258, +4352,1,259,4555,19, +1334,1,259,4352,1, +260,4556,19,1400,1, +260,4352,1,261,4557, +19,1493,1,261,4352, +1,262,4558,19,1347, +1,262,4352,1,263, +4559,19,1341,1,263, +4352,1,264,4560,19, +1321,1,264,4352,1, +265,4561,19,1284,1, +265,4352,1,266,4562, +19,1261,1,266,4352, +1,267,4563,19,1106, +1,267,4352,1,268, +4564,19,1596,1,268, +4352,1,269,4565,19, +1226,1,269,4352,1, +270,4566,19,1231,1, +270,4352,1,271,4567, +19,1251,1,271,4352, +1,272,4568,19,1241, +1,272,4352,1,273, +4569,19,1246,1,273, +4352,1,274,4570,19, +1236,1,274,4352,1, +275,4571,19,1591,1, +275,4352,1,276,4572, +19,1256,1,276,4352, +1,277,4573,19,1316, +1,277,4195,1,278, +4574,19,1650,1,278, +4265,1,279,4575,19, +1686,1,279,4265,1, +280,4576,19,1666,1, +280,4269,1,281,4577, +19,1985,1,281,3969, +1,282,4578,19,1980, +1,282,3969,1,283, +4579,19,1975,1,283, +3969,1,284,4580,19, +1970,1,284,3969,1, +285,4581,19,1965,1, +285,3969,1,286,4582, +19,1960,1,286,3969, +1,287,4583,19,1955, +1,287,3969,1,288, +4584,19,1944,1,288, +3989,1,289,4585,19, +1939,1,289,3989,1, +290,4586,19,1934,1, +290,3989,1,291,4587, +19,1929,1,291,3989, +1,292,4588,19,1924, +1,292,3989,1,293, +4589,19,1919,1,293, +3989,1,294,4590,19, +1914,1,294,3989,1, +295,4591,19,1909,1, +295,3989,1,296,4592, +19,1904,1,296,3989, +1,297,4593,19,1739, +1,297,3989,1,298, +4594,19,1898,1,298, +3989,1,299,4595,19, +1893,1,299,3989,1, +300,4596,19,1888,1, +300,3989,1,301,4597, +19,1732,1,301,3989, +1,302,4598,19,1883, +1,302,3989,1,303, +4599,19,1878,1,303, +3989,1,304,4600,19, +1873,1,304,3989,1, +305,4601,19,1868,1, +305,3989,1,306,4602, +19,1863,1,306,3989, +1,307,4603,19,1858, +1,307,3989,1,308, +4604,19,1725,1,308, +3989,1,309,4605,19, +1852,1,309,3989,1, +310,4606,19,1847,1, +310,3989,1,311,4607, +19,1842,1,311,3989, +1,312,4608,19,1719, +1,312,3989,1,313, +4609,19,1836,1,313, +3989,1,314,4610,19, +1767,1,314,3989,1, +315,4611,19,1831,1, +315,3989,1,316,4612, +19,1826,1,316,3989, +1,317,4613,19,1821, +1,317,3989,1,318, +4614,19,1816,1,318, +3989,1,319,4615,19, +1811,1,319,3989,1, +320,4616,19,1806,1, +320,3989,1,321,4617, +19,1801,1,321,3989, +1,322,4618,19,4619, 4,50,65,0,114, 0,103,0,117,0, 109,0,101,0,110, @@ -10737,16 +10739,16 @@ public yyLSLSyntax 0,111,0,110,0, 76,0,105,0,115, 0,116,0,95,0, -52,0,1,324,3909, -1,325,4588,19,4589, +51,0,1,322,3945, +1,323,4620,19,4621, 4,28,65,0,114, 0,103,0,117,0, 109,0,101,0,110, 0,116,0,76,0, 105,0,115,0,116, -0,95,0,52,0, -1,325,4229,1,326, -4590,19,4591,4,50, +0,95,0,51,0, +1,323,4265,1,324, +4622,19,4623,4,50, 65,0,114,0,103, 0,117,0,109,0, 101,0,110,0,116, @@ -10756,8 +10758,28 @@ public yyLSLSyntax 116,0,105,0,111, 0,110,0,76,0, 105,0,115,0,116, -0,95,0,53,0, -1,326,3909,2,0,0}; +0,95,0,52,0, +1,324,3945,1,325, +4624,19,4625,4,28, +65,0,114,0,103, +0,117,0,109,0, +101,0,110,0,116, +0,76,0,105,0, +115,0,116,0,95, +0,52,0,1,325, +4265,1,326,4626,19, +4627,4,50,65,0, +114,0,103,0,117, +0,109,0,101,0, +110,0,116,0,68, +0,101,0,99,0, +108,0,97,0,114, +0,97,0,116,0, +105,0,111,0,110, +0,76,0,105,0, +115,0,116,0,95, +0,53,0,1,326, +3945,2,0,0}; new Sfactory(this,"ExpressionArgument_1",new SCreator(ExpressionArgument_1_factory)); new Sfactory(this,"SimpleAssignment_8",new SCreator(SimpleAssignment_8_factory)); new Sfactory(this,"StatementList_1",new SCreator(StatementList_1_factory)); -- cgit v1.1 From 4e18e71089eb1ef84bad8f09dd4a9d18f09bec5e Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 13 Jun 2012 02:32:25 +0100 Subject: Committing the Avination implementation of llCastRay. This is a complete rewrite wich does it's thing independently of physics. Enjoy! --- .../Shared/Api/Implementation/LSL_Api.cs | 445 ++++++++++++++++----- 1 file changed, 345 insertions(+), 100 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 89f2068..a8679e2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10781,155 +10781,400 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return rq.ToString(); } + private struct Tri + { + public Vector3 p1; + public Vector3 p2; + public Vector3 p3; + } + + private bool InBoundingBox(ScenePresence avatar, Vector3 point) + { + float height = avatar.Appearance.AvatarHeight; + Vector3 b1 = avatar.AbsolutePosition + new Vector3(-0.22f, -0.22f, -height/2); + Vector3 b2 = avatar.AbsolutePosition + new Vector3(0.22f, 0.22f, height/2); + + if (point.X > b1.X && point.X < b2.X && + point.Y > b1.Y && point.Y < b2.Y && + point.Z > b1.Z && point.Z < b2.Z) + return true; + return false; + } + + private ContactResult[] AvatarIntersection(Vector3 rayStart, Vector3 rayEnd) + { + List contacts = new List(); + + Vector3 ab = rayEnd - rayStart; + + World.ForEachScenePresence(delegate(ScenePresence sp) + { + Vector3 ac = sp.AbsolutePosition - rayStart; + Vector3 bc = sp.AbsolutePosition - rayEnd; + + double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); + + if (d > 1.5) + return; + + double d2 = Vector3.Dot(Vector3.Negate(ab), ac); + + if (d2 > 0) + return; + + double dp = Math.Sqrt(Vector3.Mag(ac) * Vector3.Mag(ac) - d * d); + Vector3 p = rayStart + Vector3.Divide(Vector3.Multiply(ab, (float)dp), (float)Vector3.Mag(ab)); + + if (!InBoundingBox(sp, p)) + return; + + ContactResult result = new ContactResult (); + result.ConsumerID = sp.LocalId; + result.Depth = Vector3.Distance(rayStart, p); + result.Normal = Vector3.Zero; + result.Pos = p; + + contacts.Add(result); + }); + + return contacts.ToArray(); + } + + private ContactResult[] ObjectIntersection(Vector3 rayStart, Vector3 rayEnd, bool includePhysical, bool includeNonPhysical, bool includePhantom) + { + Ray ray = new Ray(rayStart, Vector3.Normalize(rayEnd - rayStart)); + List contacts = new List(); + + Vector3 ab = rayEnd - rayStart; + + World.ForEachSOG(delegate(SceneObjectGroup group) + { + if (m_host.ParentGroup == group) + return; + + if (group.IsAttachment) + return; + + if (group.RootPart.PhysActor == null) + { + if (!includePhantom) + return; + } + else + { + if (group.RootPart.PhysActor.IsPhysical) + { + if (!includePhysical) + return; + } + else + { + if (!includeNonPhysical) + return; + } + } + + // Find the radius ouside of which we don't even need to hit test + float minX; + float maxX; + float minY; + float maxY; + float minZ; + float maxZ; + + float radius = 0.0f; + + group.GetAxisAlignedBoundingBoxRaw(out minX, out maxX, out minY, out maxY, out minZ, out maxZ); + + if (Math.Abs(minX) > radius) + radius = Math.Abs(minX); + if (Math.Abs(minY) > radius) + radius = Math.Abs(minY); + if (Math.Abs(minZ) > radius) + radius = Math.Abs(minZ); + if (Math.Abs(maxX) > radius) + radius = Math.Abs(maxX); + if (Math.Abs(maxY) > radius) + radius = Math.Abs(maxY); + if (Math.Abs(maxZ) > radius) + radius = Math.Abs(maxZ); + + Vector3 ac = group.AbsolutePosition - rayStart; + Vector3 bc = group.AbsolutePosition - rayEnd; + + double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); + + // Too far off ray, don't bother + if (d > radius) + return; + + // Behind ray, drop + double d2 = Vector3.Dot(Vector3.Negate(ab), ac); + if (d2 > 0) + return; + + EntityIntersection intersection = group.TestIntersection(ray, true, false); + // Miss. + if (!intersection.HitTF) + return; + + ContactResult result = new ContactResult (); + result.ConsumerID = group.LocalId; + result.Depth = intersection.distance; + result.Normal = intersection.normal; + result.Pos = intersection.ipoint; + + contacts.Add(result); + }); + + return contacts.ToArray(); + } + + private ContactResult? GroundIntersection(Vector3 rayStart, Vector3 rayEnd) + { + double[,] heightfield = World.Heightmap.GetDoubles(); + List contacts = new List(); + + double min = 2048.0; + double max = 0.0; + + // Find the min and max of the heightfield + for (int x = 0 ; x < World.Heightmap.Width ; x++) + { + for (int y = 0 ; y < World.Heightmap.Height ; y++) + { + if (heightfield[x, y] > max) + max = heightfield[x, y]; + if (heightfield[x, y] < min) + min = heightfield[x, y]; + } + } + + + // A ray extends past rayEnd, but doesn't go back before + // rayStart. If the start is above the highest point of the ground + // and the ray goes up, we can't hit the ground. Ever. + if (rayStart.Z > max && rayEnd.Z >= rayStart.Z) + return null; + + // Same for going down + if (rayStart.Z < min && rayEnd.Z <= rayStart.Z) + return null; + + List trilist = new List(); + + // Create our triangle list + for (int x = 1 ; x < World.Heightmap.Width ; x++) + { + for (int y = 1 ; y < World.Heightmap.Height ; y++) + { + Tri t1 = new Tri(); + Tri t2 = new Tri(); + + Vector3 p1 = new Vector3(x-1, y-1, (float)heightfield[x-1, y-1]); + Vector3 p2 = new Vector3(x, y-1, (float)heightfield[x, y-1]); + Vector3 p3 = new Vector3(x, y, (float)heightfield[x, y]); + Vector3 p4 = new Vector3(x-1, y, (float)heightfield[x-1, y]); + + t1.p1 = p1; + t1.p2 = p2; + t1.p3 = p3; + + t2.p1 = p3; + t2.p2 = p4; + t2.p3 = p1; + + trilist.Add(t1); + trilist.Add(t2); + } + } + + // Ray direction + Vector3 rayDirection = rayEnd - rayStart; + + foreach (Tri t in trilist) + { + // Compute triangle plane normal and edges + Vector3 u = t.p2 - t.p1; + Vector3 v = t.p3 - t.p1; + Vector3 n = Vector3.Cross(u, v); + + if (n == Vector3.Zero) + continue; + + Vector3 w0 = rayStart - t.p1; + double a = -Vector3.Dot(n, w0); + double b = Vector3.Dot(n, rayDirection); + + // Not intersecting the plane, or in plane (same thing) + // Ignoring this MAY cause the ground to not be detected + // sometimes + if (Math.Abs(b) < 0.000001) + continue; + + double r = a / b; + + // ray points away from plane + if (r < 0.0) + continue; + + Vector3 ip = rayStart + Vector3.Multiply(rayDirection, (float)r); + + float uu = Vector3.Dot(u, u); + float uv = Vector3.Dot(u, v); + float vv = Vector3.Dot(v, v); + Vector3 w = ip - t.p1; + float wu = Vector3.Dot(w, u); + float wv = Vector3.Dot(w, v); + float d = uv * uv - uu * vv; + + float cs = (uv * wv - vv * wu) / d; + if (cs < 0 || cs > 1.0) + continue; + float ct = (uv * wu - uu * wv) / d; + if (ct < 0 || (cs + ct) > 1.0) + continue; + + // Add contact point + ContactResult result = new ContactResult (); + result.ConsumerID = 0; + result.Depth = Vector3.Distance(rayStart, ip); + result.Normal = n; + result.Pos = ip; + + contacts.Add(result); + } + + if (contacts.Count == 0) + return null; + + contacts.Sort(delegate(ContactResult a, ContactResult b) + { + return (int)(a.Depth - b.Depth); + }); + + return contacts[0]; + } + public LSL_List llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options) { + LSL_List list = new LSL_List(); + m_host.AddScriptLPS(1); - Vector3 dir = new Vector3((float)(end-start).x, (float)(end-start).y, (float)(end-start).z); - Vector3 startvector = new Vector3((float)start.x, (float)start.y, (float)start.z); - Vector3 endvector = new Vector3((float)end.x, (float)end.y, (float)end.z); + Vector3 rayStart = new Vector3((float)start.x, (float)start.y, (float)start.z); + Vector3 rayEnd = new Vector3((float)end.x, (float)end.y, (float)end.z); + Vector3 dir = rayEnd - rayStart; - int count = 0; -// int detectPhantom = 0; + float dist = Vector3.Mag(dir); + + int count = 1; + bool detectPhantom = false; int dataFlags = 0; int rejectTypes = 0; for (int i = 0; i < options.Length; i += 2) { if (options.GetLSLIntegerItem(i) == ScriptBaseClass.RC_MAX_HITS) - { count = options.GetLSLIntegerItem(i + 1); - } -// else if (options.GetLSLIntegerItem(i) == ScriptBaseClass.RC_DETECT_PHANTOM) -// { -// detectPhantom = options.GetLSLIntegerItem(i + 1); -// } + else if (options.GetLSLIntegerItem(i) == ScriptBaseClass.RC_DETECT_PHANTOM) + detectPhantom = (options.GetLSLIntegerItem(i + 1) > 0); else if (options.GetLSLIntegerItem(i) == ScriptBaseClass.RC_DATA_FLAGS) - { dataFlags = options.GetLSLIntegerItem(i + 1); - } else if (options.GetLSLIntegerItem(i) == ScriptBaseClass.RC_REJECT_TYPES) - { rejectTypes = options.GetLSLIntegerItem(i + 1); - } } - LSL_List list = new LSL_List(); - List results = World.PhysicsScene.RaycastWorld(startvector, dir, dir.Length(), count); - - double distance = Util.GetDistanceTo(startvector, endvector); + if (count > 16) + count = 16; - if (distance == 0) - distance = 0.001; - - Vector3 posToCheck = startvector; - ITerrainChannel channel = World.RequestModuleInterface(); + List results = new List(); bool checkTerrain = !((rejectTypes & ScriptBaseClass.RC_REJECT_LAND) == ScriptBaseClass.RC_REJECT_LAND); bool checkAgents = !((rejectTypes & ScriptBaseClass.RC_REJECT_AGENTS) == ScriptBaseClass.RC_REJECT_AGENTS); bool checkNonPhysical = !((rejectTypes & ScriptBaseClass.RC_REJECT_NONPHYSICAL) == ScriptBaseClass.RC_REJECT_NONPHYSICAL); bool checkPhysical = !((rejectTypes & ScriptBaseClass.RC_REJECT_PHYSICAL) == ScriptBaseClass.RC_REJECT_PHYSICAL); - for (float i = 0; i <= distance; i += 0.1f) + + if (checkTerrain) { - posToCheck = startvector + (dir * (i / (float)distance)); + ContactResult? groundContact = GroundIntersection(rayStart, rayEnd); + if (groundContact != null) + results.Add((ContactResult)groundContact); + } - if (checkTerrain && channel[(int)(posToCheck.X + startvector.X), (int)(posToCheck.Y + startvector.Y)] < posToCheck.Z) - { - ContactResult result = new ContactResult(); - result.ConsumerID = 0; - result.Depth = 0; - result.Normal = Vector3.Zero; - result.Pos = posToCheck; - results.Add(result); - checkTerrain = false; - } + if (checkAgents) + { + ContactResult[] agentHits = AvatarIntersection(rayStart, rayEnd); + foreach (ContactResult r in agentHits) + results.Add(r); + } - if (checkAgents) - { - World.ForEachRootScenePresence(delegate(ScenePresence sp) - { - if (sp.AbsolutePosition.ApproxEquals(posToCheck, sp.PhysicsActor.Size.X)) - { - ContactResult result = new ContactResult (); - result.ConsumerID = sp.LocalId; - result.Depth = 0; - result.Normal = Vector3.Zero; - result.Pos = posToCheck; - results.Add(result); - } - }); - } + if (checkPhysical || checkNonPhysical || detectPhantom) + { + ContactResult[] objectHits = ObjectIntersection(rayStart, rayEnd, checkPhysical, checkNonPhysical, detectPhantom); + foreach (ContactResult r in objectHits) + results.Add(r); } - int refcount = 0; + results.Sort(delegate(ContactResult a, ContactResult b) + { + return a.Depth.CompareTo(b.Depth); + }); + + int values = 0; + SceneObjectGroup thisgrp = m_host.ParentGroup; + foreach (ContactResult result in results) { - if ((rejectTypes & ScriptBaseClass.RC_REJECT_LAND) - == ScriptBaseClass.RC_REJECT_LAND && result.ConsumerID == 0) + if (result.Depth > dist) continue; - ISceneEntity entity = World.GetSceneObjectPart(result.ConsumerID); + // physics ray can return colisions with host prim + if (m_host.LocalId == result.ConsumerID) + continue; - if (entity == null && (rejectTypes & ScriptBaseClass.RC_REJECT_AGENTS) != ScriptBaseClass.RC_REJECT_AGENTS) - entity = World.GetScenePresence(result.ConsumerID); //Only check if we should be looking for agents + UUID itemID = UUID.Zero; + int linkNum = 0; - if (entity == null) + SceneObjectPart part = World.GetSceneObjectPart(result.ConsumerID); + // It's a prim! + if (part != null) { - list.Add(UUID.Zero); - - if ((dataFlags & ScriptBaseClass.RC_GET_LINK_NUM) == ScriptBaseClass.RC_GET_LINK_NUM) - list.Add(0); + // dont detect members of same object ??? + if (part.ParentGroup == thisgrp) + continue; - list.Add(result.Pos); - - if ((dataFlags & ScriptBaseClass.RC_GET_NORMAL) == ScriptBaseClass.RC_GET_NORMAL) - list.Add(result.Normal); + if ((dataFlags & ScriptBaseClass.RC_GET_ROOT_KEY) == ScriptBaseClass.RC_GET_ROOT_KEY) + itemID = part.ParentGroup.UUID; + else + itemID = part.UUID; - continue; //Can't find it, so add UUID.Zero + linkNum = part.LinkNum; } - - /*if (detectPhantom == 0 && intersection.obj is ISceneChildEntity && - ((ISceneChildEntity)intersection.obj).PhysActor == null) - continue;*/ //Can't do this ATM, physics engine knows only of non phantom objects - - if (entity is SceneObjectPart) + else { - PhysicsActor pa = ((SceneObjectPart)entity).PhysActor; - - if (pa != null && pa.IsPhysical) - { - if (!checkPhysical) - continue; - } - else - { - if (!checkNonPhysical) - continue; - } + ScenePresence sp = World.GetScenePresence(result.ConsumerID); + /// It it a boy? a girl? + if (sp != null) + itemID = sp.UUID; } - refcount++; - if ((dataFlags & ScriptBaseClass.RC_GET_ROOT_KEY) == ScriptBaseClass.RC_GET_ROOT_KEY && entity is SceneObjectPart) - list.Add(((SceneObjectPart)entity).ParentGroup.UUID); - else - list.Add(entity.UUID); + list.Add(new LSL_String(itemID.ToString())); + list.Add(new LSL_String(result.Pos.ToString())); if ((dataFlags & ScriptBaseClass.RC_GET_LINK_NUM) == ScriptBaseClass.RC_GET_LINK_NUM) - { - if (entity is SceneObjectPart) - list.Add(((SceneObjectPart)entity).LinkNum); - else - list.Add(0); - } - - list.Add(result.Pos); + list.Add(new LSL_Integer(linkNum)); if ((dataFlags & ScriptBaseClass.RC_GET_NORMAL) == ScriptBaseClass.RC_GET_NORMAL) - list.Add(result.Normal); + list.Add(new LSL_Vector(result.Normal.X, result.Normal.Y, result.Normal.Z)); + + values++; + if (values >= count) + break; } - list.Add(refcount); //The status code, either the # of contacts, RCERR_SIM_PERF_LOW, or RCERR_CAST_TIME_EXCEEDED + list.Add(new LSL_Integer(values)); return list; } -- cgit v1.1 From 1f34c8277d2584f0b43a43555f8b0abded4a1aa4 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 13 Jun 2012 04:05:02 +0100 Subject: In the osGetGrid functions, if the [GridInfo] section does not exist then return "Configuration Error", as already happens if there is no GridInfoURI --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 7ea8b7a..7fa25f5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1965,7 +1965,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { string retval = String.Empty; IConfigSource config = m_ScriptEngine.ConfigSource; - string url = config.Configs["GridInfo"].GetString("GridInfoURI", String.Empty); + string url = null; + + IConfig gridInfoConfig = config.Configs["GridInfo"]; + + if (gridInfoConfig != null) + url = gridInfoConfig.GetString("GridInfoURI", String.Empty); if (String.IsNullOrEmpty(url)) return "Configuration Error!"; -- cgit v1.1 From 8e7032ece87d3e0e75f091ea84d482151e90795e Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 19 Jun 2012 01:53:50 +0100 Subject: minor: Add a little more detail to IOException logging in XEngine.SetXMLState() Also removes superflous Close() commands for statements taking place within using() constructs Also adds some comment out debug log messages for future use. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a9b6e67..35c338d 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1743,6 +1743,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine public bool SetXMLState(UUID itemID, string xml) { +// m_log.DebugFormat("[XEngine]: Writing state for script item with ID {0}", itemID); + if (xml == String.Empty) return false; @@ -1803,14 +1805,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine { using (FileStream fs = File.Create(path)) { +// m_log.DebugFormat("[XEngine]: Writing assembly file {0}", path); + fs.Write(filedata, 0, filedata.Length); - fs.Close(); } } catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", path, ex.Message); + m_log.ErrorFormat("[XEngine]: Error whilst writing assembly file {0}, {1}", path, ex.Message); } string textpath = path + ".text"; @@ -1820,16 +1823,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine { using (StreamWriter sw = new StreamWriter(fs)) { +// m_log.DebugFormat("[XEngine]: Writing .text file {0}", textpath); + sw.Write(base64); - sw.Close(); } - fs.Close(); } } catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", textpath, ex.Message); + m_log.ErrorFormat("[XEngine]: Error whilst writing .text file {0}, {1}", textpath, ex.Message); } } } @@ -1843,16 +1846,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine { using (StreamWriter ssw = new StreamWriter(sfs)) { +// m_log.DebugFormat("[XEngine]: Writing state file {0}", statepath); + ssw.Write(stateE.OuterXml); - ssw.Close(); } - sfs.Close(); } } catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", statepath, ex.Message); + m_log.ErrorFormat("[XEngine]: Error whilst writing state file {0}, {1}", statepath, ex.Message); } XmlNodeList mapL = rootE.GetElementsByTagName("LineMap"); @@ -1869,16 +1872,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine { using (StreamWriter msw = new StreamWriter(mfs)) { +// m_log.DebugFormat("[XEngine]: Writing linemap file {0}", mappath); + msw.Write(mapE.InnerText); - msw.Close(); } - mfs.Close(); } } catch (IOException ex) { // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: File {0} already exists! {1}", mappath, ex.Message); + m_log.ErrorFormat("[XEngine]: Linemap file {0} already exists! {1}", mappath, ex.Message); } } -- cgit v1.1 From ef686ead37f475ad9e16f637fe1efc41cfbbd6f4 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 19 Jun 2012 02:11:46 +0100 Subject: Like the assembly and text files, only write the c#-lsl linemap in XEngine.SetXMLState() if the trust binaries flag is set. This doesn't affect other locations where the map is written, such as on script compilation. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 54 +++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 35c338d..aedf2c1 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1835,6 +1835,33 @@ namespace OpenSim.Region.ScriptEngine.XEngine m_log.ErrorFormat("[XEngine]: Error whilst writing .text file {0}, {1}", textpath, ex.Message); } } + + XmlNodeList mapL = rootE.GetElementsByTagName("LineMap"); + if (mapL.Count > 0) + { + XmlElement mapE = (XmlElement)mapL[0]; + + string mappath = Path.Combine(m_ScriptEnginesPath, World.RegionInfo.RegionID.ToString()); + mappath = Path.Combine(mappath, mapE.GetAttribute("Filename")); + + try + { + using (FileStream mfs = File.Create(mappath)) + { + using (StreamWriter msw = new StreamWriter(mfs)) + { + // m_log.DebugFormat("[XEngine]: Writing linemap file {0}", mappath); + + msw.Write(mapE.InnerText); + } + } + } + catch (IOException ex) + { + // if there already exists a file at that location, it may be locked. + m_log.ErrorFormat("[XEngine]: Linemap file {0} already exists! {1}", mappath, ex.Message); + } + } } string statepath = Path.Combine(m_ScriptEnginesPath, World.RegionInfo.RegionID.ToString()); @@ -1858,33 +1885,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine m_log.ErrorFormat("[XEngine]: Error whilst writing state file {0}, {1}", statepath, ex.Message); } - XmlNodeList mapL = rootE.GetElementsByTagName("LineMap"); - if (mapL.Count > 0) - { - XmlElement mapE = (XmlElement)mapL[0]; - - string mappath = Path.Combine(m_ScriptEnginesPath, World.RegionInfo.RegionID.ToString()); - mappath = Path.Combine(mappath, mapE.GetAttribute("Filename")); - - try - { - using (FileStream mfs = File.Create(mappath)) - { - using (StreamWriter msw = new StreamWriter(mfs)) - { -// m_log.DebugFormat("[XEngine]: Writing linemap file {0}", mappath); - - msw.Write(mapE.InnerText); - } - } - } - catch (IOException ex) - { - // if there already exists a file at that location, it may be locked. - m_log.ErrorFormat("[XEngine]: Linemap file {0} already exists! {1}", mappath, ex.Message); - } - } - return true; } -- cgit v1.1 From 0fa303b1cf244b3066395413e640318b2122c19f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 20 Jun 2012 00:10:19 +0100 Subject: Log how many scripts are candidates for starting and how many are actually started. Adds DebugLevel infrastructure to XEngine though currently commented out and unused. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 64 ++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index aedf2c1..3f623de 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -62,6 +62,14 @@ namespace OpenSim.Region.ScriptEngine.XEngine { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + /// + /// Control the printing of certain debug messages. + /// + /// + /// If DebugLevel >= 1, then we log every time that a script is started. + /// +// public int DebugLevel { get; set; } + private SmartThreadPool m_ThreadPool; private int m_MaxScriptQueue; private Scene m_Scene; @@ -216,9 +224,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine AppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve; - m_log.InfoFormat("[XEngine] Initializing scripts in region {0}", - scene.RegionInfo.RegionName); m_Scene = scene; + m_log.InfoFormat("[XEngine]: Initializing scripts in region {0}", m_Scene.RegionInfo.RegionName); m_MinThreads = m_ScriptConfig.GetInt("MinThreads", 2); m_MaxThreads = m_ScriptConfig.GetInt("MaxThreads", 100); @@ -321,9 +328,42 @@ namespace OpenSim.Region.ScriptEngine.XEngine "Starts all stopped scripts." + "If a is given then only that script will be started. Otherwise, all suitable scripts are started.", (module, cmdparams) => HandleScriptsAction(cmdparams, HandleStartScript)); + +// MainConsole.Instance.Commands.AddCommand( +// "Debug", false, "debug xengine", "debug xengine []", +// "Turn on detailed xengine debugging.", +// "If level <= 0, then no extra logging is done.\n" +// + "If level >= 1, then we log every time that a script is started.", +// HandleDebugLevelCommand); } /// + /// Change debug level + /// + /// + /// +// private void HandleDebugLevelCommand(string module, string[] args) +// { +// if (args.Length == 3) +// { +// int newDebug; +// if (int.TryParse(args[2], out newDebug)) +// { +// DebugLevel = newDebug; +// MainConsole.Instance.OutputFormat("Debug level set to {0}", newDebug); +// } +// } +// else if (args.Length == 2) +// { +// MainConsole.Instance.OutputFormat("Current debug level is {0}", DebugLevel); +// } +// else +// { +// MainConsole.Instance.Output("Usage: debug xengine 0..1"); +// } +// } + + /// /// Parse the raw item id into a script instance from the command params if it's present. /// /// @@ -825,8 +865,23 @@ namespace OpenSim.Region.ScriptEngine.XEngine } object[] o; + + int scriptsStarted = 0; + while (m_CompileQueue.Dequeue(out o)) - DoOnRezScript(o); + { + if (DoOnRezScript(o)) + { + scriptsStarted++; + +// if (scriptsStarted % 50 == 0) +// m_log.DebugFormat( +// "[XEngine]: Started {0} scripts in {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); + } + } + + m_log.DebugFormat( + "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); // NOTE: Despite having a lockless queue, this lock is required // to make sure there is never no compile thread while there @@ -1066,7 +1121,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine part.ParentGroup.RootPart.Name, item.Name, startParam, postOnRez, stateSource, m_MaxScriptQueue); - + +// if (DebugLevel >= 1) m_log.DebugFormat( "[XEngine] Loaded script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}", part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID, -- cgit v1.1 From 881e92a7260a5823867b8f93b88c1b706a13cb56 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 20 Jun 2012 00:19:50 +0100 Subject: Raise some IO associated Exception logging in XEngine to error level, in line with other similar cases. Remove more unnecessary Close() calls - these are being triggered by the Dispose() called when exiting the using statement for these sdk io objects. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 3f623de..35b58ee 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1715,14 +1715,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine FileMode.Open, FileAccess.Read)) { tfs.Read(tdata, 0, tdata.Length); - tfs.Close(); } assem = new System.Text.ASCIIEncoding().GetString(tdata); } catch (Exception e) { - m_log.DebugFormat("[XEngine]: Unable to open script textfile {0}, reason: {1}", assemName+".text", e.Message); + m_log.ErrorFormat( + "[XEngine]: Unable to open script textfile {0}{1}, reason: {2}", + assemName, ".text", e.Message); } } } @@ -1739,16 +1740,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine using (FileStream fs = File.Open(assemName, FileMode.Open, FileAccess.Read)) { fs.Read(data, 0, data.Length); - fs.Close(); } assem = System.Convert.ToBase64String(data); } catch (Exception e) { - m_log.DebugFormat("[XEngine]: Unable to open script assembly {0}, reason: {1}", assemName, e.Message); + m_log.ErrorFormat( + "[XEngine]: Unable to open script assembly {0}, reason: {1}", assemName, e.Message); } - } } @@ -1761,9 +1761,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine using (StreamReader msr = new StreamReader(mfs)) { map = msr.ReadToEnd(); - msr.Close(); } - mfs.Close(); } } -- cgit v1.1 From 625e5e913a52b26f9af343d6c5bb33c3f8a4ead8 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 20 Jun 2012 00:24:39 +0100 Subject: Comment out recently added log message detailing number of scripts started when compile queue empties for now --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 35b58ee..e961e76 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -880,8 +880,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine } } - m_log.DebugFormat( - "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); +// m_log.DebugFormat( +// "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); // NOTE: Despite having a lockless queue, this lock is required // to make sure there is never no compile thread while there -- cgit v1.1 From 5709bed548aa4897d84bb616a2c344e158fe89ff Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 21 Jun 2012 02:09:14 +0100 Subject: Add state file location to errors logged when there's some issue with retrieving state (e.g. exceeds memory limit) --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 329e361..b8bcb35 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -331,15 +331,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance else { m_log.ErrorFormat( - "[SCRIPT INSTANCE]: Unable to load script state from assembly {0}: Memory limit exceeded", - assembly); + "[SCRIPT INSTANCE]: Unable to load script state file {0} from assembly {1}: Memory limit exceeded", + savedState, assembly); } } catch (Exception e) { m_log.ErrorFormat( - "[SCRIPT INSTANCE]: Unable to load script state from assembly {0}. XML is {1}. Exception {2}{3}", - assembly, xml, e.Message, e.StackTrace); + "[SCRIPT INSTANCE]: Unable to load script state file {0} from assembly {1}. XML is {2}. Exception {3}{4}", + savedState, assembly, xml, e.Message, e.StackTrace); } } // else -- cgit v1.1 From afcabf5244415f2d78391cb03269dc9979b5b3d2 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 21 Jun 2012 02:13:03 +0100 Subject: Retrigger build - last jenkins run was glitched --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index b8bcb35..8c53b1f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -354,7 +354,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance public void Init() { - if (!m_startOnInit) return; + if (!m_startOnInit) + return; if (m_startedFromSavedState) { -- cgit v1.1 From d24122b706cb3ec4ac9c8d1efc30e511a07e1aa7 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 21 Jun 2012 02:24:44 +0100 Subject: Add item id, name, prim name and id to log message when state exists but loading fails. Drop logging about memory limit exceeded to warn from error --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 8c53b1f..5dfe58e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -330,16 +330,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance } else { - m_log.ErrorFormat( - "[SCRIPT INSTANCE]: Unable to load script state file {0} from assembly {1}: Memory limit exceeded", - savedState, assembly); + m_log.WarnFormat( + "[SCRIPT INSTANCE]: Unable to load script state file {0} for script {1} {2} in {3} {4} (assembly {5}). Memory limit exceeded", + savedState, ScriptName, ItemID, PrimName, ObjectID, assembly); } } catch (Exception e) { m_log.ErrorFormat( - "[SCRIPT INSTANCE]: Unable to load script state file {0} from assembly {1}. XML is {2}. Exception {3}{4}", - savedState, assembly, xml, e.Message, e.StackTrace); + "[SCRIPT INSTANCE]: Unable to load script state file {0} for script {1} {2} in {3} {4} (assembly {5}). XML is {6}. Exception {7}{8}", + savedState, ScriptName, ItemID, PrimName, ObjectID, assembly, xml, e.Message, e.StackTrace); } } // else -- cgit v1.1 From f907182ab28cd761bebd398dab38f9a997ecd19d Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 22 Jun 2012 01:57:14 +0100 Subject: Eliminate unnecessary extra call to TriggerEmptyScriptCompileQueue in XEngine.DoOnRezScriptQueue() The later invocation of this function will happen on an empty compile queue. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index e961e76..26df758 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -855,13 +855,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine { m_InitialStartup = false; System.Threading.Thread.Sleep(15000); - - if (m_CompileQueue.Count == 0) - { - // No scripts on region, so won't get triggered later - // by the queue becoming empty so we trigger it here - m_Scene.EventManager.TriggerEmptyScriptCompileQueue(0, String.Empty); - } } object[] o; @@ -889,11 +882,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine // due to a race condition // lock (m_CompileQueue) - { m_CurrentCompile = null; - } + m_Scene.EventManager.TriggerEmptyScriptCompileQueue(m_ScriptFailCount, m_ScriptErrorMessage); + m_ScriptFailCount = 0; return null; -- cgit v1.1 From 9f3feeff8d3a00b965b2151477df5b0b2de3ff1d Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 22 Jun 2012 02:10:27 +0100 Subject: If starting scripts on initial sim start, provide INFO level log feedback each time 50 scripts have been started. This is to provide an indication of what's happening now that the default isn't to report every single script start. Changes XEngine logging level in OpenSim.exe.config from WARN to INFO. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 26df758..40f48e3 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -853,7 +853,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine { if (m_InitialStartup) { - m_InitialStartup = false; + // This delay exists to stop mono problems where script compilation and startup would stop the sim + // working properly for the session. System.Threading.Thread.Sleep(15000); } @@ -867,14 +868,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine { scriptsStarted++; -// if (scriptsStarted % 50 == 0) -// m_log.DebugFormat( -// "[XEngine]: Started {0} scripts in {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); + if (m_InitialStartup) + if (scriptsStarted % 50 == 0) + m_log.InfoFormat( + "[XEngine]: Started {0} scripts in {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); } } -// m_log.DebugFormat( -// "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); + if (m_InitialStartup) + m_log.InfoFormat( + "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); // NOTE: Despite having a lockless queue, this lock is required // to make sure there is never no compile thread while there @@ -888,6 +891,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine m_ScriptErrorMessage); m_ScriptFailCount = 0; + m_InitialStartup = false; return null; } -- cgit v1.1 From 80a41e670dd9bbd2771fbcf250362cefa2797306 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 22 Jun 2012 02:23:25 +0100 Subject: Avoid race condition between m_PrimObjects iteration in XEngine.PostObjectEvent and places where the list is modified by extending the m_PrimObjects lock. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 40f48e3..25b27b9 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1363,22 +1363,22 @@ namespace OpenSim.Region.ScriptEngine.XEngine return false; uuids = m_PrimObjects[localID]; - } - foreach (UUID itemID in uuids) - { - IScriptInstance instance = null; - try - { - if (m_Scripts.ContainsKey(itemID)) - instance = m_Scripts[itemID]; - } - catch { /* ignore race conditions */ } - - if (instance != null) + foreach (UUID itemID in uuids) { - instance.PostEvent(p); - result = true; + IScriptInstance instance = null; + try + { + if (m_Scripts.ContainsKey(itemID)) + instance = m_Scripts[itemID]; + } + catch { /* ignore race conditions */ } + + if (instance != null) + { + instance.PostEvent(p); + result = true; + } } } -- cgit v1.1 From 6d3ee8bb39d47ed7b32e8905fa0b2fc31c5a9f80 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Sat, 23 Jun 2012 04:11:31 -0400 Subject: Fix script "Running" behavior Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057 --- OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 10 ++++++++++ OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 9 +++++++++ .../Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs | 11 +++++++++++ OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 7 +++++++ 4 files changed, 37 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index b04f6b6..ec13b6c 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs @@ -64,6 +64,16 @@ namespace OpenSim.Region.ScriptEngine.Interfaces bool Running { get; set; } /// + /// Gets or sets a value indicating whether this + /// is run. + /// For viewer script editor control + /// + /// + /// true if run; otherwise, false. + /// + bool Run { get; set; } + + /// /// Is the script suspended? /// bool Suspended { get; set; } diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 5dfe58e..306090e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -120,6 +120,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance public bool Running { get; set; } + public bool Run { get; set; } + public bool Suspended { get { return m_Suspended; } @@ -215,6 +217,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance m_postOnRez = postOnRez; m_AttachedAvatar = part.ParentGroup.AttachedAvatar; m_RegionID = part.ParentGroup.Scene.RegionInfo.RegionID; + Run = true; if (part != null) { @@ -359,6 +362,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance if (m_startedFromSavedState) { + if (!Run) + return; + Start(); if (m_postOnRez) { @@ -391,6 +397,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance } else { + if (!Run) + return; + Start(); PostEvent(new EventParams("state_entry", new Object[0], new DetectParams[0])); diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs index bcdc7bf..797bce3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptSerializer.cs @@ -55,6 +55,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance public static string Serialize(ScriptInstance instance) { bool running = instance.Running; + bool enabled = instance.Run; XmlDocument xmldoc = new XmlDocument(); @@ -77,6 +78,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance rootElement.AppendChild(run); + XmlElement run_enable = xmldoc.CreateElement("", "Run", ""); + run_enable.AppendChild(xmldoc.CreateTextNode( + enabled.ToString())); + + rootElement.AppendChild(run_enable); + Dictionary vars = instance.GetVars(); XmlElement variables = xmldoc.CreateElement("", "Variables", ""); @@ -225,6 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance { object varValue; XmlNodeList partL = rootNode.ChildNodes; + instance.Run = true; foreach (XmlNode part in partL) { @@ -236,6 +244,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance case "Running": instance.Running=bool.Parse(part.InnerText); break; + case "Run": + instance.Run = bool.Parse(part.InnerText); + break; case "Variables": XmlNodeList varL = part.ChildNodes; foreach (XmlNode var in varL) diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 25b27b9..06ed9d6 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1503,6 +1503,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine } } + public void SetRunEnable(UUID instanceID, bool enable) + { + IScriptInstance instance = GetInstance(instanceID); + if (instance != null) + instance.Run = enable; + } + public bool GetScriptState(UUID itemID) { IScriptInstance instance = GetInstance(itemID); -- cgit v1.1 From 988112d4460adb2c6621027145f4fe60b079c7e5 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Tue, 26 Jun 2012 15:14:25 -0400 Subject: Add stub for llCastRay --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 06f5617..a0b3bc8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -954,6 +954,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llRequestDisplayName(id); } + public LSL_List llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options) + { + return m_LSL_Functions.llCastRay(start, end, options); + } + public void llLinkParticleSystem(int linknum, LSL_List rules) { m_LSL_Functions.llLinkParticleSystem(linknum, rules); -- cgit v1.1 From f9769a9fcb84a68622abe23160274796937ae0d4 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 28 Jun 2012 00:37:23 +0100 Subject: minor: reuse colon index calculation in XEngine.OnRezScript. The index if a colon is found on the first line will always be the same as for the whole script. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 06ed9d6..73d384d 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -768,12 +768,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine int colon = firstline.IndexOf(':'); if (firstline.Length > 2 && firstline.Substring(0, 2) == "//" && colon != -1) { - string engineName = firstline.Substring(2, colon-2); + string engineName = firstline.Substring(2, colon - 2); if (names.Contains(engineName)) { engine = engineName; - script = "//" + script.Substring(script.IndexOf(':')+1); + script = "//" + script.Substring(colon + 1); } else { -- cgit v1.1 From 25baa2d894e9bbbb173eb4e6ebe1478d2e3c1265 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 28 Jun 2012 00:58:36 +0100 Subject: Avoid reporting false positives when a colon is in a comment in the first line of a script where the user was not trying to select a different script engine. This works by only posting the "Selected engine unavailable" message if we're falling back on XEngine and the language is one handled by XEngine. In cases where the language is not handled or not allowed, the user will still be notified by the later compiler error. This avoids the overwhelming majority of false positives where the first line contains a : for other reasons (e.g. source control systems, vim settings, etc.) Ultimately, I think it would be better to detect script language/engine with a mechanism that didn't just rely on : detection (e.g like #! in unix scripts). --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 58 ++++++++++++++++++-------- 1 file changed, 41 insertions(+), 17 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 73d384d..a709be3 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -779,24 +779,48 @@ namespace OpenSim.Region.ScriptEngine.XEngine { if (engine == ScriptEngineName) { - SceneObjectPart part = - m_Scene.GetSceneObjectPart( - localID); - - TaskInventoryItem item = - part.Inventory.GetInventoryItem(itemID); - - ScenePresence presence = - m_Scene.GetScenePresence( - item.OwnerID); - - if (presence != null) + // If we are falling back on XEngine as the default engine, then only complain to the user + // if a script language has been explicitly set and it's one that we recognize. If it's + // explicitly not allowed or the script is not in LSL then the user will be informed by a later compiler message. + // + // This avoids the overwhelming number of false positives where we're in this code because + // there's a colon in a comment in the first line of a script for entirely + // unrelated reasons (e.g. vim settings). + // + // TODO: A better fix would be to deprecate simple : detection and look for some less likely + // string to begin the comment (like #! in unix shell scripts). + bool scriptExplicitlyInXEngineLanguage = false; + string restOfScript = script.Substring(colon + 1); + + // FIXME: These are hardcoded because they are currently hardcoded in Compiler.cs + if (restOfScript.StartsWith("c#") + || restOfScript.StartsWith("vb") + || restOfScript.StartsWith("lsl") + || restOfScript.StartsWith("js") + || restOfScript.StartsWith("yp")) + scriptExplicitlyInXEngineLanguage = true; + + if (scriptExplicitlyInXEngineLanguage) { - presence.ControllingClient.SendAgentAlertMessage( - "Selected engine unavailable. "+ - "Running script on "+ - ScriptEngineName, - false); + SceneObjectPart part = + m_Scene.GetSceneObjectPart( + localID); + + TaskInventoryItem item = + part.Inventory.GetInventoryItem(itemID); + + ScenePresence presence = + m_Scene.GetScenePresence( + item.OwnerID); + + if (presence != null) + { + presence.ControllingClient.SendAgentAlertMessage( + "Selected engine unavailable. "+ + "Running script on "+ + ScriptEngineName, + false); + } } } } -- cgit v1.1 From 972b0b52f9acedf13114fbed2ec35bb63adeea79 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 28 Jun 2012 21:30:36 +0100 Subject: If rest of first line after colon is blank then still warn about running in XEngine if engine specified does not exist. This is to take account of situations where the user was intending to specify a script engine using colon using its default language. This probably generates few false positive as scripts are less likely to end a first line colon with a comment for other purposes. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 29 ++++++++++++++++---------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a709be3..35fac4e 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -780,27 +780,34 @@ namespace OpenSim.Region.ScriptEngine.XEngine if (engine == ScriptEngineName) { // If we are falling back on XEngine as the default engine, then only complain to the user - // if a script language has been explicitly set and it's one that we recognize. If it's + // if a script language has been explicitly set and it's one that we recognize or there are + // no non-whitespace characters after the colon. + // + // If the script is // explicitly not allowed or the script is not in LSL then the user will be informed by a later compiler message. // + // If the colon ends the line then we'll risk the false positive as this is more likely + // to signal a real scriptengine line where the user wants to use the default compile language. + // // This avoids the overwhelming number of false positives where we're in this code because // there's a colon in a comment in the first line of a script for entirely // unrelated reasons (e.g. vim settings). // // TODO: A better fix would be to deprecate simple : detection and look for some less likely // string to begin the comment (like #! in unix shell scripts). - bool scriptExplicitlyInXEngineLanguage = false; - string restOfScript = script.Substring(colon + 1); + bool warnRunningInXEngine = false; + string restOfFirstLine = firstline.Substring(colon + 1); // FIXME: These are hardcoded because they are currently hardcoded in Compiler.cs - if (restOfScript.StartsWith("c#") - || restOfScript.StartsWith("vb") - || restOfScript.StartsWith("lsl") - || restOfScript.StartsWith("js") - || restOfScript.StartsWith("yp")) - scriptExplicitlyInXEngineLanguage = true; - - if (scriptExplicitlyInXEngineLanguage) + if (restOfFirstLine.StartsWith("c#") + || restOfFirstLine.StartsWith("vb") + || restOfFirstLine.StartsWith("lsl") + || restOfFirstLine.StartsWith("js") + || restOfFirstLine.StartsWith("yp") + || restOfFirstLine.Length == 0) + warnRunningInXEngine = true; + + if (warnRunningInXEngine) { SceneObjectPart part = m_Scene.GetSceneObjectPart( -- cgit v1.1 From a1a22a2f1034a1feb67b141abf4b138248cdb356 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 28 Jun 2012 22:02:20 +0100 Subject: Revert "Mantis 5977 Corrections to llRegionSayTo" This reverts commit 679da63da617d031e5e7ae3f2d2a29db1a23ace3. Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 41de257..ffa19d9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -921,22 +921,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llRegionSayTo(string target, int channel, string msg) { + string error = String.Empty; + if (msg.Length > 1023) msg = msg.Substring(0, 1023); m_host.AddScriptLPS(1); - if (channel == ScriptBaseClass.DEBUG_CHANNEL) - { - return; - } - UUID TargetID; UUID.TryParse(target, out TargetID); IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); if (wComm != null) - wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg); + if (!wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg, out error)) + LSLError(error); } public LSL_Integer llListen(int channelID, string name, string ID, string msg) -- cgit v1.1 From bfa6896678872a4e796ec4de22e83b6cead3ba17 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 28 Jun 2012 23:31:23 +0100 Subject: Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG directly instead of an item ID to then shuffle through attachments, saving CPU busywork. Almost all callers already had the sog to hand. Still checking that it's really an attachment, but now by inspecting SOG.AttachedAvatar --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a8679e2..12eb098 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2990,15 +2990,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api private void DetachWrapper(object o) { - SceneObjectPart host = (SceneObjectPart)o; - - SceneObjectGroup grp = host.ParentGroup; - UUID itemID = grp.FromItemID; - ScenePresence presence = World.GetScenePresence(host.OwnerID); - - IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; - if (attachmentsModule != null) - attachmentsModule.DetachSingleAttachmentToInv(presence, itemID); + if (World.AttachmentsModule != null) + { + SceneObjectPart host = (SceneObjectPart)o; + ScenePresence presence = World.GetScenePresence(host.OwnerID); + World.AttachmentsModule.DetachSingleAttachmentToInv(presence, host.ParentGroup); + } } public void llAttachToAvatar(int attachmentPoint) -- cgit v1.1 From d32cf2157670889c571a34f1a4473d672e29627d Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 1 Jul 2012 18:30:59 +0100 Subject: Add preservation of running state of scripts when drag-copying. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 35fac4e..7f3bd76 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -2081,5 +2081,17 @@ namespace OpenSim.Region.ScriptEngine.XEngine // else // m_log.DebugFormat("[XEngine]: Could not find script with ID {0} to resume", itemID); } + + public bool HasScript(UUID itemID, out bool running) + { + running = true; + + IScriptInstance instance = GetInstance(itemID); + if (instance == null) + return false; + + running = instance.Running; + return true; + } } } -- cgit v1.1 From 58b13d51a7eddb442e38e6dc6790a9e7cf68bad7 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 20:57:48 +0100 Subject: refactor: make llGiveInventory() use existing GetInventoryItem() method rather than iterate through TaskInventory itself. --- .../Shared/Api/Implementation/LSL_Api.cs | 35 +++++++--------------- 1 file changed, 11 insertions(+), 24 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 12eb098..8a3efa7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3860,11 +3860,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llGiveInventory(string destination, string inventory) { m_host.AddScriptLPS(1); - bool found = false; + UUID destId = UUID.Zero; - UUID objId = UUID.Zero; - int assetType = 0; - string objName = String.Empty; if (!UUID.TryParse(destination, out destId)) { @@ -3872,28 +3869,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - // move the first object found with this inventory name - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == inventory) - { - found = true; - objId = inv.Key; - assetType = inv.Value.Type; - objName = inv.Value.Name; - break; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); - if (!found) + if (item == null) { llSay(0, String.Format("Could not find object '{0}'", inventory)); throw new Exception(String.Format("The inventory object '{0}' could not be found", inventory)); } + UUID objId = item.ItemID; + // check if destination is an object if (World.GetSceneObjectPart(destId) != null) { @@ -3924,21 +3909,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; byte[] bucket = new byte[17]; - bucket[0] = (byte)assetType; + bucket[0] = (byte)item.Type; byte[] objBytes = agentItem.ID.GetBytes(); Array.Copy(objBytes, 0, bucket, 1, 16); GridInstantMessage msg = new GridInstantMessage(World, - m_host.UUID, m_host.Name+", an object owned by "+ - resolveName(m_host.OwnerID)+",", destId, + m_host.UUID, m_host.Name + ", an object owned by " + + resolveName(m_host.OwnerID) + ",", destId, (byte)InstantMessageDialog.TaskInventoryOffered, - false, objName+"\n"+m_host.Name+" is located at "+ + false, item.Name + "\n" + m_host.Name + " is located at " + World.RegionInfo.RegionName+" "+ m_host.AbsolutePosition.ToString(), agentItem.ID, true, m_host.AbsolutePosition, bucket); + if (m_TransferModule != null) m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); + ScriptSleep(3000); } } -- cgit v1.1 From ae64d089c669a9f953fc0992ca4de3a700395def Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:05:51 +0100 Subject: refactor: In llRemoveInventory() use existing GetInventoryItem() method rather than have it iterate through TaskInventory itself. --- .../Shared/Api/Implementation/LSL_Api.cs | 23 +++++++++------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8a3efa7..b52ebac 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3934,20 +3934,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Name == name) - { - if (item.ItemID == m_item.ItemID) - throw new ScriptDeleteException(); - else - m_host.Inventory.RemoveInventoryItem(item.ItemID); - return; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); + + if (item == null) + return; + + if (item.ItemID == m_item.ItemID) + throw new ScriptDeleteException(); + else + m_host.Inventory.RemoveInventoryItem(item.ItemID); } public void llSetText(string text, LSL_Vector color, double alpha) -- cgit v1.1 From 3717812ce090cae850449ed82463545c079df68d Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:15:00 +0100 Subject: refactor: In llCollisionSound() use existing GetInventoryItem() method rather than have it iterate through TaskInventory itself. --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index b52ebac..ff4b690 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4290,18 +4290,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID soundId = UUID.Zero; if (!UUID.TryParse(impact_sound, out soundId)) { - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Type == (int)AssetType.Sound && item.Name == impact_sound) - { - soundId = item.AssetID; - break; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(impact_sound); + + if (item != null && item.Type == (int)AssetType.Sound) + soundId = item.AssetID; } + m_host.CollisionSound = soundId; m_host.CollisionSoundVolume = (float)impact_volume; } -- cgit v1.1 From 3769739ca75bd28a126034a74848012164db31b6 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:19:16 +0100 Subject: In llRequestInventoryData() use GetInventoryItems() rather than cloning TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ff4b690..66d99a2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4084,9 +4084,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryDictionary itemDictionary = (TaskInventoryDictionary)m_host.TaskInventory.Clone(); - - foreach (TaskInventoryItem item in itemDictionary.Values) + foreach (TaskInventoryItem item in m_host.Inventory.GetInventoryItems()) { if (item.Type == 3 && item.Name == name) { @@ -4118,6 +4116,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return tid.ToString(); } } + ScriptSleep(1000); return String.Empty; } -- cgit v1.1 From 4b2b14dad12d5a8f64609e7eeb3da62a5ca2f8b1 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:22:43 +0100 Subject: In llMessageLinked() use GetInventoryItems() rather than cloning TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 66d99a2..f57f752 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4116,7 +4116,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return tid.ToString(); } } - + ScriptSleep(1000); return String.Empty; } @@ -4333,9 +4333,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID partItemID; foreach (SceneObjectPart part in parts) { - TaskInventoryDictionary itemsDictionary = (TaskInventoryDictionary)part.TaskInventory.Clone(); - - foreach (TaskInventoryItem item in itemsDictionary.Values) + foreach (TaskInventoryItem item in part.Inventory.GetInventoryItems()) { if (item.Type == ScriptBaseClass.INVENTORY_SCRIPT) { -- cgit v1.1 From 0e3fce9b5c26ee21dee64f8667e7b47b71dbdb3a Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:25:58 +0100 Subject: refactor: In llGetInventoryKey() use existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 24 ++++++++-------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f57f752..b0602fc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4703,22 +4703,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); + + if (item == null) + return UUID.Zero.ToString(); + + if ((item.CurrentPermissions + & (uint)(PermissionMask.Copy | PermissionMask.Transfer | PermissionMask.Modify)) + == (uint)(PermissionMask.Copy | PermissionMask.Transfer | PermissionMask.Modify)) { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - { - if ((inv.Value.CurrentPermissions & (uint)(PermissionMask.Copy | PermissionMask.Transfer | PermissionMask.Modify)) == (uint)(PermissionMask.Copy | PermissionMask.Transfer | PermissionMask.Modify)) - { - return inv.Value.AssetID.ToString(); - } - else - { - return UUID.Zero.ToString(); - } - } - } + return item.AssetID.ToString(); } return UUID.Zero.ToString(); -- cgit v1.1 From dff7cae2ee78942d97f8481b16e0f682dfcce038 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:33:35 +0100 Subject: refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 33 ++++++++-------------- 1 file changed, 11 insertions(+), 22 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index b0602fc..813fffd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6296,20 +6296,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - protected UUID GetTaskInventoryItem(string name) - { - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - return inv.Key; - } - } - - return UUID.Zero; - } - public void llGiveInventoryList(string destination, string category, LSL_List inventory) { m_host.AddScriptLPS(1); @@ -6322,16 +6308,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api foreach (Object item in inventory.Data) { + string rawItemString = item.ToString(); + UUID itemID; - if (UUID.TryParse(item.ToString(), out itemID)) + if (UUID.TryParse(rawItemString, out itemID)) { itemList.Add(itemID); } else { - itemID = GetTaskInventoryItem(item.ToString()); - if (itemID != UUID.Zero) - itemList.Add(itemID); + TaskInventoryItem taskItem = m_host.Inventory.GetInventoryItem(rawItemString); + + if (taskItem != null) + itemList.Add(taskItem.ItemID); } } @@ -6349,11 +6338,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api Array.Copy(objBytes, 0, bucket, 1, 16); GridInstantMessage msg = new GridInstantMessage(World, - m_host.UUID, m_host.Name+", an object owned by "+ - resolveName(m_host.OwnerID)+",", destID, + m_host.UUID, m_host.Name + ", an object owned by " + + resolveName(m_host.OwnerID) + ",", destID, (byte)InstantMessageDialog.InventoryOffered, - false, category+"\n"+m_host.Name+" is located at "+ - World.RegionInfo.RegionName+" "+ + false, category + "\n" + m_host.Name + " is located at " + + World.RegionInfo.RegionName + " " + m_host.AbsolutePosition.ToString(), folderID, true, m_host.AbsolutePosition, bucket); -- cgit v1.1 From 857494f6bdef5aef8cfcbee84ca668c2371bfdf0 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:36:44 +0100 Subject: refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 25 +++++----------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 813fffd..a1620e7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6644,9 +6644,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) { m_host.AddScriptLPS(1); - bool found = false; + UUID destId = UUID.Zero; - UUID srcId = UUID.Zero; if (!UUID.TryParse(target, out destId)) { @@ -6661,31 +6660,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // copy the first script found with this inventory name - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - { - // make sure the object is a script - if (10 == inv.Value.Type) - { - found = true; - srcId = inv.Key; - break; - } - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); - if (!found) + // make sure the object is a script + if (item == null || item.Type != 10) { llSay(0, "Could not find script " + name); return; } // the rest of the permission checks are done in RezScript, so check the pin there as well - World.RezScriptFromPrim(srcId, m_host, destId, pin, running, start_param); + World.RezScriptFromPrim(item.ItemID, m_host, destId, pin, running, start_param); // this will cause the delay even if the script pin or permissions were wrong - seems ok ScriptSleep(3000); -- cgit v1.1 From f9fa34408dd178eb202e0cc1336da67cc0a494f0 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:42:04 +0100 Subject: refactor: in llGetInventoryPermMask use existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 42 ++++++++++------------ 1 file changed, 19 insertions(+), 23 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a1620e7..a173d64 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6644,7 +6644,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) { m_host.AddScriptLPS(1); - + UUID destId = UUID.Zero; if (!UUID.TryParse(target, out destId)) @@ -9032,31 +9032,27 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - public LSL_Integer llGetInventoryPermMask(string item, int mask) + public LSL_Integer llGetInventoryPermMask(string itemName, int mask) { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == item) - { - switch (mask) - { - case 0: - return (int)inv.Value.BasePermissions; - case 1: - return (int)inv.Value.CurrentPermissions; - case 2: - return (int)inv.Value.GroupPermissions; - case 3: - return (int)inv.Value.EveryonePermissions; - case 4: - return (int)inv.Value.NextPermissions; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); + + if (item == null) + return -1; + + switch (mask) + { + case 0: + return (int)item.BasePermissions; + case 1: + return (int)item.CurrentPermissions; + case 2: + return (int)item.GroupPermissions; + case 3: + return (int)item.EveryonePermissions; + case 4: + return (int)item.NextPermissions; } return -1; -- cgit v1.1 From d933bdbd59da50e2c335b65870416ac8e5035d3a Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:47:20 +0100 Subject: refactor: In llGetInventoryPermMask() use existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 45 ++++++++++------------ 1 file changed, 21 insertions(+), 24 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a173d64..fce09bf 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -9058,38 +9058,35 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return -1; } - public void llSetInventoryPermMask(string item, int mask, int value) + public void llSetInventoryPermMask(string itemName, int mask, int value) { m_host.AddScriptLPS(1); + if (m_ScriptEngine.Config.GetBoolean("AllowGodFunctions", false)) { if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) { - lock (m_host.TaskInventory) + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); + + if (item != null) { - foreach (KeyValuePair inv in m_host.TaskInventory) + switch (mask) { - if (inv.Value.Name == item) - { - switch (mask) - { - case 0: - inv.Value.BasePermissions = (uint)value; - break; - case 1: - inv.Value.CurrentPermissions = (uint)value; - break; - case 2: - inv.Value.GroupPermissions = (uint)value; - break; - case 3: - inv.Value.EveryonePermissions = (uint)value; - break; - case 4: - inv.Value.NextPermissions = (uint)value; - break; - } - } + case 0: + item.BasePermissions = (uint)value; + break; + case 1: + item.CurrentPermissions = (uint)value; + break; + case 2: + item.GroupPermissions = (uint)value; + break; + case 3: + item.EveryonePermissions = (uint)value; + break; + case 4: + item.NextPermissions = (uint)value; + break; } } } -- cgit v1.1 From f2b0377c28623ee915387fef37c88ab3b7694ba8 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:49:21 +0100 Subject: refactor: In llGetInventoryCreator() use existing GetInventoryItem() --- .../Shared/Api/Implementation/LSL_Api.cs | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index fce09bf..338ae88 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -9093,24 +9093,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - public LSL_String llGetInventoryCreator(string item) + public LSL_String llGetInventoryCreator(string itemName) { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); + + if (item == null) { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == item) - { - return inv.Value.CreatorID.ToString(); - } - } - } + llSay(0, "No item name '" + item + "'"); - llSay(0, "No item name '" + item + "'"); + return String.Empty; + } - return String.Empty; + return item.CreatorID.ToString(); } public void llOwnerSay(string msg) -- cgit v1.1 From 9fac7fd932aa929e350fb4795f5036f7dd0cf78f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:50:52 +0100 Subject: refactor: In llGetInventoryType() use existing GetInventoryItem() --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 338ae88..a8a2a50 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -9656,18 +9656,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - lock (m_host.TaskInventory) - { - foreach (KeyValuePair inv in m_host.TaskInventory) - { - if (inv.Value.Name == name) - { - return inv.Value.Type; - } - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); - return -1; + if (item == null) + return -1; + + return item.Type; } public void llSetPayPrice(int price, LSL_List quick_pay_buttons) -- cgit v1.1 From eacba4fc0b1e3a34f8bae140c402eacb68ecbb94 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:54:30 +0100 Subject: refactor: use existing GetInventoryItem() in GetScriptByName(), itself renamed from ScriptByName() --- .../Shared/Api/Implementation/LSL_Api.cs | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a8a2a50..38f146f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -192,7 +192,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); - if ((item = ScriptByName(name)) != UUID.Zero) + if ((item = GetScriptByName(name)) != UUID.Zero) m_ScriptEngine.ResetScript(item); else ShoutError("llResetOtherScript: script "+name+" not found"); @@ -204,7 +204,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_host.AddScriptLPS(1); - if ((item = ScriptByName(name)) != UUID.Zero) + if ((item = GetScriptByName(name)) != UUID.Zero) { return m_ScriptEngine.GetScriptState(item) ?1:0; } @@ -226,7 +226,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // These functions are supposed to be robust, // so get the state one step at a time. - if ((item = ScriptByName(name)) != UUID.Zero) + if ((item = GetScriptByName(name)) != UUID.Zero) { m_ScriptEngine.SetScriptState(item, run == 0 ? false : true); } @@ -10455,18 +10455,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return new LSL_List(); } - internal UUID ScriptByName(string name) + internal UUID GetScriptByName(string name) { - lock (m_host.TaskInventory) - { - foreach (TaskInventoryItem item in m_host.TaskInventory.Values) - { - if (item.Type == 10 && item.Name == name) - return item.ItemID; - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); + + if (item == null || item.Type != 10) + return UUID.Zero; - return UUID.Zero; + return item.ItemID; } internal void ShoutError(string msg) -- cgit v1.1 From 1816ecb747708fea73eec08d3e51a8a2b8c7bd06 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 21:57:57 +0100 Subject: refactor: In llGetNumberOfNotecardLines() use existing GetInventoryItem() rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 38f146f..2b8c4c1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10502,20 +10502,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryDictionary itemsDictionary = (TaskInventoryDictionary)m_host.TaskInventory.Clone(); - UUID assetID = UUID.Zero; if (!UUID.TryParse(name, out assetID)) { - foreach (TaskInventoryItem item in itemsDictionary.Values) - { - if (item.Type == 7 && item.Name == name) - { - assetID = item.AssetID; - break; - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); + + if (item != null && item.Type == 7) + assetID = item.AssetID; } if (assetID == UUID.Zero) -- cgit v1.1 From 2f998fce1f51e9991852144c940281fedffbbbca Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 22:00:39 +0100 Subject: refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 2b8c4c1..cf65abb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10558,20 +10558,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - TaskInventoryDictionary itemsDictionary = (TaskInventoryDictionary)m_host.TaskInventory.Clone(); - UUID assetID = UUID.Zero; if (!UUID.TryParse(name, out assetID)) { - foreach (TaskInventoryItem item in itemsDictionary.Values) - { - if (item.Type == 7 && item.Name == name) - { - assetID = item.AssetID; - break; - } - } + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name); + + if (item != null && item.Type == 7) + assetID = item.AssetID; } if (assetID == UUID.Zero) -- cgit v1.1 From 7b327848d0a74296e0180bb8d27544e6c5570215 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 4 Jul 2012 22:21:47 +0100 Subject: Use GetInventoryItem() in llRezAtRoot rather than iterating through a cloned dictionary --- .../Shared/Api/Implementation/LSL_Api.cs | 76 ++++++++++------------ 1 file changed, 36 insertions(+), 40 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cf65abb..0a25454 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2738,67 +2738,63 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - Util.FireAndForget(delegate (object x) + Util.FireAndForget(x => { if (Double.IsNaN(rot.x) || Double.IsNaN(rot.y) || Double.IsNaN(rot.z) || Double.IsNaN(rot.s)) return; + float dist = (float)llVecDist(llGetPos(), pos); if (dist > m_ScriptDistanceFactor * 10.0f) return; - //Clone is thread-safe - TaskInventoryDictionary partInventory = (TaskInventoryDictionary)m_host.TaskInventory.Clone(); + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); - foreach (KeyValuePair inv in partInventory) + if (item == null) { - if (inv.Value.Name == inventory) - { - // make sure we're an object. - if (inv.Value.InvType != (int)InventoryType.Object) - { - llSay(0, "Unable to create requested object. Object is missing from database."); - return; - } + llSay(0, "Could not find object " + inventory); + return; + } - Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); - Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z); + if (item.InvType != (int)InventoryType.Object) + { + llSay(0, "Unable to create requested object. Object is missing from database."); + return; + } - // need the magnitude later - // float velmag = (float)Util.GetMagnitude(llvel); + Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); + Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z); - SceneObjectGroup new_group = World.RezObject(m_host, inv.Value, llpos, Rot2Quaternion(rot), llvel, param); + // need the magnitude later + // float velmag = (float)Util.GetMagnitude(llvel); - // If either of these are null, then there was an unknown error. - if (new_group == null) - continue; + SceneObjectGroup new_group = World.RezObject(m_host, item, llpos, Rot2Quaternion(rot), llvel, param); - // objects rezzed with this method are die_at_edge by default. - new_group.RootPart.SetDieAtEdge(true); + // If either of these are null, then there was an unknown error. + if (new_group == null) + return; - new_group.ResumeScripts(); + // objects rezzed with this method are die_at_edge by default. + new_group.RootPart.SetDieAtEdge(true); - m_ScriptEngine.PostObjectEvent(m_host.LocalId, new EventParams( - "object_rez", new Object[] { - new LSL_String( - new_group.RootPart.UUID.ToString()) }, - new DetectParams[0])); + new_group.ResumeScripts(); - float groupmass = new_group.GetMass(); + m_ScriptEngine.PostObjectEvent(m_host.LocalId, new EventParams( + "object_rez", new Object[] { + new LSL_String( + new_group.RootPart.UUID.ToString()) }, + new DetectParams[0])); - PhysicsActor pa = new_group.RootPart.PhysActor; + float groupmass = new_group.GetMass(); - if (pa != null && pa.IsPhysical && llvel != Vector3.Zero) - { - //Recoil. - llApplyImpulse(new LSL_Vector(llvel.X * groupmass, llvel.Y * groupmass, llvel.Z * groupmass), 0); - } - // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay) - return; - } - } + PhysicsActor pa = new_group.RootPart.PhysActor; - llSay(0, "Could not find object " + inventory); + if (pa != null && pa.IsPhysical && llvel != Vector3.Zero) + { + //Recoil. + llApplyImpulse(new LSL_Vector(llvel.X * groupmass, llvel.Y * groupmass, llvel.Z * groupmass), 0); + } + // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay) }); //ScriptSleep((int)((groupmass * velmag) / 10)); -- cgit v1.1 From 951b45b80fd504b4874b9ec3e0fbff49a25cb46f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 5 Jul 2012 00:05:06 +0100 Subject: Add OSSL function osForceAttachToAvatarFromInventory() This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high. --- .../Shared/Api/Implementation/OSSL_Api.cs | 54 ++++++- .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 7 + .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 + .../Shared/Tests/LSL_ApiLinkingTests.cs | 7 +- .../ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 2 +- .../Shared/Tests/OSSL_ApiAttachmentTests.cs | 178 +++++++++++++++++++++ .../ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 6 +- 7 files changed, 253 insertions(+), 6 deletions(-) create mode 100644 OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 7fa25f5..fa9364d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -126,7 +126,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api [Serializable] public class OSSL_Api : MarshalByRefObject, IOSSL_Api, IScriptApi { -// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public const string GridInfoServiceConfigSectionName = "GridInfoService"; @@ -3151,6 +3151,58 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api ((LSL_Api)m_LSL_Api).AttachToAvatar(attachmentPoint); } + public void osForceAttachToAvatarFromInventory(string itemName, int attachmentPoint) + { + CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatarFromInventory"); + + IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; + + if (attachmentsModule == null) + return; + + m_host.AddScriptLPS(1); + + InitLSL(); + + TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); + + if (item == null) + { + ((LSL_Api)m_LSL_Api).llSay(0, string.Format("Could not find object '{0}'", itemName)); + throw new Exception(String.Format("The inventory item '{0}' could not be found", itemName)); + } + + if (item.InvType != (int)InventoryType.Object) + { + // FIXME: Temporary null check for regression tests since they dont' have the infrastructure to set + // up the api reference. + if (m_LSL_Api != null) + ((LSL_Api)m_LSL_Api).llSay(0, string.Format("Unable to attach, item '{0}' is not an object.", itemName)); + + throw new Exception(String.Format("The inventory item '{0}' is not an object", itemName)); + + return; + } + + ScenePresence sp = World.GetScenePresence(m_host.OwnerID); + + if (sp == null) + return; + + InventoryItemBase newItem = World.MoveTaskInventoryItem(sp.UUID, UUID.Zero, m_host, item.ItemID); + + if (newItem == null) + { + m_log.ErrorFormat( + "[OSSL API]: Could not create user inventory item {0} for {1}, attach point {2} in {3}", + itemName, m_host.Name, attachmentPoint, World.Name); + + return; + } + + attachmentsModule.RezSingleAttachmentFromInventory(sp, newItem.ID, (uint)attachmentPoint); + } + public void osForceDetachFromAvatar() { CheckThreatLevel(ThreatLevel.High, "osForceDetachFromAvatar"); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index e92518d..a8335aa 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -107,6 +107,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void osForceAttachToAvatar(int attachment); /// + /// Attach the inventory item in the object containing this script to the avatar that owns it without checking for PERMISSION_ATTACH + /// + /// Tha name of the item. If this is not found then a warning is said to the owner + /// The attachment point. For example, ATTACH_CHEST + void osForceAttachToAvatarFromInventory(string itemName, int attachment); + + /// /// Detach the object containing this script from the avatar it is attached to without checking for PERMISSION_ATTACH /// /// Nothing happens if the object is not attached. diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index d230662..500ed96 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -296,6 +296,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osForceAttachToAvatar(attachmentPoint); } + public void osForceAttachToAvatarFromInventory(string itemName, int attachmentPoint) + { + m_OSSL_Functions.osForceAttachToAvatarFromInventory(itemName, attachmentPoint); + } + public void osForceDetachFromAvatar() { m_OSSL_Functions.osForceDetachFromAvatar(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs index bc3b790..2565ae7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs @@ -89,7 +89,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests // FIXME: This should really be a script item (with accompanying script) TaskInventoryItem grp1Item - = TaskInventoryHelpers.AddNotecard(m_scene, grp1.RootPart); + = TaskInventoryHelpers.AddNotecard( + m_scene, grp1.RootPart, "ncItem", TestHelpers.ParseTail(0x800), TestHelpers.ParseTail(0x900)); grp1Item.PermsMask |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; SceneObjectGroup grp2 = SceneHelpers.CreateSceneObject(2, ownerId, "grp2-", 0x20); @@ -122,7 +123,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests // FIXME: This should really be a script item (with accompanying script) TaskInventoryItem grp1Item - = TaskInventoryHelpers.AddNotecard(m_scene, grp1.RootPart); + = TaskInventoryHelpers.AddNotecard( + m_scene, grp1.RootPart, "ncItem", TestHelpers.ParseTail(0x800), TestHelpers.ParseTail(0x900)); + grp1Item.PermsMask |= ScriptBaseClass.PERMISSION_CHANGE_LINKS; LSL_Api apiGrp1 = new LSL_Api(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index f96a156..c41d1e7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests config.Set("Enabled", "true"); Scene scene = new SceneHelpers().SetupScene(); - SceneObjectPart part = SceneHelpers.AddSceneObject(scene); + SceneObjectPart part = SceneHelpers.AddSceneObject(scene).RootPart; XEngine.XEngine engine = new XEngine.XEngine(); engine.Initialise(initConfigSource); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs new file mode 100644 index 0000000..537b8aa --- /dev/null +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs @@ -0,0 +1,178 @@ +/* + * Copyright (c) Contributors, http://opensimulator.org/ + * See CONTRIBUTORS.TXT for a full list of copyright holders. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the OpenSimulator Project nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Text; +using log4net; +using Nini.Config; +using NUnit.Framework; +using OpenMetaverse; +using OpenMetaverse.Assets; +using OpenMetaverse.StructuredData; +using OpenSim.Framework; +using OpenSim.Region.CoreModules.Avatar.Attachments; +using OpenSim.Region.CoreModules.Framework.InventoryAccess; +using OpenSim.Region.Framework.Scenes; +using OpenSim.Region.ScriptEngine.Shared; +using OpenSim.Region.ScriptEngine.Shared.Api; +using OpenSim.Services.Interfaces; +using OpenSim.Tests.Common; +using OpenSim.Tests.Common.Mock; + +namespace OpenSim.Region.ScriptEngine.Shared.Tests +{ + /// + /// Tests for OSSL attachment functions + /// + /// + /// TODO: Add tests for all functions + /// + [TestFixture] + public class OSSL_ApiAttachmentTests : OpenSimTestCase + { + protected Scene m_scene; + protected XEngine.XEngine m_engine; + + [SetUp] + public override void SetUp() + { + base.SetUp(); + + IConfigSource initConfigSource = new IniConfigSource(); + + IConfig xengineConfig = initConfigSource.AddConfig("XEngine"); + xengineConfig.Set("Enabled", "true"); + xengineConfig.Set("AllowOSFunctions", "true"); + xengineConfig.Set("OSFunctionThreatLevel", "Severe"); + + IConfig modulesConfig = initConfigSource.AddConfig("Modules"); + modulesConfig.Set("InventoryAccessModule", "BasicInventoryAccessModule"); + + m_scene = new SceneHelpers().SetupScene(); + SceneHelpers.SetupSceneModules( + m_scene, initConfigSource, new AttachmentsModule(), new BasicInventoryAccessModule()); + + m_engine = new XEngine.XEngine(); + m_engine.Initialise(initConfigSource); + m_engine.AddRegion(m_scene); + } + + [Test] + public void TestOsForceAttachToAvatarFromInventory() + { + TestHelpers.InMethod(); +// TestHelpers.EnableLogging(); + + string taskInvObjItemName = "sphere"; + UUID taskInvObjItemId = UUID.Parse("00000000-0000-0000-0000-100000000000"); + AttachmentPoint attachPoint = AttachmentPoint.Chin; + + UserAccount ua1 = UserAccountHelpers.CreateUserWithInventory(m_scene, 0x1); + ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, ua1.PrincipalID); + SceneObjectGroup inWorldObj = SceneHelpers.AddSceneObject(m_scene, "inWorldObj", ua1.PrincipalID); + TaskInventoryItem scriptItem = TaskInventoryHelpers.AddScript(m_scene, inWorldObj.RootPart); + + new LSL_Api().Initialize(m_engine, inWorldObj.RootPart, scriptItem); + OSSL_Api osslApi = new OSSL_Api(); + osslApi.Initialize(m_engine, inWorldObj.RootPart, scriptItem); + +// SceneObjectGroup sog1 = SceneHelpers.CreateSceneObject(1, ua1.PrincipalID); + + // Create an object embedded inside the first + TaskInventoryHelpers.AddSceneObject(m_scene, inWorldObj.RootPart, taskInvObjItemName, taskInvObjItemId, ua1.PrincipalID); + + osslApi.osForceAttachToAvatarFromInventory(taskInvObjItemName, (int)attachPoint); + + // Check scene presence status + Assert.That(sp.HasAttachments(), Is.True); + List attachments = sp.GetAttachments(); + Assert.That(attachments.Count, Is.EqualTo(1)); + SceneObjectGroup attSo = attachments[0]; + Assert.That(attSo.Name, Is.EqualTo(taskInvObjItemName)); + Assert.That(attSo.AttachmentPoint, Is.EqualTo((uint)attachPoint)); + Assert.That(attSo.IsAttachment); + Assert.That(attSo.UsesPhysics, Is.False); + Assert.That(attSo.IsTemporary, Is.False); + + // Check appearance status + List attachmentsInAppearance = sp.Appearance.GetAttachments(); + Assert.That(attachmentsInAppearance.Count, Is.EqualTo(1)); + Assert.That(sp.Appearance.GetAttachpoint(attachmentsInAppearance[0].ItemID), Is.EqualTo((uint)attachPoint)); + } + + /// + /// Make sure we can't force attach anything other than objects. + /// + [Test] + public void TestOsForceAttachToAvatarFromInventoryNotObject() + { + TestHelpers.InMethod(); +// TestHelpers.EnableLogging(); + + string taskInvObjItemName = "sphere"; + UUID taskInvObjItemId = UUID.Parse("00000000-0000-0000-0000-100000000000"); + AttachmentPoint attachPoint = AttachmentPoint.Chin; + + UserAccount ua1 = UserAccountHelpers.CreateUserWithInventory(m_scene, 0x1); + ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, ua1.PrincipalID); + SceneObjectGroup inWorldObj = SceneHelpers.AddSceneObject(m_scene, "inWorldObj", ua1.PrincipalID); + TaskInventoryItem scriptItem = TaskInventoryHelpers.AddScript(m_scene, inWorldObj.RootPart); + + new LSL_Api().Initialize(m_engine, inWorldObj.RootPart, scriptItem); + OSSL_Api osslApi = new OSSL_Api(); + osslApi.Initialize(m_engine, inWorldObj.RootPart, scriptItem); + + // Create an object embedded inside the first + TaskInventoryHelpers.AddNotecard( + m_scene, inWorldObj.RootPart, taskInvObjItemName, taskInvObjItemId, TestHelpers.ParseTail(0x900)); + + bool exceptionCaught = false; + + try + { + osslApi.osForceAttachToAvatarFromInventory(taskInvObjItemName, (int)attachPoint); + } + catch (Exception e) + { + exceptionCaught = true; + } + + Assert.That(exceptionCaught, Is.True); + + // Check scene presence status + Assert.That(sp.HasAttachments(), Is.False); + List attachments = sp.GetAttachments(); + Assert.That(attachments.Count, Is.EqualTo(0)); + + // Check appearance status + List attachmentsInAppearance = sp.Appearance.GetAttachments(); + Assert.That(attachmentsInAppearance.Count, Is.EqualTo(0)); + } + } +} \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 0ccd889..813e53b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs @@ -52,14 +52,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests /// Tests for OSSL NPC API /// [TestFixture] - public class OSSL_NpcApiAppearanceTest + public class OSSL_NpcApiAppearanceTest : OpenSimTestCase { protected Scene m_scene; protected XEngine.XEngine m_engine; [SetUp] - public void SetUp() + public override void SetUp() { + base.SetUp(); + IConfigSource initConfigSource = new IniConfigSource(); IConfig config = initConfigSource.AddConfig("XEngine"); config.Set("Enabled", "true"); -- cgit v1.1 From 8674604ff5760335f08fa910381608757e89ad21 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 5 Jul 2012 21:10:59 +0100 Subject: regrade osFormatString, osMatchString and osReplaceString to VeryLow. I can't see that these present any real hazard to sim functioning. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index fa9364d..7385dd9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2125,7 +2125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String osFormatString(string str, LSL_List strings) { - CheckThreatLevel(ThreatLevel.Low, "osFormatString"); + CheckThreatLevel(ThreatLevel.VeryLow, "osFormatString"); m_host.AddScriptLPS(1); return String.Format(str, strings.Data); @@ -2133,7 +2133,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_List osMatchString(string src, string pattern, int start) { - CheckThreatLevel(ThreatLevel.High, "osMatchString"); + CheckThreatLevel(ThreatLevel.VeryLow, "osMatchString"); m_host.AddScriptLPS(1); LSL_List result = new LSL_List(); @@ -2175,7 +2175,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_String osReplaceString(string src, string pattern, string replace, int count, int start) { - CheckThreatLevel(ThreatLevel.High, "osReplaceString"); + CheckThreatLevel(ThreatLevel.VeryLow, "osReplaceString"); m_host.AddScriptLPS(1); // Normalize indices (if negative). -- cgit v1.1 From 1b1f841c6aaf2453b3aca0eade84855ae658e655 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 3 Jul 2012 11:10:09 +0100 Subject: Mantis 6063 osNpcTouch. Allow NPCS to touch obects. --- .../Shared/Api/Implementation/OSSL_Api.cs | 35 ++++++++++++++++++++++ .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 1 + .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 ++++ 3 files changed, 41 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 7385dd9..61394af 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -2677,6 +2677,41 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } + public void osNpcTouch(LSL_Key npcLSL_Key, LSL_Key object_key, LSL_Integer link_num) + { + CheckThreatLevel(ThreatLevel.High, "osNpcTouch"); + m_host.AddScriptLPS(1); + INPCModule module = World.RequestModuleInterface(); + int linkNum = link_num.value; + if (module != null || (linkNum < 0 && linkNum != ScriptBaseClass.LINK_THIS)) + { + UUID npcId; + if (!UUID.TryParse(npcLSL_Key, out npcId) || !module.CheckPermissions(npcId, m_host.OwnerID)) + return; + SceneObjectPart part = null; + UUID objectId; + if (UUID.TryParse(LSL_String.ToString(object_key), out objectId)) + part = World.GetSceneObjectPart(objectId); + if (part == null) + return; + if (linkNum != ScriptBaseClass.LINK_THIS) + { + if (linkNum == 0 || linkNum == ScriptBaseClass.LINK_ROOT) + { // 0 and 1 are treated as root, find the root if the current part isnt it + if (!part.IsRoot) + part = part.ParentGroup.RootPart; + } + else + { // Find the prim with the given link number if not found then fail silently + part = part.ParentGroup.GetLinkNumPart(linkNum); + if (part == null) + return; + } + } + module.Touch(npcId, part.UUID); + } + } + /// /// Save the current appearance of the script owner permanently to the named notecard. /// diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index a8335aa..d38709e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -231,6 +231,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void osNpcRemove(key npc); void osNpcPlayAnimation(LSL_Key npc, string animation); void osNpcStopAnimation(LSL_Key npc, string animation); + void osNpcTouch(LSL_Key npcLSL_Key, LSL_Key object_key, LSL_Integer link_num); void osNpcWhisper(key npc, int channel, string message); LSL_Key osOwnerSaveAppearance(string notecard); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 500ed96..692bb0a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -626,6 +626,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osNpcWhisper(npc, channel, message); } + public void osNpcTouch(LSL_Key npcLSL_Key, LSL_Key object_key, LSL_Integer link_num) + { + m_OSSL_Functions.osNpcTouch(npcLSL_Key, object_key, link_num); + } + public LSL_Key osOwnerSaveAppearance(string notecard) { return m_OSSL_Functions.osOwnerSaveAppearance(notecard); -- cgit v1.1 From 7ff4eec79cf16886439604a23126abd195ae8b2e Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 7 Jul 2012 00:02:45 +0100 Subject: Remove redundant SetScene() function in Scene.AddSceneObject() This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions. --- .../ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs | 14 +++++++------- .../Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs index 3965734..c8718d9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs @@ -79,7 +79,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests /// Test creation of an NPC where the appearance data comes from a notecard /// [Test] - public void TestOsNpcCreateFromNotecard() + public void TestOsNpcCreateUsingAppearanceFromNotecard() { TestHelpers.InMethod(); // log4net.Config.XmlConfigurator.Configure(); @@ -90,7 +90,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); @@ -114,10 +114,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests /// Test creation of an NPC where the appearance data comes from an avatar already in the region. /// [Test] - public void TestOsNpcCreateFromAvatar() + public void TestOsNpcCreateUsingAppearanceFromAvatar() { TestHelpers.InMethod(); -// log4net.Config.XmlConfigurator.Configure(); +// TestHelpers.EnableLogging(); // Store an avatar with a different height from default in a notecard. UUID userId = TestHelpers.ParseTail(0x1); @@ -125,7 +125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); @@ -156,7 +156,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); @@ -197,7 +197,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, nonOwnerId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, ownerId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, ownerId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 813e53b..25679a6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs @@ -97,11 +97,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); - SceneObjectGroup otherSo = SceneHelpers.CreateSceneObject(1, otherUserId); + SceneObjectGroup otherSo = SceneHelpers.CreateSceneObject(1, otherUserId, 0x20); SceneObjectPart otherPart = otherSo.RootPart; m_scene.AddSceneObject(otherSo); @@ -148,7 +148,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); sp.Appearance.AvatarHeight = newHeight; - SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId); + SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, userId, 0x10); SceneObjectPart part = so.RootPart; m_scene.AddSceneObject(so); -- cgit v1.1 From 16d5b79d57602b6c28e958c98de18e18927fa7a3 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 7 Jul 2012 00:36:01 +0100 Subject: minor: remove some recent mono compiler warnings --- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs index 537b8aa..78db2c6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs @@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests { osslApi.osForceAttachToAvatarFromInventory(taskInvObjItemName, (int)attachPoint); } - catch (Exception e) + catch (Exception) { exceptionCaught = true; } -- cgit v1.1 From c8af20f966e005fb512869299d80be6b83cb70bf Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 9 Jul 2012 23:08:41 +0100 Subject: This script allows an object to be attached directly from prim inventory to another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe --- .../Shared/Api/Implementation/OSSL_Api.cs | 25 ++++++++-- .../ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 18 +++++++- .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 ++ .../Shared/Tests/OSSL_ApiAttachmentTests.cs | 53 ++++++++++++++++++++++ 4 files changed, 96 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 61394af..e90f577 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -3190,13 +3190,32 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatarFromInventory"); + m_host.AddScriptLPS(1); + + ForceAttachToAvatarFromInventory(m_host.OwnerID, itemName, attachmentPoint); + } + + public void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, int attachmentPoint) + { + CheckThreatLevel(ThreatLevel.Severe, "osForceAttachToOtherAvatarFromInventory"); + + m_host.AddScriptLPS(1); + + UUID avatarId; + + if (!UUID.TryParse(rawAvatarId, out avatarId)) + return; + + ForceAttachToAvatarFromInventory(avatarId, itemName, attachmentPoint); + } + + public void ForceAttachToAvatarFromInventory(UUID avatarId, string itemName, int attachmentPoint) + { IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; if (attachmentsModule == null) return; - m_host.AddScriptLPS(1); - InitLSL(); TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); @@ -3219,7 +3238,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - ScenePresence sp = World.GetScenePresence(m_host.OwnerID); + ScenePresence sp = World.GetScenePresence(avatarId); if (sp == null) return; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index d38709e..b5416c8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -101,19 +101,33 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces // Attachment commands /// - /// Attach the object containing this script to the avatar that owns it without checking for PERMISSION_ATTACH + /// Attach the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH /// /// The attachment point. For example, ATTACH_CHEST void osForceAttachToAvatar(int attachment); /// - /// Attach the inventory item in the object containing this script to the avatar that owns it without checking for PERMISSION_ATTACH + /// Attach an inventory item in the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH /// + /// + /// Nothing happens if the owner is not in the region. + /// /// Tha name of the item. If this is not found then a warning is said to the owner /// The attachment point. For example, ATTACH_CHEST void osForceAttachToAvatarFromInventory(string itemName, int attachment); /// + /// Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH + /// + /// + /// Nothing happens if the avatar is not in the region. + /// + /// The UUID of the avatar to which to attach. Nothing happens if this is not a UUID + /// The name of the item. If this is not found then a warning is said to the owner + /// The attachment point. For example, ATTACH_CHEST + void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, int attachmentPoint); + + /// /// Detach the object containing this script from the avatar it is attached to without checking for PERMISSION_ATTACH /// /// Nothing happens if the object is not attached. diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 692bb0a..b40bdf0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -301,6 +301,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osForceAttachToAvatarFromInventory(itemName, attachmentPoint); } + public void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, int attachmentPoint) + { + m_OSSL_Functions.osForceAttachToOtherAvatarFromInventory(rawAvatarId, itemName, attachmentPoint); + } + public void osForceDetachFromAvatar() { m_OSSL_Functions.osForceDetachFromAvatar(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs index 78db2c6..f5aa518 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs @@ -174,5 +174,58 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests List attachmentsInAppearance = sp.Appearance.GetAttachments(); Assert.That(attachmentsInAppearance.Count, Is.EqualTo(0)); } + + [Test] + public void TestOsForceAttachToOtherAvatarFromInventory() + { + TestHelpers.InMethod(); + TestHelpers.EnableLogging(); + + string taskInvObjItemName = "sphere"; + UUID taskInvObjItemId = UUID.Parse("00000000-0000-0000-0000-100000000000"); + AttachmentPoint attachPoint = AttachmentPoint.Chin; + + UserAccount ua1 = UserAccountHelpers.CreateUserWithInventory(m_scene, "user", "one", 0x1, "pass"); + UserAccount ua2 = UserAccountHelpers.CreateUserWithInventory(m_scene, "user", "two", 0x2, "pass"); + + ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, ua1); + SceneObjectGroup inWorldObj = SceneHelpers.AddSceneObject(m_scene, "inWorldObj", ua1.PrincipalID); + TaskInventoryItem scriptItem = TaskInventoryHelpers.AddScript(m_scene, inWorldObj.RootPart); + + new LSL_Api().Initialize(m_engine, inWorldObj.RootPart, scriptItem); + OSSL_Api osslApi = new OSSL_Api(); + osslApi.Initialize(m_engine, inWorldObj.RootPart, scriptItem); + + // Create an object embedded inside the first + TaskInventoryHelpers.AddSceneObject(m_scene, inWorldObj.RootPart, taskInvObjItemName, taskInvObjItemId, ua1.PrincipalID); + + ScenePresence sp2 = SceneHelpers.AddScenePresence(m_scene, ua2); + + osslApi.osForceAttachToOtherAvatarFromInventory(sp2.UUID.ToString(), taskInvObjItemName, (int)attachPoint); + + // Check scene presence status + Assert.That(sp.HasAttachments(), Is.False); + List attachments = sp.GetAttachments(); + Assert.That(attachments.Count, Is.EqualTo(0)); + + Assert.That(sp2.HasAttachments(), Is.True); + List attachments2 = sp2.GetAttachments(); + Assert.That(attachments2.Count, Is.EqualTo(1)); + SceneObjectGroup attSo = attachments2[0]; + Assert.That(attSo.Name, Is.EqualTo(taskInvObjItemName)); + Assert.That(attSo.OwnerID, Is.EqualTo(ua2.PrincipalID)); + Assert.That(attSo.AttachmentPoint, Is.EqualTo((uint)attachPoint)); + Assert.That(attSo.IsAttachment); + Assert.That(attSo.UsesPhysics, Is.False); + Assert.That(attSo.IsTemporary, Is.False); + + // Check appearance status + List attachmentsInAppearance = sp.Appearance.GetAttachments(); + Assert.That(attachmentsInAppearance.Count, Is.EqualTo(0)); + + List attachmentsInAppearance2 = sp2.Appearance.GetAttachments(); + Assert.That(attachmentsInAppearance2.Count, Is.EqualTo(1)); + Assert.That(sp2.Appearance.GetAttachpoint(attachmentsInAppearance2[0].ItemID), Is.EqualTo((uint)attachPoint)); + } } } \ No newline at end of file -- cgit v1.1 From eb5ec4a78698a3b1fd6d581c800ac985d5d946fa Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 10 Jul 2012 21:42:51 +0100 Subject: If a script is being stopped manually, then give the scriptpool thread 1 second to finish normally before forcibly aborting. This is to avoid the worst of the problems in mono 2.6, 2.10 where an aborted thread does not always release all its locks. This very short grace period is identical to the existing behaviour when a script is removed from the scene. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 7f3bd76..efcae94 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1574,7 +1574,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine { IScriptInstance instance = GetInstance(itemID); if (instance != null) - instance.Stop(0); + { + // Give the script some time to finish processing its last event. Simply aborting the script thread can + // cause issues on mono 2.6, 2.10 and possibly later where locks are not released properly on abort. + instance.Stop(1000); + } } public DetectParams GetDetectParams(UUID itemID, int idx) -- cgit v1.1 From 9f01c3d4087266a8aa9a372a87ff78cae971d0c5 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 10 Jul 2012 23:04:44 +0100 Subject: Disable logging in regression test in OSSL_ApiAttachmentTests --- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs index f5aa518..5ed1f3d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs @@ -179,7 +179,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests public void TestOsForceAttachToOtherAvatarFromInventory() { TestHelpers.InMethod(); - TestHelpers.EnableLogging(); +// TestHelpers.EnableLogging(); string taskInvObjItemName = "sphere"; UUID taskInvObjItemId = UUID.Parse("00000000-0000-0000-0000-100000000000"); -- cgit v1.1 From fc2456320646df66b95a06d4cd292c3b2385a8ea Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Jul 2012 21:43:35 +0100 Subject: Add regression TestDetachScriptedAttachmentToInventory() This currently only does a relatively crude check for a ScriptState node in the serialized xml --- .../Shared/Api/Implementation/AsyncCommandManager.cs | 15 +++++++++------ .../Shared/Api/Implementation/Plugins/Listener.cs | 8 ++++++-- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 ++-- 3 files changed, 17 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs index 993d10f..5b22860 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs @@ -233,17 +233,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api m_Timer[engine].UnSetTimerEvents(localID, itemID); // Remove from: HttpRequest - IHttpRequestModule iHttpReq = - engine.World.RequestModuleInterface(); - iHttpReq.StopHttpRequest(localID, itemID); + IHttpRequestModule iHttpReq = engine.World.RequestModuleInterface(); + if (iHttpReq != null) + iHttpReq.StopHttpRequest(localID, itemID); IWorldComm comms = engine.World.RequestModuleInterface(); if (comms != null) comms.DeleteListener(itemID); IXMLRPC xmlrpc = engine.World.RequestModuleInterface(); - xmlrpc.DeleteChannels(itemID); - xmlrpc.CancelSRDRequests(itemID); + if (xmlrpc != null) + { + xmlrpc.DeleteChannels(itemID); + xmlrpc.CancelSRDRequests(itemID); + } // Remove Sensors m_SensorRepeat[engine].UnSetSenseRepeaterEvents(localID, itemID); @@ -305,7 +308,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { List data = new List(); - Object[] listeners=m_Listener[engine].GetSerializationData(itemID); + Object[] listeners = m_Listener[engine].GetSerializationData(itemID); if (listeners.Length > 0) { data.Add("listener"); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Listener.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Listener.cs index 93e0261..efa86fc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Listener.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Listener.cs @@ -88,13 +88,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins public Object[] GetSerializationData(UUID itemID) { - return m_commsPlugin.GetSerializationData(itemID); + if (m_commsPlugin != null) + return m_commsPlugin.GetSerializationData(itemID); + else + return new Object[]{}; } public void CreateFromData(uint localID, UUID itemID, UUID hostID, Object[] data) { - m_commsPlugin.CreateFromData(localID, itemID, hostID, data); + if (m_commsPlugin != null) + m_commsPlugin.CreateFromData(localID, itemID, hostID, data); } } } \ No newline at end of file diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index efcae94..e07ae1c 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1676,12 +1676,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine public string GetXMLState(UUID itemID) { -// m_log.DebugFormat("[XEngine]: Getting XML state for {0}", itemID); +// m_log.DebugFormat("[XEngine]: Getting XML state for script instance {0}", itemID); IScriptInstance instance = GetInstance(itemID); if (instance == null) { -// m_log.DebugFormat("[XEngine]: Found no script for {0}, returning empty string", itemID); +// m_log.DebugFormat("[XEngine]: Found no script instance for {0}, returning empty string", itemID); return ""; } -- cgit v1.1 From 0e611c47d322e1596d4636e283b9b855c7e58b60 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Jul 2012 21:46:46 +0100 Subject: Remove WorldComm module from the regression TestCompileAndStartScript() since the infrastructure no longer fails if this module isn't present, at least on the tested codepaths --- OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs index a3f848c..fe4b0fa 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs @@ -58,9 +58,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Tests // Console.WriteLine(AppDomain.CurrentDomain.BaseDirectory); m_xEngine = new XEngine(); - // Necessary to stop serialization complaining - WorldCommModule wcModule = new WorldCommModule(); - IniConfigSource configSource = new IniConfigSource(); IConfig startupConfig = configSource.AddConfig("Startup"); @@ -74,7 +71,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Tests xEngineConfig.Set("AppDomainLoading", "false"); m_scene = new SceneHelpers().SetupScene("My Test", UUID.Random(), 1000, 1000, configSource); - SceneHelpers.SetupSceneModules(m_scene, configSource, m_xEngine, wcModule); + SceneHelpers.SetupSceneModules(m_scene, configSource, m_xEngine); m_scene.StartScripts(); } -- cgit v1.1 From 33cff9b9d7c9d742b1cb7064ed78677e3f030e72 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Jul 2012 21:55:18 +0100 Subject: Allow XEngine StartDelay to be configured in the [XEngine] config section. This is only currently meant for use by regression tests that don't have any issues if XEngine is started up quickly, since no other operations will be occuring simultaneously. Therefore, this is not yet documented externally. --- OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs | 1 + OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs index fe4b0fa..f247a0b 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineTest.cs @@ -65,6 +65,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Tests IConfig xEngineConfig = configSource.AddConfig("XEngine"); xEngineConfig.Set("Enabled", "true"); + xEngineConfig.Set("StartDelay", "0"); // These tests will not run with AppDomainLoading = true, at least on mono. For unknown reasons, the call // to AssemblyResolver.OnAssemblyResolve fails. diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index e07ae1c..f768cf2 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -77,7 +77,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine private IConfigSource m_ConfigSource = null; private ICompiler m_Compiler; private int m_MinThreads; - private int m_MaxThreads ; + private int m_MaxThreads; + + /// + /// Amount of time to delay before starting. + /// + private int m_StartDelay; + private int m_IdleTimeout; private int m_StackSize; private int m_SleepTime; @@ -231,6 +237,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine m_MaxThreads = m_ScriptConfig.GetInt("MaxThreads", 100); m_IdleTimeout = m_ScriptConfig.GetInt("IdleTimeout", 60); string priority = m_ScriptConfig.GetString("Priority", "BelowNormal"); + m_StartDelay = m_ScriptConfig.GetInt("StartDelay", 15000); m_MaxScriptQueue = m_ScriptConfig.GetInt("MaxScriptEventQueue",300); m_StackSize = m_ScriptConfig.GetInt("ThreadStackSize", 262144); m_SleepTime = m_ScriptConfig.GetInt("MaintenanceInterval", 10) * 1000; @@ -886,7 +893,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine { // This delay exists to stop mono problems where script compilation and startup would stop the sim // working properly for the session. - System.Threading.Thread.Sleep(15000); + System.Threading.Thread.Sleep(m_StartDelay); } object[] o; -- cgit v1.1 From 916e3bf886ee622e2f18d6eb74f90fee8c630471 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Jul 2012 22:54:22 +0100 Subject: Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM. --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 ++------ .../Shared/Api/Implementation/OSSL_Api.cs | 3 +-- .../Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 8 +++----- .../ScriptEngine/Shared/Instance/ScriptInstance.cs | 19 ++++++++----------- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- 5 files changed, 15 insertions(+), 25 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0a25454..0ebcd8d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -10536,9 +10536,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - System.Text.UTF8Encoding enc = - new System.Text.UTF8Encoding(); - string data = enc.GetString(a.Data); + string data = Encoding.UTF8.GetString(a.Data); //m_log.Debug(data); NotecardCache.Cache(id, data); AsyncCommands. @@ -10591,9 +10589,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } - System.Text.UTF8Encoding enc = - new System.Text.UTF8Encoding(); - string data = enc.GetString(a.Data); + string data = Encoding.UTF8.GetString(a.Data); //m_log.Debug(data); NotecardCache.Cache(id, data); AsyncCommands.DataserverPlugin.DataserverReply(id.ToString(), diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index e90f577..cfa08c2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1811,8 +1811,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (a == null) return UUID.Zero; - System.Text.UTF8Encoding enc = new System.Text.UTF8Encoding(); - string data = enc.GetString(a.Data); + string data = Encoding.UTF8.GetString(a.Data); NotecardCache.Cache(assetID, data); }; diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 8f2ec49..17a0d69 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -31,6 +31,7 @@ using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.IO; +using System.Text; using Microsoft.CSharp; //using Microsoft.JScript; using Microsoft.VisualBasic; @@ -711,9 +712,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools // string filetext = System.Convert.ToBase64String(data); - System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); - - Byte[] buf = enc.GetBytes(filetext); + Byte[] buf = Encoding.ASCII.GetBytes(filetext); FileStream sfs = File.Create(assembly + ".text"); sfs.Write(buf, 0, buf.Length); @@ -804,8 +803,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools mapstring += String.Format("{0},{1},{2},{3}\n", k.Key, k.Value, v.Key, v.Value); } - System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); - Byte[] mapbytes = enc.GetBytes(mapstring); + Byte[] mapbytes = Encoding.ASCII.GetBytes(mapstring); FileStream mfs = File.Create(filename); mfs.Write(mapbytes, 0, mapbytes.Length); mfs.Close(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 306090e..1c0cac7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -26,15 +26,16 @@ */ using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; using System.IO; +using System.Reflection; using System.Runtime.Remoting; using System.Runtime.Remoting.Lifetime; -using System.Threading; -using System.Collections; -using System.Collections.Generic; using System.Security.Policy; -using System.Reflection; -using System.Globalization; +using System.Text; +using System.Threading; using System.Xml; using OpenMetaverse; using log4net; @@ -298,13 +299,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance using (FileStream fs = File.Open(savedState, FileMode.Open, FileAccess.Read, FileShare.None)) { - System.Text.UTF8Encoding enc = - new System.Text.UTF8Encoding(); - Byte[] data = new Byte[size]; fs.Read(data, 0, size); - xml = enc.GetString(data); + xml = Encoding.UTF8.GetString(data); ScriptSerializer.Deserialize(xml, this); @@ -954,8 +952,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance try { FileStream fs = File.Create(Path.Combine(Path.GetDirectoryName(assembly), ItemID.ToString() + ".state")); - System.Text.UTF8Encoding enc = new System.Text.UTF8Encoding(); - Byte[] buf = enc.GetBytes(xml); + Byte[] buf = (new UTF8Encoding()).GetBytes(xml); fs.Write(buf, 0, buf.Length); fs.Close(); } diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index f768cf2..20fad05 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1763,7 +1763,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine tfs.Read(tdata, 0, tdata.Length); } - assem = new System.Text.ASCIIEncoding().GetString(tdata); + assem = Encoding.ASCII.GetString(tdata); } catch (Exception e) { -- cgit v1.1 From 3b3d9967b18335c28ce2dfc269e47bac0ede075a Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 12 Jul 2012 23:29:57 +0100 Subject: Remove IClientAPI.GetClientEP() in favour of existing identical IClientAPI.RemoteEndpoint. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index cfa08c2..3654106 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -874,13 +874,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (World.Entities.ContainsKey((UUID)agent) && World.Entities[avatarID] is ScenePresence) { ScenePresence target = (ScenePresence)World.Entities[avatarID]; - EndPoint ep = target.ControllingClient.GetClientEP(); - if (ep is IPEndPoint) - { - IPEndPoint ip = (IPEndPoint)ep; - return ip.Address.ToString(); - } + return target.ControllingClient.RemoteEndPoint.Address.ToString(); } + // fall through case, just return nothing return ""; } -- cgit v1.1 From 884d603cac6c3fe0cdbd199e13e1514146ff82bc Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 13 Jul 2012 01:03:28 +0100 Subject: Rather than instantiating a UTF8 encoding everywhere when we want to supress the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output). --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 1c0cac7..f1abd4b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -952,7 +952,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance try { FileStream fs = File.Create(Path.Combine(Path.GetDirectoryName(assembly), ItemID.ToString() + ".state")); - Byte[] buf = (new UTF8Encoding()).GetBytes(xml); + Byte[] buf = Util.UTF8NoBomEncoding.GetBytes(xml); fs.Write(buf, 0, buf.Length); fs.Close(); } -- cgit v1.1 From 8d59385eeaa26feab8b19905ad6491065e4e4bf9 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Thu, 12 Jul 2012 12:25:08 +0100 Subject: Implementation of llSetRegionPos(). Does not implement failure on object entry/prim limit/access restrictions. Signed-off-by: SignpostMarv --- .../Shared/Api/Implementation/LSL_Api.cs | 43 ++++++++++++++++++++-- .../ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 1 + .../ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 +++ 3 files changed, 45 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0ebcd8d..b209e23 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1917,11 +1917,40 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.AddScriptLPS(1); - SetPos(m_host, pos); + SetPos(m_host, pos, true); ScriptSleep(200); } + /// + /// Tries to move the entire object so that the root prim is within 0.1m of position. http://wiki.secondlife.com/wiki/LlSetRegionPos + /// Documentation indicates that the use of x/y coordinates up to 10 meters outside the bounds of a region will work but do not specify what happens if there is no adjacent region for the object to move into. + /// Uses the RegionSize constant here rather than hard-coding 266.0 to alert any developer modifying OpenSim to support variable-sized regions that this method will need tweaking. + /// + /// + /// 1 if successful, 0 otherwise. + public LSL_Integer llSetRegionPos(LSL_Vector pos) + { + m_host.AddScriptLPS(1); + if ( + llGetStatus((int)PrimFlags.Physics) == 1 || // return FALSE if physical. + m_host.ParentGroup.IsAttachment || // return FALSE if attachment + ( + pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. + pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. + pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. + pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. + pos.z > 4096 // return FALSE if altitude than 4096m + ) + ){ + return 0; + } + + SetPos(m_host.ParentGroup.RootPart, pos, false); + + return llVecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; + } + // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) // note linked setpos is capped "differently" private LSL_Vector SetPosAdjust(LSL_Vector start, LSL_Vector end) @@ -1953,7 +1982,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return real_vec; } - protected void SetPos(SceneObjectPart part, LSL_Vector targetPos) + /// + /// set object position, optionally capping the distance. + /// + /// + /// + /// if TRUE, will cap the distance to 10m. + protected void SetPos(SceneObjectPart part, LSL_Vector targetPos, bool adjust) { // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) LSL_Vector currentPos = GetPartLocalPos(part); @@ -1966,12 +2001,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if ((targetPos.z < ground) && disable_underground_movement && m_host.ParentGroup.AttachmentPoint == 0) targetPos.z = ground; SceneObjectGroup parent = part.ParentGroup; - LSL_Vector real_vec = SetPosAdjust(currentPos, targetPos); + LSL_Vector real_vec = !adjust ? targetPos : SetPosAdjust(currentPos, targetPos); parent.UpdateGroupPosition(new Vector3((float)real_vec.x, (float)real_vec.y, (float)real_vec.z)); } else { - LSL_Vector rel_vec = SetPosAdjust(currentPos, targetPos); + LSL_Vector rel_vec = !adjust ? targetPos : SetPosAdjust(currentPos, targetPos); part.OffsetPosition = new Vector3((float)rel_vec.x, (float)rel_vec.y, (float)rel_vec.z); SceneObjectGroup parent = part.ParentGroup; parent.HasGroupChanged = true; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index d39b204..3fb463b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -359,6 +359,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces void llSetPrimitiveParams(LSL_List rules); void llSetLinkPrimitiveParamsFast(int linknum, LSL_List rules); void llSetPrimURL(string url); + LSL_Integer llSetRegionPos(LSL_Vector pos); void llSetRemoteScriptAccessPin(int pin); void llSetRot(LSL_Rotation rot); void llSetScale(LSL_Vector scale); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index a0b3bc8..c457880 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -1618,6 +1618,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_LSL_Functions.llSetPrimURL(url); } + public LSL_Integer llSetRegionPos(LSL_Vector pos) + { + return m_LSL_Functions.llSetRegionPos(pos); + } + public void llSetRemoteScriptAccessPin(int pin) { m_LSL_Functions.llSetRemoteScriptAccessPin(pin); -- cgit v1.1 From b6cd3b625ebffb45febf922a941fae337e3c1652 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Thu, 12 Jul 2012 15:57:22 +0100 Subject: adding workaround for silent failure if position is outside the bounds of a region, implementing parcel prim count check. Signed-off-by: SignpostMarv --- .../Shared/Api/Implementation/LSL_Api.cs | 54 ++++++++++++++++------ 1 file changed, 41 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index b209e23..8163267 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1932,23 +1932,51 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Integer llSetRegionPos(LSL_Vector pos) { m_host.AddScriptLPS(1); - if ( - llGetStatus((int)PrimFlags.Physics) == 1 || // return FALSE if physical. - m_host.ParentGroup.IsAttachment || // return FALSE if attachment - ( - pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. - pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. - pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. - pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. - pos.z > 4096 // return FALSE if altitude than 4096m - ) - ){ + + // BEGIN WORKAROUND + // IF YOU GET REGION CROSSINGS WORKING WITH THIS FUNCTION, REPLACE THE WORKAROUND. + // + // This workaround is to prevent silent failure of this function. + // According to the specification on the SL Wiki, providing a position outside of the + if (pos.x < 0 || pos.x > Constants.RegionSize || pos.y < 0 || pos.y > Constants.RegionSize) + { return 0; } + // END WORK AROUND + else{ + LSL_List parcelID = new LSL_List(ScriptBaseClass.PARCEL_DETAILS_ID); + Vector3 objectPos = m_host.ParentGroup.RootPart.AbsolutePosition; + bool sameParcel = + llGetParcelDetails(new LSL_Vector(pos.x, pos.y, pos.z), parcelID).Data[0] == + llGetParcelDetails(pos, parcelID).Data[0] + ; + if ( + llGetStatus((int)PrimFlags.Physics) == 1 || // return FALSE if physical. + m_host.ParentGroup.IsAttachment || // return FALSE if attachment + ( + pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. + pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. + pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. + pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. + pos.z > 4096 // return FALSE if altitude than 4096m + ) || + // BEGIN RELIANCE ON WORK AROUND + // this check will only work if pos is within the region bounds. + ( + !sameParcel && // if it's moving within the same parcel we do not need to check if the destination parcel will exceed capacity if the object is moved. + (llGetParcelPrimCount(pos, ScriptBaseClass.PARCEL_COUNT_TOTAL, 0) + m_host.ParentGroup.PrimCount) > llGetParcelMaxPrims(pos, 0) + ) + // END RELIANCE ON WORK-AROUND + ){ + return 0; + } + + SetPos(m_host.ParentGroup.RootPart, pos, false); - SetPos(m_host.ParentGroup.RootPart, pos, false); + return llVecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; + } - return llVecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; + return 0; } // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) -- cgit v1.1 From e3453dd9ca1d08664a38205f05340623118a9880 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Thu, 12 Jul 2012 17:22:43 +0100 Subject: added in some extra variables, it sometimes thinks it is on the same parcel :( Signed-off-by: SignpostMarv --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8163267..ca240f5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1946,10 +1946,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api else{ LSL_List parcelID = new LSL_List(ScriptBaseClass.PARCEL_DETAILS_ID); Vector3 objectPos = m_host.ParentGroup.RootPart.AbsolutePosition; - bool sameParcel = - llGetParcelDetails(new LSL_Vector(pos.x, pos.y, pos.z), parcelID).Data[0] == - llGetParcelDetails(pos, parcelID).Data[0] - ; + string parcelA = llGetParcelDetails(new LSL_Vector(objectPos.X, objectPos.X, objectPos.X), parcelID).Data[0].ToString(); + string parcelB = llGetParcelDetails(pos, parcelID).Data[0].ToString(); + bool sameParcel = parcelA == parcelB; + int objectPrimCount = m_host.ParentGroup.PrimCount; + LSL_Integer destParcelPrimCount = llGetParcelPrimCount(pos, ScriptBaseClass.PARCEL_COUNT_TOTAL, 0); + LSL_Integer max = llGetParcelMaxPrims(pos, 0); if ( llGetStatus((int)PrimFlags.Physics) == 1 || // return FALSE if physical. m_host.ParentGroup.IsAttachment || // return FALSE if attachment @@ -1964,7 +1966,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // this check will only work if pos is within the region bounds. ( !sameParcel && // if it's moving within the same parcel we do not need to check if the destination parcel will exceed capacity if the object is moved. - (llGetParcelPrimCount(pos, ScriptBaseClass.PARCEL_COUNT_TOTAL, 0) + m_host.ParentGroup.PrimCount) > llGetParcelMaxPrims(pos, 0) + (destParcelPrimCount + objectPrimCount) > max ) // END RELIANCE ON WORK-AROUND ){ -- cgit v1.1 From 423101b425d84e98f88b9c438559fc3321297c51 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Sat, 14 Jul 2012 01:14:00 +0100 Subject: acting on feedback from justincc --- .../Shared/Api/Implementation/LSL_Api.cs | 81 +++++++++++----------- 1 file changed, 42 insertions(+), 39 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ca240f5..cfcbae3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -421,15 +421,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return LSL_Vector.Norm(v); } - public LSL_Float llVecDist(LSL_Vector a, LSL_Vector b) + private double vecDist(LSL_Vector a, LSL_Vector b) { - m_host.AddScriptLPS(1); double dx = a.x - b.x; double dy = a.y - b.y; double dz = a.z - b.z; return Math.Sqrt(dx * dx + dy * dy + dz * dz); } + public LSL_Float llVecDist(LSL_Vector a, LSL_Vector b) + { + m_host.AddScriptLPS(1); + return vecDist(a, b); + } + //Now we start getting into quaternions which means sin/cos, matrices and vectors. ckrinke /// @@ -1242,6 +1247,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } + private bool isPhysical(){ + return ((m_host.GetEffectiveObjectFlags() & (uint)PrimFlags.Physics) == (uint)PrimFlags.Physics); + } + public LSL_Integer llGetStatus(int status) { m_host.AddScriptLPS(1); @@ -1249,11 +1258,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api switch (status) { case ScriptBaseClass.STATUS_PHYSICS: - if ((m_host.GetEffectiveObjectFlags() & (uint)PrimFlags.Physics) == (uint)PrimFlags.Physics) - { - return 1; - } - return 0; + return isPhysical() ? 1 : 0; case ScriptBaseClass.STATUS_PHANTOM: if ((m_host.GetEffectiveObjectFlags() & (uint)PrimFlags.Phantom) == (uint)PrimFlags.Phantom) @@ -1943,42 +1948,40 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return 0; } // END WORK AROUND - else{ - LSL_List parcelID = new LSL_List(ScriptBaseClass.PARCEL_DETAILS_ID); - Vector3 objectPos = m_host.ParentGroup.RootPart.AbsolutePosition; - string parcelA = llGetParcelDetails(new LSL_Vector(objectPos.X, objectPos.X, objectPos.X), parcelID).Data[0].ToString(); - string parcelB = llGetParcelDetails(pos, parcelID).Data[0].ToString(); - bool sameParcel = parcelA == parcelB; - int objectPrimCount = m_host.ParentGroup.PrimCount; - LSL_Integer destParcelPrimCount = llGetParcelPrimCount(pos, ScriptBaseClass.PARCEL_COUNT_TOTAL, 0); - LSL_Integer max = llGetParcelMaxPrims(pos, 0); - if ( - llGetStatus((int)PrimFlags.Physics) == 1 || // return FALSE if physical. - m_host.ParentGroup.IsAttachment || // return FALSE if attachment - ( - pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. - pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. - pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. - pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. - pos.z > 4096 // return FALSE if altitude than 4096m - ) || - // BEGIN RELIANCE ON WORK AROUND - // this check will only work if pos is within the region bounds. - ( - !sameParcel && // if it's moving within the same parcel we do not need to check if the destination parcel will exceed capacity if the object is moved. - (destParcelPrimCount + objectPrimCount) > max - ) - // END RELIANCE ON WORK-AROUND - ){ - return 0; - } + else if ( // this is not part of the workaround if-block because it's not related to the workaround. + isPhysical() || + m_host.ParentGroup.IsAttachment || // return FALSE if attachment + ( + pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. + pos.x > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a east-adjacent region. + pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. + pos.y > (Constants.RegionSize + 10) || // return FALSE if more than 10 meters into a north-adjacent region. + pos.z > 4096 // return FALSE if altitude than 4096m + ) + ) + { + return 0; + } + + // if we reach this point, then the object is not physical, it's not an attachment, and the destination is within the valid range. + // this could possibly be done in the above else-if block, but we're doing the check here to keep the code easier to read. - SetPos(m_host.ParentGroup.RootPart, pos, false); + Vector3 objectPos = m_host.ParentGroup.RootPart.AbsolutePosition; + LandData here = World.GetLandData((float)objectPos.X, (float)objectPos.Y); + LandData there = World.GetLandData((float)pos.x, (float)pos.y); - return llVecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; + // we're only checking prim limits if it's moving to a different parcel under the assumption that if the object got onto the parcel without exceeding the prim limits. + + bool sameParcel = here.GlobalID == there.GlobalID; + + if (!sameParcel && !World.Permissions.CanRezObject(m_host.ParentGroup.PrimCount, m_host.ParentGroup.OwnerID, new Vector3((float)pos.x, (float)pos.y, (float)pos.z))) + { + return 0; } - return 0; + SetPos(m_host.ParentGroup.RootPart, pos, false); + + return vecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; } // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) -- cgit v1.1 From 84b7ae25738c15737e70a680d1992cfbeb6cc806 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Sat, 14 Jul 2012 01:41:51 +0100 Subject: acting on feedback from justincc --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cfcbae3..f88338d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -421,7 +421,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return LSL_Vector.Norm(v); } - private double vecDist(LSL_Vector a, LSL_Vector b) + private double VecDist(LSL_Vector a, LSL_Vector b) { double dx = a.x - b.x; double dy = a.y - b.y; @@ -432,7 +432,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public LSL_Float llVecDist(LSL_Vector a, LSL_Vector b) { m_host.AddScriptLPS(1); - return vecDist(a, b); + return VecDist(a, b); } //Now we start getting into quaternions which means sin/cos, matrices and vectors. ckrinke @@ -1247,7 +1247,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - private bool isPhysical(){ + private bool IsPhysical() + { return ((m_host.GetEffectiveObjectFlags() & (uint)PrimFlags.Physics) == (uint)PrimFlags.Physics); } @@ -1258,7 +1259,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api switch (status) { case ScriptBaseClass.STATUS_PHYSICS: - return isPhysical() ? 1 : 0; + return IsPhysical() ? 1 : 0; case ScriptBaseClass.STATUS_PHANTOM: if ((m_host.GetEffectiveObjectFlags() & (uint)PrimFlags.Phantom) == (uint)PrimFlags.Phantom) @@ -1949,7 +1950,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } // END WORK AROUND else if ( // this is not part of the workaround if-block because it's not related to the workaround. - isPhysical() || + IsPhysical() || m_host.ParentGroup.IsAttachment || // return FALSE if attachment ( pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. @@ -1981,7 +1982,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api SetPos(m_host.ParentGroup.RootPart, pos, false); - return vecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; + return VecDist(pos, llGetRootPosition()) <= 0.1 ? 1 : 0; } // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) -- cgit v1.1 From ee7478fa16b95352db22e0eba5c4cb90d47dabd5 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Mon, 16 Jul 2012 14:47:03 +0100 Subject: sending more user-friendly messages to the script error window rather than the thrown exceptions. Signed-off-by: Melanie --- .../ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 3654106..4137397 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1664,9 +1664,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api CheckThreatLevel(ThreatLevel.Low, "osMessageObject"); m_host.AddScriptLPS(1); + UUID objUUID; + if (!UUID.TryParse(objectUUID, out objUUID)) // prior to patching, a thrown exception regarding invalid GUID format would be shouted instead. + { + OSSLShoutError("osMessageObject() cannot send messages to objects with invalid UUIDs"); + return; + } + object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) }; - SceneObjectPart sceneOP = World.GetSceneObjectPart(new UUID(objectUUID)); + SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID); + + if (sceneOP == null) // prior to patching, PostObjectEvent() would cause a throw exception to be shouted instead. + { + OSSLShoutError("osMessageObject() cannot send message to " + objUUID.ToString() + ", object was not found in scene."); + return; + } m_ScriptEngine.PostObjectEvent( sceneOP.LocalId, new EventParams( -- cgit v1.1