Page 1 of 4 123 ... LastLast
Results 1 to 15 of 46
  1. #1
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,470
    My Mood
    Angry

    [Tutorial] Creating a Basic Hacked Client

    Hey guys, I noticed some of the people are saying that the tutorials are a bit out-dated, so I here's a new one (1.4.7)

    1. Install MCP, any recent version of Java Development Kit, and Eclipse. I assume since you're reading this that you've seen videos on how to do this or have done this already.

    2. After MCP is set up and the source has been decompiled, run Eclipse.exe. A box will come up asking for a workspace. Nextto that, there is the browse button. Click that and browse to the folder "Eclipse" that is in your folder with all of MCP's contents and select it.
     




    3. Eclipse will then open with the workspace you selected. It will be black and you will have a few tools on your screen.
     




    4. Now once you open GuiIngame, you need to add a few things before we add any real hacks.
     




    5. Now that we can check keys, we can actually start.
    We're going to want a title for our client. (I'll name mine "Derp")
     

     

    We will add our GUI above
    Code:
     
    if (this.recordPlayingUpFor > 0)
            {
                this.mc.mcProfiler.startSection("overlayMessage");
                var33 = (float)this.recordPlayingUpFor - par1;
                blablabla, etc.
                ...
    and below
    Code:
                GL11.glPopMatrix();
                this.mc.mcProfiler.endSection();
            }

     



    Now to make our menu better, we need some booleans.
    Since storing a bunch of booleans in this file is a bit messy, we will make a new file to store them. I will name mine "var" since it's short and easy to remember.
    Create a new java class file similiar to the one here.
    Make sure it's in this package (So it won't throw errors and such)
    Since the boolean is static, it can be accessed by other files.

    Add a the menu boolean as shown. You don't have to add = false; at the end since by default booleans are false, but I do it anyways. It's a habit :P


    Now that you've set up your boolean-holding class, put the drawrect from our main menu inside an if statement like this.
    Code:
    if(!yourvariablefile.menutoggle)
    {
        drawRectHere;
    }
    Adding ! before the boolean means 'not'. So if the menu is Not open, it will draw the rect around the title like we told it to.


    6.Now that we have a pretty title, we're going to add a basic menu.
     




    7. The menu and title are done! Now for the basic hacks.
     

    Make booleans in your boolean-holding class for "fullbright" and "fly"
     


    Use this as a reference for any future toggle

     



     

    Navigate to EntityPlayerSP
    Under the public void "onLivingUpdate" add this:




    8. That's pretty much it. This is how basic clients are made. Follow a similiar setup as this and you can do quite a lot in a client.

  2. The Following 3 Users Say Thank You to LordPankake For This Useful Post:

    71c (07-02-2013),Khrosx (04-03-2013),SlayaHax (03-24-2013)

  3. #2
    Margherita's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Posts
    11,297
    Reputation
    783
    Thanks
    1,288
    My Mood
    Bashful
    Very nice tutorial, good job.
    PM Me | VM Me | Rules

    MARGHERITA

  4. #3
    Smaug's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    2,518
    Reputation
    121
    Thanks
    1,192
    Nice job!
    Member Level 1 since 4/20/11 - 8/4/14
    Member Level 2 since 8/4/14 - present

  5. #4
    C++Coding's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    82
    Reputation
    54
    Thanks
    14
    My tutorial would have bee this.


    "So you want to make a basic hacked client?Here The Java™ Tutorials Get reading."

  6. The Following User Says Thank You to C++Coding For This Useful Post:

    godshawk (03-26-2013)

  7. #5
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,470
    My Mood
    Angry
    Quote Originally Posted by C++Coding View Post
    My tutorial would have bee this.

    "So you want to make a basic hacked client?Here The Java™ Tutorials Get reading."
    Challenge: Using information only from this page (and links, no google), create a functioning kill aura.
    (Although yes, knowing basic java IS kinda a pre-requiset)
    Last edited by LordPankake; 02-13-2013 at 09:55 PM.

  8. #6
    C++Coding's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    82
    Reputation
    54
    Thanks
    14
    Quote Originally Posted by LordPankake View Post
    Challenge: Using information only from this page (and links, no google), create a functioning kill aura.
    Do you think people can make a kill aura with out even knowing java?I'm pretty sure almost all "Coders" he can't create an object

  9. #7
    Smaug's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    2,518
    Reputation
    121
    Thanks
    1,192
    Quote Originally Posted by C++Coding View Post
    My tutorial would have bee this.


    "So you want to make a basic hacked client?Here The Java™ Tutorials Get reading."

    This guy is pretty badass.
    Member Level 1 since 4/20/11 - 8/4/14
    Member Level 2 since 8/4/14 - present

  10. The Following User Says Thank You to Smaug For This Useful Post:

    LordPankake (02-13-2013)

  11. #8
    C++Coding's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    82
    Reputation
    54
    Thanks
    14
    Quote Originally Posted by avery12 View Post



    This guy is pretty badass.
    I have to repeat my self many times because people don't get it.You can't code a client without any java knowledge.It's like trying to solve an equation without knowing the formula

  12. The Following User Says Thank You to C++Coding For This Useful Post:

    LordPankake (02-13-2013)

  13. #9
    Smaug's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    2,518
    Reputation
    121
    Thanks
    1,192
    Either way, this thread was helpful.
    Member Level 1 since 4/20/11 - 8/4/14
    Member Level 2 since 8/4/14 - present

  14. The Following User Says Thank You to Smaug For This Useful Post:

    LordPankake (02-13-2013)

  15. #10
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,470
    My Mood
    Angry
    Quote Originally Posted by C++Coding View Post
    I have to repeat my self many times because people don't get it.You can't code a client without any java knowledge.It's like trying to solve an equation without knowing the formula
    This is true. My point was kinda silly as you pointed out, but still. Assuming a person is reading a thread about modding a java game, they probably know something about it, more or less. Also it starts to become like a secondary language like spanish or french after awhile(in terms of how much you understand it given time spent looking over it and seeeing how it works)

    This is also a basic tutorial. There are much more effecient ways to do a gui, but usually those ways are not really "basic" and "simple".

  16. #11
    Johnleepower's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    882
    Reputation
    17
    Thanks
    1,425
    My Mood
    Happy
    Really good tutorial thanks man and hope i can create a hack client :P

  17. #12
    TheR4pt0r's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    At my house which is right in front of my neighbor's house :D
    Posts
    5
    Reputation
    10
    Thanks
    2
    My Mood
    Doubtful
    errmm Great tutorial but i m having some troubles.
    Last edited by TheR4pt0r; 02-16-2013 at 04:30 AM.

  18. #13
    C++Coding's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    82
    Reputation
    54
    Thanks
    14
    Quote Originally Posted by TheR4pt0r View Post
    errmm Great tutorial but i m having some troubles.
    Your troubles are that you don't know real java.Please come back in 3-4 months when you have learned the basics of the language

  19. #14
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,470
    My Mood
    Angry
    Quote Originally Posted by TheR4pt0r View Post
    errmm Great tutorial but i m having some troubles.
    So what seems to be the problem? What kind of error does eclipse/java throw you?

    Also, you could put the area that's affected in [.CODE] [./CODE] tags

    Edit: From what you sent me, you're missing a ';' after your "public static boolean menu". If it's something else, do elaborate.
    Last edited by LordPankake; 02-16-2013 at 04:22 PM.

  20. #15
    TheR4pt0r's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    At my house which is right in front of my neighbor's house :D
    Posts
    5
    Reputation
    10
    Thanks
    2
    My Mood
    Doubtful
    package net.minecraft.src;

    public class var
    {
    public static booolean menu

    }
    This is my problem..i get 3 errors.. is syntax wrong? it said var should be defined as own file so i did "var" and it was correct...should i keep it this way?

    ---------- Post added at 05:44 PM ---------- Previous post was at 05:43 PM ----------

    Asking is the best way learning.
    Attached Thumbnails Attached Thumbnails
    Subject.png  

    Last edited by TheR4pt0r; 02-16-2013 at 06:08 PM.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Ken53406's Visual Basics Hacking Tutorial (Trainers)
    By ken53406 in forum Visual Basic Programming
    Replies: 38
    Last Post: 09-30-2010, 11:01 PM
  2. [Tutorial] Create Counter-Strike:Source Hacks
    By ~Mafioso~ in forum Visual Basic Programming
    Replies: 9
    Last Post: 01-31-2010, 05:42 PM
  3. Replies: 28
    Last Post: 03-02-2009, 07:44 AM
  4. Just need a basic hack tutorial
    By killerfohire in forum Programming Tutorial Requests
    Replies: 3
    Last Post: 01-28-2009, 10:04 PM
  5. [Tutorial] How to set hotkeys to your basic hacks.
    By wr194t in forum Visual Basic Programming
    Replies: 4
    Last Post: 11-08-2007, 03:44 AM