Commit Graph

342 Commits

Author SHA1 Message Date
UbitUmarov
718c6d1e4d mantis 8583: osGetRegionMapTexture(); now returns prim region map textureID, without any requests to grid 2019-08-27 21:16:22 +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
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
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
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
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
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
fdf5274c25 add osKickAvatar(LSL_Key agentKey, string alert) 2019-02-20 02:06:25 +00:00
UbitUmarov
c14209e362 add some LSL 2018-12-28 14:40:51 +00:00
UbitUmarov
d6c9ddfdee cleanup last patch 2018-12-11 18:23:26 +00:00
Bill Blight
0881840946 Add osNpcSayTo(key npc, key target, integer channel, string message)
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2018-12-11 17:32:50 +00:00
UbitUmarov
47bc1fb257 OSSL remove functions with illegal lsl types, also redundante 2018-11-28 08:20:38 +00:00
UbitUmarov
87acd20d95 add script constant OS_APIVERSION, we should inc this on any change on any api. a few changes to os npc and avatar animation functions 2018-11-26 16:45:04 +00:00
UbitUmarov
cb1ebd1604 add osApproxEquals for float, vector and rotation, note that default margin is 1e-6 to match strings rounding 2018-11-20 18:12:18 +00:00
UbitUmarov
9dfb906666 add a few string functions to OSSL 2018-11-18 22:40:59 +00:00
UbitUmarov
01b84ef46b some cleanup 2018-11-18 22:39:08 +00:00
UbitUmarov
ba87ba9c47 remove odd ossl function 2018-11-18 19:40:51 +00:00
UbitUmarov
7bcef500a9 remove CM api, add replacement ossl functions, as i should had done on the merge of avination code contrib. (runprebuild) 2018-11-15 20:29:25 +00:00
UbitUmarov
9185d397df add a bit more things to ScriptSyntax, change a few more incoerent lsl types in function arguments 2018-11-10 21:00:04 +00:00
UbitUmarov
7479638e88 remove a unnecessary scripts constants file 2018-10-25 02:06:44 +01:00
UbitUmarov
c643b4236f a few changes to last commit 2018-10-23 18:55:26 +01:00
Mandarinka Tasty
06a35b9559 llName2Key. Thanks to mewtwo0641 and watcher64.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2018-10-23 18:01:13 +01:00
UbitUmarov
0611d3339b remove TempAttachments module 2018-10-20 01:00:55 +01:00
UbitUmarov
8812684355 minor changes 2018-09-29 21:40:52 +01:00
Bill Blight
6d9de17d77 **CONFIRMED**AGAIN** , Add new function, osSetOwnerSpeed(float speed), threat level moderate
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2018-09-29 21:16:33 +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
5d0a1656bf mantis 8305: add osTriggerSoundLimited(..) 2018-04-10 03:58:54 +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
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
befe1ad4be fix some LSL functions to return type Key as they should and not string 2018-03-05 17:02:07 +00: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
db88c93243 bug fix: add missing stub for osSetInertia 2017-10-01 18:03:19 +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
e53f439981 add osGetNPCList() 2017-06-26 20:42:49 +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
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
0f7ffc56ce several changes for osTeleportObject 2017-04-15 10:46:18 +01:00
UbitUmarov
d085c337a9 add a little speedup on repeated requests for same name on osGetLinkNumber. 2017-04-04 20:11:11 +01:00
UbitUmarov
ca250e0b0b mantis 8740: rename osObjectTeleport as osTeleportObject, replaced the stop parameter by flags, add flags OSTPOBJ_STOPATTARRGET and OSTPOBJ_SETROT 2017-04-04 14:34:25 +01:00
UbitUmarov
2bb5e98574 add EXPERIMENTAL osObjectTeleport(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer stop) 2017-04-03 17:19:28 +01:00