Commit Graph

1992 Commits (df7468ffa27b46f074b0f9c6d6c7be4e09164c88)

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 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 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 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 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 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
UbitUmarov ca5ec4c33b make llAvatarOnLinkSitTarget(0) return UUID.Zero 2015-11-20 01:44:19 +00:00
UbitUmarov 278687b1e8 remove duplicate object chat messages ( mantis 7745 ),fix llRegionSay, this are still merge issues 2015-11-20 00:01:13 +00:00
UbitUmarov 62cacff071 add LegacySitOffsets handling at LSL api 2015-11-17 18:17:11 +00:00
UbitUmarov f7f5aba597 remove unused parameter 2015-11-17 07:59:11 +00:00
UbitUmarov dd18c9f689 fix llRequestAgentData cache timeout 2015-11-17 05:14:54 +00:00
UbitUmarov 649a3fc39c dont abort llDialog if buttons labels are longer than 24bytes, let udp truncate. This is not as spec but allows old scripts or with minor bugs to still work 2015-11-11 06:06:22 +00:00
UbitUmarov b6c3592411 fix/add lldialog and llTextBox message size error checks, aborting if error as spec. (we can change this to silent truncate and execute the larger ones since llUdp now does it. But doing as spec now) 2015-11-10 15:08:08 +00:00
UbitUmarov dc752e8d82 fix get/set parameters on avatars 2015-11-05 03:07:25 +00:00
Melanie Thielker 5f18f2ce6a More EntityTransferContext plumbing 2015-11-01 19:37:14 +01:00
Melanie Thielker 69585a4824 More plumbing of the EntityTransferContext (not yet complete) 2015-11-01 19:11:14 +01:00
Diva Canto 59b63b6406 On to 0.8.3!
Conflicts:
	OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18 21:51:49 -07:00
UbitUmarov 124602c6c2 reduce some diferences with master 2015-10-02 22:47:31 +01:00
UbitUmarov d900d0112d put back ip check on llSetContentType 2015-10-02 18:55:09 +01:00
UbitUmarov b8cb9d1bbb also on another location, plus a bit clean 2015-10-02 18:39:05 +01:00
UbitUmarov de51b7af85 do group SetPos sync as master, script thread does need to wait for it to be done. This needs improvement, doing it async again with script thread waiting watching coop 2015-10-02 17:56:02 +01:00