1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

F.A.Q.

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

  1. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    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. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    I can't get local scripts bots to show up in 1.0.3:
    Code (Text):
    1.  
    2. @Manifest(name = "Test", version = 1.0, author = "TheBat", categories = { Category.OTHER }, description = "", language = ScriptLanguage.JAVA, type = ClientType.OSRS)
    3.  
    4. public class Test extends LoopingScript{
    5.  
    6.     @Override
    7.     public void onLoop() {
    8.         // TODO Auto-generated method stub
    9.        
    10.     }
    11.  
    12. }
    13.  
    Am I missing something here?
     
  3. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Change
    Code (Text):
    1.  
    2. type = ClientType.OSRS
    3.  
    to
    Code (Text):
    1.  
    2. gameType = GameType.OSRS
    3.  
    We apologize for the unannounced change, but rest assured that these kinds of changes will be very uncommon.
     
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    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. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Assuming it's being compiled to the right directory, it should work fine.
     
  6. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    C:\Users\John\Documents\RuneMate\scripts bots
     
  7. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Exactly...
     
  8. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Still haven't gotten any scripts bots to show up... I really wish I could dev...
     
  9. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    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. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Updated the F.A.Q.
     
  11. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It's been nearly a year, but the F.A.Q. has been updated.
     

Share This Page

Loading...