sunderlord Posted April 22, 2020 Share Posted April 22, 2020 (edited) Hello im new to scripting for osrs. i followed setup guide: Although when i build the class and refresh my osbot scripts its not there. Can someone help me pls and maybe give me a few in depth views as this is completely new to me but i have scripted for other game such as crossfire fps. Iam just looking to do this as a hobby but cant figure out the setup and this new method of writing as i only used to script plain dll files and inject them. Thank you in advance. Edited April 22, 2020 by sunderlord Quote Link to comment Share on other sites More sharing options...
Protoprize Posted April 22, 2020 Share Posted April 22, 2020 1 hour ago, sunderlord said: Hello im new to scripting for osrs. i followed setup guide: Although when i build the class and refresh my osbot scripts its not there. Can someone help me pls and maybe give me a few in depth views as this is completely new to me but i have scripted for other game such as crossfire fps. Iam just looking to do this as a hobby but cant figure out the setup and this new method of writing as i only used to script plain dll files and inject them. Thank you in advance. Make sure Java 8 is installed and is set as the default compiler Google is your friend Quote Link to comment Share on other sites More sharing options...
sunderlord Posted April 22, 2020 Author Share Posted April 22, 2020 i have java 8 jdk but how to set as default? Quote Link to comment Share on other sites More sharing options...
Gunman Posted April 22, 2020 Share Posted April 22, 2020 51 minutes ago, sunderlord said: Gunman you're cute af Ah, thank you! You're cute too! Make sure in your project structure you have java 8 selected like below. Quote Link to comment Share on other sites More sharing options...
sunderlord Posted April 22, 2020 Author Share Posted April 22, 2020 thats what i had the whole time, still it wont let me run it, im using this script as a test but it wont be seen in my osbot scripts because i have some basic thing setup the wrong way. maybe any of u can help trough discord? Quote Link to comment Share on other sites More sharing options...
Ace99 Posted April 22, 2020 Share Posted April 22, 2020 Make sure you have the ScriptManifest above the main class @ScriptManifest(author = "", name = "", logo = "", version = 1.0 , info = "") public class Main extends Script{ //onStart //onLoop //onExit } Quote Link to comment Share on other sites More sharing options...
Protoprize Posted April 22, 2020 Share Posted April 22, 2020 1 hour ago, sunderlord said: thats what i had the whole time, still it wont let me run it, im using this script as a test but it wont be seen in my osbot scripts because i have some basic thing setup the wrong way. maybe any of u can help trough discord? Have you compiled the code? Quote Link to comment Share on other sites More sharing options...
sunderlord Posted April 22, 2020 Author Share Posted April 22, 2020 still doesnt work 1 minute ago, Protoprize said: Have you compiled the code? build it and recompiled but doesnt work Quote Link to comment Share on other sites More sharing options...
Gunman Posted April 22, 2020 Share Posted April 22, 2020 2 minutes ago, sunderlord said: still doesnt work build it and recompiled but doesnt work Are you sure it's compiling to the osbot script folder? Quote Link to comment Share on other sites More sharing options...
sunderlord Posted April 22, 2020 Author Share Posted April 22, 2020 i like the layout of intellij and it seems familiar to work with but its just not working out? what shoudl the language level be? 8 right? or 6? dependenties on the client.jar right? Quote Link to comment Share on other sites More sharing options...
Ace99 Posted April 22, 2020 Share Posted April 22, 2020 5 minutes ago, sunderlord said: i like the layout of intellij and it seems familiar to work with but its just not working out? what shoudl the language level be? 8 right? or 6? dependenties on the client.jar right? I messaged you, I can try to help in disc for what its worth. Hit me up on there if you feel like it and hopefully I can help. 1 Quote Link to comment Share on other sites More sharing options...
sunderlord Posted April 22, 2020 Author Share Posted April 22, 2020 Ace99 solved it for me, been a great help thanks man! 1 Quote Link to comment Share on other sites More sharing options...
shreder Posted April 23, 2020 Share Posted April 23, 2020 Maybe you can post the solution to help others in the future who find this thread. Quote Link to comment Share on other sites More sharing options...
Ace99 Posted April 23, 2020 Share Posted April 23, 2020 14 hours ago, shreder said: Maybe you can post the solution to help others in the future who find this thread. The class name was not the same as its .java file. Quote Link to comment Share on other sites More sharing options...