diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 9567d80..1968f8e 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1213,7 +1213,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1213 | m_host.AddScriptLPS(1); | 1213 | m_host.AddScriptLPS(1); |
1214 | // This function has been deprecated | 1214 | // This function has been deprecated |
1215 | // see http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSound | 1215 | // see http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSound |
1216 | NotImplemented("llSound"); | 1216 | Deprecated("llSound"); |
1217 | } | 1217 | } |
1218 | 1218 | ||
1219 | public void llPlaySound(string sound, double volume) | 1219 | public void llPlaySound(string sound, double volume) |
@@ -3449,7 +3449,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3449 | public void llRemoteLoadScript() | 3449 | public void llRemoteLoadScript() |
3450 | { | 3450 | { |
3451 | m_host.AddScriptLPS(1); | 3451 | m_host.AddScriptLPS(1); |
3452 | ShoutError("llRemoteLoadScript: deprecated"); | 3452 | Deprecated("llRemoteLoadScript"); |
3453 | } | 3453 | } |
3454 | 3454 | ||
3455 | public void llSetRemoteScriptAccessPin(int pin) | 3455 | public void llSetRemoteScriptAccessPin(int pin) |
@@ -3559,7 +3559,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3559 | public void llXorBase64Strings() | 3559 | public void llXorBase64Strings() |
3560 | { | 3560 | { |
3561 | m_host.AddScriptLPS(1); | 3561 | m_host.AddScriptLPS(1); |
3562 | throw new Exception("Command deprecated! Use llXorBase64StringsCorrect instead."); | 3562 | Deprecated("llXorBase64Strings"); |
3563 | } | 3563 | } |
3564 | 3564 | ||
3565 | public void llRemoteDataSetRegion() | 3565 | public void llRemoteDataSetRegion() |
@@ -5212,6 +5212,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5212 | throw new NotImplementedException("Command not implemented: " + command); | 5212 | throw new NotImplementedException("Command not implemented: " + command); |
5213 | } | 5213 | } |
5214 | 5214 | ||
5215 | private void Deprecated(string command) | ||
5216 | { | ||
5217 | m_host.AddScriptLPS(1); | ||
5218 | throw new Exception("Command deprecated: " + command); | ||
5219 | } | ||
5220 | |||
5215 | private void LSLError(string msg) | 5221 | private void LSLError(string msg) |
5216 | { | 5222 | { |
5217 | m_host.AddScriptLPS(1); | 5223 | m_host.AddScriptLPS(1); |