aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Assorted spring cleanings.Adam Frisby2008-05-013-5/+6
|
* * Applying Mantis#1097 - Thanks Xantor!Adam Frisby2008-05-011-3/+6
| | | | | | - Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding) - Implementation of llAngleBetween
* * Sometimes you know, you do something really stupid.Adam Frisby2008-04-305-6/+6
| | | | | * This is one of those times (should fix build)
* * Patch by Melanie. Implements proper objectflags on child objects. Thanks ↵Teravus Ovares2008-04-302-6/+6
| | | | | | | Melanie! RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
* Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares2008-04-3011-339/+684
| | | | | | | 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.
* * Applying Xantor's patch 0001089 - Added llRot2Angle, ↵Teravus Ovares2008-04-293-9/+174
| | | | llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot
* * Applying melanie's List2Vector and List2Rot patch. Added a routine in ↵Teravus Ovares2008-04-292-2/+8
| | | | 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)
* wrap a common exception that we get on shutdown of the script engine to keepSean Dague2008-04-281-4/+9
| | | | | | people from thinking it's a real issue.
* * Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares2008-04-271-0/+10
| | | | | | | | to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
* Thank you Melanie for implementingCharles Krinke2008-04-262-36/+65
| | | | | llListSort() in linear and strided modes.
* * Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams ↵Adam Frisby2008-04-263-29/+191
| | | | implementations. Thanks Melanie!
* * For info about this commit, see last commit.Teravus Ovares2008-04-261-3/+16
|
* * Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares2008-04-261-0/+5
|
* * Applying mantis#1048 - Patch for osSetRegionWaterHeight()Adam Frisby2008-04-255-3/+20
|
* * Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares2008-04-254-14/+17
|
* * Patch from Melanie. Mantis: 1040. Thanks Melanie!Teravus Ovares2008-04-242-8/+65
| | | | | * Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
* replace hard tabs with 4 spaces to be consistant in the source.Sean Dague2008-04-242-197/+197
| | | | | | Please adjust your editors to not use hard tabs.
* * From: Alan M Webb <awebb.vnet.ibm.com>Justin Clarke Casey2008-04-241-1/+1
| | | | | | * Patch to fix negative indices bug in llListInsertList
* * Fixed an annoying pop-up box when crossing borders.Teravus Ovares2008-04-231-2/+2
|
* * Patch from Melanie. Mantis 0001037: Add various internal plumbing to ↵Teravus Ovares2008-04-233-8/+71
| | | | | | | 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.
* * Fixes lsl scripts with no state_entry event at allTeravus Ovares2008-04-231-1/+39
| | | | | * Fixes event reporting on states with no state_entry in lsl scripts.
* * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares2008-04-231-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
* * Patch #1026 - llDialog support -- Thanks Melanie!Adam Frisby2008-04-231-9/+54
|
* * Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!Adam Frisby2008-04-231-16/+213
|
* * Applying Mantis #1020 (Animations) - Thanks Melanie.Adam Frisby2008-04-231-1/+1
|
* From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-04-231-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
* * Implements llScriptDangerTeravus Ovares2008-04-223-5/+14
| | | | | * Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
* * Implemented NoScript areas (without loosing script state).Teravus Ovares2008-04-221-9/+13
|
* * Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!Teravus Ovares2008-04-221-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.
* * Committing fix for previous build breakage. Sorry!Adam Frisby2008-04-211-2/+2
| | | | | * Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-2142-316/+212
| | | | (this took a while to run).
* Removed some script engine noise from consoleTedd Hansen2008-04-204-8/+8
|
* Moved script engine os* commands to OSSL_BuilIn_Commands.cs and ↵Tedd Hansen2008-04-204-324/+340
| | | | OSSL_BuilIn_Commands_Interface.cs where they belong.
* * Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares2008-04-201-2/+2
|
* * Updates LSL2CS converterTeravus Ovares2008-04-204-1/+209
| | | | | | | | | * 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.
* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey2008-04-181-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.
* Mantis #851, 100% CPU on unhandlet HTTP event. Thanks cmickeyb.Tedd Hansen2008-04-181-9/+21
|
* Thank you, Melanie, very kindly for a patch that : Charles Krinke2008-04-181-2/+15
| | | | | | | Implements llGetInventoryKey with perms checking. Adds perms checking to llGetTexture, adds type checking to llStartSound, allows llSetTexture to reference textures by name
* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey2008-04-171-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.
* * 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.