aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey2008-04-161-2/+47
| | | | | | | * Here's an updated ListInsertList implementation, tested to be LL compliant.
* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey2008-04-161-13/+60
| | | | | | | This fixes a bug in LSL_Types.list GetSublist that was manifest if the source list was empty and negative indices were used.
* * From Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-04-161-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
* Fixed LSL State support.Teravus Ovares2008-04-153-35/+57
| | | | | | | | * 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
* From: Kurt Taylor <krtaylor@us.ibm.com>Sean Dague2008-04-111-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.
* Thank you Justin for a patch that solves the issue of: When a sensor detects ↵Charles Krinke2008-04-101-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.
* moved fields to properties for UserDataProfile, which wasSean Dague2008-04-102-2/+2
| | | | | | | actually a little more work than I expected given the copious use of out params.
* * Put explicit braces in for single line blocksJustin Clarke Casey2008-04-091-3/+9
|
* From: Michael Osias <mosias@us.ibm.com>Justin Clarke Casey2008-04-092-7/+23
| | | | | | | "This is llDetectedKey for touch_start - it is already implemented for sensor." Thanks Michael
* From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-04-091-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!
* * Various terrain engine fixesAdam Frisby2008-04-063-0/+36
| | | | | | * Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
* From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-04-041-21/+0
| | | | | | Patch to remove commented NotImpemented calls from within implemented script functions
* from krtaylorSean Dague2008-04-021-3/+6
| | | | | | Fixe for Mantis 821
* **Big ass update warning**Adam Frisby2008-03-304-0/+37
| | | | | | | | * 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.
* Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. ↵alondria2008-03-291-6/+7
| | | | Should fix Mantis 838
* fixes mantis #778 and shoots himself for making such a mistake to begin ↵MW2008-03-281-2/+2
| | | | with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows.
* From: Michael Osias <mosias@us.ibm.com>Sean Dague2008-03-281-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.
* Comment out unused private methods.Jeff Ames2008-03-254-63/+68
|
* Fix a couple more warnings.Jeff Ames2008-03-251-5/+5
|
* * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares2008-03-251-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.
* * Added llApplyImpulse in the local frame.Teravus Ovares2008-03-241-9/+11
|
* Implements llGetInventoryPermMask()alondria2008-03-243-5/+25
|
* Modified llGetInventoryName() so it indexes inventory in the same manner the ↵alondria2008-03-241-3/+3
| | | | LL grid does. (Thanks Teravus for pointing this out.)
* Implements llGetInventoryName() - the order is based upon inventory key, ↵alondria2008-03-241-1/+17
| | | | which probably doesn't match 100% with LL's grid.
* Implements llGetInventoryNumber()alondria2008-03-241-2/+9
|
* Implements llGetInventoryType()alondria2008-03-241-2/+8
|
* Implements llGetInventoryCreator()alondria2008-03-241-1/+9
|
* Implements llGetParcelPrimOwners()alondria2008-03-231-2/+12
|
* Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, ↵alondria2008-03-231-6/+83
| | | | llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
* Fix llParseString2List bug when separator is longer than 1 character.Jeff Ames2008-03-231-10/+8
|
* Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. ↵Jeff Ames2008-03-221-1/+1
| | | | Thanks daTwitch!
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-221-1/+1
|
* Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria2008-03-221-5/+8
|
* Adds in +, -, and / operators for Rotations (and fixes Mantis 671)alondria2008-03-211-0/+17
|
* Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails....alondria2008-03-211-0/+1
|
* Implements llGetObjectDetails()alondria2008-03-213-0/+95
|
* Implements llKey2Name().alondria2008-03-211-1/+12
|
* Implemented llOverMyLand() and correct llGetOwnerKey() to properly return ↵alondria2008-03-211-4/+28
| | | | the information for the argument key, opposed to the object the script is in.
* * Converted a large number of ASCII encodings to UTF8.Adam Frisby2008-03-211-1/+0
| | | | | | | * We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work.
* * Fix for #499: linked primsets don't rotate properly when using a door ↵Teravus Ovares2008-03-211-0/+2
| | | | | | | | script that works OK on SL * Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
* * Patch to add llSetLinkPrimitiveParams stubJustin Clarke Casey2008-03-193-0/+12
| | | | | | * Thanks krtaylor
* * Documentation patch from krtaylor. Thanks!Justin Clarke Casey2008-03-191-0/+5
|
* Fixed some comparisons of LLUUIDs to null.Jeff Ames2008-03-191-3/+3
| | | | | Thanks to DrSchofld for pointing this out.
* Formatting cleanup.Jeff Ames2008-03-181-3/+3
|
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-181-2/+2
|
* * Applied Grumly57 patch for #781; Thanks, Grumly!lbsa712008-03-183-21/+21
|
* Patch from DrSchofld (IBM). In his own wordsJustin Clarke Casey2008-03-181-2/+2
| | | | | | | | structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs. [yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
* Formatting cleanup.Jeff Ames2008-03-1856-1499/+1439
|
* Fix a few mono compiler warnings. Minor cleanup.Jeff Ames2008-03-171-1/+1
|
* From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague2008-03-173-90/+370
| | | | | | | | | | | | | | | | | | | | | | | | | Here's a diff of the changes I have made in support of the following LSL script functions. llSetScriptState llGetScriptState llCSV2List llListRandomize llList2ListStrided llListFindList llResetOtherScript llGetScriptName It was necessary to modify ExecutorBase in support of the ScriptState implementations. I also modified SceneObjectPart and SceneObjectPart.Inventory to corrects a quoting mismatch in the commentary that through off live parsing of the files. I also simplified the State definition at the start of BuiltinCommands.