aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Some more work on refactoring configs;lbsa712009-04-171-1/+1
| | | | | | | * Moved the constants out into a separate DefaultConfig * Pulled configMember up * Some minor CCC
* Actually remove the script if it tries to remove itself.Melanie Thielker2009-04-121-1/+4
| | | | | | Fixes Mantis #2929
* Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker2009-04-111-0/+1
| | | | | | | | This is sent to all root prims of all attachments of an avatar when the animation state changes. llGetAnimation() can thenbe used to find the new movement animation. This eliminates the need for fast timers in AOs
* Introduce IXmlRpcRouter, an interface that allows registering XMLRPCMelanie Thielker2009-04-101-0/+3
| | | | | | | UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
* Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler.Melanie Thielker2009-04-101-2/+2
| | | | | | | Committed with comment changes. Fixes Mantis #3412
* * Apply http://opensimulator.org/mantis/view.php?id=3432Justin Clarke Casey2009-04-101-3/+5
| | | | | | | * Make llGroundSlope() return correct results * Thanks aduffy70!
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-04-093-0/+53
| | | | | | | | | | | The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
* Correct unit test for llAngleBetween()Dahlia Trimble2009-04-081-2/+2
| | | | | Reinstate patch for Mantis #3007
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-04-071-12/+11
|
* * Remove unnecessary build dependencies on the ExamplemoneyModule stub. Teravus Ovares2009-04-071-1/+0
| | | | | (??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
* * Apply http://opensimulator.org/mantis/view.php?id=3406Justin Clarke Casey2009-04-071-0/+2
| | | | | | | * Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
* temporarily revert llanglebetween patch until unit test can be updated - ↵Dahlia Trimble2009-04-071-2/+2
| | | | affects Mantis #3007
* Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers ↵Dahlia Trimble2009-04-071-1/+4
| | | | | | | greater then Pi Radians. Also modified to use the system constant for Pi and prevent negative results.
* Add copyright headers, formatting cleanup.Jeff Ames2009-04-061-19/+19
|
* Thanks BlueWall for a patch that adds Hypergrid dynamic linking to ↵diva2009-04-051-0/+20
| | | | osTeleportAgent. Fixes mantis #3408.
* Thanks jonc, for a patch that adds rendering of classic clouds.Homer Horwitz2009-04-041-1/+12
| | | | | First part of Mantis #964, the necessary clouds image will follow separately.
* Correct llSetPrimitiveParams to check for a texture in inventory when ↵idb2009-04-021-17/+17
| | | | | | | | | setting the sculpt map. This Fixes Mantis #3331 Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
* * Refactored out and de-duplicated Base64ToString(string)lbsa712009-03-311-8/+2
| | | | | * Fixed minor typo
* Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-313-1/+65
| | | | | | | | | | | | With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed.
* Update svn properties, add copyright header, formatting cleanup.Jeff Ames2009-03-312-29/+28
|
* Thank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorldDahlia Trimble2009-03-291-2/+60
|
* * This updates LibOMV to the current release 0.6.0 on March 19 2009Teravus Ovares2009-03-271-1/+1
| | | | | | * Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder. This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
* - adding osGetAgents() which returns a list of all avatars in the regionDr Scofield2009-03-263-46/+79
| | | | | | | | in which the script is running. - found a bag of space characters under my desk, thought i'd donate them to the JSON OSSL function (aka clean up)
* Change llGetOwnerKey to use another overload of GetSceneObject.Melanie Thielker2009-03-241-1/+1
| | | | | | Fixes Mantis #3326
* Thank you, mcortez, for patch to add functionality to the sun module.Melanie Thielker2009-03-203-0/+114
| | | | | | Fixes Mantis #3313
* * Apply http://opensimulator.org/mantis/view.php?id=3311Justin Clarke Casey2009-03-181-10/+22
| | | | | | | * Store script timers in a dictionary rather than a list to make unset much more efficient * Thanks dslake
* Fixed the looping on llParcelMediaCommandList, now PARCEL_MEDIA_COMMAND_PLAY ↵MW2009-03-171-2/+13
| | | | will make the media play only once like its meant to, and PARCEL_MEDIA_COMMAND_LOOP can be used to make it loop.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-03-171-5/+10
| | | | | | | | | | | | | | | | Attached is a patch which enabled through an OpenSim.ini option the ability to read long notecard lines. Currently although the data is read from the notecard it is truncated at 255 characters (same as for the LL servers. This patch allows the setting of that limit to a different value. ; Maximum length of notecard line read ; Increasing this to large values potentially opens ; up the system to malicious scripters ; NotecardLineReadCharsMax = 255 this allows for save/restore functionality using notecards without having to worry about very short line length limits.
* Fixes Mantis #3294. Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-03-151-2/+40
| | | | | | | | | Attached is a patch which provides osAvatarPlayAnimation() the ability to also trigger animations contained within the same prim as the script, as llStartAnimation() does. (It also modifies osAvatarStopAnimation(), otherwise the script wouldn't be able to stop animations it had started.)
* Thank you, mcortez, for a patch that fixes a number of long standingMelanie Thielker2009-03-133-0/+34
| | | | | | | issues with the sun module. Fixes Mantis #3295
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-111-1/+3
| | | | | | | * In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
* Limit the message length from llInstantMessage to 1024 characters ↵idb2009-03-071-1/+5
| | | | | | | | http://wiki.secondlife.com/wiki/LlInstantMessage Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator. Fixes Mantis #3244
* Added the ability to set User-Agent in llHTTPRequest. No new default value ↵idb2009-03-071-0/+3
| | | | | | | has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest Fixes Mantis #3143
* Update svn properties, minor formatting cleanup.Jeff Ames2009-03-071-14/+14
|
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-16/+13
| | | | | | | | | | llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, and it should recalculate the absolute height to hover at as an object moves to reflect the current ground/water height under it. Correctly implementing required adjusting the Physics interfaces and implementing at the physics plug-in level. The attached is a patch that correctly implements llSetHoverHeight() including updates to the ODE physics plug-in.
* * refactor: Remove GetLandOwner function from SceneJustin Clarke Casey2009-03-062-29/+34
| | | | | | * Simplify since the land is never null
* * Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey2009-03-051-12/+9
| | | | (which is used in other contexts)
* * refactor: move media and music url setting from scene into LandObjectJustin Clarke Casey2009-03-052-4/+6
|
* Fixes Mantis #3255. Thank you kindly, MCortez, for a patch that:Charles Krinke2009-03-051-9/+8
| | | | | | | | | | Changes to IWindModule interface: Change from assuming a single array of 256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3 * Changed llWind() to use new lookup method of IWindModule * Moved logic for determining the wind at a given point in the data array from llWind() to the Wind Module itself.
* Fixes Mantis #3194. Thank you kindly, Godfrey for a patch that:Charles Krinke2009-03-051-1/+19
| | | | | | fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim containing the script, rather than the specified child prim
* Fixes Mantis #3253. Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-03-051-1/+1
| | | | | | Corrects the incomplete implementation of llXorBase64StringsCorrect() so that it returns the proper reversible result.
* After another heroic and bloody battle, OpenSim Dino Expedition 1, killed ↵MW2009-03-023-22/+0
| | | | off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
* This adds a new osGetAgentIP function with threat level set to High. ItSean Dague2009-02-263-0/+38
| | | | | | | isn't tested, but it doesn't break anything else. The reason for this function is to let in world tools be used to coordiante out of world network services that need access to client ip addresses.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-226-24/+31
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* Refactor log4net logger handling in script engine. (#3148)Jeff Ames2009-02-222-2/+4
|
* Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-211-1/+1
| | | | | | Solves the Object-Key problem when using llHTTPRequest()
* Add copyright headers. Minor formatting cleanup.Jeff Ames2009-02-211-2/+2
|
* Thank you, robsmart, for a patch that allows the shard to be set.Melanie Thielker2009-02-211-1/+9
| | | | | | | | The built-in default is OpenSim, unless a user server url is given, then that is used, unless "shard" is also goven, then shard takes precedence. The defult in OpenSim.ini is "OpenSim" for compatibility.
* * Consistently lock part.TaskInventory as pointed out in ↵Justin Clarke Casey2009-02-201-167/+350
| | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=3159 * Not locking causes enumeration exceptions as described in this matis * part.TaskInventory needs to be locked for every access as it's a dictionary * Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is cloned instead
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-183-0/+25
| | | | | | | | | | | | | | The attached patch implements osGetDrawStringSize that looks like: vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize) in LSL. It is meant to be used in conjunction with the osDraw* functions. It returns accurate information on the size that a given string will be rendered given the specified font and font size. This allows for nicely formatted and positioned text on the generated image.