From a0a189aed297109777584644f1b642fa21efc306 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Wed, 12 Dec 2007 22:07:40 +0000 Subject: Thanks to Alondria for: llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything. --- .../DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 0e905be..94479a0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs @@ -292,6 +292,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler public int llListen(int channelID, string name, string ID, string msg) { + if (ID == "") + { + ID = LLUUID.Zero.ToString(); + } IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface(); return wComm.Listen(m_localID, m_itemID, m_host.UUID, channelID, name, ID, msg); } -- cgit v1.1