Results 1 to 4 of 4

Thread: Java Injection for RSPS

  1. #1
    Join Date
    Apr 2015
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Java Injection for RSPS

    Anyone knows how to make a java injection bot for RSPS?

    I made it for RS3 but i have no idea how to make it for RSPS

    Any help would be appreciated

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by NSED View Post
    I made it for RS3 but i have no idea how to make it for RSPS
    This sentence is a lie. If you understand injection enough to make a bot for rs3, you can make one for an rsps.

  3. #3
    Join Date
    Apr 2015
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    I just did what brandon explained on his tutorial?

  4. #4
    Join Date
    Jul 2013
    Posts
    45
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    I also did bandon's tutorial and it works, I want to make it for an RSPS too. I already tried some stuff, but that results in a really small frame:
    eq9ip0CCRA2xVzjEnscL_A.png
    and this is what I changed in brandon's code:
    I tried making a new ClientApplet constructor:
    Code:
    public ClientApplet(int width, int height) {
            try {
                this.setLayout(new BorderLayout(0, 0));
                loader = new URLClassLoader(new URL[]{new File(Configuration.PATH_TO_CLIENT).toURI().toURL()});
                applet = (Applet)loader.loadClass(Configuration.MAIN_CLASS.replace(".class", "")).newInstance();
                applet.setStub(this);
                applet.setPreferredSize(new Dimension(width, height));
                this.add(applet, BorderLayout.CENTER);
            } catch(Exception e) {
                e.printStackTrace();
                JOptionPane.showMessageDialog(null, "Error Loading.. Please Check Your Internet Connection.", "Error Loading..", JOptionPane.ERROR_MESSAGE);
            }
    
        }
    And this is the configuration file:
    Code:
    public static final boolean RUNESCAPE_CLIENT = false;
        public static final String PATH_TO_CLIENT = "C:/Users/Ruud/Arandar Client/Arandar.jar";
        public static final String MAIN_CLASS = "Client.class";
    and I changed the displayFrame method to this:
    Code:
    private static void displayFrame(String world, int width, int height) {
            JFrame frame = new JFrame("Eos");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setResizable(false);
    
            if (splash != null && Configuration.RUNESCAPE_CLIENT) {
                frame.add(splash);
                frame.pack();
                frame.setVisible(true);
            }
    
            centerFrame(frame);
            ClientApplet applet;
            if (Configuration.RUNESCAPE_CLIENT)
                applet = new ClientApplet(world, width, height);
            else
                applet = new ClientApplet(width, height);
            frame.add(applet);
            applet.start();
            if (splash != null && Configuration.RUNESCAPE_CLIENT) {
                frame.remove(splash);
            }
            frame.revalidate();
            frame.pack();
    
            centerFrame(frame);
    
            frame.addWindowListener(new WindowAdapter() {
                @Override
                public void windowClosing(WindowEvent e) {
                    frame.setVisible(false);
                    applet.stop();
                    frame.dispose();
                    super.windowClosed(e);
                }
            });
        }

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •