aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-06Change llUnSit to be able to unsit any avatar that is currently sat on the ↵Vegaslon1-1/+2
object, not just avatars sitting on the sittarget in the object containing the script. or when the object is owned by the parcel, land group or estate owner.
2014-05-06Mantis 7146 The lsl function llGetMassMKS is not implementedTalun3-0/+13
This patch implements llGetMassMKS as it is described in the wiki http://wiki.secondlife.com/wiki/LlGetMassMKS
2014-05-06Show more meaningful error messages when failed to move an item from a prim ↵Oren Hurvitz2-5/+10
to a user's inventory. Also, actually show the error to the user in more cases. (Previously, sometimes the operation failed without telling the user anything.)
2014-05-06Added range-checking for the parameters to PRIM_POINT_LIGHT (used in ↵Oren Hurvitz1-3/+3
llSetLinkPrimitiveParamsFast() )
2014-05-01Mantis 7144 missing ATTACH_AVATAR_CENTER constantTalun1-0/+2
This patch adds ATTACH_AVATAR_CENTER and ATTACH_NECK
2014-04-30Change XEngine to call StateChange rather than RemoveScript on state changesMelanie1-1/+1
2014-04-30Add the "StateChange" function to the async comand manager to differentiateMelanie1-1/+23
between state changes and script exit/reset.
2014-04-23Eliminated many warningsOren Hurvitz2-23/+2
2014-04-11minor: use constants instead of magic numbers in llRequestAgentData() where ↵Justin Clark-Casey (justincc)1-6/+6
possible
2014-04-11Actually add the llRequestAgentData() test class for commit 530c86Justin Clark-Casey (justincc)1-0/+157
2014-04-11Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)1-58/+85
completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
2014-04-03refactor: Use m_sittingAvatars to maintain the list of sitting avatars ↵Justin Clark-Casey (justincc)1-11/+8
instead of two independent structures that do exactly the same thing m_sittingAvatars code also already properly handles locking to avoid races.
2014-03-31Add check to prevent the return of a wrong value when key is NULL_KEYBlueWall1-1/+4
2014-03-26Also take YP/commented out JS references from script engine CodeTools.Justin Clark-Casey (justincc)2-157/+0
Fixes build break from d3387d591a2bd496c8315f17b2310d6a6f40a7c3
2014-03-26Remove unmaintained and unused YieldProlog scripting languageJustin Clark-Casey (justincc)16-15874/+0
This hasn't been mainntained since 2008 and has not been kept up with the rest of the language infrastructure. Hence, it almost certainly doesn't work and has never been used, afaik If this is wrong, please say on the opensim-users/dev mailing list. Removing to reduce maintenance burden (since it still needs to be made to compile).
2014-03-24Better error messagesOren Hurvitz1-6/+5
This resolves http://opensimulator.org/mantis/view.php?id=6936
2014-03-21Mantis 6922: No particles are generated if their size exceeds the maximum ↵Talun1-4/+10
allowed size. This patch ensures that no particle scal value can exceed 4.0
2014-03-20Mantis 6974 PERMISSION_TRACK_CAMERA should be implicit on attach.Talun1-0/+1
http://wiki.secondlife.com/wiki/Run_time_permissions This change makes PERMISSION_TRACK_CAMERA implicit on attach
2014-03-13Implement osForceBreakAllLinks().Justin Clark-Casey (justincc)4-0/+25
Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
2014-03-12Only allow llBreakAllLinks() to work if script has received ↵Justin Clark-Casey (justincc)2-0/+50
PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink()
2014-03-12Implement osForceCreateLink() and osForceBreakLink()Justin Clark-Casey (justincc)4-8/+62
These are identical to llCreateLink() and llBreakLink() except that they don't require script permissions. However, osForceCreateLink() still requires that linked and linkee still have the same owner. There's also an AutomaticLinkPermission setting in [XEngine] that could be set to true to prevent the LSL function checks. But this doesn't allow the finer control over which users/scripts, etc. can do this that the OSSL functions provide.
2014-03-07Add Varregion support to osGetRegionSize OSSL functionDev Random1-1/+3
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2014-03-05If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)1-1/+31
change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
2014-03-03When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵Justin Clark-Casey (justincc)2-12/+38
the global rotation rather than the local rotation Functionally the same as the patch in http://opensimulator.org/mantis/view.php?id=7044, thanks Aleric. This commit also extends the regression test
2014-02-27Stop LSL_Api.GetLinkEntities() from creating an unused list on every ↵Justin Clark-Casey (justincc)1-9/+6
parameter except LINK_THIS. Simplify code.
2014-02-27minor: remove unused variable from recent commit 0e23374Justin Clark-Casey (justincc)1-2/+0
2014-02-27refactor: Make osGetPrimtiveParams() and soSetPrimitiveParams() use common ↵Justin Clark-Casey (justincc)1-33/+12
get/set params code in LSL_Api rather than an old copy&pasted section.
2014-02-26Add some regression tests for previous commit 0e23374Justin Clark-Casey (justincc)1-0/+115
2014-02-26Implement PRIM_ROTATION, PRIM_ROT_LOCAL, PRIM_POSITION and PRIM_POS_LOCAL ↵Justin Clark-Casey (justincc)1-17/+128
when manipulating avatars via llSetLinkPrimitiveParams() Combination of core parts of Freaky's patch at https://github.com/ft-/opensim-patches/blob/master/opensim-llsetlinkprimitive-agent-fix.patch plus further adjustments from myself. Resolves Mantises 6121, 6421, 6573, 6657
2014-01-31Made error messages more consistentDavid Rowe1-15/+15
2014-01-31Replaced throwing exceptions with calls to Error()David Rowe1-7/+9
2014-01-31Replaced llSay()ing LSL errors with calls Error()David Rowe1-9/+8
2014-01-31Replaced LSLError() calls with calls to Error()David Rowe1-15/+10
2014-01-31Updated "deprecated" LSL errors to use Deprecrated()David Rowe1-19/+11
2014-01-31Updated "not implemented" LSL errors to use NotImplemented()David Rowe1-4/+3
2014-01-31Updated ShoutError() calls to use new LSL error methodsDavid Rowe1-38/+27
2014-01-31Updated methods for handling LSL script errors, deprecated, and not implementedDavid Rowe1-7/+58
2014-01-28Added osGetRegionSize(), which returns the region size in meters and ↵Oren Hurvitz3-0/+29
recognizes megaregions
2014-01-18Following on from 50ea2e0, only fetch scene presence for check if ↵Justin Clark-Casey (justincc)1-17/+38
lightscript function has failed initial IsEstateManagerOrOwner() check
2014-01-18Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz1-3/+9
isn't in the scene
2014-01-17Revert "Fixed: Windlight functions caused an error if called when the ↵Justin Clark-Casey (justincc)1-9/+3
script's owner isn't in the scene" This reverts commit 39e5785c0f5bfa9fce2549757ac895920c88825a. Did not mean to apply this yet.
2014-01-17Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz1-3/+9
isn't in the scene
2014-01-10Fixed llTextBox error message textDavid Rowe1-1/+1
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams3-7/+9
with a passed region size. This time in the map code and grid services code.
2013-12-21Add lsl arg syntax checking for control eventJustin Clark-Casey (justincc)2-9386/+9716
2013-12-21refactor: rename internal lsl parser VectorDeclaration -> VecDeclaration for ↵Justin Clark-Casey (justincc)1-7907/+7903
consistency
2013-12-21Add arg checking for at_target lsl eventJustin Clark-Casey (justincc)2-8828/+9158
2013-12-21Add lsl event arg checking for at_rot_targetJustin Clark-Casey (justincc)2-8915/+9306
2013-12-21Add lsl event argument checking for attach and on_rezJustin Clark-Casey (justincc)2-8593/+8946
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-5/+5
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.