aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed KeyframeMotion to work with very slow movement.Oren Hurvitz2014-04-221-25/+33
| | | | | | Previously, if the movement speed was below 0.05/sec then it didn't work correctly. Fixes http://opensimulator.org/mantis/view.php?id=7117
* Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz2014-04-221-0/+2
| | | | pre-truncate the description of dynamic textures.
* Fixed: when a user logged-in, sometimes he didn't get notified of the Online ↵Oren Hurvitz2014-04-212-2/+24
| | | | | | | | status of friends, so they continued to appear Offline. This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent. To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
* Possible solution for #7120 and #7051lillith_xue2014-04-211-23/+32
| | | | Signed-off-by: Robert Adams <misterblue@misterblue.com>
* Better error-handling when storing assets: recognize that 'null' is an error ↵Oren Hurvitz2014-04-202-12/+9
| | | | value
* Fixed: when any avatar changed his Active Group, it was set as the active ↵Oren Hurvitz2014-04-201-10/+13
| | | | group for *all* the avatars in the scene (not permanently)
* Fixed: once a user has rezzed an object, they could then duplicate it as ↵Oren Hurvitz2014-04-201-3/+5
| | | | much as they wanted even if the parcel's permissions had since been changed to disallow rezzing
* Fixed: if a user belonged to the parcel's group then he was allowed to rez ↵Oren Hurvitz2014-04-201-16/+16
| | | | object in the parcel even if the flag "Create Objects by Group" was disabled
* Fixed: the parcel flag "Allow Scripts from Group" should only check if the ↵Oren Hurvitz2014-04-204-31/+25
| | | | | | parcel has a Group set; it doesn't have to be *deeded* to the group Also some cleanup of the use of Group ID's (with no change to functionality).
* Catch empty url errorBlueWall2014-04-191-0/+3
|
* In teleports, when sending the Source region, set its ServerURI to the ↵Oren Hurvitz2014-04-132-2/+7
| | | | Gatekeeper URI (which is used with Regions); not the Home URI (which is used with Users)
* BulletSim: reduce the terrain collison margin to be the same as otherRobert Adams2014-04-123-4/+11
| | | | | | | | objects in the world. This was originally changed in an attempt to make vehicles work better but the effect was not that large and it causes avatars to float above the terrain.
* Tweak to PrimLimits and add missing Regions.ini exampleDev Random2014-04-121-16/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add per-user checking to PrimLimitsModuleDev Random2014-04-121-24/+69
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* minor: use constants instead of magic numbers in llRequestAgentData() where ↵Justin Clark-Casey (justincc)2014-04-111-6/+6
| | | | possible
* Actually add the llRequestAgentData() test class for commit 530c86Justin Clark-Casey (justincc)2014-04-111-0/+157
|
* Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)2014-04-111-58/+85
| | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
* BulletSim: small tweek to avatar height reduce feet embedded into prims.Robert Adams2014-04-101-1/+1
| | | | | This adjustment makes a default, shoeless avatar stand properly on a prim for the various heights (0% to 100% in the appearance adjustment).
* Allows to sell objects on a parcel of land together with that parcel of ↵Snoopy Pfeffer2014-04-101-0/+44
| | | | land. The objects that are sold together with the parcel of land need to fulfill the following preconditions: owned by the current parcel owner, not set to a group, transferrable. This feature does not work for group owned parcels or land bought by a group.
* Fixed: when teleporting between grids, the avatar name wasn't always updated.Oren Hurvitz2014-04-091-6/+67
| | | | When an avatar is in their home grid, their name appears as "First Last". In other grids the name appears as "First.Last @grid.example.com". However, viewers have a bug and they don't always show the new name. We use a trick (changing the Group Title briefly) in order to make the viewers show the new name. This is only done after a Hypergrid teleport.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-096-24/+34
| | | | referrer)
* Improved error messages when a teleport fails. The viewer's dialog already ↵Oren Hurvitz2014-04-081-4/+4
| | | | says "Teleport failed", so adding "Teleport refused" is redundant.
* Allow invalidating the users cacheOren Hurvitz2014-04-082-2/+15
|
* When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz2014-04-074-9/+13
|
* Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2014-04-074-14/+15
|
* Fixed: during a teleport we always sent the error "The teleport destination ↵Oren Hurvitz2014-04-062-7/+1
| | | | | | could not be found" to the client. This happened on both success and failure. On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-063-6/+23
| | | | | | entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
* Pass the correct position to QueryAccess() instead of UUID.Zero (it was ↵Oren Hurvitz2014-04-061-1/+1
| | | | wrong in one place)
* Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it ↵Justin Clark-Casey (justincc)2014-04-051-2/+1
| | | | (this time with the right code change)
* Revert "Don't re-retrieve sit part in SP.HandleAgentSit() when we already ↵Justin Clark-Casey (justincc)2014-04-051-2/+0
| | | | | | | | have it." This reverts commit 2c00b73cd27a7183a5c105b4e2865f11e4a00d98. Wrong code change
* Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it.Justin Clark-Casey (justincc)2014-04-051-0/+2
|
* fixed object-collision issue after uncheck phantom-flagtglion2014-04-041-0/+2
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Fix sp.AbsolutePosition when agent is sitting on a child prim, which in ↵Justin Clark-Casey (justincc)2014-04-032-4/+64
| | | | | | | turns fixes llDetectedPos(), llGetLinkPrimitiveParams() and similar functions. Add regression test for this case. In relation to http://opensimulator.org/mantis/view.php?id=7043
* remove some whitespace that snuck in with last patchMichael Cerquoni2014-04-031-2/+2
|
* Add Varregion support to Terragen HandlerDev Random2014-04-031-28/+23
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* BulletSim: Minor Fix to vehicle hovering, add more ways to disable it.Vegaslon2014-04-031-1/+1
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Move new Estate commands to OpenSim.csDev Random2014-04-033-190/+156
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-033-11/+39
| | | | case of error
* BulletSim: make avatar physical shape to be a rectangle rather thanRobert Adams2014-04-024-16/+48
| | | | | | | | a capsule. Set the default to be the rectangle shape and adjust the parameters in OpenSimDefaults.ini for the new shape. The rectangle shape will perform better and avatar height can be computed more accurately.
* Fix problem with floating avatar by passing avatar size informationRobert Adams2014-04-021-3/+7
| | | | | | | | to the physics engine. This operation was accidentally removed while in the middle of improving the computation of the avatar height. This is a temp fix until the real solution is added.
* Remove redundant part.SitTargetAvatar setting from SP.MakeRootAgent as ↵Justin Clark-Casey (justincc)2014-04-031-2/+0
| | | | part.AddSittingAvatar already does this.
* refactor: Use m_sittingAvatars to maintain the list of sitting avatars ↵Justin Clark-Casey (justincc)2014-04-036-87/+36
| | | | | | instead of two independent structures that do exactly the same thing m_sittingAvatars code also already properly handles locking to avoid races.
* minor: Fix warning in AvatarFactoryModuleJustin Clark-Casey (justincc)2014-04-031-1/+1
|
* Wrap contents of ETM.CrossAgentToNewRegionAsync() in try/catch to avoid a ↵Justin Clark-Casey (justincc)2014-04-031-13/+19
| | | | | | failure terminating simulators running on Windows In relation to http://opensimulator.org/mantis/view.php?id=7050
* Don't clear avsToCross in SOG.AbsolutePosition.set(), this is unnecessary ↵Justin Clark-Casey (justincc)2014-04-031-6/+1
| | | | since the structure is local and never reused after the clear
* Fix bug where crossing to a neighbouring region and back again would trigger ↵Justin Clark-Casey (justincc)2014-04-034-8/+138
| | | | | | | | | an exception, and a second recross would stop the user moving until relog Also fixes an issue where sitting avatar counts became inaccurate after any cross. Part of the problem was due to cloning code using MemberwiseClone() but not resetting certain collection structures. Adds regression test for this case. In relation to http://opensimulator.org/mantis/view.php?id=7050
* Made GetScenePresence() case-insensitive when searching by user name. This ↵Oren Hurvitz2014-04-021-1/+2
| | | | makes it easier to use console commands such as "show appearance".
* Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-024-20/+83
| | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
* fix orphaned code in sun module per mantis 7068Mic Bowman2014-04-011-5/+5
|
* Removing warning from SceneObjectLinkingTests.TestLinkDelink2SceneObjects() ↵Justin Clark-Casey (justincc)2014-04-021-0/+1
| | | | by actually checking whether delinked grp3 is not null