Commit Graph

2121 Commits (63da4d3f99a292aff6963f4d453ec3911be51b62)

Author SHA1 Message Date
UbitUmarov 63da4d3f99 mantis 8305: add several ossl sound funtions that accept a link number for the prim associated to that sound. The link number must point to a single prim 2018-04-09 00:15:45 +01:00
UbitUmarov 80c7ffeb29 fix the comment about return value of osAngleBetween() its 0 to PI 2018-04-04 01:25:49 +01:00
UbitUmarov e031d79d48 add auxiliar functions float osVecMagSquare(a), float osVecDistSquare(vector a), float osAngleBetween(vector a, vector b) and float osRound(ffloat value, integer ndigits) 2018-04-03 23:00:37 +01:00
UbitUmarov ee6034f751 several changes to materials, add llSet*PrimtiveParams*() support for them. They may be very broken now :( 2018-04-01 01:50:07 +01:00
UbitUmarov befe1ad4be fix some LSL functions to return type Key as they should and not string 2018-03-05 17:02:07 +00:00
UbitUmarov dc5cd9a3ae Merge branch 'master' into httptests 2018-03-05 16:39:17 +00:00
UbitUmarov 18914fae64 make more clear some magic numbers on SOP getnumberofsides(), reduce unnecessary calls to it on LSL api 2018-03-05 16:36:39 +00:00
mewtwo0641 f579fbba0e Remove the work around for sphere number of faces since as of commit 846f35 it initially has the correct number of faces and the workaround returns 2 more than the correct number of faces. 2018-03-04 13:26:19 +00:00
UbitUmarov 83e2fee71b add experimental script engine XMRengine donated by mrieker (DreamNation) And our Melanie. ***DANGER*** ***TESTONLY*** ***disable HG*** dont leave running when not looking... tp/crossing to Xengine will reset scripts. i do see a few issues but should be testable, so we can decide if we should invest more on it. 2018-02-02 12:49:40 +00:00
UbitUmarov c889eb64e5 let ossl have its own config section 2018-02-02 03:50:43 +00:00
UbitUmarov 8a68c330e8 fix a string format 2018-01-14 00:47:12 +00:00
UbitUmarov 792a1c6e3d fix a string format 2018-01-12 18:09:38 +00:00
UbitUmarov 873d42005f add AGENT_LIST_EXCLUDENPC bit mask option to llGetAgentList scope to exclude NPCs 2017-11-14 03:49:32 +00:00
Kevin Cozens fbb2f7f319 Corrected name of function in call to CheckThreatLevel. 2017-10-26 13:29:14 -04:00
Kevin Cozens d65f055e4e Whitespace cleanup. 2017-10-26 11:26:49 -04:00
UbitUmarov 3d6553afee add osGetSimulatorMemoryKB(). This allows work around the fact osGetSimulatorMemory() reports at most 2GB. This one limit is now 2TB, should ne enought for a while 2017-10-15 14:46:21 +01:00
UbitUmarov c5802c9460 change a few more parcel eject code paths 2017-08-24 01:47:01 +01:00
UbitUmarov 218160494e fix llRot2Axis(ZERO_ROTATION) and non normalized inputs, same for llRot2Angle() 2017-08-16 23:44:34 +01:00
UbitUmarov 1071c92bb0 fix lsl group role powers to change parcel passes 2017-07-25 03:44:52 +01:00
UbitUmarov aff9c345dd osSetParcelDetails: add more land update code 2017-07-12 07:27:21 +01:00
UbitUmarov a069ed09a8 osSetParcelDetails: make seeAVs send updates. This is a temporary patch, this function does need to call a framework land function that deos issue proper updates about all fields to all cleints. ( sounds will not stop/start also for now) 2017-07-12 03:47:34 +01:00
UbitUmarov 3847f861e3 osSetParcelDetails: allow parcel group to be cleared also 2017-07-12 01:52:01 +01:00
UbitUmarov c8a9b0321f osSetParcelDetails: place hard restrictions on change owner,claimdate (both estate owner or manager) and group (same plus parcel owner that also needes to be a member of the new group); add PARCEL_DETAILS_SEE_AVATARS, PARCEL_DETAILS_ANY_AVATAR_SOUNDS and PARCEL_DETAILS_GROUP_SOUNDS 2017-07-12 01:44:34 +01:00
UbitUmarov f5324833ee remove wrong comment on lsl object rez. we can't add delays on async process 2017-07-11 02:47:37 +01:00
UbitUmarov 72bce8c4b4 do lsl object rez checks on script thread before wasting time possible creating a new poll thread 2017-07-11 02:33:48 +01:00
UbitUmarov 965d004fbe do calls to m_host.AddScriptLPS() on the right place on osslm this stat is of course still wrong LPS does not mean api function calls 2017-06-30 22:39:19 +01:00
UbitUmarov 6b0a3e981c put osGetAgentIP() in threat control with level Severe so it can be disabled even for inworld administrators as needed on some grids. rearrage the osslEnable.ini file segregating the funtions only listed for information 2017-06-30 22:04:56 +01:00
UbitUmarov e243dd0519 put back getAgentIP bug restricted, script owner must be a Administrator (god) 2017-06-28 02:19:27 +01:00
UbitUmarov 936aee412d remove osGetAgentIP() this was not a good idea to have :( 2017-06-27 01:41:06 +01:00
UbitUmarov 5242853d68 dont list deleted ones, that still don't know they are gone 2017-06-26 20:55:44 +01:00
UbitUmarov b319977a3f dont list deleted ones, that still don't know they are gone 2017-06-26 20:51:40 +01:00
UbitUmarov e53f439981 add osGetNPCList() 2017-06-26 20:42:49 +01:00
UbitUmarov b59ce7c968 also on the actual source file 2017-06-26 20:28:16 +01:00
UbitUmarov f660aa37ac add similar restrictions to osObjectTeleport :( 2017-06-26 19:40:20 +01:00
UbitUmarov cbd0af3cab let osTeleport* always work on script prim owner 2017-06-26 18:26:45 +01:00
UbitUmarov 0c5f412ed4 put back restriction that on osTeleport the target must be on land owned by the script owner or this is a estate manager/owner, or target did gave script permission. 2017-06-26 02:49:20 +01:00
UbitUmarov 0418542344 some shortcuts on local osTeleport, reduce its time penalty, do it with script thread 2017-06-26 00:18:46 +01:00
UbitUmarov 84abdf866a add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y) 2017-06-25 02:26:36 +01:00
UbitUmarov cb8975e567 add string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y), string osDrawRotationTransform(string drawList, LSL_Float x) and string osDrawResetTransform(string drawList) helper functions for the new vector renderer comands. Removed ThreadLevel check of similar funtions that had it None, and actually only set strings 2017-06-24 23:04:37 +01:00
UbitUmarov 1a8a77c41e revert the thread level change; remove unused dynamic texture timer from internal code; let blend alpha work if < 255; let blend work with the selected face; etc 2017-06-24 09:24:56 +01:00
UbitUmarov ed8fc359f3 change thread level of osSetDynamicTextureDataBlendFace to VeryHigh 2017-06-24 06:11:10 +01:00
UbitUmarov ae4266916c add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face 2017-06-24 04:23:13 +01:00
UbitUmarov c3dbf91152 osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one 2017-06-24 03:21:23 +01:00
UbitUmarov 5287489a3c avoid some wrong watchdog timeouts 2017-05-26 00:53:21 +01:00
UbitUmarov 772c5b7db0 move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit 2017-05-25 06:05:02 +01:00
UbitUmarov 8989e8ef3a give up on the code to stop AsyncCommandManager. It fails with many scripts running, and its only done deep on exit code. It is a backgroud thread should not block exit and never did 2017-05-24 02:19:25 +01:00
UbitUmarov 3c97bb1e6f fix lock position removing a not necessary function 2017-05-23 06:03:51 +01:00
UbitUmarov e1aa591815 allow new thread creation if it was aborted on AsyncCommandManager 2017-05-23 05:59:14 +01:00
UbitUmarov d5e8e116d4 protect AsyncCommandManager thread from fails on the several things it checks 2017-05-23 05:41:04 +01:00
UbitUmarov 8e777d50a6 only remove AsyncCommandManager thread when last instance is deleted 2017-05-23 05:34:25 +01:00