aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EventManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-25renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessageDr Scofield1-4/+4
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke1-11/+26
not break trunk.
2008-06-05* This sends collision events to the script engine. Teravus Ovares1-1/+37
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-04Mantis#1439. Thank you kindly, Melanie for a patch thatCharles Krinke1-0/+13
plumbs in the events for on_rez.
2008-06-02* Fixes a bug saving the current sun phase to the estate_settings file.Teravus Ovares1-0/+15
2008-05-30* Fixed a dangling event hook that I added.Teravus Ovares1-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 )
2008-05-26Thank you kindly, Melanie for a patch for script resetCharles Krinke1-0/+12
that creates the event handler chain ready to hook by script engines
2008-05-26Adding OnChatBroadcast event logic to EventManager providing Dr Scofield1-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).
2008-05-25* A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares1-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.
2008-05-24* Fixes endless loop in the Land Module when selecting any object.Teravus Ovares1-10/+11
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
2008-05-23IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield1-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().
2008-05-23*Refactor of the LandManagementModule that allows OpenSim to run without itmingchen1-0/+89
2008-05-23i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield1-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...
2008-05-21* Going to the C# syntactic sugar way of handling the backup event delegates.Teravus Ovares1-8/+2
2008-05-21* This update causes the backup process to run in a separate thread.Teravus Ovares1-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.
2008-05-20move SceneEvents.cs to EventManager.cs, as that's actuallySean Dague1-0/+0
the name of the contained class.
2008-05-16Formatting cleanup.Jeff Ames1-8/+8
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-09*Land/Parcel upates are now correct with a significant movement by the Clientmingchen1-0/+16
*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
2008-05-07* Other then the prim update experiments that are going on now, ↵Teravus Ovares1-2/+11
llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07* Theoretically, everything is in place for scripted take controls... ↵Teravus Ovares1-0/+5
Theoretically. * I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
2008-05-03*Moved EstateManager into a region modulemingchen1-0/+15
2008-05-03* For your fragging desire, damage enabled land works, but watch out!, life ↵Teravus Ovares1-0/+13
does not regenerate until you're dead!
2008-05-01* Rolled back a few changes.Adam Frisby1-175/+162
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-162/+175
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-05-01* Cleaned namespaces of entire solution. OpenSim directories now correspond ↵Adam Frisby1-1/+1
with namespaces.
2008-04-27* Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares1-0/+12
to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares1-1/+29
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-4/+4
(this took a while to run).
2008-04-17* Re-Fixed caps Teravus Ovares1-8/+8
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17* Implements 'Set Home to Here' Teravus Ovares1-2/+2
* Implements 'Teleport Home' * User Server has to be updated for it to save your home in grid mode * home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float. Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now. Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-14* Fixed a few warnings.Teravus Ovares1-1/+59
* Added license info to a few files it was missing from. * Fleshed out the landbuy interfaces * If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
2008-04-10* Updates BetaGridLikeMoneyModuleTeravus Ovares1-0/+14
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule. * Configure it in OpenSim.ini using the [Economy] header. See the bottom of the OpenSim.ini.example for more information. * This also fleshes out the Economy API a bit more.
2008-04-03* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey1-0/+34
* This patch removes voice code into a region module. This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations. * CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen1-6/+5
2008-03-18Formatting cleanup.Jeff Ames1-30/+26
2008-03-06* Disabled ancient TerrainEngine.Adam Frisby1-0/+13
* Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
2008-03-02Change handler001 through handler009 to moreCharles Krinke1-36/+36
appropriate names consisten with their use. All done with all 94 handlers from handler001 through handler094. Hopefully we can move forward without numbered handlers.
2008-03-02Update names of handler010 through handler019Charles Krinke1-36/+36
to more appropriate names consistent with use.
2008-03-02Rename handler020 through handler029 with moreCharles Krinke1-28/+28
appropriate names consistent with their use.
2008-02-28* Added a way for the friends module to definitively know if an avatar's ↵Teravus Ovares1-0/+14
root agent is on the instance and if so, which region the avatar's root agent is in.
2008-02-22* Moved the EventManager over to delegate instances to prevent race conditions.Teravus Ovares1-49/+104
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-05* Refactored the sound calls to SceneObjectPart Teravus Ovares1-0/+12
* Fixed a few bugs * Wrote an example module to make certain event systems more mature.
2008-02-04* Whole buncha stuff.Adam Frisby1-4/+34
2008-01-17* Added and implemented the LSL changed event.Teravus Ovares1-0/+8
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example * You can use this to trigger actions in your script if someone sits on your object_rez * You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
2008-01-05* Re-enabling parcel prim count updates, as it doesn't cause errors on the ↵Teravus Ovares1-2/+2
console and border crossing problems anymore
2008-01-03* Added removal of TextureSenders and UserTextureDownloadService on agent ↵lbsa711-3/+3
leaving region.
2008-01-01* You can add and remove a friend in standalone now within the same ↵Teravus Ovares1-0/+36
simulator. It saves. * You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet. * I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
2007-12-27* Optimized usingslbsa711-5/+7
* shortened references * Removed redundant 'this' * Normalized EOF