aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-16Add missing category paremeter to llGiveInventoryList grid IM construction.Justin Clark-Casey (justincc)1-1/+1
This was a regression from 16c9c1df Sat Oct 6 02:34:49 2012 +0100. Should resolve http://opensimulator.org/mantis/view.php?id=6360
2012-10-13Improve on TBG Renfold's fix to llRequestSimulatorData DATA_SIM_POS by only ↵Justin Clark-Casey (justincc)1-19/+25
performing HG regionflags service check if the region secret is not empty. An empty RegionSecret is never HG, whilst a non-empty one may be HG or being genuinely used as a RegionSecret.
2012-10-13Now using region flags for llRequestSimulatorData DATA_SIM_POS.TBG Renfold1-8/+17
If the region is not classed a hypergrid region, then the region secret is checked to make sure that it is a valid UUID. Just a temporary fix at this time.
2012-10-10Correct osSetContentType() threat check to query osSetContentType rather ↵Justin Clark-Casey (justincc)1-1/+3
than osSetResponseType
2012-10-10Remove osDropAttachment threat level check wrongly placed in ↵Justin Clark-Casey (justincc)1-1/+0
OSSL_Api.ShoutErrorOnLackingOwnerPerms.
2012-10-06On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)1-9/+10
bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
2012-10-03Fix a viewer crash issueMelanie1-1/+12
Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-10-02correcting typoSignpostMarv1-3/+3
2012-10-02taking into account the recent introduction of implicit operatorsSignpostMarv1-3/+1
2012-10-02added perms checking, duplicated functionality to methods that do not ↵SignpostMarv3-6/+86
require perms and have higher threat level
2012-10-02fixing copypastaSignpostMarv1-1/+1
2012-10-02implementing osDropAttachment & osDropAttachmentAtSignpostMarv3-2/+53
2012-09-22Fix llListFindList() returning no match when there is a match with a script ↵Justin Clark-Casey (justincc)2-8/+150
constant component in the source list. Adds regression test for this case. Based on http://opensimulator.org/mantis/view.php?id=6156 Thanks SignpostMarv.
2012-09-10passing in the function name to MOD_Api.ConvertFromLSL for more ↵SignpostMarv1-4/+4
user-friendly error messages
2012-09-08refactoring to allow Scene.GetLandData to accept Vector3 as an argument. ↵SignpostMarv2-10/+10
Note that the prior work on LSL_Vector implicit operators means one does not need to explicitly cast a LSL_Vector to Vector3
2012-09-084096 is used in various places as the maximum height of a region, ↵SignpostMarv1-1/+1
refactoring to be a constant
2012-09-05Enables cast from int to float for MOD* functions;Mic Bowman1-1/+1
Thanks SignpostMarv!
2012-09-04wrapping attachment functions in a regionSignpostMarv3-2/+4
2012-09-04Implementing functing to send messages directly to attachmentsSignpostMarv4-0/+201
2012-09-04refactoring the grunt work of MessageObject into a private method with a ↵SignpostMarv1-0/+5
UUID argument
2012-09-04implementing a function to get the number of attachments wornSignpostMarv3-0/+55
2012-09-03Revert "made setting rotation match Second Life"Melanie1-1/+32
Second Life seems to have introduced a bug, as we have confirmation that SL behavior changed recently and changed in contradiction to their stated intention This appears to be another of the bugs SL is notorious for. Signpost and I have decided to back this out until SL's intention becomes clear. This reverts commit f7b88d1c40ba06c62491d8d32809fe6c1c4d360d.
2012-09-03Revert "no need to assign rotation to a variable now"Melanie1-1/+2
This reverts commit a3d140b57c5e2ae0f3334d59b82e116d40199b49.
2012-09-03Revert "formatting"Melanie1-2/+2
This reverts commit fb211c64fd9d335f4879549023870b1e28416f74.
2012-09-03formattingSignpostMarv1-2/+2
2012-09-03no need to assign rotation to a variable nowSignpostMarv1-2/+1
2012-09-03made setting rotation match Second LifeSignpostMarv1-32/+1
2012-08-31Implementing a vastly simpler means of allowing region modules to access ↵SignpostMarv1-1/+1
GetLinkParts than mantis 6236
2012-08-30fixing bug where last element in list is ignoredSignpostMarv1-1/+1
2012-08-30refactoring as the list funcs either skip invalid values or recall ToDoubleListSignpostMarv1-12/+11
2012-08-29This partially implements the LSL function to set the responseMic Bowman3-1/+28
type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
2012-08-29implementing rule trackingSignpostMarv1-6/+9
2012-08-29track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv3-13/+17
rule number tracking in next commit.
2012-08-28copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv1-0/+59
2012-08-25implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2-11/+60
2012-08-25minor formattingSignpostMarv1-2/+2
2012-08-25refactoring to local variable for cleaner codeSignpostMarv1-2/+5
2012-08-25since we will be making the Get return type the remaining ruleset as with ↵SignpostMarv2-18/+22
the Set return type, we need to move the original return type to a ref param
2012-08-25use SceneObjectPart instead of varSignpostMarv1-3/+3
2012-08-25renaming to be similar to equivalent Set commandSignpostMarv3-8/+8
2012-08-24stripping superfluous whitespaceSignpostMarv1-3/+0
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-24immediately returning the string.Join operation instead of checking if the ↵SignpostMarv1-11/+5
list has members
2012-08-24refactoring using List.ConvertAll<string>SignpostMarv1-6/+5
2012-08-24Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)3-62/+0
owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
2012-08-24implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv3-0/+62
duplicated them, using the same script delay as llRezObject()
2012-08-24Removed land checking as suggested by SignpostMarv.TBG Renfold1-12/+2
Now whatever remaining health the avatar has is displayed (float). This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway). Returns -1.000000 if the avatar is not found.
2012-08-24Adds osGetHealth.TBG Renfold3-1/+28
Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
2012-08-22this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv1-5/+7
than the physical min/max
2012-08-20refactoring out SetFaceColorSignpostMarv1-2/+2
2012-08-20making use of implicit operators and Util.Clip handling of Vector3SignpostMarv1-1/+1