aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-03rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵Justin Clark-Casey (justincc)1-1/+1
INPCModule
2011-07-16use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)1-22/+21
2011-07-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)1-1/+16
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)3-15/+172
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.
2011-07-09Fix osMatchString() so that it reports all instance of pattern matches, not ↵Justin Clark-Casey (justincc)1-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!
2011-07-09lsGetWindlightScene() returns raw int value, which makes unable to compare ↵Makopoppo1-2/+3
to another value with llListFindList()
2011-07-09Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo2-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
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-07-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)1-1/+0
the scene presence exists
2011-06-28[PATCH 2/2] [FIX] osGetPrimitiveParams() and osSetPrimitiveParams()Makopoppo1-0/+2
crashes throwing System.NullReferenceException Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-06-28[PATCH] osSetSpeed() will accept float numberMakopoppo3-4/+4
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-06-28[PATCH] Get osGetWindParam() and osSetWindParam() accessibleMakopoppo3-15/+14
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-06-28[PATCH 1/2] Fixed the function names of some OSSL functions shown asMakopoppo1-3/+3
threat-level check error message Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-06-03If an llSensor() is in an attachment, make the detection cone face in the ↵Justin Clark-Casey (justincc)1-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.
2011-05-23Fix Mantis #4429: Allow llGiveInventory to work across sim borders.Melanie1-9/+23
2011-05-22Add stubs for unimplemented lsl functionsBlueWall1-18/+67
2011-05-20Implement llGetLinKNumberOfSides().Justin Clark-Casey (justincc)1-2/+12
Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong.
2011-05-19Add stub for llGetLinkNumberOfSides(integer link)BlueWall1-0/+6
2011-05-14refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)1-2/+2
instance methods since it didn't make sense to use anything other than the instance themselves.
2011-05-14simplify code in llGetParcelMaxPrims() to use existing code in LandObject ↵Justin Clark-Casey (justincc)1-18/+4
rather than duping the algo
2011-05-14Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere ↵Justin Clark-Casey (justincc)1-6/+5
instead of the old 0.22 prims/meter squared fudge factor. Thanks to tglion for this.
2011-04-11minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-10/+4
2011-04-08Add support for the new display name related functions in LSL. This does notMelanie5-4/+97
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.
2011-04-05replace magic numbers in llGetParcelPrimCount() with constantsJustin Clark-Casey (justincc)1-22/+8
2011-04-05switch llGetParcelPrimCount() to use new prim counts moduleJustin Clark-Casey (justincc)1-46/+39
2011-03-31check threat configuration for LSL print()dahlia1-1/+6
2011-03-31implement LSL "print()" API functiondahlia3-1/+13
2011-02-17Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck1-15/+2
osTeleportOwner.
2011-02-17Make osTeleportOwner work in foreign regions by relaxing the restrictions on ↵Marck1-9/+14
teleporting an agent.
2011-02-12minor: add comment explaining that GetRegionsByName needs to stay in ↵Justin Clark-Casey (justincc)1-0/+2
TeleportAgent for its side effects.
2011-02-05For now, reinstate the call to World.GridService.GetRegionsByName() ↵Justin Clark-Casey (justincc)1-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()
2011-02-04Add position to IM sent from llInstantMessage(), to better fulfill client ↵Justin Clark-Casey (justincc)1-1/+1
expectations
2011-02-04Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)1-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
2011-02-04minor: fix indentation, spacing on commit 3585130Justin Clark-Casey (justincc)1-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.
2011-02-04SetTexture_fixunknown1-7/+6
2011-01-28Comment out unused call to GridService in TeleportAgent()Justin Clark-Casey (justincc)1-1/+1
2010-12-20Fix osTeleportAgent and osTeleportOwner for the case that GridService is ↵Marck1-11/+5
used with a storage provider other than NullRegionData.
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2-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.
2010-12-11More OSSL function name normalization, this time for osParcelSetDetails.Marck3-5/+23
2010-12-10Normalization of OSSL function names.Marck3-20/+103
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
2010-11-27Amend GetLinkPrimitiveParams with implementations for PRIM_TEXGEN, ↵Marck1-10/+76
PRIM_BUMP_SHINY, PRIM_FULLBRIGHT, and PRIM_GLOW
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-3/+22
2010-11-20Fix global region coordinates that are delivered by llRequestSimulatorData.Marck1-6/+6
Also did some source code clean-up by replacing literals with constants.
2010-11-17Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)3-2/+30
This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
2010-11-16Fix osTeleportAgent for hypergrid destinations.Marck1-1/+5
Signed-off-by: Melanie <melanie@t-data.com>
2010-11-16Add osTeleportOwner.Marck3-2/+48
This provides the same functionality as osTeleportAgent but without the griefing potential. Region owners need not be concerned about the use of this function because it only allows to do what is already possible with the world map. The intended use is with HUDs. For example, a list of (hypergrid) destinations could be made available for quick access. Signed-off-by: Melanie <melanie@t-data.com>
2010-11-16Can't detach an object from within the script thread because it will throw. ↵Melanie1-6/+14
Use FireAndForget for that.
2010-11-12Add PARCEL_DETAILS_ID to LSLBlueWall2-0/+4
2010-11-03Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie3-0/+22
from a region and allow normal day cycles to be reestablished
2010-11-03When LightShare is enabled, the standard day cycle is bypassed and replaced byMelanie1-0/+1
midday defaults when no specific LightShare profile is set. This prevents LightShare info being send out when the region has no LightShare profile, allowing normal day/night cycles to happen.