mancity21 Posted May 16, 2016 Share Posted May 16, 2016 How would i do a string jewellery state etc Quote Link to comment Share on other sites More sharing options...
Eagle Scripts Posted May 16, 2016 Share Posted May 16, 2016 How would i do a string jewellery state etc by the use of widgets, look into the Widgets section on the API Quote Link to comment Share on other sites More sharing options...
next_god Posted May 19, 2016 Share Posted May 19, 2016 I have been writing my own simple fishing script because of this... Thank a lot! Will post the source once completed. 1 Quote Link to comment Share on other sites More sharing options...
RealSrsBusiness Posted May 19, 2016 Share Posted May 19, 2016 Really helpful to get started.Thank you 1 Quote Link to comment Share on other sites More sharing options...
Apaec Posted May 20, 2016 Author Share Posted May 20, 2016 Apologies guys, it seems I got unfollowed from the thread. If you get stuck feel free to post here and I should get a notification from now on cheers! ~apa 1 Quote Link to comment Share on other sites More sharing options...
AgentPerry Posted May 24, 2016 Share Posted May 24, 2016 Is there a way to test your coding as you write it? In this tutorial you write the whole script, export it and add it to the client. I've always coded (never rs related) testing everything I write in small increments, as I code it. Is there a way to test your coding as you write it? In this tutorial you write the whole script, export it and add it to the client. I've always coded (never rs related) testing everything I write in small increments, as I code it. Quote Link to comment Share on other sites More sharing options...
Apaec Posted May 24, 2016 Author Share Posted May 24, 2016 Is there a way to test your coding as you write it? In this tutorial you write the whole script, export it and add it to the client. I've always coded (never rs related) testing everything I write in small increments, as I code it. Is there a way to test your coding as you write it? In this tutorial you write the whole script, export it and add it to the client. I've always coded (never rs related) testing everything I write in small increments, as I code it. For sure. For more complex scripts, you would write it a bit at a time, and test each bit by exporting the unfinished project. Ofcourse the script must compile (i.e no errors), but yes you can. In this case I wrote everything without even testing it because it's simple enough. In an Ideal world I would have tested the script but I was away from home while writing this tutorial. But for most scripts, you get the backbone done in stages, then add the bells and whistles eg special attack stuff, potions, food etc for combat scripts, or marks of grace for rooftop scripts etc. ~apa Quote Link to comment Share on other sites More sharing options...
Hpgames45 Posted June 3, 2016 Share Posted June 3, 2016 I have done everything here but it does not show up in scripts of OSBOT Quote Link to comment Share on other sites More sharing options...
Apaec Posted June 3, 2016 Author Share Posted June 3, 2016 I have done everything here but it does not show up in scripts of OSBOT Are you sure you've exported it as the correct file type? Also perhaps clear your local scripts folder and have JUST this script in there and see if that happens. It can sometimes be a little fiddly. You can then move your other scripts back in once it pops up apa Quote Link to comment Share on other sites More sharing options...
fatpoop Posted June 16, 2016 Share Posted June 16, 2016 I have done everything here but it does not show up in scripts of OSBOT I've been struggling with this for hours too. I followed all the instructions, and apart from running eclipse on a USB drive(still exported to my scripts) and renaming the "OSBot 2.4.68" to just "OSBot" and my script won't show up. I then tried to use your code and do everything as you did and it still didn't show up, so I downloaded other scripts, placed them in and I could see them. Any idea what the issue is? Quote Link to comment Share on other sites More sharing options...
ch4d Posted June 17, 2016 Share Posted June 17, 2016 to make the script show up make sure you export is as a jar. after you have the jar file. Go into Drive->Username->OsBot->Scripts That is where you put the .jar file for the client to pick it up and use it. After putting it in there I would restart client and then refresh your script page inside the client and it should show up. That is how i got mine to show up. Quote Link to comment Share on other sites More sharing options...
Apaec Posted June 17, 2016 Author Share Posted June 17, 2016 I've been struggling with this for hours too. I followed all the instructions, and apart from running eclipse on a USB drive(still exported to my scripts) and renaming the "OSBot 2.4.68" to just "OSBot" and my script won't show up. I then tried to use your code and do everything as you did and it still didn't show up, so I downloaded other scripts, placed them in and I could see them. Any idea what the issue is? Try as ch4d suggested below. to make the script show up make sure you export is as a jar. after you have the jar file. Go into Drive->Username->OsBot->Scripts That is where you put the .jar file for the client to pick it up and use it. After putting it in there I would restart client and then refresh your script page inside the client and it should show up. That is how i got mine to show up. Additionally, perhaps try clearing everything in your local scripts folder and exporting again. Sometimes this folder can be quite buggy ~apa Quote Link to comment Share on other sites More sharing options...
Explv Posted June 17, 2016 Share Posted June 17, 2016 I've been struggling with this for hours too. I followed all the instructions, and apart from running eclipse on a USB drive(still exported to my scripts) and renaming the "OSBot 2.4.68" to just "OSBot" and my script won't show up. I then tried to use your code and do everything as you did and it still didn't show up, so I downloaded other scripts, placed them in and I could see them. Any idea what the issue is? Make sure you have the @ScriptManifest annotation above your class that extends Script. It won't show up otherwise. Make sure you have no compiler errors when you export the script. Make sure the script is actually exported to the .jar file (open up the .jar file and check it is inside) Make sure the script.jar is inside the C:\Users\Username\OSBot\Scripts directory If you have done all of the above, backup your scripts to another directory, delete the OSBot folder, restart the client, add your script to the newly created Scripts directory, refresh the script list and see if it shows up. If you have tried all of these, pm a scripter and maybe they can assist you over teamviewer. 1 Quote Link to comment Share on other sites More sharing options...
CowsRKewl Posted June 21, 2016 Share Posted June 21, 2016 This isnt helpful. Its Enums. Quote Link to comment Share on other sites More sharing options...
Chris Posted June 21, 2016 Share Posted June 21, 2016 This isnt helpful. Its Enums. http://osbot.org/forum/topic/96505-osbot-scripting-basics-and-snippets/ try this 1 Quote Link to comment Share on other sites More sharing options...