aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-10implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)1-3/+34
2011-08-09When an NPC appearance is loaded, rez the attachments tooJustin Clark-Casey (justincc)1-0/+1
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)3-15/+5
agent
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2-1/+30
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)2-6/+6
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2-8/+8
2011-08-04if an NPC target is set to a ground location, then automatically land them ↵Justin Clark-Casey (justincc)1-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.
2011-08-04if an NPC move to target is above the terrain then make it fly to destinationJustin Clark-Casey (justincc)1-3/+7
2011-08-04move bAllowUpdateMoveToPosition switch outside of HandleMoveToTargetUpdate()Justin Clark-Casey (justincc)1-1/+1
2011-08-04move reset code out of HandleMoveToTargetUpdate() so that we only call it ↵Justin Clark-Casey (justincc)1-1/+1
where needed instead of passing in a flag
2011-08-04Make SIGNIFICANT_MOVEMENT SP constant a top-level property so that other ↵Justin Clark-Casey (justincc)1-1/+1
classes can use it.
2011-08-04When the NPC reaches within the SIGNIFICANT_CLIENT_MOVEMENT distance of the ↵Justin Clark-Casey (justincc)2-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
2011-08-04extend npc move test to check a second movementJustin Clark-Casey (justincc)1-2/+21
2011-08-04Rename HandleMoveToPositionUpdate() to HandleMoveToTargetUpdate() for ↵Justin Clark-Casey (justincc)1-1/+1
consistency. Improve method doc.
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)2-2/+2
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-03refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)1-3/+3
consistent with terminology used by scene object part and elsewhere
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)3-3/+3
2011-08-03enable the NPC module for its regression testJustin Clark-Casey (justincc)1-0/+2
2011-08-03Put config to enable disable [NPC] module.Justin Clark-Casey (justincc)1-4/+7
Default is disabled. You will need to explicitly enable to toy with this.
2011-08-03Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)1-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.
2011-08-02Partially fix autopilot/go hereJustin Clark-Casey (justincc)2-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.
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2-2/+1
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.
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)2-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.
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie2-2/+2
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)1-2/+2
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-13Add experimental module to check status of services that the simulator is ↵Justin Clark-Casey (justincc)1-0/+119
connected to. Currently disabled.
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-07-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)2-2/+72
the scene presence exists
2011-07-02refactor: simplify existing npc code by creating them directly rather than ↵Justin Clark-Casey (justincc)1-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!
2011-06-29Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)2-34/+75
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-24Changed actual default values of 'ServiceConnectorModule' and ↵Makopoppo3-3/+3
'MessagingModule' in [Groups] section in accordance with OpenSim.ini.example descriptions
2011-06-24RegionReady Module:BlueWall1-0/+2
Add notification to neighbors when logins are enabled.
2011-06-24Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)1-4/+4
rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
2011-06-04Remove the unmaintained 'CMS' framework, which was really a 'source-control' ↵Justin Clark-Casey (justincc)15-3578/+0
experiment from 2008. This hasn't been touched for about 2 years and I haven't being using it. If this is wrong then please let me know.
2011-06-01a few minor formatting tweaksJustin Clark-Casey (justincc)1-3/+4
2011-06-01A final couple of tweaks to GroupsModule.cs. Remove unneeded delegate, and ↵James Stallings aka Hiro Protagonist1-9/+22
prettify codeing style/formatting
2011-06-01revert the prematurely included groups patch, yet againJustin Clark-Casey (justincc)1-22/+5
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)3-7/+24
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-31revert the patch that accidentally got added in the last commitJustin Clark-Casey (justincc)1-22/+5
2011-05-31update libomv libraries to 0.9.0Justin Clark-Casey (justincc)1-5/+22
this is a prerequisite to fixing llDialog issues for the latest Linden viewers, since they are now making use of a new OwnerData field in the ScriptDialog message
2011-05-28Adding an event to signal that logins are enabledBlueWall1-11/+76
Added an event to signal the eabling of logins and added an alert to send to a configured service.
2011-05-28Add option to disable loginsBlueWall1-1/+24
This just covers script loading for now. More to come.
2011-05-26improve help information for "appearance show"Justin Clark-Casey (justincc)1-2/+3
at the moment, this just performs a baked avatar check for everybody in the region. If the check returns 'corrupt' then a baked texture is missing and other avatars will continue to see the gas ball.
2011-05-24Revert "Make client event handlers for money only work on root agents"BlueWall1-30/+6
This reverts commit a8913141c081202eb1f988901a4ac0988bbd72a2. Pulling this back until some testing under various money modules can be done. Need to be able to make purchases as a child agent.