Floglet Posted June 7, 2019 Share Posted June 7, 2019 (edited) Hi all, I've just made a partially working script for looting bones in the chicken pen... I have a few questions: 1- How do I stop the script walking away from the area with a trail of bones for example? or picking up bones from the nearby cow enclosure? 2- When I update the script I have to re-launch OSBOT before I can "refresh" the script into the list, is this always the case? 3- how do I set it to log into F2P worlds on startup? Thanks all. Edited June 7, 2019 by Floglet Quote Link to comment Share on other sites More sharing options...
zwaffel Posted June 7, 2019 Share Posted June 7, 2019 1. check if the bones are in the chicken pen before picking them up 2. no you should be able to hit refresh and run the new version. 3. use cli to open the client, you can give a world as parameter 1 Quote Link to comment Share on other sites More sharing options...
Neanel Posted June 8, 2019 Share Posted June 8, 2019 For 1: https://osbot.org/api/org/osbot/rs07/api/map/Area.html Make an area of the chicken pen & check if the bones are inside this area. 1 Quote Link to comment Share on other sites More sharing options...
Floglet Posted June 8, 2019 Author Share Posted June 8, 2019 (edited) Thank you both for the help! My normal process to get the new script to work in OSBOT is to close out the current OSBOT window and re-launch. Currently I export the project (from eclipse) with the updated script but when I hit refresh on OSBOT nothing changes, am I forgetting to do something? Edited June 8, 2019 by Floglet Quote Link to comment Share on other sites More sharing options...
zwaffel Posted June 8, 2019 Share Posted June 8, 2019 Its normal that nothing visually changes in your script list. (unless you change the tile or description) However when you run the script it should be the new version. Quote Link to comment Share on other sites More sharing options...
Floglet Posted June 10, 2019 Author Share Posted June 10, 2019 On 6/8/2019 at 11:00 PM, zwaffel said: Its normal that nothing visually changes in your script list. (unless you change the tile or description) However when you run the script it should be the new version. I update the script name yet it doesn't update/run the new script, maybe this is because I am running OSBOT via the "Run Boot" button through eclipse rather than through just running the osbot.jar? Quote Link to comment Share on other sites More sharing options...
Neanel Posted June 17, 2019 Share Posted June 17, 2019 Do you see your script in the script selector? You need to click the refresh button in order for it to update Quote Link to comment Share on other sites More sharing options...