aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EventManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Fixed a dangling event hook that I added.Teravus Ovares2008-05-301-0/+12
| | | | | * Added a Non-finite avatar position reset. This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work. ( I've only been able to reproduce this error once on my development workstation )
* Thank you kindly, Melanie for a patch for script resetCharles Krinke2008-05-261-0/+12
| | | | | that creates the event handler chain ready to hook by script engines
* Adding OnChatBroadcast event logic to EventManager providing Dr Scofield2008-05-261-0/+16
| | | | | | | | | | | | | 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).
* * A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares2008-05-251-0/+15
| | | | | | | however you can use it to help find out what scripts are causing your simulator to cry. * Access it from the Estate tools/Debug tab.
* * Fixes endless loop in the Land Module when selecting any object.Teravus Ovares2008-05-241-10/+11
| | | | | * Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-231-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* *Refactor of the LandManagementModule that allows OpenSim to run without itmingchen2008-05-231-0/+89
|
* i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield2008-05-231-0/+18
| | | | | | | | | | | | | 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...
* * Going to the C# syntactic sugar way of handling the backup event delegates.Teravus Ovares2008-05-211-8/+2
|
* * This update causes the backup process to run in a separate thread.Teravus Ovares2008-05-211-2/+8
| | | | | | | | * Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy. * Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change) * You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete. * This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
* move SceneEvents.cs to EventManager.cs, as that's actuallySean Dague2008-05-201-0/+637
the name of the contained class.