aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-1/+13
| | | | | this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
* implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)2011-08-101-0/+9
|
* Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)2011-08-091-10/+41
| | | | | | yet ready for user use. Adds regression test.
* Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2011-08-092-19/+118
| | | | | | | | | | storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
* factor out common notecard caching code from 3 methods.Justin Clark-Casey (justincc)2011-08-091-93/+74
|
* refactor: split out generic parts of osMakeNotecard() into a separate. Add ↵Justin Clark-Casey (justincc)2011-08-081-58/+99
| | | | method doc. Other minor tidies.
* refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify.Justin Clark-Casey (justincc)2011-08-061-20/+7
|
* rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵Justin Clark-Casey (justincc)2011-08-031-1/+1
| | | | INPCModule
* use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)2011-07-161-22/+21
|
* If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)2011-07-151-1/+16
| | | | | | than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
* Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)2011-07-121-13/+153
| | | | I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
* Fix osMatchString() so that it reports all instance of pattern matches, not ↵Justin Clark-Casey (justincc)2011-07-091-3/+3
| | | | | | | just the first one. This is a slight adaptation of the patch in http://opensimulator.org/mantis/view.php?id=4568 which doesn't apply directly since the underlying code was changed by earlier makopoppo patches. Thanks makopoppo!
* lsGetWindlightScene() returns raw int value, which makes unable to compare ↵Makopoppo2011-07-091-2/+3
| | | | to another value with llListFindList()
* Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo2011-07-092-30/+31
| | | | | | | | | | | | | | | | | | llListFindList() which always returns -1 when you compare with the list from those functions. *llCSV2List *llGetAnimationList *llGetLinkPrimitiveParams *llGetObjectDetails *llGetParcelDetails *llGetParcelPrimOwners *llGetPrimitiveParams *GetLinkPrimitiveParamsEx *osGetAgents *osMatchString *osGetLinkPrimitiveParams *osGetPrimitiveParams *osGetAvatarList
* Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)2011-07-091-1/+1
| | | | (setting SculptData is done through the property)
* Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)2011-07-021-1/+0
| | | | the scene presence exists
* [PATCH 2/2] [FIX] osGetPrimitiveParams() and osSetPrimitiveParams()Makopoppo2011-06-281-0/+2
| | | | | | crashes throwing System.NullReferenceException Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH] osSetSpeed() will accept float numberMakopoppo2011-06-281-2/+2
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH] Get osGetWindParam() and osSetWindParam() accessibleMakopoppo2011-06-281-3/+3
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH 1/2] Fixed the function names of some OSSL functions shown asMakopoppo2011-06-281-3/+3
| | | | | | threat-level check error message Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* If an llSensor() is in an attachment, make the detection cone face in the ↵Justin Clark-Casey (justincc)2011-06-031-1/+10
| | | | | | | direction of the avatar, not the relative rotation of the attachment towards the avatar. This is effectively a copy/paste from 459323a, which should be refactored sometime. This seems the obvious problem from field reports but I have not tested the fix myself. Feedback welcome.
* Fix Mantis #4429: Allow llGiveInventory to work across sim borders.Melanie2011-05-231-9/+23
|
* Add stubs for unimplemented lsl functionsBlueWall2011-05-221-18/+67
|
* Implement llGetLinKNumberOfSides().Justin Clark-Casey (justincc)2011-05-201-2/+12
| | | | Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong.
* Add stub for llGetLinkNumberOfSides(integer link)BlueWall2011-05-191-0/+6
|
* refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)2011-05-141-2/+2
| | | | instance methods since it didn't make sense to use anything other than the instance themselves.
* simplify code in llGetParcelMaxPrims() to use existing code in LandObject ↵Justin Clark-Casey (justincc)2011-05-141-18/+4
| | | | rather than duping the algo
* Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere ↵Justin Clark-Casey (justincc)2011-05-141-6/+5
| | | | | | instead of the old 0.22 prims/meter squared fudge factor. Thanks to tglion for this.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-04-111-10/+4
|
* Add support for the new display name related functions in LSL. This does notMelanie2011-04-082-4/+71
| | | | | | implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name.
* replace magic numbers in llGetParcelPrimCount() with constantsJustin Clark-Casey (justincc)2011-04-051-22/+8
|
* switch llGetParcelPrimCount() to use new prim counts moduleJustin Clark-Casey (justincc)2011-04-051-46/+39
|
* check threat configuration for LSL print()dahlia2011-03-311-1/+6
|
* implement LSL "print()" API functiondahlia2011-03-311-1/+7
|
* Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck2011-02-171-15/+2
| | | | osTeleportOwner.
* Make osTeleportOwner work in foreign regions by relaxing the restrictions on ↵Marck2011-02-171-9/+14
| | | | teleporting an agent.
* minor: add comment explaining that GetRegionsByName needs to stay in ↵Justin Clark-Casey (justincc)2011-02-121-0/+2
| | | | TeleportAgent for its side effects.
* For now, reinstate the call to World.GridService.GetRegionsByName() ↵Justin Clark-Casey (justincc)2011-02-051-1/+3
| | | | | | commented out in 933f47e Even though we don't use the results, just getting the regions may have side effects in making hypergrid links available for the later World.RequestTeleportLocation()
* Add position to IM sent from llInstantMessage(), to better fulfill client ↵Justin Clark-Casey (justincc)2011-02-041-1/+1
| | | | expectations
* Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)2011-02-041-1/+8
| | | | | | | llInstantMessage() to stop this crashing viewer 2.4.0 (1.23.5 was fine with this). We're putting in a string of format "<region name><x pos floor int><y pos floor int><z pos floor int> which appears to be the expected value. This resolves http://opensimulator.org/mantis/view.php?id=5356
* minor: fix indentation, spacing on commit 3585130Justin Clark-Casey (justincc)2011-02-041-8/+8
| | | | | this previous commit tries to look up the texture by name first before just using the uuid. this allows correct resolution of inventory textures which have uuids as names.
* SetTexture_fixunknown2011-02-041-7/+6
|
* Comment out unused call to GridService in TeleportAgent()Justin Clark-Casey (justincc)2011-01-281-1/+1
|
* Fix osTeleportAgent and osTeleportOwner for the case that GridService is ↵Marck2010-12-201-11/+5
| | | | used with a storage provider other than NullRegionData.
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-132-34/+56
| | | | | | | Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
* More OSSL function name normalization, this time for osParcelSetDetails.Marck2010-12-111-3/+15
|
* Normalization of OSSL function names.Marck2010-12-101-9/+62
| | | | | | | | | | | | | | | | | Added the following replacement functions for compliance to the OSSL standards stated on the wiki: osGetTerrainHeight osSetTerrainHeight osGetSunParam osSetSunParam osSetPenColor The functions that do not comply to the standard give a warning when used but work normally otherwise. The graphics primitive drawing command "PenColor" has also been added as well as dynamic texture parameter "bgcolor" as an alternative to "bgcolour". The following two functions have been renamed because they are not enabled yet aynway: osWindParamSet => osSetWindParam osWindParamGet => osGetWindParam
* Amend GetLinkPrimitiveParams with implementations for PRIM_TEXGEN, ↵Marck2010-11-271-10/+76
| | | | PRIM_BUMP_SHINY, PRIM_FULLBRIGHT, and PRIM_GLOW
* Change all restarting to use the restart module. Remove hardcoded behaviorMelanie2010-11-251-3/+22
|
* Fix global region coordinates that are delivered by llRequestSimulatorData.Marck2010-11-201-6/+6
| | | | Also did some source code clean-up by replacing literals with constants.