Discussion in 'Programming & Hardware' started by Cloud, Nov 8, 2013.

  1. Last updated: December 1st, 2014

    How do I access RuneMate's SDK mode?

    Run the client with the -sdk program argument. In the future a toggleable switch is likely to be added to speed up development.

    How do I run local scripts bots?
    Start the client in RuneMate's SDK mode.

    What type of information does the development toolkit offer?
    The development toolkit offers all of the information that the client can gather about a given npc, object, item, projectile, interface, varp, or player. The entity can either be selected from a table of the loaded entities (Which can be filtered by distance, id, name, and other information), or you can enter database mode and view definition data about all npcs, objects, and items. In addition, you can enter a search query into the search bar to filter the displayed results into a much smaller, more manageable list.

    Since the client's UI was written using JavaFX, can we use it too?
    Yes it does, and in fact we encourage using JavaFX instead of Swing/AWT. All you need to do is extend Stage and execute it's showAndWait method on the JFX thread (i.e. Platform.runLater(Runnable))

    What version of java do I need to use when writing a script bot?
    You should use java 8. This means you can use all of it's syntax features such as lambdas and new api features such as the stream api.

    If you have any other questions, feel free to ask, we're here to help :)
    #1 Cloud, Nov 8, 2013
    Last edited: Dec 1, 2014
    Arbiter, EvilCabbage and Quantum like this.
  2. I can't get local scripts bots to show up in 1.0.3:
    Code (Text):
    2. @Manifest(name = "Test", version = 1.0, author = "TheBat", categories = { Category.OTHER }, description = "", language = ScriptLanguage.JAVA, type = ClientType.OSRS)
    4. public class Test extends LoopingScript{
    6.     @Override
    7.     public void onLoop() {
    8.         // TODO Auto-generated method stub
    10.     }
    12. }
    Am I missing something here?
  3. Change
    Code (Text):
    2. type = ClientType.OSRS
    Code (Text):
    2. gameType = GameType.OSRS
    We apologize for the unannounced change, but rest assured that these kinds of changes will be very uncommon.
  4. I lied. That change isn't until 1.1.0. I am not quite sure what 1.0.3 looks like anymore, so I'll let @Cloud handle this one.
  5. Assuming it's being compiled to the right directory, it should work fine.
  6. C:\Users\John\Documents\RuneMate\scripts bots
  7. Exactly...
  8. Still haven't gotten any scripts bots to show up... I really wish I could dev...
  9. If you still can't get scripts bots to show up with V1.1.0, send me a pm and I'll try to help.
  10. Updated the F.A.Q.
  11. It's been nearly a year, but the F.A.Q. has been updated.

Share This Page