aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-5/+5
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-6/+6
|
* if an NPC target is set to a ground location, then automatically land them ↵Justin Clark-Casey (justincc)2011-08-041-1/+12
| | | | | | when they get there. This doesn't help where the target is a prim surface. In these situations, it might be better to provide manual overrides so the script can control whethre an avatar flys there/lands, etc.
* if an NPC move to target is above the terrain then make it fly to destinationJustin Clark-Casey (justincc)2011-08-041-3/+7
|
* move bAllowUpdateMoveToPosition switch outside of HandleMoveToTargetUpdate()Justin Clark-Casey (justincc)2011-08-041-1/+1
|
* move reset code out of HandleMoveToTargetUpdate() so that we only call it ↵Justin Clark-Casey (justincc)2011-08-041-1/+1
| | | | where needed instead of passing in a flag
* Make SIGNIFICANT_MOVEMENT SP constant a top-level property so that other ↵Justin Clark-Casey (justincc)2011-08-041-1/+1
| | | | classes can use it.
* When the NPC reaches within the SIGNIFICANT_CLIENT_MOVEMENT distance of the ↵Justin Clark-Casey (justincc)2011-08-042-2/+5
| | | | | | | 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
* extend npc move test to check a second movementJustin Clark-Casey (justincc)2011-08-041-2/+21
|
* Rename HandleMoveToPositionUpdate() to HandleMoveToTargetUpdate() for ↵Justin Clark-Casey (justincc)2011-08-041-1/+1
| | | | consistency. Improve method doc.
* remove move to duck walk compensation - no longer required.Justin Clark-Casey (justincc)2011-08-031-1/+5
| | | | extends npc move to regression test to check stop after sufficient sim updates
* rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵Justin Clark-Casey (justincc)2011-08-032-2/+2
| | | | INPCModule
* extend move test to check avatar is moving in the right direction after ↵Justin Clark-Casey (justincc)2011-08-031-0/+13
| | | | setting a move target
* extend move test to check one beat of the simulator without actually asking ↵Justin Clark-Casey (justincc)2011-08-031-1/+7
| | | | the npc to move.
* Add passing but incomplete NPC move regression testJustin Clark-Casey (justincc)2011-08-031-47/+25
|
* stop avatar service being set up in NPC TestCreate() - it's no longer usedJustin Clark-Casey (justincc)2011-08-031-6/+48
|
* refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)2011-08-031-3/+3
| | | | consistent with terminology used by scene object part and elsewhere
* get rid of vestigal move to parametersJustin Clark-Casey (justincc)2011-08-032-2/+2
|
* enable the NPC module for its regression testJustin Clark-Casey (justincc)2011-08-031-0/+2
|
* Put config to enable disable [NPC] module.Justin Clark-Casey (justincc)2011-08-031-4/+7
| | | | Default is disabled. You will need to explicitly enable to toy with this.
* Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)2011-08-031-11/+48
| | | | | | 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.
* Partially fix autopilot/go hereJustin Clark-Casey (justincc)2011-08-022-1/+11
| | | | | | | This now works again except that it requires a click or avatar mvmt to get going This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over. Even clicking is enough to trigger. This will be improved presently.
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-021-1/+0
| | | | This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
* Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)2011-08-012-7/+41
| | | | | | 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.
* Fix LLTextBox to work with the updated libOMVMelanie2011-07-231-1/+1
|
* Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)2011-07-022-2/+72
| | | | the scene presence exists
* refactor: simplify existing npc code by creating them directly rather than ↵Justin Clark-Casey (justincc)2011-07-021-102/+37
| | | | | | indirectly via a timer no obvious reason for doing this asynchonously, especially as the caller was sleeping in order to pick up the response anyway!
* Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)2011-06-291-33/+74
| | | | | | 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!
* Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)2011-05-311-1/+1
| | | | | If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
* First pass at moving object property requests into a queue similarMic Bowman2011-04-121-9/+3
| | | | | | | | to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
* Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-251-1/+1
| | | | | | | counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
* Implement SendPlacesReplyMelanie2010-12-301-0/+4
|
* * Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)2010-12-211-0/+4
| | | | | | * Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
* Major refactoring of appearance handling.Master ScienceSim2010-10-202-9/+9
| | | | | | | | | | | | | | | | | | | AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
* Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto2010-08-161-0/+4
| | | | affected.
* Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto2010-08-161-1/+1
| | | | TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
* Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie2010-07-141-4/+0
| | | | | Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
* Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie2010-06-121-0/+4
| | | | we used to send before slimupdates and explicitly send it
* Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari2010-05-211-0/+5
| | | | parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
* * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-211-1/+1
| | | | | | | Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
* * Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2010-05-121-11/+3
| | | | original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
* thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia2010-04-121-0/+1
| | | | Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-1/+1
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake2010-03-191-2/+2
| | | | Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
* - parcel blocking, region crossing blocking, teleport blockingunknown2010-03-091-0/+1
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* - supporting llTextBoxunknown2010-03-061-0/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Change the signature of SendChangeUserRights, because we have to sendMelanie2010-02-281-1/+1
| | | | this to both parties
* Add missing ChangeUserRights packet senderMelanie2010-02-281-0/+4
|
* Initial Online friends notification seems to be working reliably now. All ↵Diva Canto2010-02-281-2/+2
| | | | this needs more testing, but everything is there.
* Merge branch 'master' into presence-refactorMelanie2010-02-151-0/+2
|\