aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-25minor: update currently commented out log message at top of ↵Justin Clark-Casey (justincc)1-1/+3
AvatarFactoryModule.SetAppearance() for future use
2012-06-25When attachments are being saved and deleted for a closing root agent, ↵Justin Clark-Casey (justincc)1-12/+21
delete first to avoid a hud race condition with update threads. If delete doesn't occur first then the update thread can outrace the IsAttachment = false necessary to save attachments and send hud artifacts to other viewers.
2012-06-25In AttachmentsModule.DetachSingleAttachmentToInvInternal(), remove ↵Justin Clark-Casey (justincc)1-1/+1
attachment before changing properties for correct inventory serialization. Serialization of attachments requires IsAttachment = false so that correct positions are serialized instead of avatar position. However, doing this when a hud is still attached allows race conditions with update threads, resulting in hud artifacts on other viewers. This change sets SOG.IsDeleted before serialization changes take place (IsDeleted itself is not a serialized property). LLClientView then screens out any deleted SOGs before sending updates to viewers.
2012-06-22Stop flicking IsAttachment false and then true in ↵Justin Clark-Casey (justincc)1-10/+0
AttachmentsModule.UpdateAttachmentPosition() in order to avoid a hud update race condition. Previously, setting IsAttachment to false then true was necessary to serialize the updated attachment object information. However, UpdateAttachmentPosition no longer does this update. Whilst IsAttachment is set to false there is a race condition where the update thread can wrongly send hud object updates to clients that do not own the hud, resulting in screen artifacts.
2012-06-22refactor AttachmentsModule tests to use a common method for standard ↵Justin Clark-Casey (justincc)1-70/+69
attachment item setup
2012-06-22Add regression test for updating attachment positionJustin Clark-Casey (justincc)1-0/+30
2012-06-14correct wrong incomplete comment from previous commit 3c3ea19 in ↵Justin Clark-Casey (justincc)1-1/+2
AttachmentsModule
2012-06-14Fix a bug where scene objects attached as HUDs through scripts would not ↵Justin Clark-Casey (justincc)1-0/+13
disappear for other avatars. We do this by sending a kill message for that object to all other avatars apart from the one that has the hud.
2012-06-04Remove the "Profile" config as it's covered by the replaceable interfaceMelanie1-8/+0
2012-05-29Add console command "teleport user" to allow teleport from the region consoleJustin Clark-Casey (justincc)1-0/+189
See "help teleport user" on the console for more details
2012-05-25Resolve some mono compiler warnings.Justin Clark-Casey (justincc)2-6/+9
2012-05-23Fetch the dialog module reference in AttachmentsModule in RegionLoaded() not ↵Justin Clark-Casey (justincc)1-1/+1
AddRegion() The reference is not guaranteed to be there when AddRegion() is called but will definitely be present at RegionLoaded() if it's going to be present at all.
2012-05-23Fix bug where an avatar that had an object they owned attached through ↵Justin Clark-Casey (justincc)2-137/+82
llAttachToAvatar() or osForceAttachToAvatar() would wrongly have next permissions come into play when they detached that object and rezzed it in scene. This is because the attachments module code was setting the 'object slam' bit by using PermissionMask.All Solution here is to route the attachment item creation call through the existing inventory code in BasicInventoryAccessModule rather than copy/pasted code in AttachmentsModule itself.
2012-05-14minor: add explanative comment to 'missing baked texture' logging commonly ↵Justin Clark-Casey (justincc)1-0/+10
seen on inter-simulator teleports where avatar baked textures are not available from the asset service.
2012-05-07refactor: Instead of performing a ScenePresence lookup twice over ↵Justin Clark-Casey (justincc)1-18/+2
LocateClientObject() and GetClientScene(), do the lookup just once in LocateClientObject()
2012-05-07Fix a bug in FriendsModule.StatusNotify() where all subsequent friends would ↵Justin Clark-Casey (justincc)1-2/+7
not be notified once a non-local friend was found.
2012-05-05Fire the scripting changed event with CHANGED_OWNER when an object that has ↵Justin Clark-Casey (justincc)1-9/+9
changed owners is rezzed. This needs to occur after the script is resumed rather than before, when the event is just dropped. Addresses http://opensimulator.org/mantis/view.php?id=5890 and http://opensimulator.org/mantis/view.php?id=5952
2012-05-04Mantis 60004 problems with damage and llSetDamage. In damage enabled areas ↵Talun1-3/+14
this patch - Deletes any objects that have damage set > 0 that deliver that damage to an avatar Stops Gods receiving damage, Stops volume detect objects causing damage Deletes NPCS when their helth reduces to zero Gradually "heals" damage to an avatar Resets health on going to a non damage area
2012-05-01refactor: Split most of EntityTransferModule.Teleport() into its same region ↵Justin Clark-Casey (justincc)1-4/+6
and different region teleport components. DoTeleport() now retrives IEventQueue itself rather than requiring it to be passed in.
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz1-1/+4
DotNetZip provides much better compression than standard .NET.
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)6-13/+13
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
2012-04-25Comment out some debug ATTACHMENTS log messages for now.Justin Clark-Casey (justincc)1-15/+14
2012-04-25Comment out the noisier AVFACTORY log messages for now.Justin Clark-Casey (justincc)1-4/+6
Permanently comment out warnings about ScenePresence not being found - this is entirely expected if the avatar has alraedy logged out or left the scene.
2012-04-24Minor improvements to loggingOren Hurvitz2-6/+9
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-23Mantis 5977 Corrections to llRegionSayToTalun1-17/+35
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-20Stop teleports from dropping tall avatars through or embedding them in the ↵Justin Clark-Casey (justincc)1-1/+7
floor when lured by short avatars. This involves giving the ceiling of the Z-component in a lure rather than the floor. Ideally we would give the exact float compensating for relative avatar height but it looks like that isn't possible with the parcel id format used in lures
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2-84/+128
2012-04-11HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer1-1/+1
2012-04-11HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer1-4/+20
friendship invitations to foreign users.
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2-2/+32
to HG friendships. Snoopy take it from here.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2-12/+13
only ever using the root part entry. This eliminates some pointless memory use.
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)2-4/+3
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)2-93/+19
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-30Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2-50/+73
for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
2012-03-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)3-20/+52
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-29Add simple regression test for logging in with offline friends. Don't ↵Justin Clark-Casey (justincc)1-1/+46
expect to receive any in this instance.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-0/+3
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie1-2/+29
Also ass OpenSource header
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2-21/+47
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-29Committing the Avination calling card moduleMelanie1-0/+286
2012-03-29Pushing the Avination Calling card hooks. Module to follow.Melanie1-4/+17
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2-47/+21
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)1-2/+76
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-22HG Friends: don't notify if the server isn't there.Diva Canto1-7/+10
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-7/+26
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-21HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto3-20/+58
we can better manage this traffic.
2012-03-21Removed extraneous debug messageDiva Canto1-3/+0
2012-03-20Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto1-16/+23
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2-119/+202
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Clean up "save iar" helpJustin Clark-Casey (justincc)1-8/+8