aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-243-62/+0
| | | | | | | | owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
* implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv2012-08-243-0/+62
| | | | duplicated them, using the same script delay as llRezObject()
* Removed land checking as suggested by SignpostMarv.TBG Renfold2012-08-241-12/+2
| | | | | | | Now whatever remaining health the avatar has is displayed (float). This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway). Returns -1.000000 if the avatar is not found.
* Adds osGetHealth.TBG Renfold2012-08-243-1/+28
| | | | | | | | | | | | | | | | | Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
* If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)2012-08-231-2/+25
| | | | xengine to spit out some useful information and continue to save other script states
* this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv2012-08-221-5/+7
| | | | than the physical min/max
* Lock disposal of separate gdi+ objects under different threads since this ↵Justin Clark-Casey (justincc)2012-08-221-26/+42
| | | | | | | | | | prevents malloc heap corruption seen under Ubuntu 10.04.1 and 11.04 - probably a libcairo issue In testing, it appears that if multiple threads dispose of separate GDI+ objects simultaneously, the native malloc heap can become corrupted, possibly due to a double free(). This may be due to bugs in the underlying libcairo used by mono's libgdiplus.dll on Linux/OSX. These problems were seen with both libcario 1.10.2-6.1ubuntu3 and 1.8.10-2ubuntu1. They go away if disposal is perfomed under lock.
* Fix bug in SoundModule.PlayAttachedSound() where every sound update to an ↵Justin Clark-Casey (justincc)2012-08-211-3/+5
| | | | | | avatar would base its gain calculation on the previous avatar's gain, instead of the original input gain This is similar to commit d89faa which fixed the same kind of bug in TriggerSound()
* refactoring out SetFaceColorSignpostMarv2012-08-202-54/+17
|
* making use of implicit operators and Util.Clip handling of Vector3SignpostMarv2012-08-202-22/+27
|
* single operation for PRIM_COLORSignpostMarv2012-08-202-2/+50
|
* fix typoSignpostMarv2012-08-201-1/+1
|
* no-op change for cia.vc testJustin Clark-Casey (justincc)2012-08-201-0/+1
|
* When loading an OAR, validate any group UUIDs and properly reconstruct ↵Justin Clark-Casey (justincc)2012-08-201-1/+62
| | | | | | | | | | parcel access lists. If a group UUID is present that is not on this simulator then the object or parcel is no longer group owned. This is a change from previous behaviour where such invalid UUIDs were kept. This is an adaptation of patch 0002 from http://opensimulator.org/mantis/view.php?id=6105 by Oren Hurvitz of Kitely. My adaptations are formatting only, apart from the notices about parcel owner IDs not being saved since this has now been fixed. Thanks Oren.
* Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2012-08-2011-22/+49
| | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
* Fix scripted detach of temp attachmentsMelanie2012-08-201-6/+2
|
* Fix llDialog responses so that they can be heard throughout the region. This ↵Melanie2012-08-191-1/+1
| | | | now conforms to the behaviour in SL.
* Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie2012-08-181-0/+2
|
* integrating redundant code into operatorSignpostMarv2012-08-182-14/+7
|
* Rot2Quaternion is now redundantSignpostMarv2012-08-182-12/+11
|
* constructor means not having to manually refer to individual propertiesSignpostMarv2012-08-183-6/+6
|
* implicit operators mean one does not need to instantiate new objects manuallySignpostMarv2012-08-182-7/+5
|
* adding missing refactor for LSL_VectorSignpostMarv2012-08-181-1/+1
|
* Implementing operators & constructors for QuaternionSignpostMarv2012-08-181-0/+18
|
* Fix the whitespace formatting error introduced by the last patchMelanie2012-08-181-2/+2
|
* refactoring for Vector3 operator & constructor tweaksSignpostMarv2012-08-189-125/+119
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-1814-342/+395
|\
| * adding null return to fix buildingSignpostMarv2012-08-171-1/+1
| |
| * fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv2012-08-172-3/+6
| | | | | | | | & box
| * implementedSignpostMarv2012-08-173-0/+64
| |
| * attempt to handle InvalidCastException in a manner similar to Second LifeSignpostMarv2012-08-172-2/+17
| |
| * BulletSim: Properly regenerate hulls when objects made physical.Robert Adams2012-08-172-17/+33
| | | | | | | | | | This fixes the problem of non-base shapes (cubes and spheres) falling through the terrain.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-176-278/+146
| |\
| | * BulletSim: restore most of the Detail logging statements. Will haveRobert Adams2012-08-174-40/+51
| | | | | | | | | | | | | | | | | | | | | no effect on non-logging running. Capture region name that is passed to the physics engine and use it for detail logging file name prefix. Fix problem with avatars dropping when flying across region boundries.
| | * Modify order of code so SOP doesn't set the physics actor flyingRobert Adams2012-08-171-7/+12
| | | | | | | | | | | | | | | | | | property multiple times every time Update is called. This eliminates zillions of settings which is better for BulletSim. The should be no functionality change.
| | * BulletSim: add parameters and functionality to specify the meshRobert Adams2012-08-173-48/+34
| | | | | | | | | | | | | | | | | | level of detail for large meshes. Remove parameter and code for DetailLog (conditional logging into regular log file).
| | * BulletSim: comments and parameter changes in dynamics engine.Robert Adams2012-08-172-26/+30
| | |
| | * BulletSim: in BSDynamics, merge 'flags' and 'hoverFlags' as they are defined ↵Robert Adams2012-08-171-158/+20
| | | | | | | | | | | | for the same bits and it makes the code less complicated.
| * | minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)2012-08-171-7/+9
| |/ | | | | | | | | | | instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-174-3/+28
| |\
| | * Correct an exception report in SceneObjectPart so it outputs the stack.Robert Adams2012-08-151-1/+1
| | |
| | * BulletSim: make it so objects in a linkset do not generate collisions with ↵Robert Adams2012-08-153-2/+27
| | | | | | | | | | | | each other.
| * | adding a clip method to handle Vector3 objects to enable a minor amount of ↵SignpostMarv2012-08-171-6/+5
| |/ | | | | | | refactoring
| * enables configurable minimum sizes for physical & non-physical primsSignpostMarv2012-08-155-40/+101
| |
* | Do a proper null check to avoid the overloaded operator == trapMelanie2012-08-161-1/+1
|/
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-1512-217/+439
|\
| * Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-151-2/+7
| | | | | | | | This is to avoid false positives when the machine is under heavy load whilst starting up.
| * adding ATTACH_*_PEC constantsSignpostMarv2012-08-151-0/+2
| |
| * BulletSim: add hinge constraint.Robert Adams2012-08-153-6/+126
| | | | | | | | | | | | | | Update BulletSimAPI with new constraint related function calls. Reorganize locking in BS6DofConstraint. Update BS6DofConstraint to do constraint reset correctly. Add new 'midpoint' construction of 6Dof constraint.
| * BulletSim: add locking to constraintCollection and rename some of the public ↵Robert Adams2012-08-152-147/+197
| | | | | | | | method variables to reduce confusion between a physics scene and the real scene.