June 7, 20196 yr 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, 20196 yr by Floglet
June 7, 20196 yr 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
June 8, 20196 yr 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.
June 8, 20196 yr Author 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, 20196 yr by Floglet
June 8, 20196 yr 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.
June 10, 20196 yr Author 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?
June 17, 20196 yr Do you see your script in the script selector? You need to click the refresh button in order for it to update
Create an account or sign in to comment