CCBlueX Forum

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

    [Script] mumyKillAura3Remake (development legacy)

    Scripts
    4
    8
    298
    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.
    • CookieChinese
      CookieChinese last edited by CookieChinese

      Author : mumy
      E-mail : [email protected]
      QQ : 956172670

      mumyKillAura3Remake.js

      CzechHek CookieChinese 2 Replies Last reply Reply Quote 0
      • CzechHek
        CzechHek @CookieChinese last edited by CzechHek

        @CookieChinese wait what Nashorn supports es6 since java 9 even if it was deprecated by that time? That's cool!

        However, why tf are you creating values in api v2 way, then actually creating AdaptedValues using LB's api v1 compatibility, that essentially converts them back to how you wrote them?

        EDIT:
        It seems that ES6 compatibility is very limited, I only got let and const to work.
        Nashorn reportedly received larger ES6 support in final Java JDK 9 release and later, with evidence of arrow functions and such working. LB therefore uses some older Nashorn version that isn't fully finished?

        CookieChinese Ali00035 2 Replies Last reply Reply Quote 1
        • CookieChinese
          CookieChinese @CzechHek last edited by

          @CzechHek Yes, I don't think es6 compatibility is very good, but I think lb probably didn't have nashorn's version in mind when they made it

          1 Reply Last reply Reply Quote 1
          • 9
            9000miles last edited by

            Strafe doesnt work and center mode is missing, still glad you fixed target issue.

            1 Reply Last reply Reply Quote 0
            • Ali00035
              Ali00035 Banned @CzechHek last edited by

              @CzechHek Oh, now I get why let and const didn't work for me because I was using a java version that doesn't really support ES6, thanks for the info.

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

                @Ali00035 No, Java version doesn't influence Nashorn because it is built into LB. You can just put

                ///api_version=2
                ///engine_flags=--language=es6
                

                at start of a script to enable let and const and perhaps other things.
                Latest nashorn supports more ES6 stuff but it isn't compatible with Java 8, so this couldn't just be solved by upgrading Nashorn.

                1 Reply Last reply Reply Quote 1
                • CookieChinese
                  CookieChinese @CookieChinese last edited by

                  @9000miles @CzechHek
                  Final version: mumyKillAura3Remake.js (final)

                  9 1 Reply Last reply Reply Quote 0
                  • 9
                    9000miles @CookieChinese last edited by

                    @CookieChinese I found another bug(s) related to autoblock. https://streamable.com/jssndl
                    It also blocks when the hurttime is lower than 20 (when autoblock is off)

                    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