diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs index 39f2695..047ff2e 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
87 | myScriptEngine.Log.Verbose("RemoteEngine", "Creating new script (with connection)"); | 87 | myScriptEngine.Log.Verbose("RemoteEngine", "Creating new script (with connection)"); |
88 | 88 | ||
89 | // Temp for now: We have one connection only - this is hardcoded in myScriptServerID | 89 | // Temp for now: We have one connection only - this is hardcoded in myScriptServerID |
90 | RPC.SendCommand(myScriptServerID, "OnRezScript", script); | 90 | RPC.SendCommand(myScriptServerID, "OnRezScript", localID, itemID.ToString(), script); |
91 | 91 | ||
92 | //ScriptServerInterfaces.ServerRemotingObject obj = myScriptEngine.m_RemoteServer.Connect("localhost", 1234); | 92 | //ScriptServerInterfaces.ServerRemotingObject obj = myScriptEngine.m_RemoteServer.Connect("localhost", 1234); |
93 | //remoteScript.Add(localID, obj); | 93 | //remoteScript.Add(localID, obj); |
@@ -99,6 +99,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
99 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 99 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) |
100 | { | 100 | { |
101 | //remoteScript[localID].Events.touch_start(localID, offsetPos, remoteClient); | 101 | //remoteScript[localID].Events.touch_start(localID, offsetPos, remoteClient); |
102 | RPC.SendCommand(myScriptServerID, "touch_start", offsetPos, "How to transfer IClientAPI?"); | ||
102 | } | 103 | } |
103 | 104 | ||
104 | 105 | ||