Broken scripts in b73


  • Admin

    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.



  • @Senk-Ju said in Broken scripts in b73:

    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.

    https://forum.ccbluex.net/thread.php?id=1830


  • Admin

    @yorik100 Please provide details on what exactly is not working. Doesn't it load at all? Are only certain modules not working?



  • @Senk-Ju said in Broken scripts in b73:

    @yorik100 Please provide details on what exactly is not working. Doesn't it load at all? Are only certain modules not working?

    It spams errors, STarget and SHealth
    Example : "Exception in module 'STarget'!
    java.lang.ClassCastException: Cannot cast net.ccbluex.liquidbounce.injection.backend.MinecraftImpl to net.minecraft.client.Minecraft"


  • Admin

    We have found the reason for these problems. They should be fixed soon.



  • @Senk-Ju Blink fall and inventory manager doesn't seem to work, I can enable them, but they just do nothing, and they worked before cross version merge but now they just don't work (I'm pretty sure I saw some other Core scripts not working before but I'm not sure) so it would be cool if you guys fix it... (Blink fall: https://github.com/CzechHek/Core/blob/master/Scripts/BlinkFall.js) (Inventory manager: https://forums.ccbluex.net/topic/142/inventorymanager-6-17)



  • @Senk-Ju I don't know if it's a coincidence but this doesn't load at all https://forum.ccbluex.net/thread.php?id=1261


  • Admin

    @hahayes Please try again with the latest development release.



  • @Senk-Ju Nope, AACTP still doesn't show up and InvManager doesn't work but suprisingly BlinkFall tp's you back and types stuff in chat but it doesn't nofall idk what is happening lol .-.


  • Admin

    @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.





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



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

    weird



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



  • @CzechHek Maybe case sensitive





  • 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);
    }
    


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

    cool



  • @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.



  • remove the W and add var before FreeCam


Log in to reply