Thread: 823 deob error

Results 1 to 3 of 3
  1. #1 823 deob error 
    Registered Member
    Join Date
    May 2014
    Age
    26
    Posts
    256
    Thanks given
    89
    Thanks received
    61
    Rep Power
    12
    Anyone able to help me with this
    Spoiler for Error:

    Code:
    java.lang.NullPointerException
    	at rs2.client.client.init(client.java:618)
    	at rs2.client.RS3Applet.startClient(RS3Applet.java:67)
    	at rs2.client.RS3Applet.doFrame(RS3Applet.java:56)
    	at rs2.client.RS3Applet.main(RS3Applet.java:47)

    When I'm trying to use Belthazar's deob. Don't need this desperately, just interested to see what it's like.
    Here's some stuff to do with the error
    Spoiler for Client.java:

    Code:
     if (aString8701 == null)
    		aString8701 = "";
    	    Class589 class589
    		= new Class589(anInt8698 * 1028410349, anInt8699 * 12387997,
    			       877476219 * anInt8578, anInt8844 * 1106977541,
    			       aClass450_8550.aString5040);//<-- This is line 618
    	    Class473.aclient5180 = this;
    	    String string_1_ = Class92_Sub8.aClass675_9820.aString8520;
    	    int i = Class92_Sub8.aClass675_9820.anInt8517 * -1852378451 + 32;
    	    if (!string.equals("")) {
    		string_1_
    		    = new StringBuilder().append(string_1_).append("_").append
    			  (string).toString();
    		i = 0;
    	    }
    	    method12246(class589, aClass450_8550.aString5042, string_1_, i,
    			Class652.method13566((byte) -77), 823, 1, aBool8815,
    			-2027403664);
    	}

    Spoiler for RS3Applet:

    Code:
    package rs2.client;
    
    import java.applet.Applet;
    import java.applet.AppletStub;
    import java.awt.Dimension;
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.Properties;
    
    import javax.swing.JFrame;
    
    /**
     * An Applet used for loading the RS3 Client.
     */
    public class RS3Applet extends Applet implements AppletStub {
    
    	/**
    	 * An generated serial UID.
    	 */
    	private static final long serialVersionUID = 1670498001014004354L;
    	
    	/**
    	 * The parameters of the client.
    	 */
    	private Properties client_parameters = new Properties();
    	
    	/**
    	 * The current frame of the client application.
    	 */
    	public JFrame clientFrame = null;
    	
    	/**
    	 * Chooses the Host
    	 */
    	public static String Host = "http://127.0.0.1";
    
    	/**
    	 * The main entry point of the current application.
    	 * @param args The command line arguments.
    	 */
    	public static void main(String... args) {
    		RS3Applet rs3applet = new RS3Applet();
    		rs3applet.doFrame();//<-- Line 47
    	}
    	
    	/**
    	 * Performs the operations needed to show the client.
    	 */
    	private void doFrame() {
    		readParameters();
    		openFrame();
    		startClient();//<-- Line 56
    		clientFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		
    	}
    
    	/**
    	 * Starts the actual client.
    	 */
    	private void startClient() {
    		try {
    			client RS3Client = new client();
    			RS3Client.supplyApplet(this);
    			RS3Client.init();//<-- Line 67
    			RS3Client.start();			
    		} catch(Exception e) {
    			e.printStackTrace();
    		}
    	}
    
    	/**
    	 * Opens the actual frame application.
    	 */
    	private void openFrame() {
    		clientFrame = new JFrame("Jagex");
    		clientFrame.add(this);
    		clientFrame.setVisible(true);
    		clientFrame.setSize(800, 600);		
    	}
    
    	/**
    	 * Reads the parameters text file, and stores the parameters.
    	 */
    	@SuppressWarnings("resource")
    	private void readParameters() {
    
    	}
    
    	/*
    	 * (non-Javadoc)
    	 * @see java.applet.AppletStub#appletResize(int, int)
    	 */
    	@Override
    	public void appletResize(int dimensionX, int dimensionY) {
    		super.resize(new Dimension(dimensionX, dimensionY));
    	}
    	
    	/*
    	 * (non-Javadoc)
    	 * @see java.applet.Applet#getParameter(java.lang.String)
    	 */
    	@Override
    	public String getParameter(String paramName) {
    		return (String) client_parameters.get(paramName);
    	}
    	
    	/*
    	 * (non-Javadoc)
    	 * @see java.applet.Applet#getDocumentBase()
    	 */
    	@Override
    	public URL getDocumentBase() {
    		try {
    			return new URL(Host);
    		} catch (MalformedURLException e) {
    			e.printStackTrace();
    		}
    		return null;
    	}
    	
    	/*
    	 * (non-Javadoc)
    	 * @see java.applet.Applet#getCodeBase()
    	 */
    	@Override
    	public URL getCodeBase() {
    		try {
    			return new URL(Host);
    		} catch (MalformedURLException e) {
    			e.printStackTrace();
    		}
    		return null;
    	}
    }

    Thanks in advance
    Reply With Quote  
     

  2. #2  
    Reverse Engineering

    freeezr's Avatar
    Join Date
    Dec 2011
    Posts
    1,067
    Thanks given
    288
    Thanks received
    444
    Rep Power
    401
    RS3Applet.readParameters();

    might want to add the parameters

    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2014
    Age
    26
    Posts
    256
    Thanks given
    89
    Thanks received
    61
    Rep Power
    12
    Quote Originally Posted by Im Frizzy View Post
    RS3Applet.readParameters();

    might want to add the parameters
    Done that now but gave me a new error
    Code:
    java.lang.NumberFormatException: For input string: "false"
    	at java.lang.NumberFormatException.forInputString(Unknown Source)
    	at java.lang.Integer.parseInt(Unknown Source)
    	at java.lang.Integer.parseInt(Unknown Source)
    	at rs2.client.client.init(client.java:492)
    	at rs2.client.RS3Applet.startClient(RS3Applet.java:68)
    	at rs2.client.RS3Applet.doFrame(RS3Applet.java:57)
    	at rs2.client.RS3Applet.main(RS3Applet.java:48)
    This is line 492:
    Code:
    = Integer.parseInt(string_0_) * -1602965371;
    Maybe i'm reading the error wrong but why does it say unknown source when a couple of lines below it's using string_0_ again and that's fine? Unless Unknown source means something different to what i think
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. galkons and deob error
    By andriy81 in forum Help
    Replies: 7
    Last Post: 12-22-2011, 02:29 AM
  2. Project Insanity on 317 Deob Error
    By Mikey` in forum Help
    Replies: 3
    Last Post: 07-28-2010, 08:07 PM
  3. 569 deob error
    By Appeald in forum Help
    Replies: 0
    Last Post: 10-26-2009, 09:37 PM
  4. Galkon's Deob Error
    By zamon in forum Help
    Replies: 4
    Last Post: 07-19-2009, 06:37 AM
  5. Deob errors.
    By Maxi in forum Help
    Replies: 5
    Last Post: 03-04-2009, 12:32 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •