Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Debugging and testing

Joined
Aug 19, 2017
Messages
5
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.
Rebuild script.
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
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.
 
Client Developer
Joined
Oct 12, 2015
Messages
3,781
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.
 
Top