aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-24Fix llAttachToAvatar()Justin Clark-Casey (justincc)1-2/+2
Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay. So we now don't do this. The state will be serialized anyway when the avatar normally logs out. The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state.
2011-08-23rename AttachmentsModule.ShowDetachInUserInventory() to ↵Justin Clark-Casey (justincc)1-1/+1
DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour
2011-08-23Protect a check for default texture entry when setting alpha values. ApparentlyMic Bowman1-3/+10
if all faces have their own textures then the default texture is null
2011-08-22Thanks Neil Canham for fixing bulk inventory updates, no sending ↵Snoopy Pfeffer1-1/+1
BulkInventoryUpdate after accepting inventory items.
2011-08-20Add avatar and attachments to llRegionSayBlueWall1-6/+3
llRegionSay will now message avatars on chan 0 and will message attachments on the avatar that listen on channels other than 0. This behavior is consistant with the LL implementation as tested on regions in Agni with one exception: this implementation does not include issue: https://jira.secondlife.com/browse/SCR-66?
2011-08-19Add llRegionSayToBlueWall1-6/+21
llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
2011-08-13llGetPrimitiveParams fix prim hollow/hole shape valueMicheil Merlin1-3/+3
2011-08-11implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)1-1/+2
Rotation works if done around the z axis. Anything else leads to random results.
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