aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-07For osGetGridNick(), osGetGridName(), osGetGridLoginURI() and ↵Justin Clark-Casey (justincc)1-8/+10
osGetGridCustom(), try to read from the [GridInfoService] section on standalone rather than [GridInfo] [GridInfoService] is the section that's actually in bin/config-include/StandaloneCommon.ini.example
2012-05-07remove default values from prior commit since mono cant deal with themdahlia1-1/+1
2012-05-06add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for ↵dahlia2-1/+3
moving NPCs
2012-05-03Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause ↵Snoopy Pfeffer1-1/+1
a runtime error.
2012-04-30llGenerateKey implementation. Creates a random UUID I.E: ↵TBG Renfold3-0/+13
UUID.Random().ToString(); Signed-off-by: TBG Renfold <tbg.renfold@g2mv.co.uk>
2012-04-27minor: style adjustments in SensorRepeat, mainly related to patch from stoehrJustin Clark-Casey (justincc)1-3/+4
2012-04-27Fixing wrong position of llSensor, SensePoint wasnt following the rotation ↵Stefan_Boom1-8/+22
of the root prim.
2012-04-26OSSL: Removed check for CanRunConsoleCommand() in osKickAvatar.Oren Hurvitz1-13/+12
OSSL permissions are now controlled in OpenSim.ini.
2012-04-26Add a version of osNpcSay that takes a channel number Mantis 5747Talun3-1/+59
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-25Port Avination link order to make OpenSim behave like SL. Make Primstar ↵Melanie1-5/+7
scripts work. Fixes Mantis #5990
2012-04-24OSSL: fixed the threat level check for osParseJSONNewOren Hurvitz1-1/+1
2012-04-24Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)5-49/+120
These behave identically to llAttachToAvatar() and llDetachFromAvatar() except that they do not enforce the PERMISSION_ATTACH check Intended for use in completely controlled dedicated environments where these checks are more a UI hinderance than a help. Threat level high.
2012-04-23Replace common code to fetch self inventory item (as opposed to uuid) with ↵Justin Clark-Casey (justincc)1-155/+76
GetSelfInventoryItem() However, at some point it would be far more convenient to receive the TaskInventoryItem in the constructor rather than just the item UUID, so we don't have to constantly refetch our self item.
2012-04-23refactor: Replace calls to InventorySelf() with existing m_itemID in LSL_ApiJustin Clark-Casey (justincc)1-94/+42
There's no point look up an item ID that we already have.
2012-04-23Mantis 5977 Corrections to llRegionSayToTalun1-2/+6
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)3-5/+5
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-17Null reference in llGetObjectMass on a seated avatar.Talun1-1/+1
2012-04-13Missing or unimplemented LSL memory functions.Talun4-13/+62
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
2012-04-14Correct whitespace error introduced by previous commitMelanie1-1/+1
2012-04-13Change threat level of osNpcStopMoveToTarget from Low to High to match other ↵Justin Clark-Casey (justincc)1-1/+1
NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo Thanks to Oren Hurvitz for pointing out these mistakes.
2012-04-13Remove hardcoded god requirement from osSetRegionWaterHeight, ↵Justin Clark-Casey (justincc)1-36/+25
osSetRegionSunSettings and, osSetEstateSunSettings no matter the threat level. Change threat level on osSetRegionSunSettings and osSetEstateSunSettings from nuisance to high to match similar functions. If you had enabled these functions but had relied on the hardcoded god check in the code, then please adjust your OSSL permissions config. Thanks to Oren Hurvitz for pointing this out.
2012-04-12Mantis 55025 Implement script time.Talun1-4/+3
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer3-0/+68
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-09Mantis5502 implementation of some of the new constantsTalun1-18/+24
Signed-off-by: Melanie <melanie@t-data.com>
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)1-1/+1
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)1-0/+1
functions. This is the same as PRIM_POSITION
2012-04-06refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)1-4/+4
2012-04-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)1-10/+11
or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
2012-04-06For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)1-3/+24
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet).
2012-04-06Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2-0/+82
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-06Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)1-1/+4
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
2012-04-03Fix more SOP.PhysActor race conditions in LSL_ApiJustin Clark-Casey (justincc)1-7/+19
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)1-3/+3
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer3-0/+82
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-0/+3
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-26Add a hust UUID to the script invocationsMelanie3-1/+16
2012-03-24Add support for key, vector, rotation and list types for bothMic Bowman3-74/+229
arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
2012-03-23fix yield prolog so it compiles with mono 2.11 there has been a bugzillanebadon2-6/+6
report files with mono project in regards to this change, this simply lets us move forward with using mono 2.11 for now : https://bugzilla.xamarin.com/show_bug.cgi?id=4052
2012-03-22refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code ↵Justin Clark-Casey (justincc)1-3/+3
clarity since non-default animations are handled completely separately from this class
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)1-3/+3
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-17Add osGetInventoryDesc() as per http://opensimulator.org/mantis/view.php?id=5927Justin Clark-Casey (justincc)3-0/+30
This allows one to get description data for a given prim inventory item. Thanks MarcelEdward and GuduleLapointe!
2012-03-15Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman3-0/+133
from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
2012-03-10Added osGetGridGatekeeperURI()Diva Canto3-0/+20
2012-03-09Use SP.ParentPart instead of ParentID in places where it's more efficient ↵Justin Clark-Casey (justincc)1-17/+7
(saving extra null checks, etc.) However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null. Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race.
2012-03-09FireAndForget scripted rez - port from AvinationMelanie1-41/+46
2012-03-06Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)5-12/+96
status" command. This is for diagnostic purposes.
2012-03-02Move SenseRepeaters.Count check inside the SenseRepeatListLock.Justin Clark-Casey (justincc)1-4/+4
No methods in the List class are thread safe in the MS specification/documentation
2012-03-02lock SenseRepeatListLock when added a new sensor during script reconstitution.Justin Clark-Casey (justincc)1-1/+3
This is already being done in the other place where a sensor is added. Adding a sensor whilst another thread is iterating over the sensor list can cause a concurrency exception.
2012-03-01Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman3-0/+32
are osReplaceString(string source, string patter, string replace, integer count, integer start) The count parameter specifies the total number of replacements to make, -1 makes all replacements.
2012-03-01Fix indexing on string trimBlueWall1-1/+1
Thanks to zadark for pointing this out, smxy for deciphering the ?: operator and Plugh for the fix \o/ yay for IRC