aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * Temporary workaround for mantis 1568. If the avatar apperance factory now ↵Justin Clarke Casey2008-06-191-3/+20
| | | | throws any exception, we will carry on with the default appearance rather than terminating the client login
* * By popular demand, skipping trees from the map tile generation routine. ↵Teravus Ovares2008-06-181-0/+6
| | | | Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items.
* Minor formatting cleanup.Jeff Ames2008-06-181-42/+26
|
* * Refactor: Move the responsibility for applying physics and sending the ↵Justin Clarke Casey2008-06-171-5/+6
| | | | | | | | | | initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors * I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis * This also has the effect of stopping the archiver generating ghost in-world prims * Some code dupliction also removed
* * refactor: Remove largely duplicate code from ↵Justin Clarke Casey2008-06-171-0/+5
| | | | SceneXmlLoader.CreatePrimFromXml2()
* * Refactor: Break out AssetsRequest to a separate file in the Archiver moduleJustin Clarke Casey2008-06-161-2/+2
|
* * Vintage 2, a good year.Teravus Ovares2008-06-141-4/+6
|
* * Fixes: 0001554: r5106 update fails to load on some regions with NullRef ↵Teravus Ovares2008-06-141-0/+20
| | | | error on volume portion of maptile drawing routine.
* * Enables maptile display in grid mode for simulators that are not on the ↵Teravus Ovares2008-06-141-4/+77
| | | | | | | | | same instance. * Only generates a new maptile after a refresh interval * Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary. * Updates RegionInfo, so backup your /bin/Region/*.xml files.
* Update svn properties, clean up formatting, refactor out duplicate ↵Jeff Ames2008-06-131-34/+12
| | | | hard-coded port numbers.
* * Split the World Map code into a module.Teravus Ovares2008-06-121-2/+3
| | | | | * Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
* * refactor: For new objects, move attach to backup to occur when adding to a ↵Justin Clarke Casey2008-06-121-3/+7
| | | | | | | | | scene, rather than on creation of the group * Adding to a scene is now parameterized such that one can choose not to actually persist that group * This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance