aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-26 add basic SendFindAgent() to lludp. Future use may require a list of pairs ↵UbitUmarov1-3/+9
(X,Y). For now one pair is good enough.
2015-10-08 change NPC restriction options default from restricted to all allowed, as ↵UbitUmarov1-10/+4
master
2015-09-30 add several options for NPC creation so abusive use can be reduced ↵UbitUmarov1-0/+26
(restrictive by default) UNTESTED
2015-09-27 add missing SendAgentGroupDataUpdate to llClientViewUbitUmarov1-0/+4
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto1-1/+0
OpenSim.Framework.
2015-09-02seems to compile ( tests comented out)UbitUmarov3-10/+2
2015-08-22delay terrain sending if land queue is 2 busyUbitUmarov1-0/+5
2015-08-15Track selected objects per clientMelanie Thielker1-0/+2
2015-05-04fix a minor whitespace issueMichael Cerquoni1-1/+0
2015-05-04Adding the command <dobackup>to opensim console which requires a region name ↵H-H-H1-2/+40
as an argument and will do an oar of that region if the autobackup module is enabled Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-18Avoid deadlock in NPCModule between DeleteNPC and GetNPC on m_avatarstglion1-10/+14
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-2/+2
Util.cs routines to convert region coords to and from world coords or handles.
2015-03-22Varregion: first cut at removing Border class checks for region crossings.Robert Adams1-32/+1
Added Scene.PositionIsInCurrentRegion(pos) to sense when new position needs some crossing work. Many changes made to EntityTransferModule to accomodate new crossing sense logic.
2014-12-04Allow scripts in attachments on an owned NPC to call NPC functions on that NPCJustin Clark-Casey (justincc)1-1/+8
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)1-1/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-11-25Fix recent minor regression where the default frame time wasn't being set if ↵Justin Clark-Casey (justincc)1-1/+1
there was no startup config section. Caused some regression tests to fail.
2014-11-06 scale ChildAgentThrottles with distance (internal to child server and notUbitUmarov1-0/+5
root as was done before )
2014-09-12When osNpcMoveToTarget() is called for a sitting avatar then silently do ↵Justin Clark-Casey (justincc)1-0/+3
nothing rather than throwing an error. Resolves http://opensimulator.org/mantis/view.php?id=7311
2014-08-29 add method to get a category throttle rateUbitUmarov1-0/+5
2014-08-26Implement experimental non-default mechanism to update scene via a timer ↵Justin Clark-Casey (justincc)1-31/+50
rather than a persistent thread with sleep. This is to see if an inaccuracy in sleep times under load is responsible for increase in frame times even when there is spare time still available. Can currently only be activated by setting "debug scene set update-on-timer true". Can be switched between timer and thread with sleep updates whilst the scene is running.
2014-08-21add a direct sendpartfullUpdate to send a full object update to a part,UbitUmarov1-0/+4
optionally overriding its parentID. check what it does to attachments
2014-08-14add a estimator of client ping time, and painfully make it visible in showUbitUmarov1-0/+2
connections console command
2014-08-06refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance ↵Justin Clark-Casey (justincc)1-6/+6
for better accuracy and consistency with other similar parameters
2014-08-02dont fire a thread on npc creation keeping the main one just waitingUbitUmarov1-5/+6
2014-07-29Implement "scene debug set root-upd-per" for dropping 1 in N root agent ↵Justin Clark-Casey (justincc)1-5/+17
updates except to originator For experimental purposes. Also corrects a previous bug where each terse update sent was counted rather than each set of terse updates to agents.
2014-07-29Add debug mechanism for only sending 1 in N AgentUpdate packets to child agents.Justin Clark-Casey (justincc)1-0/+12
Allows experiments in manually reducing updates under heavy load. Activated by "debug scene set client-upd-per" console command. In a simple test, can send as few as every 4th update before observed movement starts becoming disturbingly rubber-banded.
2014-07-29Add "debug scene set appear-refresh true|false" to control whether periodic ↵Justin Clark-Casey (justincc)1-0/+12
appearance refresh is active. Corresponds to ResendAppearnceUpdates setting in [Appearance] in OpenSim.ini This was originally implemented to alleviate cloud appearance problems but could be too expensive with large numbers of avatars.
2014-07-29Make it possible to change avatar position update, rotation and velocity ↵Justin Clark-Casey (justincc)1-21/+57
tolerances on the fly. This is done via "debug scene set client-pos-upd, client-rot-upd, client-vel-upd". For testing purposes.
2014-07-29minor: make "debug scene set" usage command accurate again from last commit ↵Justin Clark-Casey (justincc)1-2/+1
f6f7585
2014-07-29Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)1-16/+28
reprioritization distance to be changed on the fly. This governs when child agent position changes are sent to neighbouring regions. Corresponding config parameter is ChildReprioritizationDistance in [InterestManagement] in OpenSim.ini For test purposes.
2014-07-04Include option to remove auto backup files older than given number of days. ↵AliciaRaven2-2/+52
New property created to specify how many days to keep files for. Off by default, also made sure only oar files will be removed.
2014-06-04Fix AutoBackupModule and include option to skip saving assets.AliciaRaven2-3/+39
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2014-05-01Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)2-2/+54
NPCs would be seen by other viewers. It appears that at least Singularity 1.8.5 (but probably others) rely on attachment FromItemIDs being different to display more than one. This commit resolves this by generating random IDs instead of always using UUID.Zero for NPCs. Resolves http://opensimulator.org/mantis/view.php?id=7110
2014-04-29Add regression test for NPC movement on a variable region.Justin Clark-Casey (justincc)1-5/+72
Extends basic physics to allow av movement on a varregion (basic physics is only really useful for regression test purposes).
2014-04-23Eliminated many warningsOren Hurvitz1-0/+2
2014-02-15Rewrite of mega-region code to use new form of border checking.Robert Adams1-31/+0
This commit eliminates all of the 'border' class and list code and replaces it with testing if in the current region. Impacts: can make a mega-region out of varregions of the same size; and mega-region combinations must be rectangular (not square but rectangular)
2014-02-01Overload INPCModule.CreateNPC() to allow agentID to be specified. Note: this ↵dahlia2-3/+38
is intended for use in region modules and is not exposed to scripts.
2014-01-27Re-enabled NPCModuleTests.TestCreate()Justin Clark-Casey (justincc)1-3/+1
2013-12-14Comment out sit position checks in TestSitAndStandWithSitTarget() in SP and ↵Justin Clark-Casey (justincc)1-3/+5
NPC tests until positions are known to be stable. Also resolve issues with NoSitTarget() tests where I was trying to use a destroyed PhysActor
2013-12-14Fix TestSitAndStandWithNoSitTarget NPC and SP tests.Justin Clark-Casey (justincc)1-6/+2
These stopped working because current code calculates sit heights based on avatar physics rather than appearance data. Also changed BasicPhysics to not divide Z param of all set sizes by 2 - there's no obvious good reason for this and basicphysics is only used in tests
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-0/+2
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-2/+2
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-10-04Add OnChatToNPC and OnInstantMessageToNPC messages to NPCAvatar to allow ↵Justin Clark-Casey (justincc)1-6/+21
region modules to directly subscribe to chat and messages received by NPCs Currently still requires INPC from NPCModule.GetNPC() to be cast to an NPCAvatar.
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)1-1/+1
the code that this is symmetric with CloseAgent()
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-1/+1
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-19minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)1-16/+15
formatting cleanups
2013-08-12Get rid of issue where removing NPCs would through an exception by routing ↵Justin Clark-Casey (justincc)1-1/+3
close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient(). This exception was actually harmless since it occurred at the very last stage of the remove client process.
2013-07-26Fix NPC regression test failures.Justin Clark-Casey (justincc)1-1/+1
These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come. Instead, we do not wait if the agent is an NPC.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto1-1/+1
lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
2013-07-21Manage AgentUpdates more sanely:Diva Canto1-0/+1
- The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream