Commit Graph

2132 Commits

Author SHA1 Message Date
UbitUmarov
e6615a193d a few changes to ScriptSleep() functions 2018-09-04 22:19:30 +01:00
UbitUmarov
50627304a6 avoid using new c# sintaxe that will fail on older compilers 2018-08-30 20:09:12 +01:00
UbitUmarov
9647a1e6c5 minor changes to last patch 2018-08-30 14:51:07 +01:00
Mandarinka Tasty
99a23421a8 Adding check permission CanIssueEstateCommand for osRegionNotice and new function osRegionNotice(string agentID, string msg)
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2018-08-30 14:25:19 +01:00
UbitUmarov
a6d5da3e7f mantis 8346: fix argument of osUnixTimeToTimestamp 2018-07-27 14:20:59 +01:00
UbitUmarov
8c1c9129aa mantis8341: fix MOD and LS apis configuration read from ossl file 2018-07-18 22:19:46 +01:00
UbitUmarov
dd508d4c4f use Vector.Distance not util.. 2018-07-14 16:58:09 +01:00
UbitUmarov
76a82ba5de improve llOverMyLand() handling of potencial null refs. ty mrieker 2018-06-09 20:45:05 +01:00
UbitUmarov
ca7bd13dee sound radius is a prim prop only set by llSetSoundRadius, fix it in case viewers do fix its use (ignored for now) 2018-04-10 21:45:11 +01:00
UbitUmarov
5d0a1656bf mantis 8305: add osTriggerSoundLimited(..) 2018-04-10 03:58:54 +01:00
UbitUmarov
8a30d1303d some cleanup on ll sound functions 2018-04-09 00:48:29 +01:00
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