aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
diff options
context:
space:
mode:
authorCharles Krinke2007-12-12 22:07:40 +0000
committerCharles Krinke2007-12-12 22:07:40 +0000
commita0a189aed297109777584644f1b642fa21efc306 (patch)
treee3e4bf1b6854548a0d73a9e47ba7dfd7c09adb6a /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
parentremove another partial class, and map another class back to a real file (diff)
downloadopensim-SC_OLD-a0a189aed297109777584644f1b642fa21efc306.zip
opensim-SC_OLD-a0a189aed297109777584644f1b642fa21efc306.tar.gz
opensim-SC_OLD-a0a189aed297109777584644f1b642fa21efc306.tar.bz2
opensim-SC_OLD-a0a189aed297109777584644f1b642fa21efc306.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs4
1 files changed, 4 insertions, 0 deletions
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
292 292
293 public int llListen(int channelID, string name, string ID, string msg) 293 public int llListen(int channelID, string name, string ID, string msg)
294 { 294 {
295 if (ID == "")
296 {
297 ID = LLUUID.Zero.ToString();
298 }
295 IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); 299 IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
296 return wComm.Listen(m_localID, m_itemID, m_host.UUID, channelID, name, ID, msg); 300 return wComm.Listen(m_localID, m_itemID, m_host.UUID, channelID, name, ID, msg);
297 } 301 }