aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* forgot to actually remove IRCBridgeModule.FindClientRegion()Dr Scofield2008-05-231-32/+0
|
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-232-3/+860
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.