diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 937ac70..c142e6d 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1486,6 +1486,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1486 | { | 1486 | { |
1487 | m_host.AddScriptLPS(1); | 1487 | m_host.AddScriptLPS(1); |
1488 | SetTexture(m_host, texture, face); | 1488 | SetTexture(m_host, texture, face); |
1489 | // ScriptSleep(200); | ||
1489 | } | 1490 | } |
1490 | 1491 | ||
1491 | private void SetTexture(SceneObjectPart part, string texture, int face) | 1492 | private void SetTexture(SceneObjectPart part, string texture, int face) |
@@ -1530,6 +1531,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1530 | m_host.AddScriptLPS(1); | 1531 | m_host.AddScriptLPS(1); |
1531 | 1532 | ||
1532 | ScaleTexture(m_host, u, v, face); | 1533 | ScaleTexture(m_host, u, v, face); |
1534 | // ScriptSleep(200); | ||
1533 | } | 1535 | } |
1534 | 1536 | ||
1535 | private void ScaleTexture(SceneObjectPart part, double u, double v, int face) | 1537 | private void ScaleTexture(SceneObjectPart part, double u, double v, int face) |
@@ -1565,6 +1567,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1565 | { | 1567 | { |
1566 | m_host.AddScriptLPS(1); | 1568 | m_host.AddScriptLPS(1); |
1567 | OffsetTexture(m_host, u, v, face); | 1569 | OffsetTexture(m_host, u, v, face); |
1570 | // ScriptSleep(200); | ||
1568 | } | 1571 | } |
1569 | 1572 | ||
1570 | private void OffsetTexture(SceneObjectPart part, double u, double v, int face) | 1573 | private void OffsetTexture(SceneObjectPart part, double u, double v, int face) |
@@ -1600,6 +1603,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1600 | { | 1603 | { |
1601 | m_host.AddScriptLPS(1); | 1604 | m_host.AddScriptLPS(1); |
1602 | RotateTexture(m_host, rotation, face); | 1605 | RotateTexture(m_host, rotation, face); |
1606 | // ScriptSleep(200); | ||
1603 | } | 1607 | } |
1604 | 1608 | ||
1605 | private void RotateTexture(SceneObjectPart part, double rotation, int face) | 1609 | private void RotateTexture(SceneObjectPart part, double rotation, int face) |
@@ -1651,7 +1655,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1651 | public void llSetPos(LSL_Types.Vector3 pos) | 1655 | public void llSetPos(LSL_Types.Vector3 pos) |
1652 | { | 1656 | { |
1653 | m_host.AddScriptLPS(1); | 1657 | m_host.AddScriptLPS(1); |
1658 | |||
1654 | SetPos(m_host, pos); | 1659 | SetPos(m_host, pos); |
1660 | |||
1661 | ScriptSleep(200); | ||
1655 | } | 1662 | } |
1656 | 1663 | ||
1657 | private void SetPos(SceneObjectPart part, LSL_Types.Vector3 targetPos) | 1664 | private void SetPos(SceneObjectPart part, LSL_Types.Vector3 targetPos) |
@@ -1701,7 +1708,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1701 | public void llSetRot(LSL_Types.Quaternion rot) | 1708 | public void llSetRot(LSL_Types.Quaternion rot) |
1702 | { | 1709 | { |
1703 | m_host.AddScriptLPS(1); | 1710 | m_host.AddScriptLPS(1); |
1711 | |||
1704 | SetRot(m_host, rot); | 1712 | SetRot(m_host, rot); |
1713 | |||
1714 | ScriptSleep(200); | ||
1705 | } | 1715 | } |
1706 | 1716 | ||
1707 | private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot) | 1717 | private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot) |
@@ -1980,6 +1990,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1980 | { | 1990 | { |
1981 | m_host.AddScriptLPS(1); | 1991 | m_host.AddScriptLPS(1); |
1982 | m_host.PreloadSound(sound); | 1992 | m_host.PreloadSound(sound); |
1993 | // ScriptSleep(1000); | ||
1983 | } | 1994 | } |
1984 | 1995 | ||
1985 | /// <summary> | 1996 | /// <summary> |
@@ -2263,24 +2274,28 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2263 | { | 2274 | { |
2264 | m_host.AddScriptLPS(1); | 2275 | m_host.AddScriptLPS(1); |
2265 | Deprecated("llMakeExplosion"); | 2276 | Deprecated("llMakeExplosion"); |
2277 | // ScriptSleep(100); | ||
2266 | } | 2278 | } |
2267 | 2279 | ||
2268 | public void llMakeFountain() | 2280 | public void llMakeFountain() |
2269 | { | 2281 | { |
2270 | m_host.AddScriptLPS(1); | 2282 | m_host.AddScriptLPS(1); |
2271 | Deprecated("llMakeFountain"); | 2283 | Deprecated("llMakeFountain"); |
2284 | // ScriptSleep(100); | ||
2272 | } | 2285 | } |
2273 | 2286 | ||
2274 | public void llMakeSmoke() | 2287 | public void llMakeSmoke() |
2275 | { | 2288 | { |
2276 | m_host.AddScriptLPS(1); | 2289 | m_host.AddScriptLPS(1); |
2277 | Deprecated("llMakeSmoke"); | 2290 | Deprecated("llMakeSmoke"); |
2291 | // ScriptSleep(100); | ||
2278 | } | 2292 | } |
2279 | 2293 | ||
2280 | public void llMakeFire() | 2294 | public void llMakeFire() |
2281 | { | 2295 | { |
2282 | m_host.AddScriptLPS(1); | 2296 | m_host.AddScriptLPS(1); |
2283 | Deprecated("llMakeFire"); | 2297 | Deprecated("llMakeFire"); |
2298 | // ScriptSleep(100); | ||
2284 | } | 2299 | } |
2285 | 2300 | ||
2286 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param) | 2301 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param) |
@@ -2337,6 +2352,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2337 | found = true; | 2352 | found = true; |
2338 | // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay) | 2353 | // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay) |
2339 | ScriptSleep((int)((groupmass * velmag) / 10)); | 2354 | ScriptSleep((int)((groupmass * velmag) / 10)); |
2355 | // ScriptSleep(100); | ||
2340 | break; | 2356 | break; |
2341 | } | 2357 | } |
2342 | } | 2358 | } |
@@ -2519,6 +2535,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2519 | return; | 2535 | return; |
2520 | 2536 | ||
2521 | emailModule.SendEmail(m_host.UUID, address, subject, message); | 2537 | emailModule.SendEmail(m_host.UUID, address, subject, message); |
2538 | // ScriptSleep(20000); | ||
2522 | } | 2539 | } |
2523 | 2540 | ||
2524 | public void llGetNextEmail(string address, string subject) | 2541 | public void llGetNextEmail(string address, string subject) |
@@ -2960,7 +2977,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2960 | parentPrim.RootPart.AddFlag(PrimFlags.CreateSelected); | 2977 | parentPrim.RootPart.AddFlag(PrimFlags.CreateSelected); |
2961 | parentPrim.GetProperties(client); | 2978 | parentPrim.GetProperties(client); |
2962 | 2979 | ||
2963 | ScriptSleep(500); | 2980 | ScriptSleep(1000); |
2964 | } | 2981 | } |
2965 | 2982 | ||
2966 | public void llBreakLink(int linknum) | 2983 | public void llBreakLink(int linknum) |
@@ -3122,6 +3139,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3122 | // destination is an object | 3139 | // destination is an object |
3123 | World.MoveTaskInventoryItem(destId, m_host, objId); | 3140 | World.MoveTaskInventoryItem(destId, m_host, objId); |
3124 | } | 3141 | } |
3142 | // ScriptSleep(3000); | ||
3125 | } | 3143 | } |
3126 | 3144 | ||
3127 | public void llRemoveInventory(string name) | 3145 | public void llRemoveInventory(string name) |
@@ -3160,6 +3178,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3160 | { | 3178 | { |
3161 | m_host.AddScriptLPS(1); | 3179 | m_host.AddScriptLPS(1); |
3162 | NotImplemented("llRequestAgentData"); | 3180 | NotImplemented("llRequestAgentData"); |
3181 | // ScriptSleep(100); | ||
3163 | return String.Empty; | 3182 | return String.Empty; |
3164 | } | 3183 | } |
3165 | 3184 | ||
@@ -3193,9 +3212,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3193 | m_Dataserver.DataserverReply(i.ToString(), | 3212 | m_Dataserver.DataserverReply(i.ToString(), |
3194 | reply); | 3213 | reply); |
3195 | }, false); | 3214 | }, false); |
3215 | |||
3216 | // ScriptSleep(1000); | ||
3196 | return tid.ToString(); | 3217 | return tid.ToString(); |
3197 | } | 3218 | } |
3198 | } | 3219 | } |
3220 | // ScriptSleep(1000); | ||
3199 | return String.Empty; | 3221 | return String.Empty; |
3200 | } | 3222 | } |
3201 | 3223 | ||
@@ -4415,6 +4437,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4415 | { | 4437 | { |
4416 | m_host.AddScriptLPS(1); | 4438 | m_host.AddScriptLPS(1); |
4417 | m_host.AdjustSoundGain(volume); | 4439 | m_host.AdjustSoundGain(volume); |
4440 | // ScriptSleep(100); | ||
4418 | } | 4441 | } |
4419 | 4442 | ||
4420 | public void llSetSoundQueueing(int queue) | 4443 | public void llSetSoundQueueing(int queue) |
@@ -5018,6 +5041,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5018 | land.ParcelAccessList.Add(entry); | 5041 | land.ParcelAccessList.Add(entry); |
5019 | } | 5042 | } |
5020 | } | 5043 | } |
5044 | // ScriptSleep(100); | ||
5021 | } | 5045 | } |
5022 | 5046 | ||
5023 | public void llSetTouchText(string text) | 5047 | public void llSetTouchText(string text) |
@@ -5105,6 +5129,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5105 | buts[i] = buttons.Data[i].ToString(); | 5129 | buts[i] = buttons.Data[i].ToString(); |
5106 | } | 5130 | } |
5107 | World.SendDialogToUser(av, m_host.Name, m_host.UUID, m_host.OwnerID, message, new UUID("00000000-0000-2222-3333-100000001000"), chat_channel, buts); | 5131 | World.SendDialogToUser(av, m_host.Name, m_host.UUID, m_host.OwnerID, message, new UUID("00000000-0000-2222-3333-100000001000"), chat_channel, buts); |
5132 | // ScriptSleep(1000); | ||
5108 | } | 5133 | } |
5109 | 5134 | ||
5110 | public void llVolumeDetect(int detect) | 5135 | public void llVolumeDetect(int detect) |
@@ -5179,6 +5204,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5179 | { | 5204 | { |
5180 | m_host.AddScriptLPS(1); | 5205 | m_host.AddScriptLPS(1); |
5181 | Deprecated("llRemoteLoadScript"); | 5206 | Deprecated("llRemoteLoadScript"); |
5207 | // ScriptSleep(3000); | ||
5182 | } | 5208 | } |
5183 | 5209 | ||
5184 | public void llSetRemoteScriptAccessPin(int pin) | 5210 | public void llSetRemoteScriptAccessPin(int pin) |
@@ -5229,6 +5255,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5229 | 5255 | ||
5230 | // the rest of the permission checks are done in RezScript, so check the pin there as well | 5256 | // the rest of the permission checks are done in RezScript, so check the pin there as well |
5231 | World.RezScript(srcId, m_host, destId, pin, running, start_param); | 5257 | World.RezScript(srcId, m_host, destId, pin, running, start_param); |
5258 | // this will cause the delay even if the script pin or permissions were wrong - seems ok | ||
5259 | ScriptSleep(3000); | ||
5232 | } | 5260 | } |
5233 | 5261 | ||
5234 | public void llOpenRemoteDataChannel() | 5262 | public void llOpenRemoteDataChannel() |
@@ -5241,12 +5269,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5241 | object[] resobj = new object[] { new LSL_Types.LSLInteger(1), new LSL_Types.LSLString(channelID.ToString()), new LSL_Types.LSLString(UUID.Zero.ToString()), new LSL_Types.LSLString(String.Empty), new LSL_Types.LSLInteger(0), new LSL_Types.LSLString(String.Empty) }; | 5269 | object[] resobj = new object[] { new LSL_Types.LSLInteger(1), new LSL_Types.LSLString(channelID.ToString()), new LSL_Types.LSLString(UUID.Zero.ToString()), new LSL_Types.LSLString(String.Empty), new LSL_Types.LSLInteger(0), new LSL_Types.LSLString(String.Empty) }; |
5242 | m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", EventQueueManager.llDetectNull, resobj); | 5270 | m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", EventQueueManager.llDetectNull, resobj); |
5243 | } | 5271 | } |
5272 | // ScriptSleep(1000); | ||
5244 | } | 5273 | } |
5245 | 5274 | ||
5246 | public string llSendRemoteData(string channel, string dest, int idata, string sdata) | 5275 | public string llSendRemoteData(string channel, string dest, int idata, string sdata) |
5247 | { | 5276 | { |
5248 | m_host.AddScriptLPS(1); | 5277 | m_host.AddScriptLPS(1); |
5249 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); | 5278 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); |
5279 | // ScriptSleep(3000); | ||
5250 | return (xmlrpcMod.SendRemoteData(m_localID, m_itemID, channel, dest, idata, sdata)).ToString(); | 5280 | return (xmlrpcMod.SendRemoteData(m_localID, m_itemID, channel, dest, idata, sdata)).ToString(); |
5251 | } | 5281 | } |
5252 | 5282 | ||
@@ -5255,6 +5285,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5255 | m_host.AddScriptLPS(1); | 5285 | m_host.AddScriptLPS(1); |
5256 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); | 5286 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); |
5257 | xmlrpcMod.RemoteDataReply(channel, message_id, sdata, idata); | 5287 | xmlrpcMod.RemoteDataReply(channel, message_id, sdata, idata); |
5288 | // ScriptSleep(3000); | ||
5258 | } | 5289 | } |
5259 | 5290 | ||
5260 | public void llCloseRemoteDataChannel(string channel) | 5291 | public void llCloseRemoteDataChannel(string channel) |
@@ -5262,6 +5293,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5262 | m_host.AddScriptLPS(1); | 5293 | m_host.AddScriptLPS(1); |
5263 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); | 5294 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); |
5264 | xmlrpcMod.CloseXMLRPCChannel(channel); | 5295 | xmlrpcMod.CloseXMLRPCChannel(channel); |
5296 | // ScriptSleep(1000); | ||
5265 | } | 5297 | } |
5266 | 5298 | ||
5267 | public string llMD5String(string src, int nonce) | 5299 | public string llMD5String(string src, int nonce) |
@@ -5955,6 +5987,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5955 | { | 5987 | { |
5956 | m_host.AddScriptLPS(1); | 5988 | m_host.AddScriptLPS(1); |
5957 | Deprecated("llXorBase64Strings"); | 5989 | Deprecated("llXorBase64Strings"); |
5990 | // ScriptSleep(300); | ||
5958 | } | 5991 | } |
5959 | 5992 | ||
5960 | public void llRemoteDataSetRegion() | 5993 | public void llRemoteDataSetRegion() |
@@ -6003,6 +6036,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6003 | return; | 6036 | return; |
6004 | } | 6037 | } |
6005 | World.SetLandMusicURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url); | 6038 | World.SetLandMusicURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url); |
6039 | // ScriptSleep(2000); | ||
6006 | } | 6040 | } |
6007 | 6041 | ||
6008 | public void osSetParcelMediaURL(string url) | 6042 | public void osSetParcelMediaURL(string url) |
@@ -6674,6 +6708,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6674 | { | 6708 | { |
6675 | m_host.AddScriptLPS(1); | 6709 | m_host.AddScriptLPS(1); |
6676 | m_host.RotationOffset = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s); | 6710 | m_host.RotationOffset = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s); |
6711 | // ScriptSleep(200); | ||
6677 | } | 6712 | } |
6678 | 6713 | ||
6679 | // <summary> | 6714 | // <summary> |
@@ -6994,6 +7029,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6994 | case 5: // DATA_SIM_POS | 7029 | case 5: // DATA_SIM_POS |
6995 | if (info == null) | 7030 | if (info == null) |
6996 | { | 7031 | { |
7032 | // ScriptSleep(1000); | ||
6997 | return UUID.Zero.ToString(); | 7033 | return UUID.Zero.ToString(); |
6998 | } | 7034 | } |
6999 | reply = new LSL_Types.Vector3( | 7035 | reply = new LSL_Types.Vector3( |
@@ -7010,6 +7046,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7010 | case 7: // DATA_SIM_RATING | 7046 | case 7: // DATA_SIM_RATING |
7011 | if (info == null) | 7047 | if (info == null) |
7012 | { | 7048 | { |
7049 | // ScriptSleep(1000); | ||
7013 | return UUID.Zero.ToString(); | 7050 | return UUID.Zero.ToString(); |
7014 | } | 7051 | } |
7015 | int access = info.RegionSettings.Maturity; | 7052 | int access = info.RegionSettings.Maturity; |
@@ -7024,6 +7061,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7024 | reply = m_ScriptEngine.World.GetSimulatorVersion(); | 7061 | reply = m_ScriptEngine.World.GetSimulatorVersion(); |
7025 | break; | 7062 | break; |
7026 | default: | 7063 | default: |
7064 | // ScriptSleep(1000); | ||
7027 | return UUID.Zero.ToString(); // Raise no event | 7065 | return UUID.Zero.ToString(); // Raise no event |
7028 | } | 7066 | } |
7029 | UUID rq = UUID.Random(); | 7067 | UUID rq = UUID.Random(); |
@@ -7034,6 +7072,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7034 | m_ScriptEngine.m_ASYNCLSLCommandManager. | 7072 | m_ScriptEngine.m_ASYNCLSLCommandManager. |
7035 | m_Dataserver.DataserverReply(rq.ToString(), reply); | 7073 | m_Dataserver.DataserverReply(rq.ToString(), reply); |
7036 | 7074 | ||
7075 | // ScriptSleep(1000); | ||
7037 | return tid.ToString(); | 7076 | return tid.ToString(); |
7038 | } | 7077 | } |
7039 | catch(Exception e) | 7078 | catch(Exception e) |
@@ -7148,6 +7187,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7148 | UUID avatarId = new UUID(avatar_id); | 7187 | UUID avatarId = new UUID(avatar_id); |
7149 | m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message, | 7188 | m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message, |
7150 | url); | 7189 | url); |
7190 | // ScriptSleep(10000); | ||
7151 | } | 7191 | } |
7152 | 7192 | ||
7153 | public void llParcelMediaCommandList(LSL_Types.list commandList) | 7193 | public void llParcelMediaCommandList(LSL_Types.list commandList) |
@@ -7271,6 +7311,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7271 | 7311 | ||
7272 | } | 7312 | } |
7273 | } | 7313 | } |
7314 | // ScriptSleep(2000); | ||
7274 | return list; | 7315 | return list; |
7275 | } | 7316 | } |
7276 | 7317 | ||
@@ -7279,6 +7320,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7279 | m_host.AddScriptLPS(1); | 7320 | m_host.AddScriptLPS(1); |
7280 | Int64 tmp = 0; | 7321 | Int64 tmp = 0; |
7281 | Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); | 7322 | Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); |
7323 | // ScriptSleep(1000); | ||
7282 | return Convert.ToInt32(tmp); | 7324 | return Convert.ToInt32(tmp); |
7283 | } | 7325 | } |
7284 | 7326 | ||
@@ -7347,12 +7389,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7347 | { | 7389 | { |
7348 | m_host.AddScriptLPS(1); | 7390 | m_host.AddScriptLPS(1); |
7349 | NotImplemented("llSetPrimURL"); | 7391 | NotImplemented("llSetPrimURL"); |
7392 | // ScriptSleep(2000); | ||
7350 | } | 7393 | } |
7351 | 7394 | ||
7352 | public void llRefreshPrimURL() | 7395 | public void llRefreshPrimURL() |
7353 | { | 7396 | { |
7354 | m_host.AddScriptLPS(1); | 7397 | m_host.AddScriptLPS(1); |
7355 | NotImplemented("llRefreshPrimURL"); | 7398 | NotImplemented("llRefreshPrimURL"); |
7399 | // ScriptSleep(20000); | ||
7356 | } | 7400 | } |
7357 | 7401 | ||
7358 | public string llEscapeURL(string url) | 7402 | public string llEscapeURL(string url) |
@@ -7385,6 +7429,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7385 | { | 7429 | { |
7386 | m_host.AddScriptLPS(1); | 7430 | m_host.AddScriptLPS(1); |
7387 | NotImplemented("llMapDestination"); | 7431 | NotImplemented("llMapDestination"); |
7432 | // ScriptSleep(1000); | ||
7388 | } | 7433 | } |
7389 | 7434 | ||
7390 | public void llAddToLandBanList(string avatar, double hours) | 7435 | public void llAddToLandBanList(string avatar, double hours) |
@@ -7403,6 +7448,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7403 | land.ParcelAccessList.Add(entry); | 7448 | land.ParcelAccessList.Add(entry); |
7404 | } | 7449 | } |
7405 | } | 7450 | } |
7451 | // ScriptSleep(100); | ||
7406 | } | 7452 | } |
7407 | 7453 | ||
7408 | public void llRemoveFromLandPassList(string avatar) | 7454 | public void llRemoveFromLandPassList(string avatar) |
@@ -7424,6 +7470,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7424 | } | 7470 | } |
7425 | } | 7471 | } |
7426 | } | 7472 | } |
7473 | // ScriptSleep(100); | ||
7427 | } | 7474 | } |
7428 | 7475 | ||
7429 | public void llRemoveFromLandBanList(string avatar) | 7476 | public void llRemoveFromLandBanList(string avatar) |
@@ -7445,6 +7492,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7445 | } | 7492 | } |
7446 | } | 7493 | } |
7447 | } | 7494 | } |
7495 | // ScriptSleep(100); | ||
7448 | } | 7496 | } |
7449 | 7497 | ||
7450 | public void llSetCameraParams(LSL_Types.list rules) | 7498 | public void llSetCameraParams(LSL_Types.list rules) |
@@ -7652,6 +7700,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7652 | } | 7700 | } |
7653 | } | 7701 | } |
7654 | } | 7702 | } |
7703 | // ScriptSleep(100); | ||
7655 | } | 7704 | } |
7656 | 7705 | ||
7657 | public void llResetLandPassList() | 7706 | public void llResetLandPassList() |
@@ -7668,6 +7717,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7668 | } | 7717 | } |
7669 | } | 7718 | } |
7670 | } | 7719 | } |
7720 | // ScriptSleep(100); | ||
7671 | } | 7721 | } |
7672 | 7722 | ||
7673 | public LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) | 7723 | public LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) |
@@ -7746,6 +7796,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7746 | ret.Add(d.Value); | 7796 | ret.Add(d.Value); |
7747 | } | 7797 | } |
7748 | } | 7798 | } |
7799 | // ScriptSleep(2000); | ||
7749 | return ret; | 7800 | return ret; |
7750 | } | 7801 | } |
7751 | 7802 | ||
@@ -7842,6 +7893,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7842 | return; | 7893 | return; |
7843 | 7894 | ||
7844 | SetTexture(part, texture, face); | 7895 | SetTexture(part, texture, face); |
7896 | // ScriptSleep(200); | ||
7845 | } | 7897 | } |
7846 | 7898 | ||
7847 | public string llStringTrim(string src, int type) | 7899 | public string llStringTrim(string src, int type) |
@@ -7985,6 +8037,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
7985 | { | 8037 | { |
7986 | return 0; | 8038 | return 0; |
7987 | } | 8039 | } |
8040 | // ScriptSleep(100); | ||
7988 | } | 8041 | } |
7989 | 8042 | ||
7990 | public string llGetNotecardLine(string name, int line) | 8043 | public string llGetNotecardLine(string name, int line) |
@@ -8002,10 +8055,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
8002 | (line >= 0) && | 8055 | (line >= 0) && |
8003 | (line < notecardLines.Length)) | 8056 | (line < notecardLines.Length)) |
8004 | { | 8057 | { |
8058 | // ScriptSleep(100); | ||
8005 | return notecardLines[line]; | 8059 | return notecardLines[line]; |
8006 | } | 8060 | } |
8007 | else | 8061 | else |
8008 | { | 8062 | { |
8063 | // ScriptSleep(100); | ||
8009 | return String.Empty; | 8064 | return String.Empty; |
8010 | } | 8065 | } |
8011 | } | 8066 | } |