how to quene a packet when the packet quene is empty
Unsolved
ScriptAPI
-
@Systemless
var script = registerScript({ name: "PacketFly", version: "0.1", authors: ["Lucky)#8356"] }); var BlockPos = Java.type('net.minecraft.util.BlockPos'); var Block = Java.type('net.minecraft.block.Block'); var Blocks = Java.type('net.minecraft.init.Blocks'); var C04 = Java.type("net.minecraft.network.play.client.C03PacketPlayer.C04PacketPlayerPosition"); var blocks = []; var jump = 0; script.registerModule({ name: "Packetfly", description: "for shit ncp", category: "Movement", settings: {} }, function(module) { Math.rad = function(deg) { return deg * Math.PI / 180; } module.on("update", function() { var test = 0.2873; var playerYaw = Math.rad(mc.thePlayer.rotationYaw); var x = -Math.sin(playerYaw) * test; var z = Math.cos(playerYaw) * test; mc.getNetHandler().addToSendQueue(new C04(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, false)); mc.getNetHandler().addToSendQueue(new C04(mc.thePlayer.posX, mc.thePlayer.posY + 490, mc.thePlayer.posZ, true)); if (mc.theWorld.isAirBlock(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 1, mc.thePlayer.posZ)) || mc.thePlayer.inWater) { mc.theWorld.setBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 1, mc.thePlayer.posZ), Blocks.barrier.getDefaultState()); blocks.push(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 1, mc.thePlayer.posZ)); } }); module.on("enable", function() {}); module.on("disable", function() { for (i = 0; i < blocks.length; i++) { mc.theWorld.destroyBlock(blocks[i], false); } }); });
-
@Systemless increase timer
-
@Systemless
Il just make somebody else convert it
enslavementget others to help me
-
@FaaatPotato no ali actually suggested it to me, then I send to much packets