diff options
author | Tedd Hansen | 2008-01-12 10:25:08 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-12 10:25:08 +0000 |
commit | a993d0d3351f15510e404cc09951723cf5c435fb (patch) | |
tree | b4e186b85fc5b1907dffb1347d8b855a4ea7a0ad /OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | |
parent | ScriptServer protocol now correctly casts datatypes -- ready for implementing (diff) | |
download | opensim-SC-a993d0d3351f15510e404cc09951723cf5c435fb.zip opensim-SC-a993d0d3351f15510e404cc09951723cf5c435fb.tar.gz opensim-SC-a993d0d3351f15510e404cc09951723cf5c435fb.tar.bz2 opensim-SC-a993d0d3351f15510e404cc09951723cf5c435fb.tar.xz |
ScriptServer communication is ok. Script is creatd on onrez. But since it can not access Scene it sort of crashes right away ;)
Added some sample placeholders for implementing rest of LSL events.
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 | ||