Results 1 to 5 of 5

Threaded View

  1. #1
    Rambolo's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Location
    [private information]
    Posts
    5
    Reputation
    10
    Thanks
    1

    How to code a selective nuker

    Welcome to my first tutorial!

    I am not going to give you the variables! (skids must learn!)

    So for the first peice of code you want to go to 'EntityClientPlayerMP' and paste this code inside:
    Code:
            int var5000 = (int)mc.playerController.getBlockReachDistance();
            if(yourvarclass.yourvarmod)
            {
            	for(int x = -var5000; x < var5000 + 1; x++)
            	{
            		for(int z = -var5000; z < var5000 + 1; z++)
            		{
            			for(int y = -var5000; y < var5000 + 1; y++)
            			{
            				int e = (int) posX + x;
            				int f = (int) posY + y;
            				int g = (int) posZ + z;
            				if(mc.theWorld.getBlockId(e, f, g) == mods.blockID)
            				{
            					this.sendQueue.addToSendQueue(new Packet14BlockDig(0, e, f, g, 0));
            					this.sendQueue.addToSendQueue(new Packet14BlockDig(2, e, f, g, 0));
            				}
            			}
            		}
            	}
            }
    And for the second part you want to go into 'PlayerControllerMP' and find 'public void clickBlock' (press CTRL+F and then just paste that in)
    Then call that from the top of the void:
    Code:
            if(yourvarclass.yourvarmod)
            {
            	yourvarclass.blockID = mc.theWorld.getBlockId(par1, par2, par3);
            }
    Hint: the yourvarclass.blockID is an integer.
    Last edited by Rambolo; 06-21-2013 at 09:35 AM.

  2. The Following User Says Thank You to Rambolo For This Useful Post:

    HellBoy24 (10-07-2015)

Similar Threads

  1. How To Code Combat Arms (TUT)
    By creedylol in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 12-19-2008, 08:27 PM
  2. [Help] How to code speed? [vb 2008]
    By m4c4r0ni3z in forum Visual Basic Programming
    Replies: 6
    Last Post: 05-04-2008, 02:45 PM
  3. How to code invis and boneshot?
    By Jaybird94 in forum WarRock - International Hacks
    Replies: 17
    Last Post: 03-06-2008, 12:15 AM
  4. How to code OPK?
    By Jaybird94 in forum WarRock - International Hacks
    Replies: 19
    Last Post: 03-03-2008, 01:42 PM
  5. How to code a timer in visual C++ 6.0
    By nukeist_ in forum C++/C Programming
    Replies: 5
    Last Post: 12-12-2007, 02:18 PM

Tags for this Thread