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
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
I just did what brandon explained on his tutorial?
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:
And this is the configuration file: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 I changed the displayFrame method to this: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";
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); } }); }
There are currently 1 users browsing this thread. (0 members and 1 guests)