Commit Graph

67 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Kitty Barnett f044949ed3 [FIXED] @sitground=force from an object holding the only @sit=n,unsit=n reports the avatar standing and sitting illegally 2021-06-19 15:27:36 +02:00
Kitty Barnett 36afcdf55b Refactor @sit=force to support @sitground=force as a synonym
* Permission check changed from hasBehaviour to hasBehaviourExcept (consistency with @sit and @unsit)
  * Added stand up/ground sit behaviour to mimick RLV behaviour
2021-04-07 00:07:41 +02:00
Kitty Barnett 0c81b5b4a2 Merge branch 'rlva/feature/effects' into rlva/development 2021-01-08 02:38:38 +01:00
Kitty Barnett e8a0915b4d Rework @setoverlay into a visual effect and move all the code out of RlvHandler 2021-01-05 05:04:04 +01:00
Kitty Barnett fdaeeb38da Switch ERlvExceptionCheck to a C++0x enum + minor code review/cleanup (no functional changes) 2020-09-16 02:37:04 +02:00
Kitty Barnett 527e49adb0 Merge branch 'rlva/bugfix' into rlva/development 2020-06-21 15:56:55 +02:00
Kitty Barnett 6f2009f33d [FIXED] hasBehaviourExcept() with an empty option returns false even though a RLV_OPTION_MODIFIER active restriction exists
-> RlvCommand::markRefCounted() is called from RlvBehaviourGenericProcessor<RLV_OPTION_MODIFIER> as expected
  -> However, the RlvCommand reference we pass throughout the entire command processing line is a reference to the originally parsed command and not a reference to the copy that was stored in the RlvObject's command list
  -> The fact that we're mutating a constant is excusable in this case since only the command processor will know whether an option command should end up getting reference counted
  -> This bug only applies to hasBehaviourExcept() since the behaviour reference counter was still incremented/decremented successfully and hasBehaviourExcept() does a deep check on the individual commands instead
  -> Fixes FIRE-24215
2020-06-17 15:20:34 +02:00
Kitty Barnett 9b58b4b7c8 @setcam_eyeoffset and @setcam_eyeoffsetscale fix-ups due to camera presets 2020-06-12 16:05:34 +02:00
Kitty Barnett b7157c157e [FIXED] RLVa shutdown crashes due to resources owned by left-over restrictions
-> Perform an orderly shutdown and clear RLVa when wearables and the avatar objects are (mostly) still around
2020-04-12 18:13:14 +01:00
Kitty Barnett 89d5b12bc2 Throttled @setgroup because some people can't help themselves and now we can't have nice things
-> One (unowned) @setgroup is allowed every 60 seconds across all objects
  -> An object obtaining a @setgroup lock is allowed to bypass the throttle a single time to allow @setgroup=n,setgroup:<group>[;<role>]=force
     to always succeed regardless of any/other objects' command history

--HG--
branch : RLVa
2018-12-21 23:11:23 +01:00
Kitty Barnett 8940db0e19 Experiences shouldn't have limitless access to RLVa by default
--HG--
branch : RLVa
2018-06-17 13:46:52 +02:00
Kitty Barnett 9a92faa176 Pave the way for a brighter future where behaviour modifiers aren't behaviours themselves
--HG--
branch : RLVa
2018-05-01 23:04:12 +02:00
Kitty Barnett c104755d23 [FIXED] A remote forced teleport (due to @tpto) should disregard the issuing object's restrictions
-> Repro:
       - @clear,tploc=n
       - @tpto:<Other Region>/X/Y/Z=force => failed (tploc shouldn't be taken into account)

--HG--
branch : RLVa
2018-04-30 23:51:06 +02:00
Kitty Barnett 24148cbf4e Added @setgroup:<uuid|name>;<role>=force cause a bunny made me do it
--HG--
branch : RLVa
2018-04-30 23:00:42 +02:00
Kitty Barnett aa90a47a91 Added @setoverlay set of commands for a certain evil kitty
--HG--
branch : RLVa
2018-04-30 00:08:11 +02:00
Kitty Barnett c07bfee1f2 Added the @list and @stopim IM queries
--HG--
branch : RLVa
2016-11-20 21:03:32 +01:00
Kitty Barnett d8a64bfa86 RLVa can now be toggled on/off at the login screen without requiring a viewer restart
--HG--
branch : RLVa
2016-11-20 12:44:36 +01:00
Kitty Barnett 7dac084924 Refactoring carousel: prefer RlvActions over RlvHandler wherever possible
-> RlvHandler should only deal with the actual RLV API syntax
  -> RlvActions should handle all interpretation of the stored behaviour
  => the end result will make it significantly easier to finally switch over to a new syntax with the option of remaining compatible

--HG--
branch : RLVa
2016-11-20 00:46:12 +01:00
Kitty Barnett 61dc1e7b84 Merged with RLVa maintenance tip
--HG--
branch : RLVa
2016-06-19 21:30:34 +02:00
Kitty Barnett 0e605d4400 Moved RlvHandler::canEdit() to RlvActions::canEdit()
--HG--
branch : RLVa
2016-06-04 16:49:33 +02:00
Kitty Barnett d36c0de9e6 Added variable sittp/tplocal distances (@sittp[:<dist>]=n|y and @tplocal[:<dist>]=n|y)
--HG--
branch : RLVa
2016-06-04 13:50:58 +02:00
Kitty Barnett 8b6b3be823 Refactoring carousel: converted @detach / @remattach / @remoutfit / @detachme to RlvForceHandler
-> added @remattach:<uuid>=force (requested)
  -> added @detachthis:<uuid>=force (requested)

--HG--
branch : RLVa
2016-05-29 21:42:34 +02:00
Kitty Barnett 056d8cff55 Added @setcam=n|y, @setcam_eyeoffset[:<vector3>]=n|y, @setcam_focusoffset[:<vector3>]=n|y, @setcam_fov[:<angle>]=n|y, @setcam_fovmin[:<angle>]=n|y and @setcam_fovmax[:<angle>]=n|y
--HG--
branch : RLVa
2016-05-16 01:32:12 +02:00
Kitty Barnett 6f36b8549d Refactoring carousel: apply template voodoo and consolidate all handler and processor classes into one
--HG--
branch : RLVa
2016-04-17 21:49:15 +02:00
Kitty Barnett 1f8896ff69 Refactoring carousel: move behaviour/command handlers back into their proper spots for consistency
--HG--
branch : RLVa
2016-04-03 12:31:51 +02:00
Kitty Barnett 2991ff751e Refactoring carousel: simplify the behaviour and command template structure and add a template handler for toggles to replace RlvUIEnabler
--HG--
branch : RLVa
2016-04-03 02:40:44 +02:00
Kitty Barnett 54e8d2fd52 Refactoring carousel: behaviour lookup code (WIP - templates have come to save the day)
--HG--
branch : RLVa
2016-03-29 11:45:34 +02:00
Kitty Barnett c372dd36a8 Refactoring carousel: combine all the different force-wear commands into one virtual RLV_CMD_FORCEWEAR command
--HG--
branch : RLVa
2016-03-28 20:00:15 +02:00
Kitty Barnett da78d3f231 - added : @tprequest=n|y and @accepttprequest[:<uuid>]=n|y
-> small expansion of RlvActions to handle teleport offer/request checks

--HG--
branch : RLVa
2013-11-09 01:20:15 +00:00
Kitty Barnett fe8b4bf140 - internal : reviewed @recvim and @sendim for CHUI (SL-3.5)
--HG--
branch : RLVa
2013-05-11 14:20:51 +02:00
Kitty Barnett 574e054b09 - internal : reviewed @startim for CHUI (SL-3.5)
-> fixed : "Send Instant Message" on a calling card opens an IM session
    -> fixed : "Start Conference Chat" on a selection of multiple calling cards opens an IM session
    -> fixed : actions that would result in an IM window opening shouldn't be blocked if the session is already open
    -> added : RlvActions class to mimick LLAvatarActions and lowering the rlvhandler.h include dependency

--HG--
branch : RLVa
2013-05-09 15:09:03 +02:00
Kitty Barnett 8e7cbffba3 - fixed : @setgroup:<uuid>=force,setgroup=n forces the active group back to the previous group
-> if an object is singularly holding a @setgroup restriction then it is now also exempt from it

--HG--
branch : RLVa
2012-09-17 01:47:07 +02:00
Kitty Barnett 0846837902 - internal : properly support @*this=force from the LSL attach() event
--HG--
branch : RLVa
2012-07-28 20:26:19 +02:00
Kitty Barnett 693753c465 - fixed : silly GCC errors (thankies Mistress)
--HG--
branch : RLVa
2011-11-17 17:09:06 +01:00
Kitty Barnett 276e151642 - internal : deprecate RlvWLSnapshot in favour of the new user WindLight preferences
--HG--
branch : RLVa
2011-09-04 23:25:04 +02:00
Kitty Barnett c0d47723d4 - added : "RestrainedLoveShowEllipsis" to hide filtered chat when @recvchat=n restricted
--HG--
branch : RLVa
2011-08-10 22:19:08 +02:00
Kitty Barnett e3add549f9 Merged with RLVa-1.3 tip
--HG--
branch : RLVa
2011-05-28 01:18:36 +02:00
Kitty Barnett e248153477 Merged with RLVa-1.3.1a tip
--HG--
branch : RLVa
2011-05-27 15:54:30 +02:00
Kitty Barnett 1e73066654 - review : partial review of RlvUIEnabler and related scattered code blocks
--HG--
branch : RLVa
2011-05-27 15:48:16 +02:00
Kitty Barnett 6b0b1c4df7 - fixed : RlvUIEnabler behaviour toggle handlers are called on every RLV_TYPE_ADD
--HG--
branch : RLVa
2011-05-27 14:31:10 +02:00
Kitty Barnett 45229ec107 - fixed : joining a new group changes the active group when @setgroup=n restricted
--HG--
branch : RLVa
2011-05-22 17:10:23 +02:00
Kitty Barnett c80812fb9f - internal : header dependency cleanup for rlvcommon.h and rlvhandler.h
--HG--
branch : RLVa
2011-05-22 11:34:34 +02:00
Kitty Barnett c55f28def1 - internal : updated copyright year
--HG--
branch : RLVa
2011-05-21 23:10:45 +02:00
Kitty Barnett c834c86cd8 Merged with RLVa-1.3.0g tip
--HG--
branch : RLVa
2011-05-21 22:51:45 +02:00
Kitty Barnett 7e1e758656 Merged with RLVa-1.3.0h tip
--HG--
branch : RLVa
2011-05-21 20:40:34 +02:00
Kitty Barnett baaa0e908d - added : @touchme=n|y
--HG--
branch : RLVa
2011-04-12 17:00:45 +02:00
Kitty Barnett eeb35533c7 - added : @startim[:<uuid>]=n|y and @startimto:<uuid>=n|y
--HG--
branch : RLVa
2011-04-12 12:33:34 +02:00
Kitty Barnett f18af2d0c9 - added : @getgroup=<channel>, @setgroup:<name|uuid>=force and @setgroup=n|y
--HG--
branch : RLVa
2011-03-28 01:34:09 +02:00
Kitty Barnett 1255d90067 - added : @attachthis_except, attachallthis_except, @detachthis_except and @detachallthis_except
--HG--
branch : RLVa
2011-03-27 10:32:56 +01:00
Kitty Barnett 9ec0516bf8 Merged with RLVa-1.3.0e tip
--HG--
branch : RLVa
2011-02-03 14:23:02 +01:00