aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-19Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs ↵Justin Clark-Casey (justincc)1-30/+0
as this is updating SOG/SOP.GroupID, which is arguably generic.
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-33/+1
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-17Fix bug where objects couldn't be set back to the "none" group.Justin Clark-Casey (justincc)1-8/+13
This is handled by treating UUID.Zero as a special case. Currently, asking for the "none" group returns nothing because XMLRPC groups, at least, is not properly handling this case. It may be better in the future to have GroupsModule return an appropriate GroupsData structure instead or require the underlying services to behave appropriately. This is a further component of http://opensimulator.org/mantis/view.php?id=5588
2011-12-17Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)1-1/+26
created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
2011-12-16Tunnel [GroupsModule] DebugEnabled setting down into ↵Justin Clark-Casey (justincc)2-11/+10
XmlRpcGroupsServicesConnectorModule so that we can record cache misses
2011-12-12Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵Dan Lake1-1/+1
IsColliding
2011-12-10Implement handler for TeleportCancel inbound packetMelanie2-0/+2
2011-12-09minor: remove a mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-3/+3
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)2-4/+9
it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
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.