Cinder
0fa94f222d
Refactor AgentPreferences so that database operations happen centrally. the opensim way.
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:42 -07:00
Cinder
6f71d5c2c6
Support for Linden AgentPreferences capability and friends (UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13 07:27:01 -07:00
Magnuz Binder
dcf31ee762
Correct constant RCERR_CAST_TIME_EXCEEDED.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-06-01 13:09:05 -04:00
dahlia
5d3c327e93
Add a new os function "osGetGender()"
2015-05-29 23:02:12 -07:00
Cinder
0af17c9484
llListRandomize() wasn't very random
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-05-27 11:15:09 -07:00
Magnuz Binder
abb3bb60a6
Fix mesh cache race condition in llCastRay V3.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-23 08:14:28 -04:00
Magnuz Binder
fdc383a843
Use own mesh cache in llCastRay V3 after throttling.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22 01:21:50 -04:00
Magnuz Binder
7d26815d0e
Throttle llCastRay V3.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-22 01:21:18 -04:00
Talun
d9afe354ac
New values returned by llGetEnv
...
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-20 14:36:54 -04:00
Magnuz Binder
d348f87161
Patch llCastRay fully simplified to V3.
2015-05-12 15:40:42 -07:00
Michael Cerquoni
44b8b9fef6
Revert "Patch llCastRay fully-simplified to V2." for further review.
...
This reverts commit c96ee68953
.
2015-05-04 16:23:16 -04:00
Talun
382e05df14
Missing constants for llGetObjectDetails
...
OBJECT_BODY_SHAPE_TYPE
OBJECT_HOVER_HEIGHT
OBJECT_LAST_OWNER_ID
OBJECT_RENDER_WEIGHT
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 13:18:52 -04:00
Magnuz Binder
5a2440dfdf
Implement llGetGeometricCenter correctly.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 13:14:09 -04:00
Magnuz Binder
c96ee68953
Patch llCastRay fully-simplified to V2.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-04 12:44:58 -04:00
Magnuz Binder
43b8bd0c35
Implement llCastRay fully, simplified.
2015-05-03 23:41:11 -07:00
Diva Canto
da32512ea4
Updated all occurrences of AssemblyVersion("0.8.1.*") to AssemblyVersion("0.8.2.*")
2015-04-29 18:47:17 -07:00
Magnuz Binder
e855c8e711
Allow setting profilecut diff to 0.02 from scripts just like from viewer.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20 16:42:06 -04:00
Magnuz Binder
263db44129
Implement llGetBoundingBox fully.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-20 16:23:34 -04:00
Robert Adams
2e1f5bb011
Temporarily comment out OSSL enabled warning log message.
...
Added in wrong place. It is printed once per script rather than once per region.
2015-04-14 11:30:14 -07:00
Robert Adams
e4e58fad32
Enable OSSL functions by default using the osslEnable.ini configuration file.
...
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-14 07:17:54 -07:00
Robert Adams
9b337b089c
Add osCheckODE() function so scripts can configure for running with legacy 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-12 19:30:55 -07:00
Magnuz Binder
bdb91d0e70
Fix llTargetOmega non-physical gain.
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 14:55:44 -04:00
Magnuz Binder
b51e46ceb8
Parameterize sleeps in LSL functions.
2015-03-22 09:55:02 -07:00
Magnuz Binder
07a75677c3
Allow setting hollow to 99% from scripts just like from viewer.
2015-03-22 09:53:27 -07:00
Magnuz Binder
f63d6ffd81
Allow setting holesize to 0.01 from scripts just like from viewer.
2015-03-22 09:53:13 -07:00
Magnuz Binder
68ed200191
Allow setting dimple diff to 0.02 from scripts just like from viewer, add clipping and fix old copy-paste error.
2015-03-22 09:53:03 -07:00
Freaky Tech
5af82df9b6
viewers can set a minimum distance 0.02 between path cut start and path cut end
2015-03-22 09:52:46 -07:00
BlueWall
375f8cce34
Give llGiveInventory a way to querry Hypergrid visitors so network vendors are able to give items to Hg visitors
2015-03-05 16:58:02 -05:00
Justin Clark-Casey (justincc)
7d3bafd5ab
Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() 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-04 18:27:50 +00:00
Freaky Tech
2d8c1806ca
usability fixes for LSL API
...
exception based error messages were cryptic for casual users
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:45:37 -05:00
Freaky Tech
eacdad8405
simplify llStringToBase64 and llBase64ToString
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:41:49 -05:00
Freaky Tech
061dd3385c
usability fixes for LightShare API
...
exception based error messages were cryptic for casual users
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04 12:36:02 -05:00
Freaky Tech
773df94665
corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 19:06:52 -05:00
ft@noemail
fb48ee1cb6
corrected script notecard parser. It now handles notecards with inventory as well.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 18:39:49 -05:00
BlueWall
c02636b6f3
Revert "corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format."
...
This reverts commit b519a5e62a
.
The function works ok in-world but tests are failing. will revert for now.
2015-03-03 17:42:02 -05:00
BlueWall
b6b1e11238
Pickup our version number for the function
2015-03-03 16:42:42 -05:00
Freaky Tech
7f0995ae31
added llGetEnv() implementation
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:39:00 -05:00
Freaky Tech
b519a5e62a
corrected osMakeNotecard(string data) text length was calculated wrong. The Linden text format defines a byte count in that format.
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:10:09 -05:00
Freaky Tech
0f72773017
changed llGetMemoryLimit to return 65536 as for Mono LSL
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:09:49 -05:00
Freaky Tech
af2bf397b1
corrected memory info for scripts
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03 16:09:41 -05:00
Magnuz Binder
158c3f82f1
Correct PRIM_TEXT return value from trans to alpha.
2015-02-28 00:46:12 +00:00
BlueWall
aeb8a4bf85
Revert "Adding dynamic ossl permission control"
...
This reverts commit a3681f3052
until
further testing. Jenkins now fails ossl tests.
2015-02-27 12:27:10 -05:00
BlueWall
a3681f3052
Adding dynamic ossl permission control
...
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-27 11:05:15 -05:00
dahlia
8333dcf388
llLookAt(): use non-physical rotation if host prim is a physical attachment
2015-02-24 17:16:30 -08:00
dahlia
39754b2dca
correct some minor comment misspellings in last commit
2015-02-02 04:03:04 -08:00
dahlia
1eedc2b4af
Compute rotation for llLookAt() with local positive X axis pointing down
2015-02-02 02:47:47 -08:00
Justin Clark-Casey (justincc)
86367d7219
refactor: Move methods to start a monitored thread, start work in its own 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-25 23:56:32 +00:00
Justin Clark-Casey (justincc)
ec8d21c434
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
...
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
00b23e51ae
Change name of just added OSSL osForceSit() to osForceOtherSit()
...
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-11 00:14:35 +01:00
Justin Clark-Casey (justincc)
5acbbcb33f
minor: spacing cleanup from previous commit 79a4d1ea
2014-10-11 00:10:49 +01:00