aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-05 15:53:11 +0000
committerTeravus Ovares2008-05-05 15:53:11 +0000
commitce19234dc865e645166dbe5cc52b6d8eb7c6d0af (patch)
treec84ebb52428d4c4db3305832a5bad5cb283164be /OpenSim/Region/Examples/SimpleModule
parent* A bit of spice from here, a pinch of salt from there, some brains that attr... (diff)
downloadopensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.zip
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.gz
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.bz2
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.xz
* Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/ComplexObject.cs4
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
index abad098..8efbf27 100644
--- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
+++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Examples.SimpleModule
118 118
119 remoteClient.SendKillObject(m_regionHandle, part.LocalId); 119 remoteClient.SendKillObject(m_regionHandle, part.LocalId);
120 remoteClient.AddMoney(1); 120 remoteClient.AddMoney(1);
121 remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero); 121 remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
122 } 122 }
123 123
124 public override void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient) 124 public override void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient)
@@ -129,7 +129,7 @@ namespace OpenSim.Region.Examples.SimpleModule
129 m_scene.RemoveEntity(this); 129 m_scene.RemoveEntity(this);
130 remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); 130 remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
131 remoteClient.AddMoney(50); 131 remoteClient.AddMoney(50);
132 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero); 132 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
133 } 133 }
134 } 134 }
135 } 135 }
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 1a8f808..3a64698 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -296,12 +296,12 @@ namespace OpenSim.Region.Examples.SimpleModule
296 } 296 }
297 297
298 public virtual void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, 298 public virtual void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName,
299 LLUUID fromAgentID) 299 LLUUID fromAgentID, byte source, byte audible)
300 { 300 {
301 } 301 }
302 302
303 public virtual void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, 303 public virtual void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName,
304 LLUUID fromAgentID) 304 LLUUID fromAgentID, byte source, byte audible)
305 { 305 {
306 } 306 }
307 307