Commit Graph

688 Commits

Author SHA1 Message Date
UbitUmarov
c972c23d2e try simplify lsl listen code a bit 2022-06-18 22:40:01 +01:00
UbitUmarov
398fe1ffe6 change again, on disable leave parameters as they where; add values check to osSetProjectionParams 2022-05-22 16:54:19 +01:00
UbitUmarov
1df00ca5cc limit osTerrainFlush calls to one per minute with silent ignore 2022-03-29 16:36:46 +01:00
UbitUmarov
9bd8e45b30 remove some more of obsolete ninha joints code 2022-03-19 01:06:44 +00:00
UbitUmarov
dea5b83e8b also revert osMessageAttachments time penalty. It does dispturb current existent action games 2022-01-22 21:27:36 +00:00
UbitUmarov
fbbcc1edd7 == string.Empty is .Lenght == 0 2022-01-13 20:31:52 +00:00
UbitUmarov
dd846ffc6c update libomv with vector2 and 3 IsZero() 2022-01-09 23:52:42 +00:00
UbitUmarov
da928d6099 != UUID.Zero is slow 2022-01-09 02:28:51 +00:00
UbitUmarov
7e0fc95c3a == UUID.Zero is slow 2022-01-09 00:33:16 +00:00
UbitUmarov
0bbcd7bf63 Maximum notecard size is 65,536 bytes, enforce it on osmakenotecard 2022-01-06 21:16:18 +00:00
UbitUmarov
e78caeeac8 add explicit osMakeNotecard(string notecardName, LSL_String contents) so it does not depend on implicit cast from string to list, as before 2022-01-06 20:42:50 +00:00
UbitUmarov
ce5dca5c56 revert the slowdown of osMessageObject. Also reduce the slowdown osMessageAttachments to (100 + 10 *NumberTargetedPrims) miliseconds. Some action games shown a bit of visible negative impact, so lets test 2022-01-06 02:34:14 +00:00
UbitUmarov
e6528e828d do use listObjToInt() 2022-01-01 18:52:35 +00:00
UbitUmarov
67bdbc02a1 change osMessageAttachments() a bit more 2022-01-01 18:32:54 +00:00
UbitUmarov
0a447d1a9c slowdown osMessageObject a bit. Also slowdown osMessageAttachments by (200 + 10 *NumberTargetedPrims) miliseconds, plus some implementation changes 2022-01-01 18:06:19 +00:00
UbitUmarov
63db74c393 Ooopps.. better call initLSL 2021-12-31 04:20:03 +00:00
UbitUmarov
e3d8450692 throttle osnpcsay as llSay 2021-12-31 04:12:21 +00:00
UbitUmarov
c0fdd2a80b cosmetics 2021-11-15 20:59:46 +00:00
UbitUmarov
3db0bf7996 mantis 7952: kill npc if health gone (original patch by Mandarinka Tasty with small change) 2021-10-24 21:03:55 +01:00
UbitUmarov
3423e53043 fix osRequest*URL return type and threat level name 2021-10-18 20:42:28 +01:00
UbitUmarov
85a0e4243c remove a forgotten checkthreatlevel on a osSetProjectionParams variant 2021-09-20 18:09:24 +01:00
UbitUmarov
1e85f54275 TPs are root agents only 2021-09-17 01:48:16 +01:00
UbitUmarov
6acf368f5b let osTeleportAgent(key agent, vector position, vector lookat) try teleport to a nearby region is position is outside current region (TEST) 2021-09-16 17:36:38 +01:00
UbitUmarov
e32734bb3b similar for osAvatarName2Key 2021-09-15 01:43:33 +01:00
UbitUmarov
2cc8b97a2e osKey2Name: first look if the avatar is on region already 2021-09-15 01:28:27 +01:00
UbitUmarov
af4dacee53 a few typos 2021-09-01 16:37:28 +01:00
UbitUmarov
aab89f66fe fix osGetGridNick() i did break on recent commit 2021-06-03 16:39:03 +01:00
UbitUmarov
cd74acc16b remove threat checks from osGetGridNick and osGetGridName 2021-06-01 23:04:46 +01:00
UbitUmarov
4855e11346 a few more changes to lsl list; add osListSortInPlace(LSL_List src, LSL_Integer stride, LSL_Integer ascending), does the sort directly on src, avoiding creation on a new list when that is not needed 2021-05-31 18:12:33 +01:00
UbitUmarov
b72676bae9 let osGetRegionStats return a list with all the avaiable values (43 currently) 2021-05-04 20:39:52 +01:00
UbitUmarov
c816c220af scripts line per second is no longer used and was wrong 2021-04-22 13:33:00 +01:00
UbitUmarov
1dc568749f missing file 2021-04-21 16:29:19 +01:00
UbitUmarov
9d1bd02d12 add LSL_Integer osAvatarType(LSL_Key avkey) 2021-04-21 15:52:09 +01:00
Oren Hurvitz
3d208dd690 osNpcLookAt() should only work on NPC's, not on regular users 2021-03-18 10:35:29 +02:00
UbitUmarov
8c7bd5fe8d add constants for npclookat types 2021-02-16 12:24:11 +00:00
UbitUmarov
1c29f3378d mantis 8865: add experimental osNpcLookAt 2021-02-16 03:16:54 +00:00
UbitUmarov
bb6f31039e mantis 8855 fix the cast, avoiding the tostring 2021-02-06 18:42:02 +00:00
UbitUmarov
e25b05a454 remove the expire argument from os[Link]ParticleSystem.. expire is controled by maxage != 0 2021-01-12 16:12:44 +00:00
UbitUmarov
ee4fd87463 good idea to commit the actual code.. 2021-01-12 15:41:14 +00:00
UbitUmarov
a3b26255dd add vector variant of osSlerp; update script syntax 2021-01-06 16:32:51 +00:00
UbitUmarov
d6747f872d test: change http send control to a main pool thread 2020-12-29 23:53:09 +00:00
UbitUmarov
71065f19ad add another form of bytesToHexString(byte[] bytes, bool lowercase) 2020-12-29 14:41:41 +00:00
UbitUmarov
8fa28d96f5 clean tabs from osSHA256 patch (mantis 8839) 2020-12-29 13:31:08 +00:00
Mike Higgins
0da43a8ef5 added a new function string=osSHA256(string)
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2020-12-29 13:17:29 +00:00
UbitUmarov
31d7ae0697 osReplaceAgentEnvironment change error -9 to -5 so it is identical to others 2020-12-21 19:47:40 +00:00
UbitUmarov
f7597adcfb a few changes to ossl get grid uris and name 2020-12-15 20:34:59 +00:00
UbitUmarov
4293ba9dd3 allow osStopSound to work on more than one prim Acording to provided LINK_* paramenter 2020-12-09 13:47:32 +00:00
UbitUmarov
128e0be382 add GetFullGroupPowers(agentID, groupID) to groups modules. This returns the 'sum' of powers of all agent roles on that group, apply it to some OSSL (mantis 8777). It May be needed elsewhere 2020-10-09 00:20:34 +01:00
UbitUmarov
89ccd601b1 osInviteToGroup: mk sure avatar is really in same region; return value 2 if avatar is already member of the group 2020-10-08 22:24:10 +01:00
UbitUmarov
c136bcef6e osInviteToGroup: dont invite if already member (returns TRUE in this case) 2020-10-08 21:45:33 +01:00