HelpMinecraft Nuker Code?

Posts 16 of 6 · Page 1 of 1
Minecraft Nuker Code?
Hello MPGH Community.

I am developing a client for Minecraft 1.8 called Aslhax and I am looking for a Nuker code for the Client. I have most of the basic knowledge for Java and making hacked clients, I made a 1.7 client but I can not update the Nuker from the client because of the changes from the Minecraft code. I have tried pretty much everything and can not figure it out. I am pretty much looking for some simple Nuker code that would fit into one class. If you happen to have some code that you are willing to code, please feel free to help a little noobie out . Thanks guy's!

(I will be posting some of my source code to the client on the site when the client is finished.)


P.S Sorry admins if I post this in the wrong section, I am kind of new to the forum and I don't wan't their to be any problems Thanks!
Bump, really need to know :/


Couldn't find anything on 1.8, but check if that works.
This code does not work, about 50% of the 1.7 code won't work in 1.8 lol. I have this code...

Code:
package me.alnoise.Aslhax.modules;

import net.minecraft.network.play.client.C02PacketUseEntity.Action;
import net.minecraft.network.play.client.C07PacketPlayerDigging;
import net.minecraft.util.BlockPos;

import org.lwjgl.input.Keyboard;

import me.alnoise.Aslhax.module.Module;
import me.alnoise.Aslhax.utils.Wrapper;
import me.alnoise.Managers.Category;

public class Nuker extends Module{

    public Nuker(){
        super("TestNuker", Keyboard.KEY_N, Category.WORLD);
    }
    public void onUpdate(){
    	  if(this.getState()){
    	   for(int yRadius = (int)this.smasherRadius; yRadius >= -this.smasherRadius; yRadius--){
    	    for(int zRadius = (int)(-this.smasherRadius); zRadius <= this.smasherRadius; zRadius++){
    	     for(int xRadius = (int)(-this.smasherRadius); xRadius <= this.smasherRadius; xRadius ++){
    	      this.xPos = (int)Math****und(Wrapper.mc.thePlayer.posX + xRadius);
    	      this.yPos = (int)Math****und(Wrapper.mc.thePlayer.posX + yRadius);
    	      this.zPos = (int)Math****und(Wrapper.mc.thePlayer.posX + zRadius);
    	      
    	      BlockPos currentBlockPos = new BlockPos(this.xPos, this.yPos, this.zPos);
    	      
    	      Wrapper.mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(Action.START_DESTROY_BLOCK, currentBlockPos, EnumFacing.UP));
    	      Wrapper.mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(Action.STOP_DESTROY_BLOCK, currentBlockPos, EnumFacing.UP));
    	     }
    	    }
    	   }
    	  }
    	 }
    }
But I don't understand how the Enums are supposed to work...
Quote Originally Posted by aslhax View Post
This code does not work, about 50% of the 1.7 code won't work in 1.8 lol. I have this code...

Code:
package me.alnoise.Aslhax.modules;

import net.minecraft.network.play.client.C02PacketUseEntity.Action;
import net.minecraft.network.play.client.C07PacketPlayerDigging;
import net.minecraft.util.BlockPos;

import org.lwjgl.input.Keyboard;

import me.alnoise.Aslhax.module.Module;
import me.alnoise.Aslhax.utils.Wrapper;
import me.alnoise.Managers.Category;

public class Nuker extends Module{

    public Nuker(){
        super("TestNuker", Keyboard.KEY_N, Category.WORLD);
    }
    public void onUpdate(){
    	  if(this.getState()){
    	   for(int yRadius = (int)this.smasherRadius; yRadius >= -this.smasherRadius; yRadius--){
    	    for(int zRadius = (int)(-this.smasherRadius); zRadius <= this.smasherRadius; zRadius++){
    	     for(int xRadius = (int)(-this.smasherRadius); xRadius <= this.smasherRadius; xRadius ++){
    	      this.xPos = (int)Math****und(Wrapper.mc.thePlayer.posX + xRadius);
    	      this.yPos = (int)Math****und(Wrapper.mc.thePlayer.posX + yRadius);
    	      this.zPos = (int)Math****und(Wrapper.mc.thePlayer.posX + zRadius);
    	      
    	      BlockPos currentBlockPos = new BlockPos(this.xPos, this.yPos, this.zPos);
    	      
    	      Wrapper.mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(Action.START_DESTROY_BLOCK, currentBlockPos, EnumFacing.UP));
    	      Wrapper.mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(Action.STOP_DESTROY_BLOCK, currentBlockPos, EnumFacing.UP));
    	     }
    	    }
    	   }
    	  }
    	 }
    }
But I don't understand how the Enums are supposed to work...
An enum is basically a custom data type. The enum has an assigned value to itself so when a new packet is created, the enum is converted into its value.
For 1.8, all you have to do is find the appropriate packet to send and have the loops for the blocks around you.
I need this too, thank you anyone if they solve!
Posts 16 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?