aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield2008-08-151-0/+15
| | | | | | | | | | | | | | | | | | The following patch makes some enhancements to loading/saving the Xml2 format. - Add streamed version of functionality for saving prims to Xml2 format. The streamed version (optionally) allows for saving the prims whose positions appear within a particular bounding box. - Expose stream versions of LoadPrimsFromXml2 and SavePrimsToXml2 in the Scene class - Extend loading from Xml2 (the streamed version) to optionally start scripts for the loaded scene objects)
* Refactor: Make the tree creation function take a UUID for the ownerMelanie Thielker2008-08-141-2/+1
| | | | | | Change the tree populator module to supply a sensible value
* Mantis #1946Melanie Thielker2008-08-141-4/+38
| | | | | | | Thank you, HomerHorwitz, for a patch that corrects and improves TP to landmark and home position handling.
* mantis#1927. Thank you kindly, Leaf for a patch that:Charles Krinke2008-08-131-2/+8
| | | | | | Makes progress on fixing scripts in child prims of attachments not being scheduled for execution.
* Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated ↵Mike Mazur2008-08-131-6/+1
| | | | | | | | user" This reverts commit r5823.
* Thanks, lulurun, for a patch that clears and refreshes and outdated userMike Mazur2008-08-131-1/+6
| | | | | | profile cache (issue 1919).
* * Stop warnings about non existent scene presences/entities being removed on ↵Justin Clarke Casey2008-08-121-0/+3
| | | | | | | | | client log off * This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed). * However, it should be possible to do much better cleanup on this code in the future
* Thanks, lulurun, for a patch that addresses inventory problems that occurMike Mazur2008-08-121-1/+4
| | | | | | | | | | | | | | | | | occasionally, but are fixed on restart (issue 1919). This patch introduces the following changes: 1. when a user teleports out of Region A, remove that user's profile from the Region A user profile cache 2. when a user crosses between regions out of Region A, remove that user's profile from the Region A user profile cache 3. the user profile cache's session ID member can now be set (written), and is updated each time a connection with a new avatar is established (ie: a new avatar enters the region) 4. when a region server looks up a user profile and a cache miss occurs, fetch the user profile from the user server first instead of immediately returning null
* Patch #9163 - Refactor initial packet sending out of InnerScene intoMelanie Thielker2008-08-111-9/+0
| | | | | | | | | ScenePresence. Pace prim delivery to about 200 updates/s max. Break a long-held lock that caused the notorious MapBlockQuery XMLRPC timeout on agent login. Eliminate 60 second timeout at "Waiting for region handshake". Fix region crossing/teleport response. Fix appearance in primmy regions.
* * minor: log message twiddlingJustin Clarke Casey2008-08-011-6/+8
|
* * Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey2008-08-011-4/+3
| | | | | | | | | | remote region * May resolves inventory problems that occur when the user moves between two regions` * e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item * Not yet implemented for teleport
* * minor: just realized I managed to get the save xml/xml2 messages the wrong ↵Justin Clarke Casey2008-07-251-4/+2
| | | | way around
* refactored LandData to use properties, and cleaned up the naming onSean Dague2008-07-231-9/+9
| | | | | | | the properties a bit to be more consistant with other objects (having things like .Name .Description, etc).
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-15/+15
|
* thanks lulurun for a security patch that blocks unathorized access to the ↵Johan Berntsson2008-07-231-1/+2
| | | | inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service)
* Refactor the packet scheduling out of ClientView. Add intelligentMelanie Thielker2008-07-221-1/+0
| | | | | | | | | | resending, timeouts, packet discarding. Add notification event for packet discarding. Add priority scheduling for packet queues. Add outgoing duplicate detection facility. Correct packet sequencing. Make provisions for automatic server side throttle adjustments (comes in next installment)
* * minor: stick filename being loaded/saved from in save/load xml/oar ↵Justin Clarke Casey2008-07-211-7/+8
| | | | information messages
* * minor: Make it clearer the region on which save and load xml/oar commands ↵Justin Clarke Casey2008-07-211-0/+14
| | | | are operating
* added experimental packet tracker (LLPacketTracker.cs), which can be told to ↵MW2008-07-211-0/+9
| | | | | | | | track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events. Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch. The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
* Make the max sizes of physical and nonphysical prims configurable in OpenSim.iniMelanie Thielker2008-07-201-1/+15
| | | | | | Defaulted to 65536 and 10, respectively
* Quick fix to make the estate ban list effective again, when the regionMelanie Thielker2008-07-191-0/+2
| | | | | | | | crossing is also a sim crossing. Prevents the CAPS handler from being set up for a banned user,making them redmap out. Dirty hack, temporary until I can work out how to do it right.
* Patch to fix saving of estate managers list loaded during migration.Melanie Thielker2008-07-181-6/+0
| | | | | | | No longer teleports an agent home unless their root agent is being banned. Visual blocking is still in effect.
* * refactor: break out sog loading code into two parts so that ↵Justin Clarke Casey2008-07-181-1/+2
| | | | post-deserialization changes can be carried out before adding it to a scene
* Patch #9151Melanie Thielker2008-07-181-17/+8
| | | | | | Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
* * For now, when loading an archive all the existing scene objects get ↵Justin Clarke Casey2008-07-141-0/+17
| | | | deleted by default
* Patch #9150Melanie Thielker2008-07-141-4/+4
| | | | | | Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
* Patch #9147Melanie Thielker2008-07-141-19/+6
| | | | | | | Patch #4 of the region settings series. Partial functionality of the new storage system. More patches to follow.
* * minor: make scene closing log message info rather than warnJustin Clarke Casey2008-07-131-1/+2
|
* * Actually persist restored archives to the database - wasn't actually doing ↵Justin Clarke Casey2008-07-131-3/+15
| | | | | | | | this before (doh) * Not quite perfect yet
* * On archive loading, tell the user how many objects we are ignoring because ↵Justin Clarke Casey2008-07-121-4/+4
| | | | | | | | they already exist in the scene * (ability to give objects new uuids will come later)
* * minor: thought up a better name for the last allocated local idJustin Clarke Casey2008-07-121-2/+2
|
* * minor: just some null guards and name changes to make it clearer that prim ↵Justin Clarke Casey2008-07-121-6/+9
| | | | count is actually a prim local id dispenser
* * Put an info entry in the log if permissions are being bypassedJustin Clarke Casey2008-07-111-1/+1
| | | | | | * might help to diagnose mantis 1712
* * Comment out body of experimental ParcelMediaSetTime() since MW says it ↵Justin Clarke Casey2008-07-111-13/+14
| | | | | | | | causes a mono 1.2.4 compile to fail and MW says it will soon be replaced anyway.
* for testing purposes only:MW2008-07-091-1/+17
| | | | | | | | added void osSetParcelMediaTime(double time) command to script engines. which sets the position of the media that is playing. Time is in seconds. Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security. Only tested in dotnet scripting engine, but should work in XEngine too.
* Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method ↵MW2008-07-011-0/+21
| | | | to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2
* Mantis#1641. Thank you, Lulurun for a patch that addresses:Charles Krinke2008-07-011-2/+2
| | | | | | | | The 1st "GetAvatarAppearance" *always* fails and returns default avatarappearance. Avatarappearance seems to be working well because the 2nd "GetAvatarAppearance" gets the right appearance.
* Mantis#1639. Thank you, Melanie for a patch that:Charles Krinke2008-07-011-4/+4
| | | | | | Reads estate_settings.xml and populates the database from it. If there is no record, just passes the defaults to the application.
* Mantis#1637. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-301-0/+8
| | | | | | Make each region load it's settings from the database on startup. No user functionality yet.
* Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2008-06-281-2/+4
| | | | | not break trunk.
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-271-1/+1
|
* move along, nothing to see here. just a couple of lazy variables.Dr Scofield2008-06-271-1/+2
|
* * refactor: fission InnerScene.AddSceneObject()Justin Clarke Casey2008-06-271-4/+4
|
* * Add extra backup parameter to InnerScene.AddRestoredSceneObject()Justin Clarke Casey2008-06-271-3/+3
|
* Added support for terrain map to be serialised to xml(as base64 binary). ↵MW2008-06-251-0/+5
| | | | | | | | useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented) Add util functions to compress and uncompress strings. Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
* Mantis#1587. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-241-2/+2
| | | | | | | Add permissions magling to llGiveInventoryItem, correct some corner case functionality
* * refactor: Making some of the serialization names consistent, both within ↵Justin Clarke Casey2008-06-211-2/+2
| | | | | | | | their pairings and with the others * This does make some of the names less ideal than others - this should change in the future
* * Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()Justin Clarke Casey2008-06-211-2/+1
|
* * Remove a bug I created in r5171 where taking an object would terminate the ↵Justin Clarke Casey2008-06-211-9/+1
| | | | | | | | client session * change code to use an explicit state variable instead of using SOG.Name = null to signal deletion
* * Adds Region ban capability to Regions. You access this by going to ↵Teravus Ovares2008-06-211-0/+37
| | | | | | | | World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar. * It only persists across reboots for the mySQL datastore currently. * Currently have stubs in the other datastores.