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

Question Debugging and testing

Discussion in 'Developer Support' started by redeyed600, Oct 19, 2017.

  1. redeyed600

    Joined:
    Aug 19, 2017
    Messages:
    5
    Likes Received:
    0
    I am a complete noob here.

    Can a dev explain their process of testing/making changes and running bots.

    For example:

    Build project.
    Click run Spectre -> Spectre boots up and logs in.
    Select bot from list.
    Run and test bot .
    Make changes to script bot.
    Rebuild script bot.
    Refresh bot list
    Run bot.
    ^^^
    Changes are not made?? I even deleted the out file from the project and build project.

    So i try build project
    click run Spectre -> Spectre boots up and logs in
    Select bot from list
    Run and test bot.
    Make changes to script bot
    Stop Spectre from intellij
    Click run Spectre -> Spectre boots up and logs in.
    Refresh bot list
    Run bot.
    Spectre explodes with - "Instance failed to start, you have reached limit of 2 bots running at the same time".
    Wait 15min everytime this happens

    Am i doing something wrong here?

    Anyway enjoying bot development; so far have banking, pathing to areas, checking if doors/gates are blocking path.
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    You need to restart RuneMate when you make changes to your bot locally unless you're running it in debugging mode. To stop the instance limit being reached you need to ensure that RuneMate is closed gracefully, so stop your bots then close using the X button in the client.
     
  3. redeyed600

    Joined:
    Aug 19, 2017
    Messages:
    5
    Likes Received:
    0
    Excellent, thanks for the fast response. Loved The Coding Chronicles btw.
     
  4. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Thanks, hopefully I'll get a chance to build on them in future.
     

Share This Page

Loading...