CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Dynamic Values™ are now built into LB b76!

    General Discussion
    3
    3
    101
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CzechHek
      CzechHek last edited by CzechHek

      Recent GitHub activity motivated me to build dynamic values into all LiquidBounce modules.

      Only those values that are currently adjustable are displayed, depending on your settings. Additionally, some values got reordered for consistency, there are also some grammar corrections and code optimizations, default step height corrected to 0.6.

      LiquidBounce│Built-in Dynamic Values™ – 03:00
      — CzechHek

      ScriptAPI usability:
      Scripts can extend existing values in the same way as with onChanged to make dynamic values in scripts.

      new (Java.extend(BoolValue)) ("name", true) {
          isSupported: function () {
              return otherValue.get()
          }
      }
      

      Note:
      While making this, I didn't notice that there were already existing undocumented dynamic values, only being present in Sprint after recent commit. That implementation was simpler; however, it was impossible to create multi-conditional values with it. There was also a major bug: it filtered module.values which caused all the hidden values not to get saved. I ended up fully replacing that implementation with my own.

      GitHub: https://github.com/CCBlueX/LiquidBounce/pull/922

      CzechHek created this issue in CCBlueX/LiquidBounce

      closed Built-in Dynamic Values™ #922

      Plumer Man G 2 Replies Last reply Reply Quote 2
      • Plumer Man
        Plumer Man @CzechHek last edited by

        nice

        1 Reply Last reply Reply Quote 0
        • G
          Gabriel @CzechHek last edited by

          You forgot about the fact that blockrate affects the Fake autoblock mode, but I already made a PR fixing that. Anyways, nice feature you made there!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          About
          • Terms of Service
          • Privacy Policy
          • Status
          • Contact Us
          Downloads
          • Releases
          • Source code
          • License
          Docs
          • Tutorials
          • CustomHUD
          • AutoSettings
          • ScriptAPI
          Community
          • Forum
          • Guilded
          • YouTube
          • Twitter
          • D.Tube