Broken scripts in b73
-
@CzechHek ah yes, null is a defined object in Java
-
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); }
-
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); }
@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. -
@Azure1 thank you, idk why it was like that lol
-
@Azure1 thank you, idk why it was like that lol
-
@Aftery W u too
-
@LolMC ( ͡° ͜ʖ ͡°) u too
-
@Azure1 u too
-
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.
/// 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
-
/// 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
-
/// 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
-
It randomly starts freezing my game for a sec in short intervals. It's unplayable.
-
It randomly starts freezing my game for a sec in short intervals. It's unplayable.
@make-joke-of Mmm maybe try to allocate more ram to minecraft
-
@make-joke-of Mmm maybe try to allocate more ram to minecraft
@nvinci
B72 never does that