Commit Graph

2560 Commits (8b1a1744305fb3cc87ce08a6a11fb9539137c003)

Author SHA1 Message Date
UbitUmarov 8b1a174430 ****DANGER**** try to make LSL_Types.key to work. bin/ScriptEngines contents must be deleted to recompile scripts. Needs more testing on all uses of key type ****DANGER**** 2016-09-21 14:04:23 +01:00
UbitUmarov c37877ed34 tests making sure evering thing is coerently wrong.. 2016-09-03 07:29:42 +01:00
UbitUmarov 16cec3041f <0,0,0,0> is not a rotation 2016-09-03 07:09:05 +01:00
UbitUmarov 2a0df34087 Xengine: and fix line count again 2016-08-31 14:36:07 +01:00
UbitUmarov 2cbacbfb82 Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now 2016-08-31 12:47:56 +01:00
UbitUmarov a2a84dea49 Xengine: coment out tests too dependent on precise characters and lines generated on code convertion, viewer error position is what matters 2016-08-31 11:17:30 +01:00
UbitUmarov 0f993a1278 Xengine: also missed a few newlines account 2016-08-31 10:39:01 +01:00
UbitUmarov eca0ebab9d Xengine: forgot to do the indent on map too 2016-08-31 10:25:19 +01:00
UbitUmarov 3db81d87d6 Xengine: fix intermediate csharpe source identation. Not sure why i care, compiler sure doesn't and only we bother to create this files on code gen debug 2016-08-31 09:42:03 +01:00
UbitUmarov 5afc5fe343 Xengine: try to reduce memory pressure of scripts compile. Still ugly code, possible mistakes, but i need to share it before i loose it :) ) 2016-08-31 09:15:08 +01:00
UbitUmarov ddc2f2ccd3 mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing 2016-08-28 08:45:09 +01:00
UbitUmarov 78fa544f0d experimental function. Results still too volatile to be usefull 2016-08-27 19:25:47 +01:00
UbitUmarov abadad47d3 stack overflow is (not)funny :) 2016-08-27 18:03:21 +01:00
UbitUmarov b2386b8d0d llCollisionSound(,value) back to disable all sounds. new osCollisionSound(..). allows defualt sounds with volume 2016-08-27 16:38:29 +01:00
UbitUmarov f9f35e5049 potencial null ref 2016-08-24 02:10:34 +01:00
UbitUmarov d1e3be1efe minor locking issue 2016-08-22 07:51:36 +01:00
UbitUmarov 67a853a70e add a missing lock() 2016-08-21 22:44:21 +01:00
UbitUmarov d9647dbf7c fix llSetText utf8 string size cliping 2016-08-21 00:57:25 +01:00
UbitUmarov 3337ebe93c make the case llCollisionSound("",1.0) more clear its retunring to default sounds, ie like a prim that never had this funtion called. 2016-08-21 00:02:31 +01:00
UbitUmarov 04dd2a9795 fix llCollisionSound("",0.0) not disabling sounds BUT let llCollisionSound("",value [<=1.0]) play default sounds with selected volume. I really don't care if last part is not like SL 2016-08-20 23:41:32 +01:00
UbitUmarov 3fef576554 avoid telling a work job to cancel itself 2016-08-19 16:14:08 +01:00
UbitUmarov 6703be2a90 do not enqueue next event processing if script is in SelfDelete state 2016-08-19 14:17:57 +01:00
UbitUmarov f7419ad52d ubOde revert making vehicle hover height disable hover. This at least breaks current scripts. wikis say it should, but makes no sense with vehicle type parameters defaults. Hover it again only disabled with timescale >300; handle llSameGroup on attachments 2016-08-06 05:21:15 +01:00
UbitUmarov 20d8177d98 fix incorrect ids in llDetected collision parameters 2016-08-06 00:11:13 +01:00
UbitUmarov 9102f6e5da fill data for llDetected funtions of collisions closer to the event. (xengine wasn't update with this on merge bc was not used there). fix some parameters 2016-08-05 22:50:15 +01:00
UbitUmarov 60b08b51b6 remove country from avatars DetectParams, since it is only used on a cm function that can get it directly 2016-08-05 17:08:34 +01:00
BlueWall e15dc72113 Provide tests for native datatypes where LSL Constants are used in lists as JSON elements. Namely: LSL_Float/double, LSL_String/string, LSL_Integer/int. Fixes http://opensimulator.org/mantis/view.php?id=7957
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-08-03 22:24:04 +01:00
UbitUmarov 4ba4c9cf9e missed a Math.sqrt ... 2016-08-01 04:48:01 +01:00
UbitUmarov a4caedceae rename a few things to reduce confusion between regions wold location and grid location (a lot more elsewhere) 2016-07-31 01:56:44 +01:00
UbitUmarov 3d58198c55 fix llEdgeOfWorld() for var regions (someone needs to test this better 2016-07-29 00:55:40 +01:00
UbitUmarov c692664f3d a zero direction vector in llEdgeOfWorld() should return TRUE not FALSE, (SL wiki) 2016-07-28 21:37:16 +01:00
UbitUmarov ec8101a24a remove references to RegionCombinerModule 2016-07-28 00:34:16 +01:00
UbitUmarov 4b832f0f8e add osGetHealRate(avatarkey) and osSetHealRate(avatarkey, healrate); healrate from 0 (disables auto heal) to 100 (maybe too fast) % per second. (untested) 2016-07-25 02:05:53 +01:00
UbitUmarov 2bb467e358 add osSetHealth() value from 1 to 100; (mantis 7973) 2016-07-24 16:31:29 +01:00
Melanie Thielker 2cffa71be2 Add some additional checks to llTransferLindenDollars. 2016-07-18 11:12:14 +01:00
UbitUmarov ac72598c6b add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value) 2016-07-04 08:29:26 +01:00
UbitUmarov b3d8e35d67 dont try to check CanObjectEntry on a attachment in llSetPos() 2016-07-03 19:51:07 +01:00
UbitUmarov a08c354a07 fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it. 2016-06-28 18:14:30 +01:00
UbitUmarov bc4e5d81b9 add PRIM_OMEGA to llGet(LINK)PrimitiveParams. This will not return same values as spec, because the way our targetomega works. ( only did minor testing) 2016-06-26 14:40:26 +01:00
Diva Canto c2e63e807e Mantis #7861. llEdgeOfWorld not working. Two reasons: (1) edge was being filled but not used; (2) region size was being ignored when computing the neighbors' coordinates.
Not sure if this is the intended semantics of this function, but it made sense in my varregion test with neighbors all around except in the South.
2016-06-12 14:48:30 -07:00
Melanie Thielker 48915377a6 Correct spelling and grammar, thanks Mata Hari 2016-05-30 19:04:19 +02:00
Mandarinka Tasty 77af32cdbf Enhancement of osRegionRestart
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-05-30 15:58:39 +02:00
Melanie Thielker 4bac95bf4a Change requirements for the LL god functions from CanRunConsoleCommand to IsAdministrator, a function that was not available when these were first coded and makes much more sense. 2016-05-01 20:33:47 +02:00
Melanie Thielker e8b46023e4 Add osRequestURL and osRequestSecureURL with an options list.
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
2016-03-16 20:04:52 +01:00
Diva Canto ab12a14279 Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore. 2016-02-21 11:14:02 -08:00
UbitUmarov ee15c51ba4 add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active. 2016-01-01 23:41:25 +00:00
UbitUmarov b7ea5c4967 a few code cosmetic changes 2015-12-25 10:43:51 +00:00
UbitUmarov e37c4e878c more changes on lookAt and RotLookAt; do something in attachments 2015-12-01 12:11:48 +00:00
UbitUmarov 25f13f7c01 fix llLookAt in non-physical case 2015-11-29 18:27:34 +00:00
UbitUmarov 302d28625d change llLookAt math to master cleaner solution, assuming lAxis2rot does work 2015-11-29 14:36:09 +00:00