Results 1 to 3 of 3
  1. #1
    balenamir's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Question How to decompile mcp obfustcated jar's

    I want to decompile a mcp obfuscated client so i can work on it.

    The problem is when i decompile it with any decompiler aka jd-gui instead of the minecraft files i get a bunch of charceters.

    in the code i get this : look in the bold ones, they are suppose to be for example net.minecraft.######.###### but the mcp obfuscation made its into keywords which i dont understand. what can i do to remove them or how can i know what the real file's name is.

    Code:
    public class Speed
      extends Module
    {
      public static float speed;
      public static boolean Enabled;
      public static Value speed1 = new Value("Speed");
      private double movementSpeed;
      private int delay;
      private int delay2;
      private int delay3;
      
      public Speed()
      {
        super("Speed", "Speed", true, 38, ModuleType.MOVEMENT, -1727987968, "Turn on when being chased by rudy.");
      }
      
      public void onEnable()
      {
        Enabled = true;
        
        this.movementSpeed = (mc.f != null ? mc.h.a(wv.d).b() : 0.1000000014901161D);
      }
      
      public void onTick()
      {
        if ((Enabled) && (!jesus.isOnLiquid(mc.h.D)))
        {
          this.delay += 1;
          this.delay2 += 1;
          this.delay3 += 1;
          if (this.delay >= 4)
          {
            mc.h.a(wv.d).a(this.movementSpeed + 0.13D);
            this.delay = 0;
          }
          if (this.delay2 >= 5)
          {
            mc.h.a(wv.d).a(this.movementSpeed);
            this.delay2 = 0;
            
            this.delay = 0;
          }
        }
      }
      
      public void afterLivingUpdate2()
      {
        if (isEnabled()) {
          if (speed == 0.0F) {
            speed = 2.0F;
          }
        }
      }
      
      public void onDisable()
      {
        this.delay = 0;
        this.delay2 = 0;
        this.delay3 = 0;
        
        mc.h.a(wv.d).a(this.movementSpeed);
        bae.d = 1.0F;
        
        Enabled = false;
      }
    }

  2. #2
    Scythen's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    delusional
    Posts
    528
    Reputation
    114
    Thanks
    724
    My Mood
    Relaxed
    Quote Originally Posted by balenamir View Post
    I want to decompile a mcp obfuscated client so i can work on it.

    The problem is when i decompile it with any decompiler aka jd-gui instead of the minecraft files i get a bunch of charceters.

    in the code i get this : look in the bold ones, they are suppose to be for example net.minecraft.######.###### but the mcp obfuscation made its into keywords which i dont understand. what can i do to remove them or how can i know what the real file's name is.

    Code:
    public class Speed
      extends Module
    {
      public static float speed;
      public static boolean Enabled;
      public static Value speed1 = new Value("Speed");
      private double movementSpeed;
      private int delay;
      private int delay2;
      private int delay3;
      
      public Speed()
      {
        super("Speed", "Speed", true, 38, ModuleType.MOVEMENT, -1727987968, "Turn on when being chased by rudy.");
      }
      
      public void onEnable()
      {
        Enabled = true;
        
        this.movementSpeed = (mc.f != null ? mc.h.a(wv.d).b() : 0.1000000014901161D);
      }
      
      public void onTick()
      {
        if ((Enabled) && (!jesus.isOnLiquid(mc.h.D)))
        {
          this.delay += 1;
          this.delay2 += 1;
          this.delay3 += 1;
          if (this.delay >= 4)
          {
            mc.h.a(wv.d).a(this.movementSpeed + 0.13D);
            this.delay = 0;
          }
          if (this.delay2 >= 5)
          {
            mc.h.a(wv.d).a(this.movementSpeed);
            this.delay2 = 0;
            
            this.delay = 0;
          }
        }
      }
      
      public void afterLivingUpdate2()
      {
        if (isEnabled()) {
          if (speed == 0.0F) {
            speed = 2.0F;
          }
        }
      }
      
      public void onDisable()
      {
        this.delay = 0;
        this.delay2 = 0;
        this.delay3 = 0;
        
        mc.h.a(wv.d).a(this.movementSpeed);
        bae.d = 1.0F;
        
        Enabled = false;
      }
    }
    Wrong section. Please post in the proper section "HELP" in the future please.

  3. #3
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    No response after two days, assuming solved.
    /Closed


    MPGH Staff History:
    Minion: 02-12-2013 - 6-28-2013
    Former Staff: 6-28-2013 - 7-14-2014
    Minion: 7-14-2014 - 1-3-2015
    Minion+: 1-3-2015 - 6-1-2015
    Moderator: 6-1-2015 - 10-2-2016
    Global Moderator: 10-2-2016 - Current

    Current Sections:
    DayZ Mod & Standalone Hacks & Cheats
    BattleOn Games Hacks, Cheats & Trainers
    Minecraft Hacks
    Other Semi-Popular First Person Shooter Hacks
    Blackshot Hacks & Cheats
    Need For Speed World Hacks
    Other First Person Shooter Hacks
    CounterStrike: Global Offensive Hacks
    Garry's Mod Hacks & Cheats


    Donating:
    If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
    Top Donators: (Awesome People)
    FanticSteal $75.00
    smurf_master $58.00 <- Best DayZ Gear Seller
    Fujiyama $25.00
    [MPGH]Black $10.00
    [MPGH]Hova $10.00
    xJudgez $4.54
    [MPGH]Normen's Sheep $3.50
    eminemlover $1.50


    Brony?
    https://www.mpgh.net/forum/groups/1728-mpgh-bronies.html

Similar Threads

  1. How do you make a JAR open in VB 2010?
    By triger545 in forum Visual Basic Programming
    Replies: 2
    Last Post: 08-31-2011, 08:43 PM
  2. [Help] How to decompile / decode a .dll file
    By tomixX in forum Coders Lounge
    Replies: 4
    Last Post: 07-08-2011, 04:27 PM
  3. [Help] how to Decompile .REZ xfire
    By nopsa in forum CrossFire Mods & Rez Modding
    Replies: 7
    Last Post: 06-13-2011, 12:27 AM
  4. How to decompile an .exe?
    By flowerpower84 in forum Call of Duty Modern Warfare 2 Help
    Replies: 11
    Last Post: 03-17-2010, 12:05 PM
  5. TuT on how to decompile a hack or c++ project
    By whit in forum Programming Tutorial Requests
    Replies: 3
    Last Post: 03-12-2010, 04:10 PM

Tags for this Thread