aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-30Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares1-25/+39
explicitly in many cases Thanks Melanie! * Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
2008-04-29* Applying Xantor's patch 0001089 - Added llRot2Angle, ↵Teravus Ovares1-6/+170
llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot
2008-04-29* Applying melanie's List2Vector and List2Rot patch. Added a routine in ↵Teravus Ovares1-2/+2
the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator)
2008-04-26Thank you Melanie for implementingCharles Krinke1-36/+1
llListSort() in linear and strided modes.
2008-04-26* Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams ↵Adam Frisby1-29/+185
implementations. Thanks Melanie!
2008-04-25* Applying mantis#1048 - Patch for osSetRegionWaterHeight()Adam Frisby1-0/+12
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares1-3/+3
2008-04-24* Patch from Melanie. Mantis: 1040. Thanks Melanie!Teravus Ovares1-8/+3
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24replace hard tabs with 4 spaces to be consistant in the source.Sean Dague1-192/+192
Please adjust your editors to not use hard tabs.
2008-04-24* From: Alan M Webb <awebb.vnet.ibm.com>Justin Clarke Casey1-1/+1
* Patch to fix negative indices bug in llListInsertList
2008-04-23* Patch from Melanie. Mantis 0001037: Add various internal plumbing to ↵Teravus Ovares1-2/+47
the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie! * Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares1-4/+12
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results. * Three axis works well enough to play with it anyway. More work is needed here. * Fixed an incorrectly named method in ODE.NET
2008-04-23* Patch #1026 - llDialog support -- Thanks Melanie!Adam Frisby1-9/+54
2008-04-23* Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!Adam Frisby1-16/+213
2008-04-23From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-2/+12
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-22* Implements llScriptDangerTeravus Ovares1-2/+11
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22* Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!Teravus Ovares1-1/+38
* I expanded upon his patch just a bit to incorporate the following. * if the avatar is sitting on this object, then we can unsit them. * If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-17/+16
(this took a while to run).
2008-04-20Moved script engine os* commands to OSSL_BuilIn_Commands.cs and ↵Tedd Hansen1-293/+12
OSSL_BuilIn_Commands_Interface.cs where they belong.
2008-04-20* Updates LSL2CS converterTeravus Ovares1-0/+5
* All objects are not touchable by default now * When a script listens for one of the touch events in the state, an object becomes touchable. * All LSL scripts report which events they consume now ** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event. ** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
2008-04-18From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-42/+219
Robust implementations of GetSubString, InsertString, and DeleteSubstring. The existing implementations only worked for arguments consistent with the underlying .Net implementation and did not accomodate LL's negative indices.
2008-04-18Thank you, Melanie, very kindly for a patch that : Charles Krinke1-2/+15
Implements llGetInventoryKey with perms checking. Adds perms checking to llGetTexture, adds type checking to llStartSound, allows llSetTexture to reference textures by name
2008-04-17From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-5/+98
This provides fixed implementations for llListReplaceList and llList2CSV. llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-16* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-2/+47
* Here's an updated ListInsertList implementation, tested to be LL compliant.
2008-04-16* From Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-4/+23
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-15Fixed LSL State support.Teravus Ovares1-1/+9
* Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass
2008-04-11From: Kurt Taylor <krtaylor@us.ibm.com>Sean Dague1-11/+16
Attached is the second half of the fix for 821 - this is the null reference check for llDetectedName and the other *Detected* function.
2008-04-10Thank you Justin for a patch that solves the issue of: When a sensor detects ↵Charles Krinke1-4/+14
an Avatar, and llDetectedOwner is called on the script, the current implementation attempts to find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10moved fields to properties for UserDataProfile, which wasSean Dague1-1/+1
actually a little more work than I expected given the copious use of out params.
2008-04-09* Put explicit braces in for single line blocksJustin Clarke Casey1-3/+9
2008-04-09From: Michael Osias <mosias@us.ibm.com>Justin Clarke Casey1-6/+19
"This is llDetectedKey for touch_start - it is already implemented for sensor." Thanks Michael
2008-04-09From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-3/+9
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions." Thanks!
2008-04-06* Various terrain engine fixesAdam Frisby1-0/+19
* Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
2008-04-04From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-21/+0
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-02from krtaylorSean Dague1-3/+6
Fixe for Mantis 821
2008-03-30**Big ass update warning**Adam Frisby1-0/+6
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-29Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. ↵alondria1-6/+7
Should fix Mantis 838
2008-03-28From: Michael Osias <mosias@us.ibm.com>Sean Dague1-3/+176
This patch implements llMessageLinked. I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for link sets of more than 1 prim, or 0 for a single object, since according to: http://rpgstats.com/wiki/index.php?title=LlMessageLinked linksets with 2 or more prims start the link numbering at 1, but a single prims link number is 0.
2008-03-25* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares1-2/+4
* It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
2008-03-24* Added llApplyImpulse in the local frame.Teravus Ovares1-9/+11
2008-03-24Implements llGetInventoryPermMask()alondria1-2/+22
2008-03-24Modified llGetInventoryName() so it indexes inventory in the same manner the ↵alondria1-3/+3
LL grid does. (Thanks Teravus for pointing this out.)
2008-03-24Implements llGetInventoryName() - the order is based upon inventory key, ↵alondria1-1/+17
which probably doesn't match 100% with LL's grid.
2008-03-24Implements llGetInventoryNumber()alondria1-2/+9
2008-03-24Implements llGetInventoryType()alondria1-2/+8
2008-03-24Implements llGetInventoryCreator()alondria1-1/+9
2008-03-23Implements llGetParcelPrimOwners()alondria1-2/+12
2008-03-23Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, ↵alondria1-6/+83
llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
2008-03-23Fix llParseString2List bug when separator is longer than 1 character.Jeff Ames1-10/+8
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen1-1/+1