aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World (follow)
Commit message (Collapse)AuthorAgeFilesLines
* HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto2012-01-121-2/+6
| | | | location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
* Add a check to see if an asset exists before recreating it whileMic Bowman2012-01-101-0/+6
| | | | | | loading an archive. This does add an extra roundtrip to the asset server if loading new assets but it protects against overwriting (and potentially corrupting) existing assets.
* Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)2011-12-171-3/+9
| | | | | | | | | | created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-053-5/+5
| | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
* Improve some of the debug help messagesJustin Clark-Casey (justincc)2011-11-291-3/+2
|
* Add disabled CrossBehaviour to pCampBot, which is designed to cross test ↵Justin Clark-Casey (justincc)2011-11-241-1/+1
| | | | | | bots between neighbouring regions. Not yet enabled since there is a bug where the initial cross will work but all subsequent movements on the receiving simulator appear to fail.
* For TerrainModule.SaveToFile(), don't bother throwing the exception onwards ↵Justin Clark-Casey (justincc)2011-11-171-1/+0
| | | | | | after printing out the error, since this method is invoked by users. Still throwing the exception on the stream method since this invoked programatically
* Make "terrain save" more friendly by telling the user if we have saved and ↵Justin Clark-Casey (justincc)2011-11-171-18/+32
| | | | putting out a useful complaint message if we haven't for some reason
* Make tracked per scene thread names conform to the majorirty format.Justin Clark-Casey (justincc)2011-11-151-3/+6
| | | | This is <thread-name> (<region-name>)
* For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)2011-11-151-2/+1
| | | | | | | | FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
* Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-033-5/+5
| | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-036-14/+14
| | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* Adding green dots to map response should be for root agents onlyDan Lake2011-10-311-1/+1
|
* Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake2011-10-276-29/+13
| | | | passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
* Change wording on asset requests.Justin Clark-Casey (justincc)2011-10-191-2/+2
| | | | Not all 'notified missing' assets are a problem. Some are invalid references which happen to be buried in other text.
* refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)2011-09-151-2/+2
| | | | | | reflect what it actually does This also makes it consistent with some other methods that send data to the client.
* comment out some recent terrain texture loggingJustin Clark-Casey (justincc)2011-09-121-4/+4
|
* When creating an OAR, optionally exclude objects according to their permissionsOren Hurvitz2011-09-123-40/+156
|
* Comment out the part of the load oar code that zeroes out prim sit target ↵Justin Clark-Casey (justincc)2011-09-092-2/+8
| | | | | | | orientations and positions. The warning about these causing problems is very old and may no longer apply. Hopes to fix http://opensimulator.org/mantis/view.php?id=5680
* Save the default terrain texture UUIDs for a new region instead of leaving ↵Justin Clark-Casey (justincc)2011-09-091-0/+5
| | | | | | | | | | | them as UUID.Zero. Leaving them at UUID.Zero meant that when a viewer 2 logged into a region that had been freshly created, it received UUID.Zero for these textures, and hence display the land as plain white. On a simulator restart, the problem would go away since when the database adapators loaded the new region settings, RegionSettings itself has code to use default textures instead of UUID.Zero. This commit resolves the problem by saving the default texture UUIDs instead of Zero. However, we currently have to do this in a roundabout way by resaving once the RegionSettings have been created by the database for the first time. This needless complexity should be addressed. This change will also have the effect of replacing any existing UUID.Zero terrain textures with the default ones. However, this shouldn't have any effect since the UUID.Zeros were already being replaced in memory with those same UUIDs.
* Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)2011-09-013-33/+24
| | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
* Eliminate duplicate AttachmentPoint properties by always using the one ↵Justin Clark-Casey (justincc)2011-08-271-2/+2
| | | | stored in the root part's state field.
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-233-3/+2
|
* WorldMap: Added map item for Land-for-Sale. Implemented backlist item ↵Snoopy Pfeffer2011-08-141-19/+187
| | | | timeouts (default 10 minutes; see also new config file setting BlacklistTimeout) and removing backlisted neigboring regions that have been restarted from the blacklist.
* Fix a bug preventing region modules from creating trees at anything but the ↵Aaron Duffy2011-08-131-3/+3
| | | | default scale.
* If a map request to a server fails, always close the outbound connection.Justin Clark-Casey (justincc)2011-08-121-1/+5
| | | | This probably doesn't help with the current memory leak.
* minor: change login enable/disable messages in last commit so that they ↵Justin Clark-Casey (justincc)2011-08-121-2/+2
| | | | occur after the setting has been made
* minor: On "login disable/enable" always tell the user the final login ↵Justin Clark-Casey (justincc)2011-08-121-4/+2
| | | | status, rather than remaining silent if it was already on/off
* minor: a little bit of log message correction/commenting outJustin Clark-Casey (justincc)2011-08-111-1/+1
|
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-064-20/+20
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-064-26/+26
|
* Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)2011-08-031-37/+32
| | | | | | Avatar moves and stops. However, will stop in mid stride. And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so). Clearly more work is needed.
* remove ancient late 2008 cruft that handles the situation where the ↵Justin Clark-Casey (justincc)2011-08-021-10/+1
| | | | | | GetRegionsByName used to not be implemented/returned null. It's impossible that anybody is still running this since the infrastructure has changed massively since that time.
* Fixed serverside_object_permission default value conflictionMakopoppo2011-07-231-1/+1
|
* Generate the initial maptile asynchronouslyOren Hurvitz2011-07-221-4/+6
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack.Justin Clark-Casey (justincc)2011-07-181-1/+1
| | | | remove OpenSim.Framework.UndoStack
* If a user has the rights to edit a parcel's properties, then also allow them ↵Justin Clark-Casey (justincc)2011-07-021-4/+4
| | | | | | | always to enter that parcel. This is patch http://opensimulator.org/mantis/view.php?id=5567 Thanks Snoopy!
* Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)2011-07-011-1/+1
| | | | | | user expectations. It also matches the default setting in the OpenSim.ini.example file
* Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)2011-06-241-1/+3
| | | | | | | | | | | rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
* tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)2011-06-141-2/+2
| | | | as well as item id and asset id
* match water color for warp3d map tiler and adjust lightingMichael Cerquoni aka Nebadon Izumi2011-06-131-5/+7
|
* A few bug fixes on map V2. Zoom level weirdness still there.Diva Canto2011-06-121-6/+12
|
* First pass at making the V2 map work. Standalones only for now. There are ↵Diva Canto2011-06-121-4/+4
| | | | some issues with the zoom level -- TBD.
* 3rd way of reseting the HG Map. This time, don't use the grid service; ↵Diva Canto2011-06-101-1/+3
| | | | instead keep track of which map blocks each client has seen in the region, and reset exactly those when the client closes.
* Save the sun's position in OARsOren Hurvitz2011-06-102-0/+5
|
* The map breakage is actually at 2048!Diva Canto2011-06-091-3/+3
|
* Consistency fix on the last commit.Diva Canto2011-06-081-1/+1
|
* Fixed a compilation problem. Also added a lengthy comment on the Map hack, ↵Diva Canto2011-06-081-35/+48
| | | | so that it never goes unnoticed again.
* Reverting the [HG]MapModule to its buggy behavior above 4096. Ppl seem to ↵Diva Canto2011-06-081-5/+15
| | | | | | | | prefer the color blue, and I have given up trying to make things work above 4096. Revert "Improved reuse on the WorldMap/WorldMapModule.cs" This reverts commit d473d9975e70366d0fd16276c9bafd5ec269dcd9.
* Improved reuse on the WorldMap/WorldMapModule.csDiva Canto2011-05-301-15/+5
|