aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
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.Talun4-0/+96
Details in the lsl wiki
2012-05-08Add automated TestllBreakLink()Justin Clark-Casey (justincc)1-0/+27
2012-05-08Add automated TestllCreateLink()Justin Clark-Casey (justincc)1-0/+112
2012-05-08refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)10-46/+36
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)10-190/+145
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 ↵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-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)5-6/+6
the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
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-24Minor improvements to loggingOren Hurvitz1-3/+5
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-04-24OSSL: fixed the threat level check for osParseJSONNewOren Hurvitz1-1/+1
2012-04-24Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)6-49/+127
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-18Fix a logic error in app domain creationMelanie1-1/+1
2012-04-18Don't re-add the assembly resolver for each script if not creating the appdomainMelanie1-4/+8
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.Talun2-38/+51
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