From ce19234dc865e645166dbe5cc52b6d8eb7c6d0af Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 5 May 2008 15:53:11 +0000 Subject: * 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 --- OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | 4 ++-- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleModule') 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 remoteClient.SendKillObject(m_regionHandle, part.LocalId); remoteClient.AddMoney(1); - remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero); + remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); } public override void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient) @@ -129,7 +129,7 @@ namespace OpenSim.Region.Examples.SimpleModule m_scene.RemoveEntity(this); remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); remoteClient.AddMoney(50); - remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero); + remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); } } } 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 } public virtual void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, - LLUUID fromAgentID) + LLUUID fromAgentID, byte source, byte audible) { } public virtual void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, - LLUUID fromAgentID) + LLUUID fromAgentID, byte source, byte audible) { } -- cgit v1.1