diff options
3 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index df3a3dc..10a3133 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5887,6 +5887,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5887 | return Util.Md5Hash(src + ":" + nonce.ToString()); | 5887 | return Util.Md5Hash(src + ":" + nonce.ToString()); |
5888 | } | 5888 | } |
5889 | 5889 | ||
5890 | public LSL_String llSHA1String(string src) | ||
5891 | { | ||
5892 | m_host.AddScriptLPS(1); | ||
5893 | return ""; //ckrinke 1/27 This needs to return a proper hash. | ||
5894 | } | ||
5890 | private ObjectShapePacket.ObjectDataBlock SetPrimitiveBlockShapeParams(SceneObjectPart part, int holeshape, LSL_Vector cut, float hollow, LSL_Vector twist) | 5895 | private ObjectShapePacket.ObjectDataBlock SetPrimitiveBlockShapeParams(SceneObjectPart part, int holeshape, LSL_Vector cut, float hollow, LSL_Vector twist) |
5891 | { | 5896 | { |
5892 | ObjectShapePacket.ObjectDataBlock shapeBlock = new ObjectShapePacket.ObjectDataBlock(); | 5897 | ObjectShapePacket.ObjectDataBlock shapeBlock = new ObjectShapePacket.ObjectDataBlock(); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 6ca254a..94da01e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | |||
@@ -233,7 +233,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
233 | void llMakeFountain(int particles, float scale, float vel, float lifetime, float arc, int bounce, string texture, LSL_Vector offset, float bounce_offset); | 233 | void llMakeFountain(int particles, float scale, float vel, float lifetime, float arc, int bounce, string texture, LSL_Vector offset, float bounce_offset); |
234 | void llMakeSmoke(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset); | 234 | void llMakeSmoke(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset); |
235 | void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at); | 235 | void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at); |
236 | LSL_String llMD5String(string src, int nonce); | 236 | LSL_String llMD5String(string src, int nonce); |
237 | LSL_String llSHA1String(string src); | ||
237 | void llMessageLinked(int linknum, int num, string str, string id); | 238 | void llMessageLinked(int linknum, int num, string str, string id); |
238 | void llMinEventDelay(double delay); | 239 | void llMinEventDelay(double delay); |
239 | void llModifyLand(int action, int brush); | 240 | void llModifyLand(int action, int brush); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 78a183f..8559654 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -1029,6 +1029,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1029 | return m_LSL_Functions.llMD5String(src, nonce); | 1029 | return m_LSL_Functions.llMD5String(src, nonce); |
1030 | } | 1030 | } |
1031 | 1031 | ||
1032 | public LSL_String llSHA1String(string src) | ||
1033 | { | ||
1034 | return m_LSL_Functions.llSHA1String(src); | ||
1035 | } | ||
1036 | |||
1032 | public void llMessageLinked(int linknum, int num, string str, string id) | 1037 | public void llMessageLinked(int linknum, int num, string str, string id) |
1033 | { | 1038 | { |
1034 | m_LSL_Functions.llMessageLinked(linknum, num, str, id); | 1039 | m_LSL_Functions.llMessageLinked(linknum, num, str, id); |