aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-12Add remove test for unowned avatarsJustin Clark-Casey (justincc)1-0/+20
2012-01-12Add permissions checks for owned avatars to all other osNpc* functions.Justin Clark-Casey (justincc)1-4/+1
This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
2012-01-12refactor: Move existing npc owner checks to NPCModule.CheckPermissions() ↵Justin Clark-Casey (justincc)1-13/+36
methods and expose on interface for external calls.
2012-01-10minor: Fix wrong column length in image queues reportJustin Clark-Casey (justincc)1-2/+2
2012-01-10rename "show image queue" to "show image queues" in line with other udp info ↵Justin Clark-Casey (justincc)1-29/+8
commands. Eliminate redundant one line methods
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)1-1/+88
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-10Add "app find <uuid-or-start-of-uuid>" command to find the appearance using ↵Justin Clark-Casey (justincc)1-0/+50
a particular baked texture, if any. This is for debugging to relate texture console entries back to particular users on the simulator end.
2012-01-06Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie3-11/+36
owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
2012-01-05Improve "j2k decode" command to tell us how many layers and components were ↵Justin Clark-Casey (justincc)1-3/+13
decoded, instead of just success/failure
2012-01-05Add a "j2k decode" region console command that allows a manual request for a ↵Justin Clark-Casey (justincc)1-0/+145
JPEG2000 decode of an asset For debugging purposes.
2012-01-05Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)1-0/+51
service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
2012-01-05Move simulator asset info commands to an optional module from the connector. ↵Justin Clark-Casey (justincc)2-3/+136
Make them conform with service side commands. This stops them appearing twice when Hypergrid is enabled.
2012-01-05Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)1-4/+9
texture ids were available for the rebake request
2012-01-04Add "appearance rebake" command to ask a specific viewer to rebake textures ↵Justin Clark-Casey (justincc)1-1/+39
from the server end. This is not as useful as it sounds, since you can only request rebakes for texture IDs already received. In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect. Nonetheless, this is useful for diagnostic/debugging purposes.
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.