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. General Discussion
  3. Broken scripts in b73

Broken scripts in b73

Scheduled Pinned Locked Moved General Discussion
39 Posts 15 Posters 10.9k Views 2 Watching
  • 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.
  • Senk JuS Senk Ju

    @hahayes These problems might be caused because certain LiquidBounce classes have been renamed. If that's the case, such scripts would have to be updated by their developer. We will look into it, however.

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #11

    I guess its fixed https://forums.ccbluex.net/topic/610/legacy-aac-tp-3-6-4-fix-for-latest-lb-dev-build

    1 Reply Last reply
    0
    • OlegNoyO Offline
      OlegNoyO Offline
      OlegNoy
      wrote on last edited by
      #12

      This error is absent in version b72
      TPAura2.js
      [15:22:20] [Client thread/INFO] [LiquidBounce]: [ScriptAPI] Successfully loaded script 'TPAura2.js'.
      Exception in thread "setTimeout" [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: <eval>:111 TypeError: null has no such function "setState"
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkNull(NashornBottomLinker.java:180)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:66)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:154)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:253)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$34173$2116Z$^eval_._AdaptedModule#setState(<eval>:111)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$34166$74938$^eval_.verify#L:1(<eval>:1)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$33396$64414$^eval_.setTimeout#L:1(<eval>:1)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.javaadapters.java.util.TimerTask.run(Unknown Source)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.TimerThread.mainLoop(Timer.java:555)
      [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.TimerThread.run(Timer.java:505)

      CzechHekC 1 Reply Last reply
      0
      • OlegNoyO OlegNoy

        This error is absent in version b72
        TPAura2.js
        [15:22:20] [Client thread/INFO] [LiquidBounce]: [ScriptAPI] Successfully loaded script 'TPAura2.js'.
        Exception in thread "setTimeout" [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: <eval>:111 TypeError: null has no such function "setState"
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkNull(NashornBottomLinker.java:180)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:66)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:154)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:253)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$34173$2116Z$^eval_._AdaptedModule#setState(<eval>:111)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$34166$74938$^eval_.verify#L:1(<eval>:1)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.internal.scripts.Script$Recompilation$33396$64414$^eval_.setTimeout#L:1(<eval>:1)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at jdk.nashorn.javaadapters.java.util.TimerTask.run(Unknown Source)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.TimerThread.mainLoop(Timer.java:555)
        [15:22:22] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.TimerThread.run(Timer.java:505)

        CzechHekC Offline
        CzechHekC Offline
        CzechHek
        wrote on last edited by
        #13

        @OlegNoy
        Killaura = moduleManager.getModule("Killaura");
        returns null

        weird

        exit scammedE bestnubB 2 Replies Last reply
        0
        • CzechHekC CzechHek

          @OlegNoy
          Killaura = moduleManager.getModule("Killaura");
          returns null

          weird

          exit scammedE Offline
          exit scammedE Offline
          exit scammed
          wrote on last edited by
          #14

          @CzechHek ah yes, null is a defined object in Java

          1 Reply Last reply
          0
          • CzechHekC CzechHek

            @OlegNoy
            Killaura = moduleManager.getModule("Killaura");
            returns null

            weird

            bestnubB Offline
            bestnubB Offline
            bestnub
            wrote on last edited by
            #15

            @CzechHek Maybe case sensitive

            CzechHekC 1 Reply Last reply
            0
            • bestnubB bestnub

              @CzechHek Maybe case sensitive

              CzechHekC Offline
              CzechHekC Offline
              CzechHek
              wrote on last edited by
              #16

              @bestnub no

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #17

                I can't even see or enable this at all

                var scriptName = "SpartanTeleport";
                var scriptAuthor = "6Sence";
                var scriptVersion = 1.0;
                W
                FreeCam = moduleManager.getModule("FreeCam");
                var C04PacketPlayerPosition = Java.type('net.minecraft.network.play.client.C03PacketPlayer.C04PacketPlayerPosition')
                
                function SpartanTeleport() {
                
                    this.getName = function () {
                        return "SpartanTeleport";
                    }
                    this.getCategory = function () {
                        return "Fun";
                    }
                
                    this.getDescription = function () {
                        return "SpartanTeleport";
                    }
                
                    this.onUpdate = function () {
                        if (mc.thePlayer.onGround && mc.gameSettings.keyBindSneak.pressed == true) {
                            TPPosX = mc.thePlayer.posX;
                            TPPosY = mc.thePlayer.posY;
                            TPPosZ = mc.thePlayer.posZ;
                
                            FreeCam.setState(false);
                            teleport = true;
                        }
                
                        if (teleport == true && mc.thePlayer.posX != TPPosX && mc.thePlayer.posZ != TPPosZ) {
                            mc.thePlayer.motionY = 0.01;
                            mc.gameSettings.keyBindForward.pressed = false;
                            mc.gameSettings.keyBindBack.pressed = false;
                            mc.gameSettings.keyBindLeft.pressed = false;
                            mc.gameSettings.keyBindRight.pressed = false;
                            mc.gameSettings.keyBindJump.pressed = false;
                			
                			if (teleportTry < 20){
                				mc.timer.timerSpeed = 2;
                			}else{
                				mc.timer.timerSpeed = 0.5;
                			}
                            teleportTry += 1;
                            
                            mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, true));
                            mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(TPPosX, TPPosY, TPPosZ, true));
                        }
                
                        if (mc.thePlayer.posX == TPPosX && mc.thePlayer.posZ == TPPosZ) {
                            chat.print("§6Successfully teleported with §c" + teleportTry + " §6tries. Script made by 6Sence.");
                            commandManager.executeCommand(".t SpartanTeleport");
                        }
                    }
                
                    this.onEnable = function () {
                        FreeCam.setState(true);
                        teleport = false;
                        teleportTry = 0;
                        chat.print("§6Land to teleport, Make sure to turn off noclip in freecam to work properly.");
                		TPPosX = 2131;
                        TPPosY = 13;
                        TPPosZ = 4324;
                    }
                    this.onDisable = function () {
                        mc.timer.timerSpeed = 1;
                        FreeCam.setState(false);
                    }
                }
                
                var SpartanTeleport = new SpartanTeleport();
                var derpClient;
                
                function onEnable() {
                    derpClient = moduleManager.registerModule(SpartanTeleport);
                }
                
                function onDisable() {
                    moduleManager.unregisterModule(derpClient);
                }
                
                ? 1 Reply Last reply
                0
                • Azure1A Offline
                  Azure1A Offline
                  Azure1
                  wrote on last edited by
                  #18

                  W
                  FreeCam = moduleManager.getModule("FreeCam");

                  cool

                  1 Reply Last reply
                  0
                  • ? A Former User

                    I can't even see or enable this at all

                    var scriptName = "SpartanTeleport";
                    var scriptAuthor = "6Sence";
                    var scriptVersion = 1.0;
                    W
                    FreeCam = moduleManager.getModule("FreeCam");
                    var C04PacketPlayerPosition = Java.type('net.minecraft.network.play.client.C03PacketPlayer.C04PacketPlayerPosition')
                    
                    function SpartanTeleport() {
                    
                        this.getName = function () {
                            return "SpartanTeleport";
                        }
                        this.getCategory = function () {
                            return "Fun";
                        }
                    
                        this.getDescription = function () {
                            return "SpartanTeleport";
                        }
                    
                        this.onUpdate = function () {
                            if (mc.thePlayer.onGround && mc.gameSettings.keyBindSneak.pressed == true) {
                                TPPosX = mc.thePlayer.posX;
                                TPPosY = mc.thePlayer.posY;
                                TPPosZ = mc.thePlayer.posZ;
                    
                                FreeCam.setState(false);
                                teleport = true;
                            }
                    
                            if (teleport == true && mc.thePlayer.posX != TPPosX && mc.thePlayer.posZ != TPPosZ) {
                                mc.thePlayer.motionY = 0.01;
                                mc.gameSettings.keyBindForward.pressed = false;
                                mc.gameSettings.keyBindBack.pressed = false;
                                mc.gameSettings.keyBindLeft.pressed = false;
                                mc.gameSettings.keyBindRight.pressed = false;
                                mc.gameSettings.keyBindJump.pressed = false;
                    			
                    			if (teleportTry < 20){
                    				mc.timer.timerSpeed = 2;
                    			}else{
                    				mc.timer.timerSpeed = 0.5;
                    			}
                                teleportTry += 1;
                                
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, true));
                                mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(TPPosX, TPPosY, TPPosZ, true));
                            }
                    
                            if (mc.thePlayer.posX == TPPosX && mc.thePlayer.posZ == TPPosZ) {
                                chat.print("§6Successfully teleported with §c" + teleportTry + " §6tries. Script made by 6Sence.");
                                commandManager.executeCommand(".t SpartanTeleport");
                            }
                        }
                    
                        this.onEnable = function () {
                            FreeCam.setState(true);
                            teleport = false;
                            teleportTry = 0;
                            chat.print("§6Land to teleport, Make sure to turn off noclip in freecam to work properly.");
                    		TPPosX = 2131;
                            TPPosY = 13;
                            TPPosZ = 4324;
                        }
                        this.onDisable = function () {
                            mc.timer.timerSpeed = 1;
                            FreeCam.setState(false);
                        }
                    }
                    
                    var SpartanTeleport = new SpartanTeleport();
                    var derpClient;
                    
                    function onEnable() {
                        derpClient = moduleManager.registerModule(SpartanTeleport);
                    }
                    
                    function onDisable() {
                        moduleManager.unregisterModule(derpClient);
                    }
                    
                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #19

                    @hahayes In the 4th line of the script, remove the W. It has literally nothing to do there and that causes the script not to work.

                    1 Reply Last reply
                    0
                    • Azure1A Offline
                      Azure1A Offline
                      Azure1
                      wrote on last edited by Azure1
                      #20

                      remove the W and add var before FreeCam

                      ? 1 Reply Last reply
                      0
                      • Azure1A Azure1

                        remove the W and add var before FreeCam

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #21

                        @Azure1 thank you, idk why it was like that lol

                        A 1 Reply Last reply
                        0
                        • ? A Former User

                          @Azure1 thank you, idk why it was like that lol

                          A Offline
                          A Offline
                          Aftery
                          wrote on last edited by
                          #22

                          @hahayes W

                          ? 1 Reply Last reply
                          0
                          • A Aftery

                            @hahayes W

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #23

                            @Aftery W u too

                            1 Reply Last reply
                            0
                            • LolMCL Offline
                              LolMCL Offline
                              LolMC
                              wrote on last edited by
                              #24

                              ( ͡° ͜ʖ ͡°)

                              ? 1 Reply Last reply
                              0
                              • LolMCL LolMC

                                ( ͡° ͜ʖ ͡°)

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #25

                                @LolMC ( ͡° ͜ʖ ͡°) u too

                                1 Reply Last reply
                                0
                                • Azure1A Offline
                                  Azure1A Offline
                                  Azure1
                                  wrote on last edited by
                                  #26

                                  lenny to both of you

                                  ? 1 Reply Last reply
                                  0
                                  • Azure1A Azure1

                                    lenny to both of you

                                    ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #27

                                    @Azure1 u too

                                    1 Reply Last reply
                                    0
                                    • Senk JuS Senk Ju

                                      We have heard from various users that certain scripts have stopped working properly in LiquidBounce 1.8.9 b73. To investigate these problems, it would be helpful if developers could post scripts here that no longer work. If only certain parts of the script are affected, an additional description would be very convenient.
                                      We want the upcoming LiquidBounce version to work as smoothly as possible despite the many changes.

                                      Thanks.

                                      kaduvertK Offline
                                      kaduvertK Offline
                                      kaduvert
                                      wrote on last edited by kaduvert
                                      #28

                                      @Senk-Ju

                                      /// api_version=2
                                      
                                      var srvcustom = Java.type('net.minecraft.network.play.server.S3FPacketCustomPayload')
                                      
                                      var script = registerScript({
                                      	name: 'Example',
                                      	version: '0',
                                      	authors: ['Example']
                                      })
                                      
                                      script.registerModule({
                                      	name: 'example',
                                      	category: 'Misc',
                                      	description: 'example'
                                      }, function(module) {
                                      	module.on('packet', function (data) {
                                      		var packet = data.getPacket()
                                      		if (packet instanceof srvcustom) Chat.print(1)
                                      	})
                                      })
                                      

                                      this script worked well in b72 but know that i upgraded to b73 it doesn't anymore

                                      CzechHekC Senk JuS 2 Replies Last reply
                                      0
                                      • kaduvertK kaduvert

                                        @Senk-Ju

                                        /// api_version=2
                                        
                                        var srvcustom = Java.type('net.minecraft.network.play.server.S3FPacketCustomPayload')
                                        
                                        var script = registerScript({
                                        	name: 'Example',
                                        	version: '0',
                                        	authors: ['Example']
                                        })
                                        
                                        script.registerModule({
                                        	name: 'example',
                                        	category: 'Misc',
                                        	description: 'example'
                                        }, function(module) {
                                        	module.on('packet', function (data) {
                                        		var packet = data.getPacket()
                                        		if (packet instanceof srvcustom) Chat.print(1)
                                        	})
                                        })
                                        

                                        this script worked well in b72 but know that i upgraded to b73 it doesn't anymore

                                        CzechHekC Offline
                                        CzechHekC Offline
                                        CzechHek
                                        wrote on last edited by
                                        #29

                                        @somedudeyouveneverheardof packets are wrapped

                                        1 Reply Last reply
                                        0
                                        • kaduvertK kaduvert

                                          @Senk-Ju

                                          /// api_version=2
                                          
                                          var srvcustom = Java.type('net.minecraft.network.play.server.S3FPacketCustomPayload')
                                          
                                          var script = registerScript({
                                          	name: 'Example',
                                          	version: '0',
                                          	authors: ['Example']
                                          })
                                          
                                          script.registerModule({
                                          	name: 'example',
                                          	category: 'Misc',
                                          	description: 'example'
                                          }, function(module) {
                                          	module.on('packet', function (data) {
                                          		var packet = data.getPacket()
                                          		if (packet instanceof srvcustom) Chat.print(1)
                                          	})
                                          })
                                          

                                          this script worked well in b72 but know that i upgraded to b73 it doesn't anymore

                                          Senk JuS Offline
                                          Senk JuS Offline
                                          Senk Ju
                                          Admin
                                          wrote on last edited by
                                          #30

                                          @somedudeyouveneverheardof Making scripts for b73 isn't supported. It will not be officially released anyway. I suggest making scripts for b72 instead until next-gen is finished.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          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