aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2008-08-181-41/+41
|
* * Turned on the MapImageModule as opposed to the code in Scene for ↵Teravus Ovares2008-08-171-97/+69
| | | | | | | | | generating the map image. Copied the code in Scene into the MapImageModule, made a few tweaks to get it to work with the module's interface. * Refactored a few things in Scene to make maptile saving easier to understand. * Added comments to describe the 'clever code' assetcache update without the gridasset being updated so as to lessen possible confusion in patches in the future. * If the MapImageModule isn't loaded, default to the code in Scene still.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-08-171-3/+7
|
* * re-order an operation to check for NaNs in the maptile shadow routine.Teravus Ovares2008-08-161-4/+4
|
* * One more terrain shadow debug helper.Teravus Ovares2008-08-161-15/+29
|
* Mantis#1969. Thank you kindly, Tyre for a patch that:Charles Krinke2008-08-161-15/+26
| | | | | | | Type casting the normalized vector 'lookat' to int results to <0,0,0>. This patch also adds an overload to RequestNeighbourInfo (currently unused) that will come handy for some features I'm working on.
* Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke2008-08-161-0/+18
| | | | | | | | | | | | | | | | | | | | | | | Places touched: - Added two events for in-packets to LLCLientView: RegionHandleRequest and ParcelInfoRequest - Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and ParcelInfoReply. - Scene handles the RegionHandleRequest, LandManagementModule the ParcelInfoRequest - Added inter-region request for LandData by RegionHandle and local position. This was implemented as XML-RPC request. The returned LandData isn't complete, it only contains the data necessary for answering the ParcelInfoRequest - Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData handling to LandManagementModule - Added methods for fake parcelID creation and parsing to Util - Fixed missing implementation of interface methods. - Added new file: OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs NOTE: This is part of the patch, too. Due to the many places touched, I would consider this patch as experimental.
* * Fix a rare maptile shading error, terrain difference mod 1 = 0 + abs = oops.Teravus Ovares2008-08-161-36/+13
|
* * Adds Slightly better terrain shading to maptile generation.Teravus Ovares2008-08-161-0/+86
|
* Refactor a lot of direct calls to OGS1 to use the cached version instead.Melanie Thielker2008-08-161-17/+0
| | | | | | | Scripts can now no longer DOS the user server and there are a lot fewer gratuitious lookups of user profile data.
* Fix up master avatar handling for estate owners. Introduces a newMelanie Thielker2008-08-151-0/+17
| | | | | | | | | hierarchical rights structure. MasterAvatar: Owner of the region server (may be null), net gods (users with GodLevel 200), Estate owner (from database). Look at Opensim.ini.example to enable net gods. Estate owner will default to master avatar.
* Update svn properties, formatting cleanup, fix a couple compiler warnings.Jeff Ames2008-08-151-7/+7
|
* 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.