aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)1-6/+27
storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
2011-08-06refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify.Justin Clark-Casey (justincc)1-20/+7
2011-07-16use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)1-22/+21
2011-07-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)1-1/+16
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)1-13/+153
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-09Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo1-24/+24
llListFindList() which always returns -1 when you compare with the list from those functions. *llCSV2List *llGetAnimationList *llGetLinkPrimitiveParams *llGetObjectDetails *llGetParcelDetails *llGetParcelPrimOwners *llGetPrimitiveParams *GetLinkPrimitiveParamsEx *osGetAgents *osMatchString *osGetLinkPrimitiveParams *osGetPrimitiveParams *osGetAvatarList
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-05-23Fix Mantis #4429: Allow llGiveInventory to work across sim borders.Melanie1-9/+23
2011-05-22Add stubs for unimplemented lsl functionsBlueWall1-18/+67
2011-05-20Implement llGetLinKNumberOfSides().Justin Clark-Casey (justincc)1-2/+12
Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong.
2011-05-19Add stub for llGetLinkNumberOfSides(integer link)BlueWall1-0/+6
2011-05-14refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)1-2/+2
instance methods since it didn't make sense to use anything other than the instance themselves.
2011-05-14simplify code in llGetParcelMaxPrims() to use existing code in LandObject ↵Justin Clark-Casey (justincc)1-18/+4
rather than duping the algo
2011-05-14Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere ↵Justin Clark-Casey (justincc)1-6/+5
instead of the old 0.22 prims/meter squared fudge factor. Thanks to tglion for this.
2011-04-11minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-10/+4
2011-04-08Add support for the new display name related functions in LSL. This does notMelanie1-0/+49
implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name.
2011-04-05replace magic numbers in llGetParcelPrimCount() with constantsJustin Clark-Casey (justincc)1-22/+8
2011-04-05switch llGetParcelPrimCount() to use new prim counts moduleJustin Clark-Casey (justincc)1-46/+39
2011-03-31check threat configuration for LSL print()dahlia1-1/+6
2011-03-31implement LSL "print()" API functiondahlia1-1/+7
2011-02-04Add position to IM sent from llInstantMessage(), to better fulfill client ↵Justin Clark-Casey (justincc)1-1/+1
expectations
2011-02-04Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)1-1/+8
llInstantMessage() to stop this crashing viewer 2.4.0 (1.23.5 was fine with this). We're putting in a string of format "<region name><x pos floor int><y pos floor int><z pos floor int> which appears to be the expected value. This resolves http://opensimulator.org/mantis/view.php?id=5356
2011-02-04minor: fix indentation, spacing on commit 3585130Justin Clark-Casey (justincc)1-8/+8
this previous commit tries to look up the texture by name first before just using the uuid. this allows correct resolution of inventory textures which have uuids as names.
2011-02-04SetTexture_fixunknown1-7/+6
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-33/+55
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
2010-11-27Amend GetLinkPrimitiveParams with implementations for PRIM_TEXGEN, ↵Marck1-10/+76
PRIM_BUMP_SHINY, PRIM_FULLBRIGHT, and PRIM_GLOW
2010-11-20Fix global region coordinates that are delivered by llRequestSimulatorData.Marck1-6/+6
Also did some source code clean-up by replacing literals with constants.
2010-11-16Can't detach an object from within the script thread because it will throw. ↵Melanie1-6/+14
Use FireAndForget for that.
2010-11-12Add PARCEL_DETAILS_ID to LSLBlueWall1-0/+3
2010-10-29Revert "Preliminary work on appearance layers. No user functionality yet."Melanie1-8/+3
This work conflicts with cmickeyb's more extensive, related work This reverts commit 9c829c0410da89fdbb873f706d7ba63cf26b088f.
2010-10-29Preliminary work on appearance layers. No user functionality yet.Melanie1-3/+8
2010-10-24Add PRIM_NAME, PRIM_DESC and PRIM_ROT_LOCALMelanie1-0/+27
2010-10-22Fix llParcelMediaCommandList() so that it applies commands only to the ↵Justin Clark-Casey (justincc)1-4/+4
parcel that the script is in, not all parcels. Patch from http://opensimulator.org/mantis/view.php?id=2738 Thanks snoopy and fineman.
2010-10-22This fixes a delay in llSetLinkPrimitiveParamsFastAdelleF1-1/+6
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-10-22Fix the OOB error (#5102). Sorry, my bad.Melanie1-1/+1
2010-10-22Skip empty strings in ParseString* functionsMelanie1-0/+6
2010-10-22Fix llParcelMediaCommandList() so that it applies commands only to the ↵Justin Clark-Casey (justincc)1-4/+4
parcel that the script is in, not all parcels. Patch from http://opensimulator.org/mantis/view.php?id=2738 Thanks snoopy and fineman.
2010-10-21This fixes a delay in llSetLinkPrimitiveParamsFastAdelleF1-1/+6
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-10-21Fix the OOB error (#5102). Sorry, my bad.Melanie1-1/+1
2010-10-21Skip empty strings in ParseString* functionsMelanie1-0/+6
2010-09-24Added delay for llSetPrimitiveParams() and llSetLinkPrimitiveParams() ↵Kevin Cozens1-100/+104
functions per the LSL wiki. Signed-off-by: Melanie <melanie@t-data.com> This patch also fixes a large amount of trailing whitespace. While this is beneficial, it should really be in a separate patch that fixes whitespace only. Just good practice.
2010-09-17Applying the llParseString2List() patch from #5036 that Melanie claims was ↵John Hurliman1-81/+22
already applied
2010-09-17Revert "* Changed 11 calls for session info to the more optimized API method"root1-2/+24
This reverts commit 5dc9ea2f2487804d788b4b80d40d91bd792de4c2. Also makes online indicators and IM more robust
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-53/+38
MapAndArray collection
2010-09-12Formatting cleanup.Jeff Ames1-4/+4
2010-09-08* Changed 11 calls for session info to the more optimized API methodJohn Hurliman1-8/+2
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman1-4/+4
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman1-4/+4
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-39/+61
conditions in linking and unlinking
2010-08-24Patch by Apelsin that fixes behaviour of llSetPos and llGetLocalPos for ↵Marck1-8/+17
attachments. This fixes Mantis #3923. Signed-off-by: Melanie <melanie@t-data.com>