taking 0 kb with any settings in hypixel
-
@Senk-Ju HOW DO it fIX IT ?? i take 0 kb when i have 100 100
-
@vapeisexpensive only use simple mode in velocity
-
@vapeisexpensive when you are on hypixel you get different velocity packets, and there somehow wasn't anyone capable of modifying those explosion packets like in simple velocity instead of cancelling them
-
@ender1355 im using simple ...
-
@vapeisexpensive read czechhek's post
-
@ender1355 ... i told u i want to take kb but i just want to reduce it
-
@vapeisexpensive i dont know, thats hypixel's problem, dont use velo then
-
@ender1355 everyone else when they low the settings they take less kb why i take 0
-
@vapeisexpensive liquidbounce and hypixel problem, but ill do a script to fix it
-
what was fixed
what was the problem -
@fart-sex said in taking 0 kb with any settings in hypixel:
what was fixed
what was the problemProblem:
czechhek said in taking 0 kb with any settings in hypixel:
vapeisexpensive, when you are on hypixel you get different velocity packets, and there somehow wasn't anyone capable of modifying those explosion packets like in simple velocity instead of cancelling them
What the OP complained about:
vapeisexpensive said in taking 0 kb with any settings in hypixel:
Senk-Ju HOW DO it fIX IT ?? i take 0 kb when i have 100 100
Answer: You can't. Why you might ask, click here.
Solution however, that has been fixed in LiquidBounce Nextgen only: Click here.
EDIT: Same solution but on different mode, click here.
TL;DR: You can't fix it unless someone modifies the code in this line of the Velocity module.
-
@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 ?