Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Scripts
  3. [CORE]ConfigUtils - Save only certain settings and more

[CORE]ConfigUtils - Save only certain settings and more

Scheduled Pinned Locked Moved Scripts
core
10 Posts 3 Posters 745 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • FaaatPotatoF Offline
    FaaatPotatoF Offline
    FaaatPotato
    wrote on last edited by FaaatPotato
    #1

    Latest: ConfigUtils.js

    maaany features that are useful?

    FaaatPotatoF 1 Reply Last reply
    1
    • FaaatPotatoF Offline
      FaaatPotatoF Offline
      FaaatPotato
      replied to FaaatPotato on last edited by FaaatPotato
      #2

      What is new?

      ConfigUtils v1.0-2.3:

      • orignal name "CertainSave"
      • added .save module
      • added del & delall
      • added openFolder()

      ConfigUtils v2.5:

      • renamed to ConfigUtils
      • added saveactive
      • added toggleconfig
      • cleaned code

      To do:

      • Dont read config from file and filter, create file with certain module(s) settings in it.

      • Make it support multiple modules (is already possible with core? idk) .cu save x x

      I FaaatPotatoF 2 Replies Last reply
      1
      • I Offline
        I Offline
        idk my name
        replied to FaaatPotato on last edited by
        #3

        @FaaatPotato why wouldn't Core support it? It's basis of varargs reading. In JS I would recommend to use 'arguments' (plz read about it if you don't understand)

        I CzechHekC FaaatPotatoF 3 Replies Last reply
        1
        • I Offline
          I Offline
          idk my name
          replied to idk my name on last edited by
          #4

          @idk-my-name TL;DR: arguments is a pseudoarray. You can define function without args and read them by using arguments.
          e.g:

          function doShit() {
              print("arguments:", arguments)
          
              return arguments.length
          }
          
          1 Reply Last reply
          1
          • CzechHekC Offline
            CzechHekC Offline
            CzechHek
            replied to idk my name on last edited by CzechHek
            #5

            @idk-my-name yes but not with generated subcommands/parameters helper

            would have to do onExecute: function () ...

            but after last update you can add variable parameter count using

            generated subcommands/parameters helper

            1 Reply Last reply
            0
            • FaaatPotatoF Offline
              FaaatPotatoF Offline
              FaaatPotato
              replied to idk my name on last edited by
              #6

              @idk-my-name said in [CORE]ConfigUtils - Save only certain settings and more:

              support it? It's basis of varargs reading

              cause idk anything about js

              @idk-my-name said in [CORE]ConfigUtils - Save only certain settings and more:

              plz read about

              i will ty

              1 Reply Last reply
              0
              • FaaatPotatoF Offline
                FaaatPotatoF Offline
                FaaatPotato
                replied to FaaatPotato on last edited by FaaatPotato
                #7

                ConfigUtils v3.0

                • added onTabComplete (important for laizy fucks jk jk)
                • added support for multiple modules when using .cu save

                Example:

                .cu save x,x,x,x...
                .cu save KillAura,AntiBot,Zoot

                • results [KillAura,AntiBot,Zoot]-CU in your configs folder

                To do:

                • Make autocomplete for additional modules meaning .cu save x,x,x,x
                • Clean code
                • fix bug where modules get saved under [modulename]-CS instead of modulename-CS
                • add check for duplicate input .cu save x,a,a,c <- filter out in chat, in code it works already
                • print which module cant be found if !isValidModule
                • limit filename/chatname after 3 modules
                • add hoverevent for modules if longer than 3

                @FaaatPotato said in [CORE]ConfigUtils - Save only certain settings and more:

                Dont read config from file and filter, create file with certain module(s) settings in it.

                FaaatPotatoF 1 Reply Last reply
                0
                • FaaatPotatoF Offline
                  FaaatPotatoF Offline
                  FaaatPotato
                  replied to FaaatPotato on last edited by
                  #8

                  ye so update

                  ConfigUtils v3.02
                  ~ fixed an issue where game would crash if you autocompleted [ or ]
                  ~ halfed, cleaned code
                  ~ renamed file saving...
                  ~ changed how long file names get handled

                  • added debug for modules that cant be found/isRender
                  • added hoverEvent

                  To do:

                  Dont read config from file and filter, create file with certain module(s) settings in it.

                  FaaatPotatoF 1 Reply Last reply
                  0
                  • FaaatPotatoF Offline
                    FaaatPotatoF Offline
                    FaaatPotato
                    replied to FaaatPotato on last edited by
                    #9

                    ConfigUtils v3.03

                    • autocomplete fixed by @CzechHek
                    • added check for duplicates in input

                    To do:

                    • dont use ... in file name if input > 3
                    FaaatPotatoF 1 Reply Last reply
                    0
                    • FaaatPotatoF Offline
                      FaaatPotatoF Offline
                      FaaatPotato
                      replied to FaaatPotato on last edited by FaaatPotato
                      #10

                      ConfigUtils v3.04-3.07

                      • changed file saving (name: x.cu / x,x,x...cu)
                      • added hover event for toggleconfig
                      • removed shit code from .cu toggleconfig

                      why didnt i think of this before wtf:

                      for each (var line in lineList) {
                          var target = moduleManager.getModule(line.split(" ")[0])
                          if (!target.getState()) target.setState(true), toggeledModules.push(target.getName());
                      }
                      

                      time to stfu and stop spamming forum with log

                      1 Reply Last reply
                      0

                      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
                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups