April 22, 20205 yr 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, 20205 yr by sunderlord
April 22, 20205 yr 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
April 22, 20205 yr 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.
April 22, 20205 yr Author 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?
April 22, 20205 yr 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 }
April 22, 20205 yr 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?
April 22, 20205 yr Author still doesnt work 1 minute ago, Protoprize said: Have you compiled the code? build it and recompiled but doesnt work
April 22, 20205 yr 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?
April 22, 20205 yr Author 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?
April 22, 20205 yr 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.
April 23, 20205 yr Maybe you can post the solution to help others in the future who find this thread.
April 23, 20205 yr 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.
Create an account or sign in to comment