Results 1 to 4 of 4
  1. #1
    hamste's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    2

    Thumbs up AutoBuild » █[somewhat]SKID PROOF█ « 1.6.2

    Hello.

    Before i start i just want to say that..
    - This is my first Tutorial
    - and the background for this hack was NOT mine, however...
    - I will explain deep into the mechanics of this hack.
    - #pleasenohate


    Ok, First, you want to find the boolean which triggers when a player right clicks (*cough*onskidingisnoobPlayerskidingRightskidskids kidskidClickskiding*cough* CTRL+H *cough*)

    Once you've found it, go into it and just under where it says
    Code:
     if (!var12 && par3ItemStack != null && par3ItemStack.getItem() instanceof ItemBlock)
            {
                ItemBlock var16 = (ItemBlock)par3ItemStack.getItem();
    
                if (!var16.canPlaceItemBlockOnSide(par2World, par4, par5, par6, par7, par1EntityPlayer, par3ItemStack))
                {
                    return false;
                }
            }
    Write a toggle which should be premade...
    Code:
    if (hamsteisCool.autoBuild){
    Now, make up some void that you want to call and place it in the boolean. Ideally, something called this
    Code:
     hamsteisbetterthanmeateverything(x, y, z, skidskid, par1EntityPlayer, var9, var10, var11);
    return true;
    then, comes the fun/tricky bit.
    Make a void and call it like so
    Code:
    hamsteisbetterthanmeateverything(x, y, z, o, par1EntityPlayer, var9, var10, var11){
    
    }
    In this void, we can start making our structures. BE CREATIVE!

    In this example, we will make something designed by me.
    Copy and paste this in (fix the errors silly skid)
    Code:
        	this.netClientHandler.addToSendQueue(new Packet15Place(x, y+1, z, o, par1EntityPlayer.dropYourSack.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15Place(x, y+2, z, o, par1EntityPlayer.dropYourSack.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15lordpankakeisaniceguydontbemeantohim(x, y+3, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15iusetobeaskid....theniturned5(x, y+4, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15skidskidskid(x+1, y, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.cookiejar.addToSendQueue(new Packet15britneyspearsisgay(x+2, y, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15ilikemen(x+1, y+2, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15donkeyjuice(x+2, y+2, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15unicornfker(x+1, y+4, z, o, par1EntityPlayer.inventory.getCurrentItem(), var9, var10, var11));
        	this.netClientHandler.addToSendQueue(new Packet15shagacow(x+2, y+4, z, o, par1EntityPlayer.inventory.hamsteIsSwag(), var9, var10, var69));
    This should start you of on the right track, to make nice pictures (or nasty) and perhaps words of sorts...

    now, to create your own words is pretty straight forwards.
    simply get that basic line (this.netclienthandler....) and the 'x', 'y' and 'z' part you can change to your liking.

    Happy timewastingmakingthisquiterage-encouragingtaskofmakingthingsthentheydontworkandyo ugetangrydontcomecryingtomekkthankyou

    PS: lordpankakeisthecoolestonthisforumsorrybutheisvery niceandhashelpedmealottoadvanceinmycodingthoughtia mstillquitebad.ifyoureaduptohereirespectyoubutihop eyourgettingboredbecausethenextbitispointless.pank akeiscool.

  2. #2
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,466
    My Mood
    Angry
    Or you know, you could use a for loop instead of a dozen static references.

    Code:
    for (int x3 = -3; x3 <=3; x3++)
    {
    	    for (int z3 = -3; z3 <=3; z3++)
    	    {
    	    	   if (mc.theWorld.getBlockId(blockX, blockY+1, blockZ) == 0)//check for air
    	           {
    	                  	mc.thePlayer.sendQueue.addToSendQueue(new Packet15Place(x+x3, y, z+z3 ,1 ,mc.thePlayer.inventory.getCurrentItem(), 0 ,0 ,0 ));
    		   }
    	    }
    }
    Still a decent tut OP, but skid-proofing public code in unnecessary.

    You could also have a call a void such as HookedPlacement(int posX, int posY, int posZ) then have mods with this function extend the called void.
    Last edited by LordPankake; 07-16-2013 at 07:28 PM.

  3. #3
    Wampwire's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Location
    United Kingdom of Tea
    Posts
    227
    Reputation
    10
    Thanks
    22
    My Mood
    Devilish
    create a seperate method/void, where you could declare several different ints for x,y,z. If blah blah was toggled, use these ints instead of these... Make a something nice... A house.. Floor.. Swastika.... Shit like that.. THings which we seen already in previous builds :P So just create a blank template, and use a different void as LP said. Or you could also use your values as default, then wouldnt need to worry aout exceptions of things not being selected properly :P

  4. #4
    MPG*H's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    2
    Thanks for your input

Similar Threads

  1. Question\And Maybe Request About Vac Proof Cheats(CS 1.6)
    By Dekken in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 4
    Last Post: 09-16-2008, 07:12 PM
  2. CWTFHACKERS >:S v1.0 - VIP - VAC 2 Proof Hack
    By Dave84311 in forum Hack/Release News
    Replies: 5
    Last Post: 02-11-2007, 12:43 PM
  3. Undeniable Moon Landing Proof
    By arunforce in forum General
    Replies: 1
    Last Post: 12-28-2006, 10:18 PM
  4. CS 1.6 VAC2 proof hacks AND cheat death hacks
    By Brunogol in forum General Game Hacking
    Replies: 28
    Last Post: 12-18-2006, 08:26 PM
  5. Proof that Dr.Seuss is a genius
    By Jackal in forum Entertainment
    Replies: 14
    Last Post: 06-24-2006, 04:07 AM