aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-06Make "show appearance" a synonym for "appearance show"Justin Clark-Casey (justincc)1-2/+8
2011-12-06In "appearance show", if a particular avatar is specified, print out texture ↵Justin Clark-Casey (justincc)1-5/+35
UUID for each bake type and whether the simulator can find it.
2011-12-06Actually send the avatar data if an individual avatar is specified, rather ↵Justin Clark-Casey (justincc)1-0/+2
than accidentally doing nothing
2011-12-06Allow "appearance show" command to take an optional avatar nameJustin Clark-Casey (justincc)1-8/+40
2011-12-06Make it possible to manually send appearance information via the "appearance ↵Justin Clark-Casey (justincc)1-11/+42
send" command for a chosen avatar as well as all
2011-12-06Provide feedback as to which avatars are resending appearance informion on ↵Justin Clark-Casey (justincc)1-2/+11
"appearance send" console command
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)3-7/+7
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-12-05Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie1-5/+5
2011-11-23Line endingsDan Lake1-101/+101
2011-11-22minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-11-07Correct test failure in sit position check of TestSitAndStandWithNoTarget()Justin Clark-Casey (justincc)1-1/+3
Curiously, a Vector3.ToString() will not display the last two places of the float. In this case, the failure of the assertion would confusingly report Expected: <0, 0, 0.8454993> But was: <0, 0, 0.8454993> when actual Z figure is 0.845499337 Should fully address http://opensimulator.org/mantis/view.php?id=5779
2011-11-07That such a trivial change can be so difficult to get right. Fix it this time.Melanie1-1/+1
2011-11-07Fix build breakMelanie1-1/+1
2011-11-06Fix up failing test to compensate for changed sit target offsetMelanie1-2/+2
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie2-2/+2
packet per prim. More to come as we change to make use of this.
2011-11-05Fix NPC sitting for prims without a sit target.Justin Clark-Casey (justincc)2-3/+40
This is to partially address http://opensimulator.org/mantis/view.php?id=5769 We don't need to call SP.HandleAgentSit() again if we are within 10m since the autopilot won't trigger. By calling it twice, the position of the sitting NPC was wrongly adjusted, ending up near <0,0,0>. However, this change does mean that NPCs further than 10m away will not attempt to autopilot to the prim, though this code was broken anyway (is actually a different mechanism to normal NPC movmeent). Hopefully this can be addressed soon.
2011-11-03Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2-3/+3
from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
2011-11-03Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2-9/+6
the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
2011-11-02Port the Avination offline messaging system to CoreMelanie1-1/+1
2011-11-01Add "appearance send" command to allow manual sending of appearance.Justin Clark-Casey (justincc)1-1/+18
2011-10-27Removed use of 'is' operator and casting to find the root ScenePresence in ↵Dan Lake2-14/+12
MessageTransfer modules and Groups module.
2011-10-27Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake1-4/+1
passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)4-1/+4
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-22refactor: rename some AssetHelpers.CreateAsset() methods to ↵Justin Clark-Casey (justincc)1-1/+1
CreateNotecardAsset()
2011-10-20Get OdeScene to use passed in time step rather than hard-coded 0.089Justin Clark-Casey (justincc)1-1/+1
However, I still don't recommend changing MinFrameTime from 0.089, high values do not work well and lower values don't seem to make much difference
2011-10-19Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of ↵Dan Lake3-8/+8
scene presence by client ID.
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)2-7/+2
without a getter
2011-10-17Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)2-2/+23
Allows you to stand an NPC that has sat.
2011-10-17Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)2-0/+42
Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE) e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE); At the moment, sit only succeeds if the part has a sit target set. NPC immediately sits on the target even if miles away - they do not walk up to it. This method is in development - it may change so please don't trust it yet. Standing will follow shortly since that's kind of important once you're sitting :)
2011-10-14refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it ↵Justin Clark-Casey (justincc)2-2/+2
sends entity updates (including presence ones), not just prims.
2011-10-12Change default groups messaging module in hardcode to the empty string.Melanie1-1/+1
Modules should not assume thet they are the one and only, but only be enabled when explicitly configured.
2011-10-04Removed redundant IClientAPI calls from TreePopulatorModule. Removing tree ↵Dan Lake1-14/+2
objects already triggers objectkill packet to client. No need to send again.
2011-10-03Removed redundant code in AttachmentsModule and simplified interfaces which ↵Dan Lake1-4/+2
converted back and forth between ScenePresence and IClientAPI. More to be done still.
2011-09-22Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)3-76/+5
This is moved into ScenePresence for now as a general facility
2011-09-21Move code which handles NPC movement into Scene so that this can also be ↵Justin Clark-Casey (justincc)1-1/+1
used by Autopilot coming from the client side. I thought that I had implemented this but must have accidentally removed it. Adds a regression test to detect if this happens again. Temporarily disables automatic landing of NPC at a target. Will be fixed presently.
2011-09-21When calling osNpcMoveTo(), rotate the avatar in the direction of travel.Justin Clark-Casey (justincc)1-4/+12
This stops the npc walking backwards if the target is directly behind. This means that the npc no longer returns to its original rotation once movement has finished. If you want this behaviour, please store and reset the original rotation after movement. This is somewhat to address http://opensimulator.org/mantis/view.php?id=5678
2011-09-08Fix test failure. Oversight in setting up the tests themselves.Justin Clark-Casey (justincc)1-1/+2
2011-09-08Centralize module setup for NPC tests.Justin Clark-Casey (justincc)1-41/+21
This is overkill for some tests since they dont' need all the modules, but I think the gain in code readability is worth it
2011-09-08Remember to set and unset the fire and forget method at the top of the ↵Justin Clark-Casey (justincc)1-2/+10
attachment and npc tests
2011-09-08Use scene presence agent id for rezzed object ownership rather than item owner.Justin Clark-Casey (justincc)1-0/+77
These should be identical. However, the item isn't available when rezzing npc attachments.
2011-09-01Eliminate pointless checks of SOG.RootPart != nullJustin Clark-Casey (justincc)1-1/+0
It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
2011-08-31move common code into AttachmentsModule.DeleteAttachmentsFromScene()Justin Clark-Casey (justincc)1-5/+1
2011-08-31Make SP.Attachments available as sp.GetAttachments() instead.Justin Clark-Casey (justincc)1-7/+3
The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase. It also improves liveness. This might improve attachment anomolies when performing region crossings.
2011-08-30refactor: Move ScenePresence.RezAttachments() into AttachmentsModuleJustin Clark-Casey (justincc)1-1/+1
This adds an incomplete IScenePresence to match ISceneEntity
2011-08-19Stop NPC's getting hypergrid like names in some circumstances.Justin Clark-Casey (justincc)1-1/+5
This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts). May address http://opensimulator.org/mantis/view.php?id=5645
2011-08-18BulletSim: add runtime setting of physics parameters. Update default values.Robert Adams1-0/+277
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)2-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-17Fix issue where loading a new appearance onto an NPC would not remove the ↵Justin Clark-Casey (justincc)1-0/+10
previous attachments from the scene. Addresses http://opensimulator.org/mantis/view.php?id=5636
2011-08-15Add "shutdown" message to RegionReadyBlueWall1-0/+5
Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle
2011-08-12minor: On "login disable/enable" always tell the user the final login ↵Justin Clark-Casey (justincc)1-3/+3
status, rather than remaining silent if it was already on/off