aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix the error i got sidetracked from :/Melanie Thielker2008-12-221-1/+1
|
* Fix "from" link number in single prims to 0. Previously, this was 1,Melanie Thielker2008-12-221-1/+5
| | | | | | | causing sime scripts that expected the first param of the link_message to match llGetLinkNumber() to fail in single prims
* Thanks to M. Igarashi and nlin for a patch that improves conformance of the ↵Dahlia Trimble2008-12-221-36/+49
| | | | funcion llAxes2Rot()
* An initial implementation of llMinEventDelay in XEngine.idb2008-12-211-1/+9
| | | | | | Not implemented yet in DotNetEngine. Fixes Mantis #2830
* Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2008-12-201-1/+1
| | | | | | | | | | | | | | On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
* Make scripted item and folder gives pop up a "accept, decline" messageMelanie Thielker2008-12-141-6/+54
| | | | | | and allow deletion of the just received item.
* Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.idb2008-12-141-3/+3
| | | | | | It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS. Fixes Mantis #2783 and #2162
* * Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares2008-12-141-5/+7
| | | | | | | ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-111-17/+17
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2008-12-091-4/+15
| | | | | | | | | | | | The attached patch ads an OpenSim.ini option (AutomaticLinkPermission) which when enabled makes PERMISSION_CHANGE_LINKS to be granted to scripts by default. When enabled llGetPermissions will always return it as granted and llCreateLink//llBreakLink will succeed without doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS. The patch also fixes a minor bug in llCreateLink related to a potential dereference of a null client object.
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-091-1/+7
| | | | | | * Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
* Remove null checks on structsidb2008-12-091-6/+6
|
* Implementation of the llDetectedTouch* functionsidb2008-12-051-12/+42
|
* Minor formatting cleanup.Jeff Ames2008-12-031-3/+3
|
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-12-031-1/+4
| | | | | | | | The attached patch fixes the bug where llCreateLink will cause a null dereference if the avatar who gave link permission for the object is no longer logged in.
* * Apply http://opensimulator.org/mantis/view.php?id=2741Justin Clarke Casey2008-12-021-1/+1
| | | | | | | * Fix llTriggerSound() * Thanks Godfrey!
* Remove duplicated avatar height calculation in lsl functions.idb2008-12-011-19/+3
| | | | | Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
* Add the lifetime management back into the LSL_Api, since that will alsoMelanie Thielker2008-11-291-2/+10
| | | | | | expire and take the scripts down
* ScriptSponsor and LSL_Api are now MarshalByRefObjectTedd Hansen2008-11-261-1/+1
|
* Attempt to give script objects a proper lease time (DNE and xengine). Relies ↵Tedd Hansen2008-11-261-11/+3
| | | | on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
* * Removed more locks on EntitiesAdam Frisby2008-11-241-4/+1
| | | | | | | * Entities should now in theory be lock-free externally. * Other properties may cause blocking however[?]. * ScenePresence maintains separate locks so isn't fixed by this commit.
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-3/+3
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* Mantis#2656. Thank you kindly, Nlin for a patch that:Charles Krinke2008-11-191-1/+17
| | | | | | Attached patch implements llCollisionSound. Thanks T. Sado.
* * Remove the TransferRequest and hip debugging console output that crept in ↵Justin Clarke Casey2008-11-171-3/+2
| | | | recently
* * Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey2008-11-171-22/+0
| | | | | | | | DeleteGroup() (except that is didn't lock the parts, which was a potential race condition) * Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-8/+8
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* Make object chat come from the root prim's center, rather than trying to makeMelanie Thielker2008-11-171-3/+3
| | | | | | it come from a child prim position.
* Megapatch. Completely remove the multiparameter IM methods. Remove the insecureMelanie Thielker2008-11-161-1/+0
| | | | | | fromAgentSession field.
* Reinstate the IM sending from scripts and from autoreturnMelanie Thielker2008-11-161-3/+8
|
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-161-1/+1
|
* Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker2008-11-161-1/+2
| | | | | | | | the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
* - Change llSetRot behavior so it matches the SL behavior (in particular, theHomer Horwitz2008-11-151-14/+38
| | | | | | | rather strange behavior if used in a child prim). - Small refactoring.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-151-2/+2
|
* Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker2008-11-141-0/+3
| | | | | | | inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-141-3/+0
| | | | | | | | 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-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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).
* 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.
* 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
|
* 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
* Fix llParseString* to create LSLStrings. This makes llListFindList workMelanie Thielker2008-11-081-19/+19
| | | | | | on lists created by parsing
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-081-2/+2
|
* Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.Homer Horwitz2008-11-061-0/+3
| | | | | | | As those aren't viewer-initiated TPs, the viewer has to be informed. This should fix Mantis #2351 and #2397.
* * 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!
* * 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