aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorCharles Krinke2008-09-07 04:00:44 +0000
committerCharles Krinke2008-09-07 04:00:44 +0000
commit94195c4927575f55e2cb040c788ea839890732fc (patch)
tree125d2593d7788825a738d775eb6a3c747ac40d3e /OpenSim
parent* minor: for now, print out the exception if logging into the initially selec... (diff)
downloadopensim-SC_OLD-94195c4927575f55e2cb040c788ea839890732fc.zip
opensim-SC_OLD-94195c4927575f55e2cb040c788ea839890732fc.tar.gz
opensim-SC_OLD-94195c4927575f55e2cb040c788ea839890732fc.tar.bz2
opensim-SC_OLD-94195c4927575f55e2cb040c788ea839890732fc.tar.xz
Clean up some of the nonsensical use of ScriptSleep
inside our LSL-C# wrapper subroutines.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs57
1 files changed, 1 insertions, 56 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 8fc0ffb..55bdf07 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1488,7 +1488,6 @@ namespace OpenSim.Region.ScriptEngine.Common
1488 { 1488 {
1489 m_host.AddScriptLPS(1); 1489 m_host.AddScriptLPS(1);
1490 SetTexture(m_host, texture, face); 1490 SetTexture(m_host, texture, face);
1491 // ScriptSleep(200);
1492 } 1491 }
1493 1492
1494 private void SetTexture(SceneObjectPart part, string texture, int face) 1493 private void SetTexture(SceneObjectPart part, string texture, int face)
@@ -1533,7 +1532,6 @@ namespace OpenSim.Region.ScriptEngine.Common
1533 m_host.AddScriptLPS(1); 1532 m_host.AddScriptLPS(1);
1534 1533
1535 ScaleTexture(m_host, u, v, face); 1534 ScaleTexture(m_host, u, v, face);
1536 // ScriptSleep(200);
1537 } 1535 }
1538 1536
1539 private void ScaleTexture(SceneObjectPart part, double u, double v, int face) 1537 private void ScaleTexture(SceneObjectPart part, double u, double v, int face)
@@ -1569,7 +1567,6 @@ namespace OpenSim.Region.ScriptEngine.Common
1569 { 1567 {
1570 m_host.AddScriptLPS(1); 1568 m_host.AddScriptLPS(1);
1571 OffsetTexture(m_host, u, v, face); 1569 OffsetTexture(m_host, u, v, face);
1572 // ScriptSleep(200);
1573 } 1570 }
1574 1571
1575 private void OffsetTexture(SceneObjectPart part, double u, double v, int face) 1572 private void OffsetTexture(SceneObjectPart part, double u, double v, int face)
@@ -1605,7 +1602,6 @@ namespace OpenSim.Region.ScriptEngine.Common
1605 { 1602 {
1606 m_host.AddScriptLPS(1); 1603 m_host.AddScriptLPS(1);
1607 RotateTexture(m_host, rotation, face); 1604 RotateTexture(m_host, rotation, face);
1608 // ScriptSleep(200);
1609 } 1605 }
1610 1606
1611 private void RotateTexture(SceneObjectPart part, double rotation, int face) 1607 private void RotateTexture(SceneObjectPart part, double rotation, int face)
@@ -1657,10 +1653,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1657 public void llSetPos(LSL_Types.Vector3 pos) 1653 public void llSetPos(LSL_Types.Vector3 pos)
1658 { 1654 {
1659 m_host.AddScriptLPS(1); 1655 m_host.AddScriptLPS(1);
1660
1661 SetPos(m_host, pos); 1656 SetPos(m_host, pos);
1662
1663 ScriptSleep(200);
1664 } 1657 }
1665 1658
1666 private void SetPos(SceneObjectPart part, LSL_Types.Vector3 targetPos) 1659 private void SetPos(SceneObjectPart part, LSL_Types.Vector3 targetPos)
@@ -1710,10 +1703,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1710 public void llSetRot(LSL_Types.Quaternion rot) 1703 public void llSetRot(LSL_Types.Quaternion rot)
1711 { 1704 {
1712 m_host.AddScriptLPS(1); 1705 m_host.AddScriptLPS(1);
1713
1714 SetRot(m_host, rot); 1706 SetRot(m_host, rot);
1715
1716 ScriptSleep(200);
1717 } 1707 }
1718 1708
1719 private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot) 1709 private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot)
@@ -1992,7 +1982,6 @@ namespace OpenSim.Region.ScriptEngine.Common
1992 { 1982 {
1993 m_host.AddScriptLPS(1); 1983 m_host.AddScriptLPS(1);
1994 m_host.PreloadSound(sound); 1984 m_host.PreloadSound(sound);
1995 // ScriptSleep(1000);
1996 } 1985 }
1997 1986
1998 /// <summary> 1987 /// <summary>
@@ -2276,28 +2265,24 @@ namespace OpenSim.Region.ScriptEngine.Common
2276 { 2265 {
2277 m_host.AddScriptLPS(1); 2266 m_host.AddScriptLPS(1);
2278 Deprecated("llMakeExplosion"); 2267 Deprecated("llMakeExplosion");
2279 // ScriptSleep(100);
2280 } 2268 }
2281 2269
2282 public void llMakeFountain() 2270 public void llMakeFountain()
2283 { 2271 {
2284 m_host.AddScriptLPS(1); 2272 m_host.AddScriptLPS(1);
2285 Deprecated("llMakeFountain"); 2273 Deprecated("llMakeFountain");
2286 // ScriptSleep(100);
2287 } 2274 }
2288 2275
2289 public void llMakeSmoke() 2276 public void llMakeSmoke()
2290 { 2277 {
2291 m_host.AddScriptLPS(1); 2278 m_host.AddScriptLPS(1);
2292 Deprecated("llMakeSmoke"); 2279 Deprecated("llMakeSmoke");
2293 // ScriptSleep(100);
2294 } 2280 }
2295 2281
2296 public void llMakeFire() 2282 public void llMakeFire()
2297 { 2283 {
2298 m_host.AddScriptLPS(1); 2284 m_host.AddScriptLPS(1);
2299 Deprecated("llMakeFire"); 2285 Deprecated("llMakeFire");
2300 // ScriptSleep(100);
2301 } 2286 }
2302 2287
2303 public void llRezAtRoot(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param) 2288 public void llRezAtRoot(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param)
@@ -2354,7 +2339,6 @@ namespace OpenSim.Region.ScriptEngine.Common
2354 found = true; 2339 found = true;
2355 // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay) 2340 // Variable script delay? (see (http://wiki.secondlife.com/wiki/LSL_Delay)
2356 ScriptSleep((int)((groupmass * velmag) / 10)); 2341 ScriptSleep((int)((groupmass * velmag) / 10));
2357 // ScriptSleep(100);
2358 break; 2342 break;
2359 } 2343 }
2360 } 2344 }
@@ -2537,7 +2521,6 @@ namespace OpenSim.Region.ScriptEngine.Common
2537 return; 2521 return;
2538 2522
2539 emailModule.SendEmail(m_host.UUID, address, subject, message); 2523 emailModule.SendEmail(m_host.UUID, address, subject, message);
2540 // ScriptSleep(20000);
2541 } 2524 }
2542 2525
2543 public void llGetNextEmail(string address, string subject) 2526 public void llGetNextEmail(string address, string subject)
@@ -2979,7 +2962,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2979 parentPrim.RootPart.AddFlag(PrimFlags.CreateSelected); 2962 parentPrim.RootPart.AddFlag(PrimFlags.CreateSelected);
2980 parentPrim.GetProperties(client); 2963 parentPrim.GetProperties(client);
2981 2964
2982 ScriptSleep(1000); 2965 ScriptSleep(500);
2983 } 2966 }
2984 2967
2985 public void llBreakLink(int linknum) 2968 public void llBreakLink(int linknum)
@@ -3141,7 +3124,6 @@ namespace OpenSim.Region.ScriptEngine.Common
3141 // destination is an object 3124 // destination is an object
3142 World.MoveTaskInventoryItem(destId, m_host, objId); 3125 World.MoveTaskInventoryItem(destId, m_host, objId);
3143 } 3126 }
3144 // ScriptSleep(3000);
3145 } 3127 }
3146 3128
3147 public void llRemoveInventory(string name) 3129 public void llRemoveInventory(string name)
@@ -3180,7 +3162,6 @@ namespace OpenSim.Region.ScriptEngine.Common
3180 { 3162 {
3181 m_host.AddScriptLPS(1); 3163 m_host.AddScriptLPS(1);
3182 NotImplemented("llRequestAgentData"); 3164 NotImplemented("llRequestAgentData");
3183 // ScriptSleep(100);
3184 return String.Empty; 3165 return String.Empty;
3185 } 3166 }
3186 3167
@@ -3214,12 +3195,9 @@ namespace OpenSim.Region.ScriptEngine.Common
3214 m_Dataserver.DataserverReply(i.ToString(), 3195 m_Dataserver.DataserverReply(i.ToString(),
3215 reply); 3196 reply);
3216 }, false); 3197 }, false);
3217
3218 // ScriptSleep(1000);
3219 return tid.ToString(); 3198 return tid.ToString();
3220 } 3199 }
3221 } 3200 }
3222 // ScriptSleep(1000);
3223 return String.Empty; 3201 return String.Empty;
3224 } 3202 }
3225 3203
@@ -4439,7 +4417,6 @@ namespace OpenSim.Region.ScriptEngine.Common
4439 { 4417 {
4440 m_host.AddScriptLPS(1); 4418 m_host.AddScriptLPS(1);
4441 m_host.AdjustSoundGain(volume); 4419 m_host.AdjustSoundGain(volume);
4442 // ScriptSleep(100);
4443 } 4420 }
4444 4421
4445 public void llSetSoundQueueing(int queue) 4422 public void llSetSoundQueueing(int queue)
@@ -5043,7 +5020,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5043 land.ParcelAccessList.Add(entry); 5020 land.ParcelAccessList.Add(entry);
5044 } 5021 }
5045 } 5022 }
5046 // ScriptSleep(100);
5047 } 5023 }
5048 5024
5049 public void llSetTouchText(string text) 5025 public void llSetTouchText(string text)
@@ -5131,7 +5107,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5131 buts[i] = buttons.Data[i].ToString(); 5107 buts[i] = buttons.Data[i].ToString();
5132 } 5108 }
5133 World.SendDialogToUser(av, m_host.Name, m_host.UUID, m_host.OwnerID, message, new UUID("00000000-0000-2222-3333-100000001000"), chat_channel, buts); 5109 World.SendDialogToUser(av, m_host.Name, m_host.UUID, m_host.OwnerID, message, new UUID("00000000-0000-2222-3333-100000001000"), chat_channel, buts);
5134 // ScriptSleep(1000);
5135 } 5110 }
5136 5111
5137 public void llVolumeDetect(int detect) 5112 public void llVolumeDetect(int detect)
@@ -5206,7 +5181,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5206 { 5181 {
5207 m_host.AddScriptLPS(1); 5182 m_host.AddScriptLPS(1);
5208 Deprecated("llRemoteLoadScript"); 5183 Deprecated("llRemoteLoadScript");
5209 // ScriptSleep(3000);
5210 } 5184 }
5211 5185
5212 public void llSetRemoteScriptAccessPin(int pin) 5186 public void llSetRemoteScriptAccessPin(int pin)
@@ -5257,8 +5231,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5257 5231
5258 // the rest of the permission checks are done in RezScript, so check the pin there as well 5232 // the rest of the permission checks are done in RezScript, so check the pin there as well
5259 World.RezScript(srcId, m_host, destId, pin, running, start_param); 5233 World.RezScript(srcId, m_host, destId, pin, running, start_param);
5260 // this will cause the delay even if the script pin or permissions were wrong - seems ok
5261 ScriptSleep(3000);
5262 } 5234 }
5263 5235
5264 public void llOpenRemoteDataChannel() 5236 public void llOpenRemoteDataChannel()
@@ -5271,14 +5243,12 @@ namespace OpenSim.Region.ScriptEngine.Common
5271 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) }; 5243 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) };
5272 m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", EventQueueManager.llDetectNull, resobj); 5244 m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", EventQueueManager.llDetectNull, resobj);
5273 } 5245 }
5274 // ScriptSleep(1000);
5275 } 5246 }
5276 5247
5277 public string llSendRemoteData(string channel, string dest, int idata, string sdata) 5248 public string llSendRemoteData(string channel, string dest, int idata, string sdata)
5278 { 5249 {
5279 m_host.AddScriptLPS(1); 5250 m_host.AddScriptLPS(1);
5280 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); 5251 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>();
5281 // ScriptSleep(3000);
5282 return (xmlrpcMod.SendRemoteData(m_localID, m_itemID, channel, dest, idata, sdata)).ToString(); 5252 return (xmlrpcMod.SendRemoteData(m_localID, m_itemID, channel, dest, idata, sdata)).ToString();
5283 } 5253 }
5284 5254
@@ -5287,7 +5257,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5287 m_host.AddScriptLPS(1); 5257 m_host.AddScriptLPS(1);
5288 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); 5258 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>();
5289 xmlrpcMod.RemoteDataReply(channel, message_id, sdata, idata); 5259 xmlrpcMod.RemoteDataReply(channel, message_id, sdata, idata);
5290 // ScriptSleep(3000);
5291 } 5260 }
5292 5261
5293 public void llCloseRemoteDataChannel(string channel) 5262 public void llCloseRemoteDataChannel(string channel)
@@ -5295,7 +5264,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5295 m_host.AddScriptLPS(1); 5264 m_host.AddScriptLPS(1);
5296 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); 5265 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>();
5297 xmlrpcMod.CloseXMLRPCChannel(channel); 5266 xmlrpcMod.CloseXMLRPCChannel(channel);
5298 // ScriptSleep(1000);
5299 } 5267 }
5300 5268
5301 public string llMD5String(string src, int nonce) 5269 public string llMD5String(string src, int nonce)
@@ -5989,7 +5957,6 @@ namespace OpenSim.Region.ScriptEngine.Common
5989 { 5957 {
5990 m_host.AddScriptLPS(1); 5958 m_host.AddScriptLPS(1);
5991 Deprecated("llXorBase64Strings"); 5959 Deprecated("llXorBase64Strings");
5992 // ScriptSleep(300);
5993 } 5960 }
5994 5961
5995 public void llRemoteDataSetRegion() 5962 public void llRemoteDataSetRegion()
@@ -6038,7 +6005,6 @@ namespace OpenSim.Region.ScriptEngine.Common
6038 return; 6005 return;
6039 } 6006 }
6040 World.SetLandMusicURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url); 6007 World.SetLandMusicURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url);
6041 // ScriptSleep(2000);
6042 } 6008 }
6043 6009
6044 public void osSetParcelMediaURL(string url) 6010 public void osSetParcelMediaURL(string url)
@@ -6710,7 +6676,6 @@ namespace OpenSim.Region.ScriptEngine.Common
6710 { 6676 {
6711 m_host.AddScriptLPS(1); 6677 m_host.AddScriptLPS(1);
6712 m_host.RotationOffset = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s); 6678 m_host.RotationOffset = new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s);
6713 // ScriptSleep(200);
6714 } 6679 }
6715 6680
6716 // <summary> 6681 // <summary>
@@ -7031,7 +6996,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7031 case 5: // DATA_SIM_POS 6996 case 5: // DATA_SIM_POS
7032 if (info == null) 6997 if (info == null)
7033 { 6998 {
7034 // ScriptSleep(1000);
7035 return UUID.Zero.ToString(); 6999 return UUID.Zero.ToString();
7036 } 7000 }
7037 reply = new LSL_Types.Vector3( 7001 reply = new LSL_Types.Vector3(
@@ -7048,7 +7012,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7048 case 7: // DATA_SIM_RATING 7012 case 7: // DATA_SIM_RATING
7049 if (info == null) 7013 if (info == null)
7050 { 7014 {
7051 // ScriptSleep(1000);
7052 return UUID.Zero.ToString(); 7015 return UUID.Zero.ToString();
7053 } 7016 }
7054 int access = info.RegionSettings.Maturity; 7017 int access = info.RegionSettings.Maturity;
@@ -7063,7 +7026,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7063 reply = m_ScriptEngine.World.GetSimulatorVersion(); 7026 reply = m_ScriptEngine.World.GetSimulatorVersion();
7064 break; 7027 break;
7065 default: 7028 default:
7066 // ScriptSleep(1000);
7067 return UUID.Zero.ToString(); // Raise no event 7029 return UUID.Zero.ToString(); // Raise no event
7068 } 7030 }
7069 UUID rq = UUID.Random(); 7031 UUID rq = UUID.Random();
@@ -7074,7 +7036,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7074 m_ScriptEngine.m_ASYNCLSLCommandManager. 7036 m_ScriptEngine.m_ASYNCLSLCommandManager.
7075 m_Dataserver.DataserverReply(rq.ToString(), reply); 7037 m_Dataserver.DataserverReply(rq.ToString(), reply);
7076 7038
7077 // ScriptSleep(1000);
7078 return tid.ToString(); 7039 return tid.ToString();
7079 } 7040 }
7080 catch(Exception e) 7041 catch(Exception e)
@@ -7189,7 +7150,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7189 UUID avatarId = new UUID(avatar_id); 7150 UUID avatarId = new UUID(avatar_id);
7190 m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message, 7151 m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message,
7191 url); 7152 url);
7192 // ScriptSleep(10000);
7193 } 7153 }
7194 7154
7195 public void llParcelMediaCommandList(LSL_Types.list commandList) 7155 public void llParcelMediaCommandList(LSL_Types.list commandList)
@@ -7313,7 +7273,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7313 7273
7314 } 7274 }
7315 } 7275 }
7316 // ScriptSleep(2000);
7317 return list; 7276 return list;
7318 } 7277 }
7319 7278
@@ -7322,7 +7281,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7322 m_host.AddScriptLPS(1); 7281 m_host.AddScriptLPS(1);
7323 Int64 tmp = 0; 7282 Int64 tmp = 0;
7324 Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); 7283 Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp);
7325 // ScriptSleep(1000);
7326 return Convert.ToInt32(tmp); 7284 return Convert.ToInt32(tmp);
7327 } 7285 }
7328 7286
@@ -7391,14 +7349,12 @@ namespace OpenSim.Region.ScriptEngine.Common
7391 { 7349 {
7392 m_host.AddScriptLPS(1); 7350 m_host.AddScriptLPS(1);
7393 NotImplemented("llSetPrimURL"); 7351 NotImplemented("llSetPrimURL");
7394 // ScriptSleep(2000);
7395 } 7352 }
7396 7353
7397 public void llRefreshPrimURL() 7354 public void llRefreshPrimURL()
7398 { 7355 {
7399 m_host.AddScriptLPS(1); 7356 m_host.AddScriptLPS(1);
7400 NotImplemented("llRefreshPrimURL"); 7357 NotImplemented("llRefreshPrimURL");
7401 // ScriptSleep(20000);
7402 } 7358 }
7403 7359
7404 public string llEscapeURL(string url) 7360 public string llEscapeURL(string url)
@@ -7431,7 +7387,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7431 { 7387 {
7432 m_host.AddScriptLPS(1); 7388 m_host.AddScriptLPS(1);
7433 NotImplemented("llMapDestination"); 7389 NotImplemented("llMapDestination");
7434 // ScriptSleep(1000);
7435 } 7390 }
7436 7391
7437 public void llAddToLandBanList(string avatar, double hours) 7392 public void llAddToLandBanList(string avatar, double hours)
@@ -7450,7 +7405,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7450 land.ParcelAccessList.Add(entry); 7405 land.ParcelAccessList.Add(entry);
7451 } 7406 }
7452 } 7407 }
7453 // ScriptSleep(100);
7454 } 7408 }
7455 7409
7456 public void llRemoveFromLandPassList(string avatar) 7410 public void llRemoveFromLandPassList(string avatar)
@@ -7472,7 +7426,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7472 } 7426 }
7473 } 7427 }
7474 } 7428 }
7475 // ScriptSleep(100);
7476 } 7429 }
7477 7430
7478 public void llRemoveFromLandBanList(string avatar) 7431 public void llRemoveFromLandBanList(string avatar)
@@ -7494,7 +7447,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7494 } 7447 }
7495 } 7448 }
7496 } 7449 }
7497 // ScriptSleep(100);
7498 } 7450 }
7499 7451
7500 public void llSetCameraParams(LSL_Types.list rules) 7452 public void llSetCameraParams(LSL_Types.list rules)
@@ -7702,7 +7654,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7702 } 7654 }
7703 } 7655 }
7704 } 7656 }
7705 // ScriptSleep(100);
7706 } 7657 }
7707 7658
7708 public void llResetLandPassList() 7659 public void llResetLandPassList()
@@ -7719,7 +7670,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7719 } 7670 }
7720 } 7671 }
7721 } 7672 }
7722 // ScriptSleep(100);
7723 } 7673 }
7724 7674
7725 public LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) 7675 public LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide)
@@ -7798,7 +7748,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7798 ret.Add(d.Value); 7748 ret.Add(d.Value);
7799 } 7749 }
7800 } 7750 }
7801 // ScriptSleep(2000);
7802 return ret; 7751 return ret;
7803 } 7752 }
7804 7753
@@ -7895,7 +7844,6 @@ namespace OpenSim.Region.ScriptEngine.Common
7895 return; 7844 return;
7896 7845
7897 SetTexture(part, texture, face); 7846 SetTexture(part, texture, face);
7898 // ScriptSleep(200);
7899 } 7847 }
7900 7848
7901 public string llStringTrim(string src, int type) 7849 public string llStringTrim(string src, int type)
@@ -8039,7 +7987,6 @@ namespace OpenSim.Region.ScriptEngine.Common
8039 { 7987 {
8040 return 0; 7988 return 0;
8041 } 7989 }
8042 // ScriptSleep(100);
8043 } 7990 }
8044 7991
8045 public string llGetNotecardLine(string name, int line) 7992 public string llGetNotecardLine(string name, int line)
@@ -8057,12 +8004,10 @@ namespace OpenSim.Region.ScriptEngine.Common
8057 (line >= 0) && 8004 (line >= 0) &&
8058 (line < notecardLines.Length)) 8005 (line < notecardLines.Length))
8059 { 8006 {
8060 // ScriptSleep(100);
8061 return notecardLines[line]; 8007 return notecardLines[line];
8062 } 8008 }
8063 else 8009 else
8064 { 8010 {
8065 // ScriptSleep(100);
8066 return String.Empty; 8011 return String.Empty;
8067 } 8012 }
8068 } 8013 }