aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-2/+2
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-17comment out noisy attachments loggingJustin Clark-Casey (justincc)1-5/+5
2011-08-17Fix issue where loading a new appearance onto an NPC would not remove the ↵Justin Clark-Casey (justincc)1-2/+2
previous attachments from the scene. Addresses http://opensimulator.org/mantis/view.php?id=5636
2011-08-17extend test to check that there is one attachment and that it has the right nameJustin Clark-Casey (justincc)1-1/+6
2011-08-17Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)2-7/+17
attachments check
2011-08-16Add new FireAndForgetMethod.None.Justin Clark-Casey (justincc)1-13/+33
This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering.
2011-08-16Move some previously common code back into separate tests. Remove unused ↵Justin Clark-Casey (justincc)1-10/+9
region handle from test.
2011-08-16Isolate existing incomplete attachments tests rather than have them rely on ↵Justin Clark-Casey (justincc)1-5/+5
each other. Much easier to debug this way.
2011-08-16drop number of attachments in test from 3 to 2 to reduce text complexityJustin Clark-Casey (justincc)1-4/+1
2011-08-16remove setting up of second scene in attachments since it's not currently usedJustin Clark-Casey (justincc)1-24/+21
2011-08-16relocate AttachmentTests.cs to AttachmentsModuleTests.csJustin Clark-Casey (justincc)1-0/+172
2011-08-12When saving appearance, only save the baked textures, not the other face ↵Justin Clark-Casey (justincc)1-5/+43
textures (which are already stored permanently)
2011-08-10implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)1-2/+2
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2-24/+65
storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
2011-08-06refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)1-1/+1
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)3-17/+17
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)4-23/+23
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-0/+4
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing). Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing. Extended TestCreate() to check this.
2011-07-29When we start the appearance saving thread, make sure we set the culture to ↵Justin Clark-Casey (justincc)1-0/+5
En_US so that a different culture doesn't save values with commas as decimal points, etc. This will hopefully stop giants stalking the grid. See http://opensimulator.org/mantis/view.php?id=5614
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+3
2011-07-21When handling SetAppearance packet, always save the appearance; not only if ↵Oren Hurvitz1-5/+5
the texture was changed
2011-07-21Fixed updating avatar appearanceOren Hurvitz1-10/+17
Signed-off-by: root <root@grid00001.t-data.com>
2011-07-16minor: remove mono compiler warningsJustin Clark-Casey (justincc)2-2/+2
2011-07-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)1-1/+0
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-15minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)1-1/+2
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)1-3/+4
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-09refactor: slightly simplify testJustin Clark-Casey (justincc)1-4/+1
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)1-1/+1
effects and return object
2011-07-09Add scratch AvatarFactoryModuleTests with one test to do a partial check on ↵Justin Clark-Casey (justincc)2-9/+87
AvatarFactoryModule.SetAppearance() Baked texture set not yet checked, nor persistence of data in avatar service This is a foundation for later npc related tests.
2011-07-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)1-40/+0
the scene presence exists
2011-06-29Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)1-2/+2
This now creates an avatar but appearance is always cloudy. Move doesn't work. Really, creating an NPC should only involve a ScenePresence rather than doing anything with IClientAPI, since an NPC has no viewer to communicate with!
2011-06-27minor: temporarily comment out the local status notify friends messages seen ↵Justin Clark-Casey (justincc)1-1/+1
on login/logout, since it's a bit noisy on the console. Please uncomment if/when this is still needed.
2011-06-14tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)1-1/+3
as well as item id and asset id
2011-06-11A few more cleanups on the way to close ↵Diva Canto1-11/+3
http://opensimulator.org/mantis/view.php?id=5516 once and for all. Moral of the story: don't send AgentOnline/Offline to viewers with a zero-length array.
2011-06-11Only send AgentOnline to the client if the friendsOnline list has elements. ↵Diva Canto1-1/+1
Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
2011-06-10Added a Sleep in between each site call, to slow the xml-rpc requests down.Diva Canto1-37/+40
2011-06-10More tweaking on the UserAgentServiceConnector: add constructor that does ↵Diva Canto1-1/+1
not do DNS lookup, and use that for friends notification.
2011-06-07This hopefully fixes all issues with online/offline notifications across ↵Diva Canto2-3/+10
grids. http://opensimulator.org/mantis/view.php?id=5528
2011-06-07This fixes the crash reported in ↵Diva Canto1-3/+5
http://opensimulator.org/mantis/view.php?id=5529 related to sending IMs to foreign friends who are offline. Hopefully.
2011-06-06More on the hunt for the slow down on HGFriendsModule. - Don't requests the ↵Diva Canto1-48/+71
online friends on foreign grids. If this works, there's another way of getting that info.
2011-06-06Moved the Mono Addins declaration of the HGFriendsModule to where the one ↵Diva Canto1-1/+0
for FriendModule is -- CoreModulePlugin.addin.xml (trying to hunt down the slowness reported by Nebadon related to HGFriends)
2011-06-06This should make offline IMs work again. It should work for incoming foreign ↵Diva Canto1-1/+4
IMs where the local recipient is offline. I can't test any of this, because I don't run an offline IM server.
2011-06-04Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)1-4/+15
the same user. Extend TestGiveInventoryItem() to test giving back the same item.
2011-06-04insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)2-11/+37
rather than just the first one
2011-06-04create TestGetInventoryItem()Justin Clark-Casey (justincc)1-13/+7
2011-06-02Bug fix on HG IM.Diva Canto1-2/+6
2011-06-01[Profiles] --> [Profile]Diva Canto1-2/+2
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-1/+2
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-27HG lures working! Friends can offer friends HG teleports via the profile. ↵Diva Canto3-4/+256
WARNING: additional configuration for HG inis -- see *Common.ini.example
2011-05-27When saving an iar, don't chase down link asset IDs (since these points to ↵Justin Clark-Casey (justincc)1-1/+4
other items rather than real assets) This bug had no practical effect other than to make "save iar" misreport the number of missing assets