UbitUmarov
fb2380efd6
fix handling of materials maps clear and total removal with SLSL
2020-02-09 19:14:17 +00:00
UbitUmarov
b97237b513
missed another file
2020-02-08 16:31:23 +00:00
UbitUmarov
76987fb647
... osSetLinkStandTarget
2020-01-25 15:51:36 +00:00
UbitUmarov
868c05fdf6
why not also osGetLinkStandTarget
2020-01-25 15:29:59 +00:00
UbitUmarov
004cab9289
add osGetLinkSitActiveRange
2020-01-25 14:24:53 +00:00
UbitUmarov
64c7e1de5b
add osSetLinkSitActiveRange
2020-01-25 13:32:52 +00:00
UbitUmarov
7adaede14a
mantis 8634: add osSetSitActiveRange(float range) , osSetStandTarget(vector feetAproxPosition) and respective get functions. range <0 disables sits on the prim, = 0 uses region default,feetAproxPosition is in prim local frame. <0,0,0> disables it. Still no persistance. feedback required!
2020-01-22 18:23:35 +00:00
UbitUmarov
7bdc408cac
change some lsl flag constants to Hexa
2020-01-07 14:51:07 +00:00
UbitUmarov
052e4a060c
mantis 8632: stop trigering Changed on just scale checks
2019-12-03 14:27:31 +00:00
UbitUmarov
2a508edcb4
YEngine: change some startup log messages
2019-11-22 07:42:00 +00:00
UbitUmarov
943d0935a6
YEngine, change default number of exec threads to 2 of priority Normal. Let the threads priority a option on ini files
2019-11-22 07:01:17 +00:00
UbitUmarov
d5f918f945
Oooopss
2019-11-22 06:07:28 +00:00
UbitUmarov
9b7ad30ee1
more changes on YEngine scripts heap usage
2019-11-22 04:09:05 +00:00
UbitUmarov
647622bb02
cosmetics
2019-11-20 23:29:24 +00:00
UbitUmarov
bd12d60e80
cosmetics
2019-11-20 23:16:20 +00:00
UbitUmarov
730a35eedc
Yengine: more on constants operations reduction
2019-11-18 19:07:03 +00:00
UbitUmarov
bf0697d5f4
mantis 8551: Simplify Yengine heap usage control
2019-11-18 17:33:02 +00:00
UbitUmarov
eabf9a7c04
mantis 8627: handle the case constant compareOp constant on Yengine
2019-11-13 23:26:22 +00:00
UbitUmarov
5d2ffdc35b
limit max number of attachments to 38. All can be on same point
2019-11-13 18:44:58 +00:00
UbitUmarov
d10f11d310
terrain replace double by float
2019-11-12 18:19:12 +00:00
UbitUmarov
e87dfd48bf
Yengine: we also need to cancel timer events in queue, because some bad scripts that do work on X
2019-11-11 12:51:09 +00:00
UbitUmarov
727216044b
terraforming changes: missing file
2019-11-10 00:03:39 +00:00
UbitUmarov
8ed0680bb9
handle null refs on llSubStringIndex()
2019-11-06 23:40:53 +00:00
UbitUmarov
11a357d7fa
YEngine: fix credits comment
2019-11-05 15:08:58 +00:00
UbitUmarov
21f86c453d
YEngine: fix wrong language detection on some comments in first line
2019-11-04 17:22:42 +00:00
UbitUmarov
46e36601cb
remove some more useless NULL arguments
2019-10-22 13:04:01 +01:00
UbitUmarov
656ea163cc
a few changes on LlGetObjectDetails
2019-10-20 10:55:13 +01:00
UbitUmarov
ab335b5926
add a few lsl constants
2019-10-19 18:00:45 +01:00
UbitUmarov
7ed339324f
same for osSetDynamicTextureURLBlendFace(). thx djphil
2019-10-19 11:49:46 +01:00
UbitUmarov
24b1e84eca
change osSetDynamicTextureURL(Blend) to ThreatLevel.VeryHigh,ESTATE_MANAGER,ESTATE_OWNER
2019-10-19 09:59:26 +01:00
UbitUmarov
9d698bcffb
Xengine: more on division by Zero
2019-10-18 15:02:32 +01:00
UbitUmarov
f09a18a7a8
Yengine: Also error on division by Zero
2019-10-18 14:16:37 +01:00
UbitUmarov
2a90f78fe1
add LSL_Integer osIsNotValidNumber(LSL_Float v)
2019-10-17 23:33:11 +01:00
UbitUmarov
d6abf2a2fe
simplify last code a bit
2019-10-17 22:40:54 +01:00
UbitUmarov
53c39bf25f
Xengine: Error on division by Zero. Yengine will take a lot more work. If your script gets killed by this, don't bother us, your script is just BAD
2019-10-17 21:35:34 +01:00
UbitUmarov
6b930a596b
Yengine make float.tostring culture invariant
2019-10-17 19:40:54 +01:00
UbitUmarov
5971021b5d
tests: windows does not have 1ms time resolution
2019-10-16 20:16:59 +01:00
UbitUmarov
0587dd38dc
fix some texts init
2019-10-16 20:09:31 +01:00
UbitUmarov
43bf3af138
OSSL: threading issue
2019-10-16 13:53:55 +01:00
UbitUmarov
2abf375351
OSSL: stop reading configuration file on every script start.
2019-10-16 13:42:11 +01:00
UbitUmarov
c7714d6320
make OSSL parsing error warning more clear
2019-10-16 13:05:30 +01:00
UbitUmarov
0e3f24a67e
change OSSL functions allow control code. Behavior should stat pretty much the same. Some help testing, please
2019-10-16 12:24:07 +01:00
UbitUmarov
d79d7e228a
add OSSL option PermissionErrortoOwner (true or false). if true ossl functions permission errors will only be sent to prim owner, defaul false: send all around
2019-10-16 00:08:45 +01:00
UbitUmarov
2c1909a873
add osResetAllScripts(LSL_Integer AllLinkset). use with care
2019-10-11 00:01:59 +01:00
UbitUmarov
c5e2afa9f8
remove useragentserviceconnector dns lookup also on ossl
2019-10-06 17:09:49 +01:00
UbitUmarov
63b0bd7f6b
fix saving appearence to notecard, so they can work on older regions
2019-09-15 16:49:58 +01:00
UbitUmarov
85aa77566b
allow particles scale max to be 7.96m, supported by protocol
2019-09-12 00:25:52 +01:00
UbitUmarov
93f13aa00d
add osSlerp()
2019-09-04 23:27:48 +01:00
UbitUmarov
0e33014572
add a few lsl constants
2019-08-28 05:54:18 +01:00
UbitUmarov
718c6d1e4d
mantis 8583: osGetRegionMapTexture(); now returns prim region map textureID, without any requests to grid
2019-08-27 21:16:22 +01:00
Melanie
0fd17c08ae
Massive console refactor. Greatly simplify interface.
2019-08-20 23:28:59 +01:00
UbitUmarov
64c56fc52b
mantis 8577: add key osGetInventoryItemKey(string name) to get a inventory item ID within prim inventory. the llGetInventory does return the asset it, not item.
2019-08-16 21:24:07 +01:00
Melanie
ba680ceecb
Merge branch 'master' of brain.opensimulator.org:/var/git/opensim
2019-08-07 17:58:55 +01:00
Melanie
d781742d8e
Fix scope support to get friends list names across co-hosted grids
2019-08-07 17:58:08 +01:00
UbitUmarov
96dabca85b
make sure XEngine does release script events when a script is destroyed
2019-08-01 05:31:03 +01:00
UbitUmarov
6359874d64
mantis8548: let rotation division be -(olderResult) this is formally more correct (and it is the same rotation), keep not normalizing, as SL seems to do
2019-08-01 00:01:27 +01:00
UbitUmarov
0bcd58fd0f
mantis8548: change more LSL arguments declarations to their formal form. Still a lot more to do. This is a case where coerence matters over performance, to avoid more future issues
2019-07-31 16:27:36 +01:00
UbitUmarov
1499baf13e
mantis8564: add region_up_time to llGetEnv. Returns string with seconds since region start. There where ways do get it, but this makes life easier
2019-07-31 14:34:35 +01:00
UbitUmarov
b5b518dc0d
change value of PARCEL_DETAILS_DWELL to a higher value to give more room for standard values, change return types, update script syntaxe
2019-07-31 13:38:49 +01:00
TBG Renfold
0163af970f
Mantis #8481 part two.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2019-07-31 12:58:11 +01:00
TBG Renfold
8de67dad76
Mantis #8481 part one.
...
Add llGetParcelDetails(vector pos, [PARCEL_DETAILS_LANDDWELL])
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2019-07-31 12:58:00 +01:00
UbitUmarov
78359c108d
mantis 8563: do not modify collection inside a loop on it a foreach on it
2019-07-15 22:10:47 +01:00
UbitUmarov
8410a01fb4
missing old flag VEHICLE_FLAG_NO_FLY_UP
2019-05-22 23:16:36 +01:00
UbitUmarov
0e2adbe0fb
mantis 8527 and 8517: let llSetLinkPrimitiveParam*() PRIM_TEXTURE ignore texture id/name if invalid, processing the other parameters, for compatibily with old scripts.
2019-05-14 02:48:03 +01:00
UbitUmarov
3a055c578d
soem cleanup
2019-05-02 03:11:16 +01:00
UbitUmarov
11c945a565
add osLocalTeleportAgent(key agent, vector position, vector velocity, vector lookat, LSL_Integer flags). Velocity only works with ubOde but still not good. flags = bit field: 1 use velocity, 2 use lookat, 4 rotate avatar look in current velocity direction (ignored if 2 ie flag = 7 is same as 3). This bypasses most the unnecessary logic of osTeleportAgent, having usage same permissions. It may do region crossings(?). Experimental stage, feedbakc expected ;)
2019-05-01 01:36:10 +01:00
UbitUmarov
5314f375c5
change osSetProjectionParams a bit and add a variant that atkes a linknumber argument. For now can only change one prim per call
2019-04-18 15:26:27 +01:00
UbitUmarov
bd442208d8
mantis 8517: actually let NULL_KEY do the same as on PRIM_TEXTURE
2019-04-18 14:01:54 +01:00
UbitUmarov
2b4e5fcded
mantis 8517: let texture argument of PRIM_TEXTURE only change the other parameters. On PRIM_NORMAL and PRIM_SPECULAR will be as NULL_KEY removing the material. This may be changed for coerence in future
2019-04-18 13:17:40 +01:00
UbitUmarov
37fb937e0d
Yengine: rename a field, do some updates using interlocked
2019-04-16 17:28:09 +01:00
UbitUmarov
6bbd5eb6a2
Yengine: change binary code version, so scripts are automaticly recompiled with new changes
2019-04-16 11:39:28 +01:00
UbitUmarov
2fa5d10c00
Ynegine: add some missing memory usage on script reset
2019-04-16 00:07:13 +01:00
UbitUmarov
a83b7a292b
mantis 8518: Yengine; we can't wait for GC (worse finalizers) to count released memory of some local variables, so add a pseudo free; fix memory account on timeslice rentry; change the folder for the debug IL files; fix memory usage on reset. This changes will only take effect on new compiles
2019-04-15 23:32:22 +01:00
UbitUmarov
cadcf412ec
linux likes other tz names
2019-04-08 14:04:02 +01:00
UbitUmarov
b104934a25
add osGetPSTWallclock() returns wall clock in PST or PDT, for those that for some odd reason think need it. OpenSim girds shoudl use UTC (gtm) but whatever
2019-04-08 13:50:51 +01:00
UbitUmarov
7f55db72d2
Yengine: try fix changing scripts running state if the have long events
2019-04-01 13:58:41 +01:00
UbitUmarov
772aa5234a
Yengine: clear events queue on reset. Also keep clearing all on state change. (Linked message events are deleted at sl)
2019-04-01 01:48:23 +01:00
UbitUmarov
190e2da672
Yengine attachment drop, do set attachment ready event
2019-03-31 22:50:14 +01:00
UbitUmarov
4626f0850a
fix osSet/GetPrimitiveParams threat level
2019-03-31 02:12:30 +01:00
UbitUmarov
f6db9e044d
Yengine: fix scripts resume on attachments drop
2019-03-28 13:46:39 +00:00
UbitUmarov
3644879677
mantis 8508: ignore llAttachToAvatar if already attached
2019-03-28 02:32:36 +00:00
UbitUmarov
fe6317f009
LSL update texture entry is heavy, set all parameters on same update
2019-03-19 21:37:58 +00:00
UbitUmarov
e1c20a32ca
LSL: limit sittext and touchtext to length current viewers cand display
2019-03-15 18:17:50 +00:00
UbitUmarov
fbd741ece3
prims have at most 9 face textures
2019-03-07 12:12:11 +00:00
UbitUmarov
9da1ca2b44
ll rez objects: silent ginore null object id; remove redundante llSetColor code
2019-03-02 15:38:36 +00:00
Robert Adams
bd1b992aaf
Add Thread.ResetAbort() to various thread loops to clean up errors on
...
shutdown. Fixes Mantis #8494 .
Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08:00
UbitUmarov
cd5a6daa84
also throttle llhttprequest by owner, options: PrimOwnerRequestsBurst = 5, PrimOwnerRequestsPerSec = 25; increase concurrency to 8
2019-02-24 09:46:55 +00:00
UbitUmarov
800f6d6529
several changes to llHttpRequest processing: options section renamed ScriptsHttpRequestModule; throttle by prim (PrimRequestsBurst = 3, PrimRequestsPerSec = 1) and max concurrent connections per instance (MaxPoolThreads = 5), llhttprequest returns if error, nullkey if throttled, reqid otherwise
2019-02-24 07:25:50 +00:00
UbitUmarov
009af3122f
update script sintaxe
2019-02-22 22:42:07 +00:00
UbitUmarov
d89a089ca2
remove redundant osInventoryDescription() and improve osInventoryDesc() to do the same
2019-02-22 22:28:47 +00:00
UbitUmarov
6e05695244
add LSL_Key osGetLastChangedEventKey() ( it is a alias for lldetectedkey(0) but don't tell anyone
2019-02-21 23:41:49 +00:00
UbitUmarov
5d78f52f7b
let Xengine also have that detectedkey
2019-02-21 23:17:53 +00:00
UbitUmarov
bd27573130
add LSL_String osGetInventoryName(LSL_Key itemId) and LSL_String osGetInventoryDescription(LSL_String itemNameOrId)
2019-02-21 23:11:03 +00:00
UbitUmarov
ece3843798
let changed allowed drop have lldetectedkey[0] return the dropped item id, Yengine and still testing"
2019-02-21 22:54:43 +00:00
UbitUmarov
b7507b70bc
Yengine changed position and shape events can bt throttled by mineventdelay
2019-02-21 22:05:38 +00:00
UbitUmarov
16596b6ad0
add LSL_Key osGetInventoryLastOwner(string itemNameorid)
2019-02-21 21:56:27 +00:00
UbitUmarov
0f574d432d
Yengine:save minEventDelay in script state
2019-02-20 20:36:43 +00:00
UbitUmarov
72c472f988
Yengine: let llminEventDelay do something: it just ignores a more limited set of events than Xengine (neither do as SL)
2019-02-20 20:12:13 +00:00
UbitUmarov
ac651a168a
Xengine: exclude a few more events from mineventdelay
2019-02-20 04:54:32 +00:00
UbitUmarov
7c0eab8a23
Xengine: don't lose state change events
2019-02-20 04:04:35 +00:00