aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-261-4/+4
| | | | This does a tiny bit to reduce code complexity, memory requirement and the cpu time of pointlessly setting this field to the same value in every SOP
* llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin2011-08-251-40/+47
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Fix llAttachToAvatar()Justin Clark-Casey (justincc)2011-08-241-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.
* rename AttachmentsModule.ShowDetachInUserInventory() to ↵Justin Clark-Casey (justincc)2011-08-231-1/+1
| | | | DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour
* Protect a check for default texture entry when setting alpha values. ApparentlyMic Bowman2011-08-231-3/+10
| | | | if all faces have their own textures then the default texture is null
* Thanks Neil Canham for fixing bulk inventory updates, no sending ↵Snoopy Pfeffer2011-08-221-1/+1
| | | | BulkInventoryUpdate after accepting inventory items.
* Add avatar and attachments to llRegionSayBlueWall2011-08-201-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?
* Add llRegionSayToBlueWall2011-08-191-6/+21
| | | | | | | llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
* llGetPrimitiveParams fix prim hollow/hole shape valueMicheil Merlin2011-08-131-3/+3
|
* implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)2011-08-111-1/+2
| | | | Rotation works if done around the z axis. Anything else leads to random results.
* Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2011-08-091-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.
* refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify.Justin Clark-Casey (justincc)2011-08-061-20/+7
|
* use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)2011-07-161-22/+21
|
* If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)2011-07-151-1/+16
| | | | | | than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
* Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)2011-07-121-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.
* Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo2011-07-091-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
* Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)2011-07-091-1/+1
| | | | (setting SculptData is done through the property)
* Fix Mantis #4429: Allow llGiveInventory to work across sim borders.Melanie2011-05-231-9/+23
|
* Add stubs for unimplemented lsl functionsBlueWall2011-05-221-18/+67
|
* Implement llGetLinKNumberOfSides().Justin Clark-Casey (justincc)2011-05-201-2/+12
| | | | Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong.
* Add stub for llGetLinkNumberOfSides(integer link)BlueWall2011-05-191-0/+6
|
* refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)2011-05-141-2/+2
| | | | instance methods since it didn't make sense to use anything other than the instance themselves.
* simplify code in llGetParcelMaxPrims() to use existing code in LandObject ↵Justin Clark-Casey (justincc)2011-05-141-18/+4
| | | | rather than duping the algo
* Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere ↵Justin Clark-Casey (justincc)2011-05-141-6/+5
| | | | | | instead of the old 0.22 prims/meter squared fudge factor. Thanks to tglion for this.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-04-111-10/+4
|
* Add support for the new display name related functions in LSL. This does notMelanie2011-04-081-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.
* replace magic numbers in llGetParcelPrimCount() with constantsJustin Clark-Casey (justincc)2011-04-051-22/+8
|
* switch llGetParcelPrimCount() to use new prim counts moduleJustin Clark-Casey (justincc)2011-04-051-46/+39
|
* check threat configuration for LSL print()dahlia2011-03-311-1/+6
|
* implement LSL "print()" API functiondahlia2011-03-311-1/+7
|
* Add position to IM sent from llInstantMessage(), to better fulfill client ↵Justin Clark-Casey (justincc)2011-02-041-1/+1
| | | | expectations
* Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)2011-02-041-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
* minor: fix indentation, spacing on commit 3585130Justin Clark-Casey (justincc)2011-02-041-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.
* SetTexture_fixunknown2011-02-041-7/+6
|
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-131-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.
* Amend GetLinkPrimitiveParams with implementations for PRIM_TEXGEN, ↵Marck2010-11-271-10/+76
| | | | PRIM_BUMP_SHINY, PRIM_FULLBRIGHT, and PRIM_GLOW
* Fix global region coordinates that are delivered by llRequestSimulatorData.Marck2010-11-201-6/+6
| | | | Also did some source code clean-up by replacing literals with constants.
* Can't detach an object from within the script thread because it will throw. ↵Melanie2010-11-161-6/+14
| | | | Use FireAndForget for that.
* Add PARCEL_DETAILS_ID to LSLBlueWall2010-11-121-0/+3
|
* Revert "Preliminary work on appearance layers. No user functionality yet."Melanie2010-10-291-8/+3
| | | | | | This work conflicts with cmickeyb's more extensive, related work This reverts commit 9c829c0410da89fdbb873f706d7ba63cf26b088f.
* Preliminary work on appearance layers. No user functionality yet.Melanie2010-10-291-3/+8
|
* Add PRIM_NAME, PRIM_DESC and PRIM_ROT_LOCALMelanie2010-10-241-0/+27
|
* Fix llParcelMediaCommandList() so that it applies commands only to the ↵Justin Clark-Casey (justincc)2010-10-221-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.
* This fixes a delay in llSetLinkPrimitiveParamsFastAdelleF2010-10-211-1/+6
| | | | Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
* Fix the OOB error (#5102). Sorry, my bad.Melanie2010-10-211-1/+1
|
* Skip empty strings in ParseString* functionsMelanie2010-10-211-0/+6
|
* Added delay for llSetPrimitiveParams() and llSetLinkPrimitiveParams() ↵Kevin Cozens2010-09-241-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.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2010-09-171-2/+24
|\
| * Revert "* Changed 11 calls for session info to the more optimized API method"root2010-09-171-2/+24
| | | | | | | | | | This reverts commit 5dc9ea2f2487804d788b4b80d40d91bd792de4c2. Also makes online indicators and IM more robust
* | Applying the llParseString2List() patch from #5036 that Melanie claims was ↵John Hurliman2010-09-171-81/+22
|/ | | | already applied