aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you, sacha magne, for a patch that prevents sim chat fromMelanie Thielker2008-07-311-1/+4
| | | | | | | being heard across whole grids. Fixes Mantis #1855
* renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessageDr Scofield2008-07-251-2/+2
|
* Formatting cleanup.Jeff Ames2008-05-281-13/+13
|
* I'm dropping the ISimChat interface as that has now been Dr Scofield2008-05-271-1/+1
| | | | | | | | | | | | | | replaced by EventManager events. also, i've added instructions to README.txt about running runprebuild.sh and on how to report bugs. plus some minor fixes (dropping m_log statement left over from debugging llOwnerSay, nicer catch of exception in IRCBridgeModule
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-261-11/+23
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Adding OnChatBroadcast event logic to EventManager providing Dr Scofield2008-05-261-39/+62
| | | | | | | | | | | | | a clean interface for Sim broadcasts. Added SimBroadcast support to ChatModule. Removing all code from IRCBridgeModule dealing with agent/client directly. Cleaning up ChatModule. Polishing IRC messages, adding support for "/me" (both directions).
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-251-8/+8
|
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-231-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | finding out which region a new avatar was logging in to; the same problem occurred when the client/avatar logged out. the reason was mani-fold: - Scene.AddNewClient(...) would call SubscribeToClientEvents(client) which would subscribe to all client events and then call TriggerOnNewClient(...) BEFORE the ScenePresence object had even been created and added. i've moved the TriggerOnNewClient() call to the end of Scene.AddNewClient() - Scene.AddNewClient(...) is called with child == true; a later call to ScenePresence.MakeRootAgent() will turn child to false. When OnNewClient is triggered, child is still true, causing IRCBridgeModule's FindClientRegion to ignore the ScenePresence of the new avatar. i've changed IRCBridgeModule to still use OnNewClient and also OnLogout and OnConnectionClosed but only to signal that the avatar has logged on (logged off respectively). to track whether an avatar has actually entered a region i've added EventManager.OnMakeRootAgent (complementing OnMakeChildAgent). also, i've cleaned up the internal IRCModule code a bit. currently it still uses IClientAPI.SendChatMessage() which replicates the code in ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
* i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield2008-05-231-709/+37
| | | | | | | | | | | | | ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well, bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event handler (which Scene.PacketHandler is feeding for chat from in-world instead of going via the Interface method). This refactoring will allow us to easily add other bridge modules (e.g., an XMPP bridge module). there is still a bug in IRCBridgeModule (inherited from the old ChatModule) where FindClientRegion does not really find the client region...
* * Plug in stubbed out archiver moduleJustin Clarke Casey2008-05-221-2/+2
|
* Formatting cleanup.Jeff Ames2008-05-161-3/+3
|
* * Removed 19 warningsTeravus Ovares2008-05-141-1/+1
|
* * Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares2008-05-051-9/+21
| | | | | | | | * 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
* * Rolled back a few changes.Adam Frisby2008-05-011-28/+28
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-28/+28
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-05-011-867/+867
|
* * Cruft removal step #1. Cleaning Modules directory.Adam Frisby2008-04-301-156/+193
|
* * Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby2008-04-301-0/+831
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.