aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler
diff options
context:
space:
mode:
authorSean Dague2007-12-13 19:50:21 +0000
committerSean Dague2007-12-13 19:50:21 +0000
commitf773733fcb6ef18ddb70d597cdf6f1e334dcf13e (patch)
treedd59cbd8f684a9fc4f0ad656738857170905c6b2 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler
parentEnabled the sit_ground animation. The sit state is not properly set, but it ... (diff)
downloadopensim-SC-f773733fcb6ef18ddb70d597cdf6f1e334dcf13e.zip
opensim-SC-f773733fcb6ef18ddb70d597cdf6f1e334dcf13e.tar.gz
opensim-SC-f773733fcb6ef18ddb70d597cdf6f1e334dcf13e.tar.bz2
opensim-SC-f773733fcb6ef18ddb70d597cdf6f1e334dcf13e.tar.xz
From Michael Osias (IBM)
This patch makes some enhancements to the llRemoteData functions. The module is now a shared module, and allows remote data channels to be created among multiple regions in the same sim. The port is controlled from the remoteDataPort property under the [Network] section in OpenSim.ini. If this setting is not present or = 0, the module is disabled and no port is opened. llRemoteData commands have not effect when module is disabled.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs9
1 files changed, 6 insertions, 3 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 aaac294..40c6533 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
@@ -2044,9 +2044,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
2044 public void llOpenRemoteDataChannel() 2044 public void llOpenRemoteDataChannel()
2045 { 2045 {
2046 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); 2046 IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>();
2047 LLUUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_itemID); 2047 if (xmlrpcMod.IsEnabled())
2048 object[] resobj = new object[] {1, channelID.ToString(), LLUUID.Zero.ToString(), "", 0, ""}; 2048 {
2049 m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", resobj); 2049 LLUUID channelID = xmlrpcMod.OpenXMLRPCChannel(m_localID, m_itemID);
2050 object[] resobj = new object[] { 1, channelID.ToString(), LLUUID.Zero.ToString(), "", 0, "" };
2051 m_ScriptEngine.m_EventQueueManager.AddToScriptQueue(m_localID, m_itemID, "remote_data", resobj);
2052 }
2050 } 2053 }
2051 2054
2052 public string llSendRemoteData(string channel, string dest, int idata, string sdata) 2055 public string llSendRemoteData(string channel, string dest, int idata, string sdata)