add patch
parent
dd82521f44
commit
cdd2ec7a21
|
@ -0,0 +1,133 @@
|
||||||
|
From 1194c58ae4212a416272b35e44df5bbc8d7bdccf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christopher <christopher@clatza.dev>
|
||||||
|
Date: Sun, 27 Jun 2021 16:09:05 +0200
|
||||||
|
Subject: [PATCH] Change all Script waiting times to 100ms
|
||||||
|
|
||||||
|
---
|
||||||
|
.../Shared/Api/Implementation/LSL_Api.cs | 89 ++++++++++---------
|
||||||
|
1 file changed, 47 insertions(+), 42 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
|
||||||
|
index 0c0ca40c25..c8d893fe87 100644
|
||||||
|
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
|
||||||
|
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
|
||||||
|
@@ -129,62 +129,62 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
|
protected ExpiringCacheOS<UUID, PresenceInfo> m_PresenceInfoCache = new ExpiringCacheOS<UUID, PresenceInfo>(10000);
|
||||||
|
protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp.
|
||||||
|
- protected int m_sleepMsOnSetTexture = 200;
|
||||||
|
- protected int m_sleepMsOnSetLinkTexture = 200;
|
||||||
|
- protected int m_sleepMsOnScaleTexture = 200;
|
||||||
|
- protected int m_sleepMsOnOffsetTexture = 200;
|
||||||
|
- protected int m_sleepMsOnRotateTexture = 200;
|
||||||
|
- protected int m_sleepMsOnSetPos = 200;
|
||||||
|
- protected int m_sleepMsOnSetRot = 200;
|
||||||
|
- protected int m_sleepMsOnSetLocalRot = 200;
|
||||||
|
- protected int m_sleepMsOnPreloadSound = 1000;
|
||||||
|
+ protected int m_sleepMsOnSetTexture = 100;
|
||||||
|
+ protected int m_sleepMsOnSetLinkTexture = 100;
|
||||||
|
+ protected int m_sleepMsOnScaleTexture = 100;
|
||||||
|
+ protected int m_sleepMsOnOffsetTexture = 100;
|
||||||
|
+ protected int m_sleepMsOnRotateTexture = 100;
|
||||||
|
+ protected int m_sleepMsOnSetPos = 100;
|
||||||
|
+ protected int m_sleepMsOnSetRot = 100;
|
||||||
|
+ protected int m_sleepMsOnSetLocalRot = 100;
|
||||||
|
+ protected int m_sleepMsOnPreloadSound = 100;
|
||||||
|
protected int m_sleepMsOnMakeExplosion = 100;
|
||||||
|
protected int m_sleepMsOnMakeFountain = 100;
|
||||||
|
protected int m_sleepMsOnMakeSmoke = 100;
|
||||||
|
protected int m_sleepMsOnMakeFire = 100;
|
||||||
|
protected int m_sleepMsOnRezAtRoot = 100;
|
||||||
|
- protected int m_sleepMsOnInstantMessage = 2000;
|
||||||
|
- protected int m_sleepMsOnEmail = 30000;
|
||||||
|
- protected int m_sleepMsOnCreateLink = 1000;
|
||||||
|
- protected int m_sleepMsOnGiveInventory = 3000;
|
||||||
|
+ protected int m_sleepMsOnInstantMessage = 100;
|
||||||
|
+ protected int m_sleepMsOnEmail = 100;
|
||||||
|
+ protected int m_sleepMsOnCreateLink = 100;
|
||||||
|
+ protected int m_sleepMsOnGiveInventory = 100;
|
||||||
|
protected int m_sleepMsOnRequestAgentData = 100;
|
||||||
|
- protected int m_sleepMsOnRequestInventoryData = 1000;
|
||||||
|
- protected int m_sleepMsOnSetDamage = 5000;
|
||||||
|
- protected int m_sleepMsOnTextBox = 1000;
|
||||||
|
+ protected int m_sleepMsOnRequestInventoryData = 100;
|
||||||
|
+ protected int m_sleepMsOnSetDamage = 100;
|
||||||
|
+ protected int m_sleepMsOnTextBox = 100;
|
||||||
|
protected int m_sleepMsOnAdjustSoundVolume = 100;
|
||||||
|
- protected int m_sleepMsOnEjectFromLand = 1000;
|
||||||
|
+ protected int m_sleepMsOnEjectFromLand = 100;
|
||||||
|
protected int m_sleepMsOnAddToLandPassList = 100;
|
||||||
|
- protected int m_sleepMsOnDialog = 1000;
|
||||||
|
- protected int m_sleepMsOnRemoteLoadScript = 3000;
|
||||||
|
- protected int m_sleepMsOnRemoteLoadScriptPin = 3000;
|
||||||
|
- protected int m_sleepMsOnOpenRemoteDataChannel = 1000;
|
||||||
|
- protected int m_sleepMsOnSendRemoteData = 3000;
|
||||||
|
- protected int m_sleepMsOnRemoteDataReply = 3000;
|
||||||
|
- protected int m_sleepMsOnCloseRemoteDataChannel = 1000;
|
||||||
|
- protected int m_sleepMsOnSetPrimitiveParams = 200;
|
||||||
|
- protected int m_sleepMsOnSetLinkPrimitiveParams = 200;
|
||||||
|
+ protected int m_sleepMsOnDialog = 100;
|
||||||
|
+ protected int m_sleepMsOnRemoteLoadScript = 100;
|
||||||
|
+ protected int m_sleepMsOnRemoteLoadScriptPin = 100;
|
||||||
|
+ protected int m_sleepMsOnOpenRemoteDataChannel = 100;
|
||||||
|
+ protected int m_sleepMsOnSendRemoteData = 100;
|
||||||
|
+ protected int m_sleepMsOnRemoteDataReply = 100;
|
||||||
|
+ protected int m_sleepMsOnCloseRemoteDataChannel = 100;
|
||||||
|
+ protected int m_sleepMsOnSetPrimitiveParams = 100;
|
||||||
|
+ protected int m_sleepMsOnSetLinkPrimitiveParams = 100;
|
||||||
|
protected int m_sleepMsOnXorBase64Strings = 300;
|
||||||
|
- protected int m_sleepMsOnSetParcelMusicURL = 2000;
|
||||||
|
- protected int m_sleepMsOnGetPrimMediaParams = 1000;
|
||||||
|
- protected int m_sleepMsOnGetLinkMedia = 1000;
|
||||||
|
- protected int m_sleepMsOnSetPrimMediaParams = 1000;
|
||||||
|
- protected int m_sleepMsOnSetLinkMedia = 1000;
|
||||||
|
- protected int m_sleepMsOnClearPrimMedia = 1000;
|
||||||
|
- protected int m_sleepMsOnClearLinkMedia = 1000;
|
||||||
|
- protected int m_sleepMsOnRequestSimulatorData = 1000;
|
||||||
|
- protected int m_sleepMsOnLoadURL = 10000;
|
||||||
|
- protected int m_sleepMsOnParcelMediaCommandList = 2000;
|
||||||
|
- protected int m_sleepMsOnParcelMediaQuery = 2000;
|
||||||
|
- protected int m_sleepMsOnModPow = 1000;
|
||||||
|
- protected int m_sleepMsOnSetPrimURL = 2000;
|
||||||
|
- protected int m_sleepMsOnRefreshPrimURL = 20000;
|
||||||
|
- protected int m_sleepMsOnMapDestination = 1000;
|
||||||
|
+ protected int m_sleepMsOnSetParcelMusicURL = 100;
|
||||||
|
+ protected int m_sleepMsOnGetPrimMediaParams = 100;
|
||||||
|
+ protected int m_sleepMsOnGetLinkMedia = 100;
|
||||||
|
+ protected int m_sleepMsOnSetPrimMediaParams = 100;
|
||||||
|
+ protected int m_sleepMsOnSetLinkMedia = 100;
|
||||||
|
+ protected int m_sleepMsOnClearPrimMedia = 100;
|
||||||
|
+ protected int m_sleepMsOnClearLinkMedia = 100;
|
||||||
|
+ protected int m_sleepMsOnRequestSimulatorData = 100;
|
||||||
|
+ protected int m_sleepMsOnLoadURL = 100;
|
||||||
|
+ protected int m_sleepMsOnParcelMediaCommandList = 100;
|
||||||
|
+ protected int m_sleepMsOnParcelMediaQuery = 100;
|
||||||
|
+ protected int m_sleepMsOnModPow = 100;
|
||||||
|
+ protected int m_sleepMsOnSetPrimURL = 100;
|
||||||
|
+ protected int m_sleepMsOnRefreshPrimURL = 100;
|
||||||
|
+ protected int m_sleepMsOnMapDestination = 100;
|
||||||
|
protected int m_sleepMsOnAddToLandBanList = 100;
|
||||||
|
protected int m_sleepMsOnRemoveFromLandPassList = 100;
|
||||||
|
protected int m_sleepMsOnRemoveFromLandBanList = 100;
|
||||||
|
protected int m_sleepMsOnResetLandBanList = 100;
|
||||||
|
protected int m_sleepMsOnResetLandPassList = 100;
|
||||||
|
- protected int m_sleepMsOnGetParcelPrimOwners = 2000;
|
||||||
|
+ protected int m_sleepMsOnGetParcelPrimOwners = 100;
|
||||||
|
protected int m_sleepMsOnGetNumberOfNotecardLines = 100;
|
||||||
|
protected int m_sleepMsOnGetNotecardLine = 100;
|
||||||
|
protected string m_internalObjectHost = "lsl.opensim.local";
|
||||||
|
@@ -4294,6 +4294,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (World.GetExtraSetting("auto_grant_pay_perms") == "true")
|
||||||
|
+ {
|
||||||
|
+ implicitPerms = implicitPerms | ScriptBaseClass.PERMISSION_DEBIT;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms
|
||||||
|
{
|
||||||
|
m_host.TaskInventory.LockItemsForWrite(true);
|
||||||
|
--
|
||||||
|
2.30.1.windows.1
|
||||||
|
|
Loading…
Reference in New Issue