aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-2/+2
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)1-1/+1
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-2/+2
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-5/+5
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)1-6/+6
2011-08-04When the NPC reaches within the SIGNIFICANT_CLIENT_MOVEMENT distance of the ↵Justin Clark-Casey (justincc)1-0/+2
target, move it directly to the target. This makes the movement exact. Regression test changed to check avatar reaches exact target. Also has the nice side effect of making NPC animations continue to work after the first movement (which wasn't working). However, avatar still pauses in mid-stride
2011-08-04extend npc move test to check a second movementJustin Clark-Casey (justincc)1-2/+21
2011-08-03remove move to duck walk compensation - no longer required.Justin Clark-Casey (justincc)1-1/+5
extends npc move to regression test to check stop after sufficient sim updates
2011-08-03rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵Justin Clark-Casey (justincc)1-1/+1
INPCModule
2011-08-03extend move test to check avatar is moving in the right direction after ↵Justin Clark-Casey (justincc)1-0/+13
setting a move target
2011-08-03extend move test to check one beat of the simulator without actually asking ↵Justin Clark-Casey (justincc)1-1/+7
the npc to move.
2011-08-03Add passing but incomplete NPC move regression testJustin Clark-Casey (justincc)1-47/+25
2011-08-03stop avatar service being set up in NPC TestCreate() - it's no longer usedJustin Clark-Casey (justincc)1-6/+48
2011-08-03enable the NPC module for its regression testJustin Clark-Casey (justincc)1-0/+2
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-2/+21
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-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)1-14/+22
the scene presence exists
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)1-1/+0
OpenSim.Tests.Common instead
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-1/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2010-12-14Add mock group services connector and use this in testsJustin Clark-Casey (justincc)1-0/+11
2010-12-14add infrastructure for groups module testsJustin Clark-Casey (justincc)1-18/+17
2010-05-07GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto1-2/+7
home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-1/+1
2010-03-05Justin, I must have been dyslexic when I wrote UserGridService as the name ↵Diva Canto1-4/+4
for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.
2010-03-05add initial UserGrid service classes as per diva's directionJustin Clark-Casey (justincc)1-8/+9
this will initially store home location data instead of the presence service compiles but not enough to actually test yet
2010-01-04AvatarStore. Untested, but completeMelanie1-0/+2
2010-01-04Some work on avatar service. Retrieval and storage doneMelanie1-1/+1
2010-01-04Avatar appearance skeletonMelanie1-7/+11
2009-11-10* Update namespace in the regioncombinermodule.Teravus Ovares (Dan Olivares)1-1/+1
2009-11-10* Move RegionCombinerModule to it's own projectTeravus Ovares (Dan Olivares)1-0/+0
* Moves the mono_metadata_token_from_dor message to a different module on loading.
2009-09-13* Add the RegionCombinerModule backTeravus Ovares (Dan Olivares)1-4/+10
* Yay anonymous delegate in an anonymous delegate.
2009-08-10Stub out the Profile and Presence servicesMelanie1-3/+2
2009-06-22Update svn properties.Jeff Ames1-38/+38
2009-06-14Factoring out "land_data" / RequestLandData that was hanging off of ↵diva1-38/+38
IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works.
2009-06-14Update svn properties.Jeff Ames1-38/+38
2009-06-14Oops. Forgot to add this file.diva1-33/+38
2009-05-05Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames1-0/+27
2009-05-05Some refactoring. Database is now active in the new user serverMelanie Thielker1-1/+1
2009-05-05Add an interface skeleton for user servicesMelanie Thielker1-0/+6