aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-31Add an optional mechanism for physics modules to collect and return ↵Justin Clark-Casey (justincc)5-60/+252
arbitrary stats. If active, the physics module can return arbitrary stat counters that can be seen via the MonitoringModule (http://opensimulator.org/wiki/Monitoring_Module) This is only active in OdeScene if collect_stats = true in [ODEPhysicsSettings]. This patch allows OdeScene to collect elapsed time information for calls to the ODE native collision methods to assess what proportion of time this takes compared to total physics processing. This data is returned as ODENativeCollisionFrameMS in the monitoring module, updated every 3 seconds. The performance effect of collecting stats is probably extremely minor, dwarfed by the rest of the physics code.
2012-05-30ubitode prim: if makebody() is called already having a body, do a full ↵UbitUmarov1-3/+4
destrution so there are no 'leaks'.
2012-05-30Guard setting the building flagMelanie1-0/+4
2012-05-30Whitespace fixMelanie1-1/+1
2012-05-30Prevent multiple requests to go physical from reaching the physics pluginMelanie1-0/+4
2012-05-30Fix the log standing attach-from-world bug.Melanie2-42/+59
2012-05-29Add console command "teleport user" to allow teleport from the region consoleJustin Clark-Casey (justincc)1-0/+189
See "help teleport user" on the console for more details
2012-05-29 fix physics not reporting collisions only with terrainUbitUmarov1-0/+1
2012-05-29Fix collision filtering. The filter should be checked on the receiving part!Melanie1-9/+9
2012-05-29Add advanced collision processing into ScenePresenceMelanie1-162/+162
2012-05-29Re-add script collisions that were lost in a mergeMelanie1-0/+2
2012-05-29Fix collision filteringMelanie1-10/+10
2012-05-28refactor: factor out entity transfer state machine into a separate class to ↵Justin Clark-Casey (justincc)3-239/+330
make code more analyzable
2012-05-28 fix avatars collisions on sim crossings and other few cases where ↵UbitUmarov1-2/+1
freemove() is called
2012-05-28If handling the failure of teleport, move agent state to CleaningUp when we ↵Justin Clark-Casey (justincc)1-3/+6
start the handling. Also fixes the log warning from ResetInTransit() if the state is cleared direct from Transferring or ReceiveAtDestination, as pointed out in mantis 5426
2012-05-28a bit cleaner code (?) on sculpts/meshs meshing checkingUbitUmarov1-7/+6
2012-05-28 let meshs work indenpendently of mesh_sculpted_prim config optionUbitUmarov1-29/+25
2012-05-28 disable collision sounds for nowUbitUmarov1-2/+8
2012-05-28revert making sculpts phanton if sculpt meshing option is offUbitUmarov1-2/+0
2012-05-28Place the return back into collision sounds.Melanie1-0/+4
2012-05-28Modify SceneManeger to use a DoubleDictionary and work without locks.Melanie1-176/+90
Changes to the scenes dictionary are exceedingly rare and using atomic operations makes the chance of collisions nearly nil in any case.
2012-05-27Let OOB information usable outside ubitodeUbitUmarov3-29/+33
2012-05-26minor: code formatting from 0b72f773Justin Clark-Casey (justincc)1-12/+11
2012-05-26Mantis 6025 llRequestPermissions auto grant for NPCs.Talun1-1/+23
If the script requesting permissions is owned by either the NPC or the NPCs owner (if the NPC is created as owned) then grant any permissions automatically.
2012-05-26If restating a region, clean up the physics scene after the main scene has ↵Justin Clark-Casey (justincc)1-4/+4
been closed not before. If this is done before then on ODE agent update calls still incoming can fail as they try to use a raycastmanager that has been disposed. Bullet plugin does nothing on Dispose() However, I wouldn't be at all surprised if individual region restarting was buggy in lots of other areas.
2012-05-26One can now get hyoergrid region co-ordinates with llRequestSimulatorDataBlake.Bourque1-5/+21
2012-05-26Use GetInventoryItem() in LSL_Api.InventoryKey(string name, int type).Justin Clark-Casey (justincc)1-17/+7
Also removes small bug where calling this method would add 1 to LPS, evne though all callers already did this.
2012-05-26Use SceneObjectPartInventory.GetInventoryItem() in OSSL.AvatarStopAnimation ↵Justin Clark-Casey (justincc)1-14/+12
instead of searching the task inventory manually.
2012-05-26refactor: replace LSL_Api.InventoryKey(string) largely with ↵Justin Clark-Casey (justincc)3-45/+42
SceneObjectPartInventory.GetInventoryItem(string) Also gets llStopAnimation() to call KeyOrName rather than duplicating logic.
2012-05-25Mantis 6028 osAvatarStopAnimation not stopping animations via UUIDTalun1-7/+11
Corrected to stop animations using the animation UUID similar to llStopAnimation. See http://opensimulator.org/wiki/OsAvatarStopAnimation
2012-05-25Resolve some mono compiler warnings.Justin Clark-Casey (justincc)9-26/+33
2012-05-25on agent cross, remove from physics scene after its been placed in transit, ↵Justin Clark-Casey (justincc)1-3/+7
not before.
2012-05-25refactor: make ETM.CrossAgentToNewRegionAsync neighbourRegion == null check ↵Justin Clark-Casey (justincc)1-90/+92
return earlier to simplify method
2012-05-25Remove a call stack debugging line accidentally left in from a few days ago ↵Justin Clark-Casey (justincc)1-2/+0
at SceneObjectPartInventory.ApplyNextOwnerPermissions().
2012-05-25Fix bug where a failed QueryAccess to a remove region would always have the ↵Justin Clark-Casey (justincc)1-2/+1
reason "Communications failure" no matter what the destination region actually returned
2012-05-25Stop it being possible for an agent to teleport back to its source region ↵Justin Clark-Casey (justincc)3-28/+169
before the source region has finished cleaning up old agent data and structures. If this is allowed, then the client usually gets forcibly logged out and data structures might be put into bad states. To prevent this, the binary state machine of EMT.m_agentsInTransit is replaced with a 4 state machine (Preparing, Transferring, ReceivedAtDestination, CleaningUp). This is necessary because the source region needs to know when the destination region has received the user but a teleport back cannot happen until the source region has cleaned up. Tested on standalone, grid and with v1 and v3 clients.
2012-05-24Don't actually proceed on a within-region teleport if another is already ↵Justin Clark-Casey (justincc)1-0/+2
taking place, rather than just (falsely) logging that we're not going to proceed. An oversight from recent commit 9ab0c81
2012-05-24On inter-region teleport, only stand the avatar up if the QueryAccess call ↵Justin Clark-Casey (justincc)1-7/+7
to the destination scene actually succeeds.
2012-05-24Now that the EntityTransferModule is per-region, fetch the event queue ↵Justin Clark-Casey (justincc)1-18/+22
module once rather than repeatedly via scene presences
2012-05-24Fix issue where a dns resolution failure on the final destination might ↵Justin Clark-Casey (justincc)1-192/+200
leave the user unable to teleport since the transit flag was not being reset. This moves the 'already in transit' check further up and resets the flag if dns resolution fails and in the new required places.
2012-05-24Comment out accidentally left in log line that was printing out the control ↵Justin Clark-Casey (justincc)1-3/+3
file on OAR save
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2-8/+16
lookup rather than the region handle.
2012-05-24If an agent is still registered as 'in transit' by the source region, don't ↵Justin Clark-Casey (justincc)6-193/+233
allow an immediate teleport back. This is to help relieve a race condition when an agent teleports then immediately attempts to teleport back before the source region has properly cleaned up/demoted the old ScenePresence. This is rare in viewers but much more possible via scripting or region module. However, more needs to be done since virtually all clean up happens after the transit flag is cleared . Possibly need to add a 'cleaning up' state to in transit. This change required making the EntityTransferModule and HGEntityTransferModule per-region rather than shared, in order to allow separate transit lists. Changes were also required in LocalSimulationConnector. Tested in standalone, grid and with local and remote region crossings with attachments.
2012-05-23Environment Module - allows Environment settings for Viewer3 warning: ↵PixelTomsen4-0/+301
includes database region store migrations for mssql, mysql, sqlite enable/disable this module: Cap_EnvironmentSettings = "localhost" (for enable) Cap_EnvironmentSettings = "" (for disable) at ClientStack.LindenCaps section (OpenSimDefaults.ini file) or owerwrite in OpenSim.ini mantis: http://opensimulator.org/mantis/view.php?id=5860 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-23Fix llGetSimulatorHostname to return configured hostnameBlueWall3-1/+7
2012-05-23minor: Change [OBJECT COMMANDS MODULE] log strings to [REGION COMMANDS ↵Justin Clark-Casey (justincc)1-6/+6
MODULE] strings, though all these are currently commented out anyway
2012-05-23Add "show scene" command which lists stats for the currently selected ↵Justin Clark-Casey (justincc)2-1/+161
console scene(s) This includes prim count, script count, avatar count, etc. Information is currently the same as "show stats", though show stats can only show one scene at a time because it listens for the latest outgoing stats packet (a bad approach that needs to change). Might be better to tie this module into the other stats module to display arbitrary stats rather than fetching directly from scene.SimStatsReporter. Console command is "show scene" because "show region" already exists for the grid service, which is unfortunate. Might need to make a distinction between "scene" relating to a live scene and "region" relating to more static region data (url, coords, etc.)
2012-05-23refactor: Rename ConsoleTableRow and ConsoleTableColumn to ↵Justin Clark-Casey (justincc)1-6/+6
ConsoleDisplayTableRow and ConsoleDisplayTableColumn
2012-05-23refactor: rename ConsoleTable -> ConsoleDisplayTable for clarityJustin Clark-Casey (justincc)1-1/+1
2012-05-23Fetch the dialog module reference in AttachmentsModule in RegionLoaded() not ↵Justin Clark-Casey (justincc)1-1/+1
AddRegion() The reference is not guaranteed to be there when AddRegion() is called but will definitely be present at RegionLoaded() if it's going to be present at all.