Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • ozeki6

    Lifetime Sponsor
    • Posts

      250
    • Joined

    • Last visited

    Everything posted by ozeki6

    1. What library are you using for ML ?
    2. Very cool mate but are you using the normal client or a botting client?
    3. Unless it missclicked on some npc then I have no idea. If it did it's not the script's fault anyway.
    4. Quickstart can only read some parameters from your .bat. It's up to you to choose what parameter you give. For example, if you want to enable muling on a script you could use quickstart to pass a boolean parameter "true" to your script.
    5. https://stackoverflow.com/questions/21863987/thread-hangs-when-creating-objectinputstream Your code should be : try { PlayerState state = new PlayerState(getLocalPlayer().getName(), getClient().getCurrentWorld(), 200, false); MethodProvider.log("Current PlayerState: "); MethodProvider.log("Name = " + state.getName() + "\n World = " + state.getWorld() + "\n ItemCount = " + state.getItemCount() + "\n Ready for trade: " + state.isGoTrade()); MethodProvider.sleep(3000); MethodProvider.log("Connecting..."); Socket socket = new Socket("127.0.0.1", PORT); ObjectOutputStream outputStream = new ObjectOutputStream(socket.getOutputStream()); outputStream.writeObject(state); ObjectInputStream inputStream = new ObjectInputStream(socket.getInputStream()); state = (PlayerState) inputStream.readObject(); MethodProvider.log("Received from server: "); MethodProvider.log("Name = " + state.getName() + "\n World = " + state.getWorld() + "\n ItemCount = " + state.getItemCount() + "\n Ready for trade: " + state.isGoTrade()); outputStream.close(); inputStream.close(); } catch (IOException | ClassNotFoundException e) { e.printStackTrace(); } PlayerState state = null;  try { ServerSocket socket = new ServerSocket(PORT); MethodProvider.log("Waitinng for connection..."); Socket pipe = socket.accept(); MethodProvider.log("Connected!" + pipe.toString()); ObjectInputStream inputStream = new ObjectInputStream(pipe.getInputStream()); state = (PlayerState)inputStream.readObject(); state.setGoTrade(true); ObjectOutputStream outputStream = new ObjectOutputStream(pipe.getOutputStream()); outputStream.writeObject(state); MethodProvider.log("Succesfully sent follow state: " + state); inputStream.close(); outputStream.close(); } catch (IOException | ClassNotFoundException e) { e.printStackTrace(); } return z.rh(60000,90000); }
    6. Try this. Delete ObjectInputStream from the client side. In the server declare ObjectInputStream and ObjectOutputStream right before using them. So it should be like ObjectInputStream inputStream = new ObjectInputStream(pipe.getInputStream()); state = (PlayerState)inputStream.readObject(); state.setGoTrade(true); ObjectOutputStream outputStream = new ObjectOutputStream(pipe.getOutputStream()); outputStream.writeObject(state); Read this https://stackoverflow.com/questions/21863987/thread-hangs-when-creating-objectinputstream
    7. That's because the object wasn't sent or because there is no connection. Add this into your client side MethodProvider.log("Connecting..."); Socket socket = new Socket("127.0.0.1", PORT); after you connect add : MethodProvider.log("Connected"); If it logs that it means the problem is here : ObjectOutputStream outputStream = new ObjectOutputStream(socket.getOutputStream()); ObjectInputStream inputStream = new ObjectInputStream(socket.getInputStream()); outputStream.writeObject(state); state = (PlayerState) inputStream.readObject();
    8. I can't spot anything wrong. I think the problem is elsewhere.
    9. Pushed an update, it will be fixed once it's accepted.
    10. Have you tried clicking on a button and then click on start?
    11. [OZ] Superheater What it does? Uses superheat spell to create bars. Requirements : 43 magic, nature runes, fire staff and the appropriate smithing level for the bars you want to create and also the ores. IT ONLY WORKS WITH A STAFF OF FIRE. GUI Paint & Proggy Features: Supports all F2p Bars. Simple and interactive GUI Scripts stops when out of ores Cool paint
    12. Completes gnome agility course.
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.