aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Agent (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-13Remove long obsolete and unused IClientAPI.KillEndDone()Justin Clark-Casey (justincc)1-5/+0
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-2/+2
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)1-2/+2
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)1-2/+2
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)1-5/+0
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2-8/+8
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)2-2/+2
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen1-1/+1
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie1-1/+1
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2012-01-24minor: correct text and usage for "image queues show" reigon console command.Justin Clark-Casey (justincc)1-2/+2
2012-01-20Telehub Support:BlueWall1-0/+6
Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing.
2012-01-19Add "image queues clear <first-name> <last-name>" console commandJustin Clark-Casey (justincc)1-15/+60
This allows a way to manually clear pending image queue requests for debug purposes
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-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.
2011-12-10Implement handler for TeleportCancel inbound packetMelanie1-0/+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)1-3/+5
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-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-1/+1
packet per prim. More to come as we change to make use of this.
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)1-4/+1
without a getter
2011-10-14refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it ↵Justin Clark-Casey (justincc)1-1/+1
sends entity updates (including presence ones), not just prims.
2011-09-22Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)1-1/+1
This is moved into ScenePresence for now as a general facility
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-1/+1
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-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-1/+1
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-2/+2
agent
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-1/+1
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+1
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-1/+1
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-06minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-05-06add descriptive explanations for region restart functionalityJustin Clark-Casey (justincc)1-1/+0
2011-05-06fix command display for debugging 'emergency-monitoring'Justin Clark-Casey (justincc)1-1/+1
2011-04-25Cleaned up various configuration options. Removed the category throttleMic Bowman1-9/+9
limits because the only ones used now are the defaults (which are overwritten by the client throttles anyway). Updated the default rates to correspond to about 350kbps. Also added a configuration to disable adaptive throttle. The default is the previous behavior (no adaptation).
2011-04-22Various clean ups. Removed some debugging code. Added a new "show pqueues"Mic Bowman1-2/+101
command to look at the entity update priority queue. Added a "name" parameter to show queues, show pqueues and show throttles to look at data for a specific user.
2011-04-13First pass at moving object property requests into a queue similarMic Bowman1-3/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-3/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-3/+2
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)1-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.
2011-03-05minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-02-09Detect negative dripAmounts in TokenBuckets. These negatives result from ↵Diva Canto1-1/+1
overflown integer operations. Also added Total to the scene throttles in show throttles.
2011-02-08Added emergency monitoring of UDP Outgoing packets thread. Just type ↵Diva Canto1-2/+28
"emergency-monitoring on/off"
2011-02-02Record number of resent packets in LindenUDP stack and display in stats reportJustin Clark-Casey (justincc)1-11/+13
2011-01-21minor: remove unnecessary newline from "show throttles" informationJustin Clark-Casey (justincc)1-1/+1
2011-01-21properly format "show throttles" tableJustin Clark-Casey (justincc)1-26/+55
2011-01-21crudely refactor table generation code for "show queues" and "show throttles"Justin Clark-Casey (justincc)1-41/+30
2011-01-21implement "show throttles" command for showing current agent throttles and ↵Justin Clark-Casey (justincc)1-0/+330
the server settings. This is in a very crude state, currently. The LindenUDPModule was renamed LindenUDPInfoModule and moved to OptionalModules OptionalModules was given a direct reference to OpenSim.Region.ClientStack.LindenUDP so that it can inspect specific LindenUDP settings without having to generalize those to all client views (some of which may have no concept of the settings involved). This might be ess messy if OpenSim.Region.ClientStack.LindenUDP were a region module instead, like MXP, IRC and NPC
2010-12-30Implement SendPlacesReplyMelanie1-0/+4
2010-12-21* Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)1-0/+5
* 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.
2010-10-20Major refactoring of appearance handling.Master ScienceSim1-2/+2
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.