aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-20New values returned by llGetEnvTalun1-1/+33
Implements recent changes to llGetEnv region_cpu_ratio hardcoded to 1 region_product_sku hardcoded to OpenSim Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-12Patch llCastRay fully simplified to V3.Magnuz Binder1-212/+217
2015-05-04Revert "Patch llCastRay fully-simplified to V2." for further review.Michael Cerquoni1-15/+14
This reverts commit c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.
2015-05-04Missing constants for llGetObjectDetailsTalun2-0/+33
OBJECT_BODY_SHAPE_TYPE OBJECT_HOVER_HEIGHT OBJECT_LAST_OWNER_ID OBJECT_RENDER_WEIGHT Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04Implement llGetGeometricCenter correctly.Magnuz Binder1-1/+20
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04Patch llCastRay fully-simplified to V2.Magnuz Binder1-14/+15
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-03Implement llCastRay fully, simplified.Magnuz Binder1-1/+759
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto1-1/+1
AssemblyVersion("0.8.2.*")
2015-04-20Allow setting profilecut diff to 0.02 from scripts just like from viewer.Magnuz Binder1-3/+3
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20Implement llGetBoundingBox fully.Magnuz Binder1-42/+447
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-14Temporarily comment out OSSL enabled warning log message.Robert Adams1-1/+1
Added in wrong place. It is printed once per script rather than once per region.
2015-04-14Enable OSSL functions by default using the osslEnable.ini configuration file.Robert Adams1-0/+3
This changes OpenSim.ini.example to, by default, include osslEnable.ini which turns on the OSSL functions and limits who can do which operations.
2015-04-12Add osCheckODE() function so scripts can configure for running with legacy ↵Robert Adams3-0/+21
physics engine. Function returns 'true' of the physics engine is configured to be 'OpenDynamicsEngine'. The presumption is that all other physics engines work the same (like SL) or it is a bug. Does not require ossl functions to be enabled.
2015-04-12Fix llTargetOmega non-physical gain.Magnuz Binder1-0/+3
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-03-22Parameterize sleeps in LSL functions.Magnuz Binder1-64/+123
2015-03-22Allow setting hollow to 99% from scripts just like from viewer.Magnuz Binder1-3/+3
2015-03-22Allow setting holesize to 0.01 from scripts just like from viewer.Magnuz Binder1-4/+4
2015-03-22Allow setting dimple diff to 0.02 from scripts just like from viewer, add ↵Magnuz Binder1-2/+7
clipping and fix old copy-paste error.
2015-03-22viewers can set a minimum distance 0.02 between path cut start and path cut endFreaky Tech1-3/+3
2015-03-05Give llGiveInventory a way to querry Hypergrid visitors so network vendors ↵BlueWall1-2/+6
are able to give items to Hg visitors
2015-03-04Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() ↵Justin Clark-Casey (justincc)1-1/+5
script functions. This is to address an issue where HTTP script functions could make calls to localhost and other endpoints inside the simulator's LAN. By default, calls to all private addresses are now blocked as per http://en.wikipedia.org/wiki/Reserved_IP_addresses If you require exceptions to this, configure [Network] OutboundDisallowForUserScriptsExcept in OpenSim.ini
2015-03-04usability fixes for LSL APIFreaky Tech1-207/+1409
exception based error messages were cryptic for casual users Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04simplify llStringToBase64 and llBase64ToStringFreaky Tech1-2/+3
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04usability fixes for LightShare APIFreaky Tech1-41/+328
exception based error messages were cryptic for casual users Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected osMakeNotecard(string data) text length was calculated wrong. The ↵Freaky Tech1-5/+15
Linden text format defines a byte count in that format. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected script notecard parser. It now handles notecards with inventory as ↵ft@noemail2-9/+13
well. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03Revert "corrected osMakeNotecard(string data) text length was calculated ↵BlueWall1-15/+5
wrong. The Linden text format defines a byte count in that format." This reverts commit b519a5e62ae5ce7d408a8206c06371e1316aa5e8. The function works ok in-world but tests are failing. will revert for now.
2015-03-03Pickup our version number for the functionBlueWall1-1/+1
2015-03-03added llGetEnv() implementationFreaky Tech3-6/+39
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected osMakeNotecard(string data) text length was calculated wrong. The ↵Freaky Tech1-5/+15
Linden text format defines a byte count in that format. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03changed llGetMemoryLimit to return 65536 as for Mono LSLFreaky Tech1-2/+2
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected memory info for scriptsFreaky Tech1-6/+6
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-02-28Correct PRIM_TEXT return value from trans to alpha.Magnuz Binder1-1/+1
2015-02-27Revert "Adding dynamic ossl permission control"BlueWall3-58/+0
This reverts commit a3681f3052fb5e98e31e7051329a5b748a8bdd8d until further testing. Jenkins now fails ossl tests.
2015-02-27Adding dynamic ossl permission controlBlueWall3-0/+58
Add permission by identifying uuid (owner/creator/group) and function. Revoke permission in the same manner. Permission adjustments immediately effect running scripts ability to call os functions. osGrantScriptPermissions(UUID key,string function) Threat Level Severe osRevokeScriptPermissions(UUID key,string function) Threat Level Severe work sponsored by: Rage
2015-02-24llLookAt(): use non-physical rotation if host prim is a physical attachmentdahlia1-1/+1
2015-02-02correct some minor comment misspellings in last commitdahlia1-2/+2
2015-02-02Compute rotation for llLookAt() with local positive X axis pointing downdahlia1-14/+11
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)1-1/+1
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2-10/+14
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-10-11Change name of just added OSSL osForceSit() to osForceOtherSit()Justin Clark-Casey (justincc)3-11/+12
This is somewhat more in keeping with something like osForceAttachToOtherAvatarFromInventory() and potentially allows a separate osForceSit() command with High threat rather than VeryHigh that only sits the owner and can be enabled without enabling sit of other avatars.
2014-10-11minor: spacing cleanup from previous commit 79a4d1eaJustin Clark-Casey (justincc)1-3/+3
2014-10-11Implements osForceSit(string avatar) & overload osForceSit(string avatar, ↵Vegaslon3-0/+64
string target) Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client. Overload method of osForceSit() to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client. This patch is based on previous work from http://opensimulator.org/mantis/view.php?id=4492 and also includes the suggestions from justincc including change of threat level Thank you Christos Lightling.
2014-10-08Change thread of osForceAttachToOvtherAvatarFromInventory to VeryHigh from ↵Justin Clark-Casey (justincc)1-1/+1
Severe It fits much better in this category.
2014-10-04Add LSL transaction_result event.Justin Clark-Casey (justincc)1-0/+2
This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!
2014-09-17Changes to be committed: modified: ↵Edward1-0/+6
OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs modified: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs This solves mantis bug# 5005: llRegionSay script does not trigger ChatFromWorld event. This was solved by adding World.SimChat() command to the llRegionSay() function (per suggestion of DrCuriosity). Additionally this fixes llRegionSayTo() which was also not functioning by adding a World.SimChat() command and adding a new SimChatToAgent() overrided function to Scene.PacketHandlers.cs This is the second patch revision. Corrections made to the position of World.SimChat() and removal of tabs per suggestion by justincc.
2014-09-02Fix recent regression from 473c5594 where camera started to judder on moving ↵Justin Clark-Casey (justincc)1-3/+3
vehicles. Other parts of OpenSimulator are relying on SP.Velocity == 0 for vehicles. So add and use SP.GetWorldVelocity() instead when we need vehicle velocity, along the same lines as existing SP.GetWorldRotation()
2014-08-30As per the LL grid, for attachments make llGetObjectDetails() ↵Justin Clark-Casey (justincc)1-1/+15
OBJECT_VELOCITY return the avatar's velocity and not always Vector3.Zero. This completes http://opensimulator.org/mantis/view.php?id=7177
2014-08-30minor: fix wrong indentation in previous commit 0cc3cdJustin Clark-Casey (justincc)1-1/+1
2014-08-30As per the LL grid, for attachments make llGetObjectDetails() OBJECT_ROT ↵Justin Clark-Casey (justincc)1-4/+13
return the avatar's rotation. This is already the behaviour of OBJECT_POS. Partially satisfies http://opensimulator.org/mantis/view.php?id=7177