taking 0 kb with any settings in hypixel
-
@mems i just want to take less kb i get no shit of coding
@vapeisexpensive You can't, unless you want to edit the Explosion packet code in the Velocity module.
-
@mems i just want to take less kb i get no shit of coding
@vapeisexpensive
here you go/// api_version=2 var script = registerScript({ name: "HypikleVelo", version: "1.0", authors: ["nvinci"] }); var S27 = Java.type("net.minecraft.network.play.server.S27PacketExplosion"); var S12 = Java.type("net.minecraft.network.play.server.S12PacketEntityVelocity"); script.registerModule({ name: "HypikleVelo", category: "Combat", description: "grr", settings: { horizontal: Setting.float({ name: "Horizontal", default: 100.0, min: 0.0, max: 100.0 }) } }, function(module) { module.on('packet', function(e) { try { packet = e.getPacket(); if (packet instanceof S12) { packet.motionX *= module.settings.horizontal.get() / 100.0; packet.motionZ *= module.settings.horizontal.get() / 100.0; } else if (packet instanceof S27) { // too lazy to use core's reflector var motionX_fid = packet.class.getDeclaredField("field_149152_f"); var motionZ_fid = packet.class.getDeclaredField("field_149159_h"); motionX_fid.setAccessible(true); motionZ_fid.setAccessible(true); motionX_fid.setFloat(packet, motionX_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionZ_fid.setFloat(packet, motionZ_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionX_fid.setAccessible(false); motionZ_fid.setAccessible(false); } } catch (err) { Chat.print(err); }; }); }); -
@vapeisexpensive
here you go/// api_version=2 var script = registerScript({ name: "HypikleVelo", version: "1.0", authors: ["nvinci"] }); var S27 = Java.type("net.minecraft.network.play.server.S27PacketExplosion"); var S12 = Java.type("net.minecraft.network.play.server.S12PacketEntityVelocity"); script.registerModule({ name: "HypikleVelo", category: "Combat", description: "grr", settings: { horizontal: Setting.float({ name: "Horizontal", default: 100.0, min: 0.0, max: 100.0 }) } }, function(module) { module.on('packet', function(e) { try { packet = e.getPacket(); if (packet instanceof S12) { packet.motionX *= module.settings.horizontal.get() / 100.0; packet.motionZ *= module.settings.horizontal.get() / 100.0; } else if (packet instanceof S27) { // too lazy to use core's reflector var motionX_fid = packet.class.getDeclaredField("field_149152_f"); var motionZ_fid = packet.class.getDeclaredField("field_149159_h"); motionX_fid.setAccessible(true); motionZ_fid.setAccessible(true); motionX_fid.setFloat(packet, motionX_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionZ_fid.setFloat(packet, motionZ_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionX_fid.setAccessible(false); motionZ_fid.setAccessible(false); } } catch (err) { Chat.print(err); }; }); });@nvinci how can i add it ?
-
@nvinci how can i add it ?
@vapeisexpensive it's a script, if you don't how to add scripts, follow this tutorial here
-
@vapeisexpensive
here you go/// api_version=2 var script = registerScript({ name: "HypikleVelo", version: "1.0", authors: ["nvinci"] }); var S27 = Java.type("net.minecraft.network.play.server.S27PacketExplosion"); var S12 = Java.type("net.minecraft.network.play.server.S12PacketEntityVelocity"); script.registerModule({ name: "HypikleVelo", category: "Combat", description: "grr", settings: { horizontal: Setting.float({ name: "Horizontal", default: 100.0, min: 0.0, max: 100.0 }) } }, function(module) { module.on('packet', function(e) { try { packet = e.getPacket(); if (packet instanceof S12) { packet.motionX *= module.settings.horizontal.get() / 100.0; packet.motionZ *= module.settings.horizontal.get() / 100.0; } else if (packet instanceof S27) { // too lazy to use core's reflector var motionX_fid = packet.class.getDeclaredField("field_149152_f"); var motionZ_fid = packet.class.getDeclaredField("field_149159_h"); motionX_fid.setAccessible(true); motionZ_fid.setAccessible(true); motionX_fid.setFloat(packet, motionX_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionZ_fid.setFloat(packet, motionZ_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionX_fid.setAccessible(false); motionZ_fid.setAccessible(false); } } catch (err) { Chat.print(err); }; }); });@nvinci this dont work lmfao i try it
-
@nvinci this dont work lmfao i try it
-
@ender1355 ???
-
@ender1355 ???
-
@nvinci this dont work lmfao i try it
-
@nvinci there is only horiz and it dont work like i take full kb with any settings
-
@nvinci this dont work lmfao i try it
-
@00 stfu
-
@00 stfu
@vapeisexpensive wat
-
@vapeisexpensive
here you go/// api_version=2 var script = registerScript({ name: "HypikleVelo", version: "1.0", authors: ["nvinci"] }); var S27 = Java.type("net.minecraft.network.play.server.S27PacketExplosion"); var S12 = Java.type("net.minecraft.network.play.server.S12PacketEntityVelocity"); script.registerModule({ name: "HypikleVelo", category: "Combat", description: "grr", settings: { horizontal: Setting.float({ name: "Horizontal", default: 100.0, min: 0.0, max: 100.0 }) } }, function(module) { module.on('packet', function(e) { try { packet = e.getPacket(); if (packet instanceof S12) { packet.motionX *= module.settings.horizontal.get() / 100.0; packet.motionZ *= module.settings.horizontal.get() / 100.0; } else if (packet instanceof S27) { // too lazy to use core's reflector var motionX_fid = packet.class.getDeclaredField("field_149152_f"); var motionZ_fid = packet.class.getDeclaredField("field_149159_h"); motionX_fid.setAccessible(true); motionZ_fid.setAccessible(true); motionX_fid.setFloat(packet, motionX_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionZ_fid.setFloat(packet, motionZ_fid.get(packet) * (module.settings.horizontal.get() / 100.0)); motionX_fid.setAccessible(false); motionZ_fid.setAccessible(false); } } catch (err) { Chat.print(err); }; }); });@nvinci does that work ?
i test it in B73 and it didnt
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login