September 15, 20241 yr When I started out with OSBot scripts, I used this guide which was very helpful - thanks @Token I am still unfamiliar with intellij though really - I can output scripts, but that is about it - I am limited to a directory of classes, which has been OK so far However, moving forward, I would like to make a library similar to the osbot.jar file whereby I can import my classes in a similar way for example; import org.osbot.rs07.api.ui.Skill; import org.fanny.utils.whatever; How do I go about this in intellij idea? This is a pretty major step to producing scripts faster and more accurately
September 16, 20241 yr 15 hours ago, Fanny said: When I started out with OSBot scripts, I used this guide which was very helpful - thanks @Token I am still unfamiliar with intellij though really - I can output scripts, but that is about it - I am limited to a directory of classes, which has been OK so far However, moving forward, I would like to make a library similar to the osbot.jar file whereby I can import my classes in a similar way for example; import org.osbot.rs07.api.ui.Skill; import org.fanny.utils.whatever; How do I go about this in intellij idea? This is a pretty major step to producing scripts faster and more accurately Osbot has something called a dependency part that can be accessed from all scripts.
September 16, 20241 yr Author 4 hours ago, Khaleesi said: Osbot has something called a dependency part that can be accessed from all scripts. Wow that does look very neat. Yeah, mine looks nothing like that. Not sure where I went wrong, the other classes are what should be my dependencies like you have it Also my script is the entire project? You seem to be able to access individual projects from the same screen Dunno about IntelliJ Idea, my setup is more like No Idea
September 16, 20241 yr Ya I have 1 project with multiple modules, each script is a module -Khaleesi --Dependencies folder --ScriptName1 --Scriptname2
September 17, 20241 yr Do you mean more packages to organise your classes better? In intelliJ, Right click the project folder you want to add a new package > new > package Then when you want to use a class from that package you just call it like Import myPackage.classInPackage;
September 18, 20241 yr Author On 9/16/2024 at 4:01 PM, Khaleesi said: Ya I have 1 project with multiple modules, each script is a module This is what I was looking for, thanks so much! Working on my utils now, hopefully better and less effort scripts result 13 hours ago, dubai said: Right click the project folder you want to add a new package > new > package I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet
September 18, 20241 yr 57 minutes ago, Fanny said: This is what I was looking for, thanks so much! Working on my utils now, hopefully better and less effort scripts result I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet Glad to hear! If you have any other questions let me know
September 18, 20241 yr 9 hours ago, Fanny said: I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet Ah gotcha, easy fix 8 hours ago, Khaleesi said: Glad to hear! If you have any other questions let me know I have a question!!! How did you get that epic colourful display name badge thingo that changes colour
September 19, 20241 yr 6 hours ago, dubai said: Ah gotcha, easy fix I have a question!!! How did you get that epic colourful display name badge thingo that changes colour It's the donor rank 😉
September 25, 20241 yr Author On 9/16/2024 at 4:01 PM, Khaleesi said: Ya I have 1 project with multiple modules, each script is a module -Khaleesi --Dependencies folder --ScriptName1 --Scriptname2 Quick update: Spent a lot of time fleshing out my utility scripts Writing scripts is a breeze now, with all the complex logic handled in the utilities, no need for writing extensive checks on every action etc, Thanks for this, 10X developer overnight I just have a quick question; regards paid scripts, the guide says requires Scripter II, but it makes no indication of what that means or how to get it (but I see you have that badge) I seem to recall someone mentioning a test or something, but IDK, would be interested to know?
Create an account or sign in to comment