Broken scripts in b73
-
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 W
-
/// 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.
-
@make-joke-of Mmm maybe try to allocate more ram to minecraft
-
@nvinci
B72 never does that -
I think it is caused by cached font characters not being cleaned properly in b73.