aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (unfollow)
Commit message (Collapse)AuthorFilesLines
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)1-37/+15
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-23Fix llGetSimulatorHostname to return configured hostnameBlueWall1-1/+2
2012-05-15Port Avination's collision fixes to core.Melanie1-10/+11
2012-05-13Modifications for SMTP in OpenSimulator. Email size limit was fixed (was out ↵Chris Koeritz1-7/+21
of step with documentation at 1024, so boosted to 4096). Added configuration item for maximum email size. Redundant sleep inside email module was fixed (LSL Api was already sleeping). Added sleep time configuration item for snooze between email sending for LSL Api. Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-09Mantis 6015 new LSL function llGetAgentList.Talun1-0/+85
Details in the lsl wiki
2012-05-08refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)4-30/+22
This is always available from m_host.LocalId
2012-05-08Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)4-169/+118
in self item on initialization.
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 ↵dahlia1-1/+2
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 Renfold1-0/+7
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 5747Talun1-1/+40
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)3-48/+94
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.Talun1-12/+28
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
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 Pfeffer1-0/+55
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 5502Talun1-0/+72
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 Pfeffer1-0/+69
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 invocationsMelanie1-1/+10
2012-03-24Add support for key, vector, rotation and list types for bothMic Bowman1-57/+188
arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
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)1-0/+23
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 Bowman1-0/+109
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 Canto1-0/+14