UbitUmarov
8b1a174430
****DANGER**** try to make LSL_Types.key to work. bin/ScriptEngines contents must be deleted to recompile scripts. Needs more testing on all uses of key type ****DANGER****
2016-09-21 14:04:23 +01:00
UbitUmarov
ddc2f2ccd3
mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing
2016-08-28 08:45:09 +01:00
UbitUmarov
78fa544f0d
experimental function. Results still too volatile to be usefull
2016-08-27 19:25:47 +01:00
UbitUmarov
b2386b8d0d
llCollisionSound(,value) back to disable all sounds. new osCollisionSound(..). allows defualt sounds with volume
2016-08-27 16:38:29 +01:00
UbitUmarov
a4caedceae
rename a few things to reduce confusion between regions wold location and grid location (a lot more elsewhere)
2016-07-31 01:56:44 +01:00
UbitUmarov
ec8101a24a
remove references to RegionCombinerModule
2016-07-28 00:34:16 +01:00
UbitUmarov
4b832f0f8e
add osGetHealRate(avatarkey) and osSetHealRate(avatarkey, healrate); healrate from 0 (disables auto heal) to 100 (maybe too fast) % per second. (untested)
2016-07-25 02:05:53 +01:00
UbitUmarov
2bb467e358
add osSetHealth() value from 1 to 100; (mantis 7973)
2016-07-24 16:31:29 +01:00
UbitUmarov
ac72598c6b
add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value)
2016-07-04 08:29:26 +01:00
UbitUmarov
a08c354a07
fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it.
2016-06-28 18:14:30 +01:00
Melanie Thielker
48915377a6
Correct spelling and grammar, thanks Mata Hari
2016-05-30 19:04:19 +02:00
Mandarinka Tasty
77af32cdbf
Enhancement of osRegionRestart
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-05-30 15:58:39 +02:00
Melanie Thielker
e8b46023e4
Add osRequestURL and osRequestSecureURL with an options list.
...
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
2016-03-16 20:04:52 +01:00
UbitUmarov
ee15c51ba4
add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active.
2016-01-01 23:41:25 +00:00
UbitUmarov
b7ea5c4967
a few code cosmetic changes
2015-12-25 10:43:51 +00:00
Melanie Thielker
5f18f2ce6a
More EntityTransferContext plumbing
2015-11-01 19:37:14 +01:00
Melanie Thielker
69585a4824
More plumbing of the EntityTransferContext (not yet complete)
2015-11-01 19:11:14 +01:00
UbitUmarov
feb78b2910
add several options for NPC creation so abusive use can be reduced (restrictive by default) UNTESTED
2015-09-30 02:45:11 +01:00
UbitUmarov
1124d14eb0
remove some restrictions on NPCs creation
2015-09-29 22:15:56 +01:00
UbitUmarov
3e9b326fcc
clean some spacing issues
2015-09-29 21:44:25 +01:00
UbitUmarov
fb69661bb9
... ossl merge issue
2015-09-28 16:40:55 +01:00
UbitUmarov
a11edceb00
seems to compile ( tests comented out)
2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af
bad merge?
2015-09-01 14:54:35 +01:00
Melanie
7633ebf36f
Add explicit initialization because mono 3 doesn't like what mono 2 allows
2015-08-19 23:18:40 +02:00
Melanie Thielker
662b59af83
Convert the lsl list type into a struct. EXPERIMENTAL! This may affect
...
the llSetPrimitiveParams family of functions adversely. Please test!
2015-08-19 23:14:11 +02:00
Melanie Thielker
c53f732163
Change the IScriptApi back to it's original form, removing XEngine
...
specific additions that should not have been there in the first place.
Sleeping and time measurement are now completely internal to XEngine
2015-08-17 21:46:30 +02:00
Melanie Thielker
ee7debcca6
Revert "When scripts are sleeping, don't count that as execution time"
...
The approach is good but the way it is written breaks the architecture.
Rewrite follows.
This reverts commit a568f06b7f
.
2015-08-17 18:11:45 +02:00
Oren Hurvitz
a568f06b7f
When scripts are sleeping, don't count that as execution time
...
Sleeping doesn't use the CPU.
2015-08-11 08:44:27 +01:00
Oren Hurvitz
2153a01cc7
Have osAvatarName2Key check the cache first, even for foreign users
...
Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
2015-08-07 11:34:52 +03:00
Christopher
86c426e587
create osGetAvatarHomeURI
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-04 18:09:13 +02:00
Christopher
b5be5ca490
Make osAvatarName2Key() able to get names from unknown HG users
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-04 18:08:54 +02:00
Christopher
bccf785665
osKey2Name returns now correct values for HG users who are not on the region.
...
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-08-02 09:17:50 +01:00
dahlia
5d3c327e93
Add a new os function "osGetGender()"
2015-05-29 23:02:12 -07: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
Robert Adams
07dead7dcb
varregion: any conversions of use of Constants.RegionSize converted into
...
Util.cs routines to convert region coords to and from world coords or handles.
2015-03-29 14:25:12 -07: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
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
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
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
Vegaslon
79a4d1ea8d
Implements osForceSit(string avatar) & overload osForceSit(string avatar, 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-11 00:04:25 +01:00
Justin Clark-Casey (justincc)
29a05cdeb5
Change thread of osForceAttachToOvtherAvatarFromInventory to VeryHigh from Severe
...
It fits much better in this category.
2014-10-08 23:35:25 +01:00
UbitUmarov
f95bb53371
remove LockItemsForRead(false) without previus call with true
2014-09-21 23:02:02 +01:00
Melanie Thielker
159fcbf150
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
...
Conflicts:
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
2014-06-21 00:39:55 +02:00