Commit Graph

2834 Commits

Author SHA1 Message Date
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 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 4626f0850a fix osSet/GetPrimitiveParams threat level 2019-03-31 02:12:30 +01: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 bd27573130 add LSL_String osGetInventoryName(LSL_Key itemId) and LSL_String osGetInventoryDescription(LSL_String itemNameOrId) 2019-02-21 23:11:03 +00:00
UbitUmarov 16596b6ad0 add LSL_Key osGetInventoryLastOwner(string itemNameorid) 2019-02-21 21:56:27 +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
UbitUmarov fdf5274c25 add osKickAvatar(LSL_Key agentKey, string alert) 2019-02-20 02:06:25 +00:00
UbitUmarov f1076607dc mantis 8457: ok ok shutup the warning 2019-01-28 07:47:00 +00:00
UbitUmarov 8048746759 changes on sog boundingbox and other cleanup 2019-01-25 20:52:46 +00:00
UbitUmarov 237cf1ced6 some cleanup 2019-01-21 12:59:32 +00:00
UbitUmarov d7d5f9f775 change float to byte rounding 2019-01-21 08:03:24 +00:00
UbitUmarov 8bb644159e a few more changes to texturesentry handling on libomv and os 2019-01-14 00:35:45 +00:00
UbitUmarov 43f4eca67c mantis 8447: empty buttons list in llDialog now shows Ok button 2019-01-10 21:49:38 +00:00
UbitUmarov c14209e362 add some LSL 2018-12-28 14:40:51 +00:00
UbitUmarov 92b7dd27a3 missing file 2018-12-28 14:03:52 +00:00
UbitUmarov 23d03517a9 LINK_ALL_CHILDREN includes sitting avatars 2018-12-19 05:40:18 +00:00
UbitUmarov 5c998f6d60 let osGetPrimitiveParams also return sitting avatar informationg, if PRIM_LINK_TARGET points to one 2018-12-19 05:09:38 +00:00
UbitUmarov f03ee2f795 still another 2018-12-19 04:01:52 +00:00
UbitUmarov 3941c827cc oops 2018-12-19 03:52:43 +00:00
UbitUmarov 9e0a119f9b bug fixes 2018-12-19 03:27:54 +00:00