aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-142-4/+1
| | | | | | | | kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-142-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
* Make scripts in objects rezzed from script compile synchronously to closeMelanie Thielker2008-11-132-36/+14
| | | | | | a timing gap. Still not 100%, but getting there
* From: Alan Webb (alan_webb@us.ibm.com)Dr Scofield2008-11-121-1/+1
| | | | | | | | Fix the broken llSetTimerEvent implementation (sec == 0 was not possible anymore).
* * Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified ↵Teravus Ovares2008-11-121-1/+1
| | | | otherwise.
* Allow gods to terraform without limits. Respect the Allow Others ToMelanie Thielker2008-11-111-1/+1
| | | | | | Terraform flag in land.
* Fix llList2Integer to have the same semantics as an (integer) cast. HandleMelanie Thielker2008-11-111-4/+2
| | | | | | mixed number/letter content properly.
* minor: remove mono compiler warningsJustin Clarke Casey2008-11-101-1/+0
|
* Prevent AO from crashing the sim if the user logs out before the script Melanie Thielker2008-11-101-0/+3
| | | | | | stops
* Add a MinTimerInterval, defaulted at 0.5s, to the scripting configurationMelanie Thielker2008-11-101-0/+5
|
* Script region crossing. This has not user functionality, but lays all theMelanie Thielker2008-11-094-8/+20
| | | | | | groundwork.
* Cause llGetInventoryType to return the asset type, which corresponds withMelanie Thielker2008-11-091-1/+1
| | | | | | the LSL constants.
* Refactor the detectparams variable from 'd' to Charles Krinke2008-11-081-30/+30
| | | | | a more meaningful name of 'detectedParams'.
* Mantis#2583. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-11-081-16/+31
| | | | | | | | | | PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in llSetPrimitiveParams so support for these is in the patch. Also two deprecated functions throw errors. They are changed to behave as in SL: llSetPrimURL - Does nothing except the sleep (currently commented out) & llRefreshPrimURL shouts "llRefreshPrimURL - not yet supported" on the error channel
* Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen2008-11-081-2/+0
| | | | release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
* Fix llParseString* to create LSLStrings. This makes llListFindList workMelanie Thielker2008-11-081-19/+19
| | | | | | on lists created by parsing
* Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker2008-11-081-3/+0
| | | | | | No user functionality yet
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-0814-105/+108
|
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-072-2/+2
| | | | | | Too many fixes to list.
* * Fix test failure in CSCodeGeneratorTest.TestJumps()Justin Clarke Casey2008-11-061-1/+1
| | | | | | | * Need new NoOp(); generated part * Not Homer's fault - this test ain't running under Windows! (needs fixing!)
* Mantis #2571Melanie Thielker2008-11-062-2/+9
| | | | | | Thank you, idb, for a patch that fixes the jump function in LSL.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-061-1/+1
|
* Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.Homer Horwitz2008-11-062-0/+4
| | | | | | | As those aren't viewer-initiated TPs, the viewer has to be informed. This should fix Mantis #2351 and #2397.
* Change threat level of osMakeNotecard to High because of it's griefingMelanie Thielker2008-11-061-50/+53
| | | | | | | | | potential (asset bloat, asset server DOS due to no enforced delay) Formatting cleanup. Change default permissions on the notecard to not include "anyone can copy" and "anyone can move", as they are meaningless on non-prim items.
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-063-1/+60
| | | | | | The following patch implements osMakeNotecard as specified on the OpenSim website
* * Zap the letters that accidentally crept in to the license in ↵Justin Clarke Casey2008-11-051-1/+1
| | | | | | | | EventQueueThreadClass * (damn, Teravus spotted my plan to slowly change all the licenses in OpenSim letter by letter)
* * Apply second patch in http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey2008-11-051-4/+4
| | | | | | | * Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect. * Thanks StrawberryFride!
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-051-20/+14
|
* * Apply http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey2008-11-051-1/+14
| | | | | | | | * This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet have these). * Thanks StrawberryFride
* From: Rob Smart <SMARTROB@uk.ibm.com>Sean Dague2008-11-043-1/+46
| | | | | | | | | | This patch allows an object to directly message another object given its key using the method osMessageObject(key objectUUID,string message). to communicate with an object it must implement the dataserver listener method. The dataserver method is passed the key of the calling object and a string message.
* * Stop a problem in the DotNetEngine event queue thread from immediately ↵Justin Clarke Casey2008-11-041-0/+8
| | | | bringing down the whole sim, though the sim will need a reboot
* * Practise some defensive programming - gracefully terminate the thread if ↵Justin Clarke Casey2008-11-041-2/+2
| | | | there is a problm in the world map module rather than bringing down the whole server.
* Prefix LSL variables which are C# keywords with @ instead of _ when ↵Mike Mazur2008-11-041-1/+1
| | | | translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.
* Mantis #2530. Thank you kindly, Idb for a patch that:Charles Krinke2008-11-031-5/+5
| | | | | | The attached patch changes the casts from explicit to implicit.
* Mantis #2518Melanie Thielker2008-11-012-9/+121
| | | | | | | Thank you, idb, for a patch that fixes the conflicts of lsl identifiers with c# keywords
* * Apply http://opensimulator.org/mantis/view.php?id=2440Justin Clarke Casey2008-11-011-4/+27
| | | | | | | | * The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and <= * Thanks idb!
* * Apply http://opensimulator.org/mantis/view.php?id=2521Justin Clarke Casey2008-11-011-0/+5
| | | | | | * Fix not tests in LSL which require implicit casting (see mantis for an example)
* * refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey2008-11-012-2/+2
| | | | SOP.IsAttachment
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-011-10/+10
|
* From: Chris Yeoh (yeohc@au1.ibm.com)Dr Scofield2008-10-301-0/+12
| | | | | | | | Here's the patch that clamps llGround to using sane values avoiding runtime errors.
* Thank you kindly, NLin for an implementation patchCharles Krinke2008-10-301-2/+23
| | | | | | | for llSetHoverHeight() and llStopHover(). I believe this gets is to less then 50 LSL functions left to implement.
* * Apply http://opensimulator.org/mantis/view.php?id=2492Justin Clarke Casey2008-10-291-1/+1
| | | | | | | * object_rez event should now be sent to all scripts in the prim * Thanks idb!
* * Apply patch in http://opensimulator.org/mantis/view.php?id=2494Justin Clarke Casey2008-10-291-0/+25
| | | | | | | * Introduces missing casts for float, integer, vector, quaterion and string to list * Thanks idb
* minor: indentation correctionsJustin Clarke Casey2008-10-291-45/+45
|
* Mantis #2486Melanie Thielker2008-10-281-2/+7
| | | | | | | Thank you, nlin, for a patch that fixes serialization of vector and quaternion types for script state.
* Thank you kindly, Idb for a patch that solves:Charles Krinke2008-10-271-0/+6
| | | | | | | LSL - Bitwise operators OR and XOR do not work on integer variables
* Thank you kindly, Idb for a patch that solves:Charles Krinke2008-10-271-1/+30
| | | | | | llGetRot and llGetRootRotation return the wrong values when the object is attached
* Thank you kindly, Idb for a patch that solves:Charles Krinke2008-10-261-3/+14
| | | | | | | | | | The following should silently fail when attached, llBreakAllLinks, llBreakLink, llCreateLink. The following should be restricted to avatars in the same sim, llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList. Comment added to the following unimplemented functions, llGetAgentLanguage, llGetAnimation.
* Thank you kindly, Idb for a patch that solves:Charles Krinke2008-10-261-16/+89
| | | | | | | | | | | llGetBoundingBox is completely unimplemented. The attached patch contains a partial implementation for single prim objects and standing, flying and ground sitting avatars. In the case of an avatar sat on an object or multi-prim objects only the bounding box of the root prim is returned. llRezObject and llRezAtRoot ignored any velocity parameter. The attached patch makes use of it if it is not a zero vector.
* Thank you kindly, Ewe Loon for a patch that solves:Charles Krinke2008-10-261-8/+4
| | | | | | | m_ScriptDelayFactor and m_ScriptDistanceFactor are being read from XEngine settings not the settings for the scriptengine being used