Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SOS - Help with correct SDN package structure

Featured Replies

Hey guys, I need help 

I have an open script application for the SDN but I got some feedback that I am stuck on trying to resolve.

Anyone familiar with the SDN, can you please review this screenshot of the feedback I got on the script. I am having a hard time understanding what I am supposed to do. If I remove 'dependencies' from the import paths like suggested, intellij shows a "Cannot resolve symbol 'util'" error. The script compiles perfectly locally as it is. My project structure can be seen on the SDN here
CPBloodAltar has a /src folder which contains the java file shown in the fist screen shot linked above ^. 

Any suggestions would be extremely helpful thank you :D 

Okay so for sdn it has to look something like this:

dDq22Q1.png

Though it seems to be identical to yours, what about the dependencies folder? You shouldn't be importing dependencies.X.Y.Z but instead it's treated as part of your src folder, so

w5IFJpZ.png

And then perfectsmither has src inside

  • Author

@Czar

Yea our structures seem almost the same with some minor differences but I am not seeing how I should change mine. Here is a screenshot from my IDE to help better show my script and package structure. If you can,  please let me know if you spot anything wrong or not.

Okay so I don't use IntelliJ but I can see that dependencies are still not set up correctly. 

For example this import:

dependencies.util.PoH.PoH;

Should be

util.PoH.PoH;

So "dependencies" can't be a package, it needs to be part of the src folder. If there is a way in IntelliJ to convert the dependencies into its own "project" or module w/e then definitely give it a try. Maybe ask @ProjectPact for an invite to the scripter chat or join the osbot discord? Most scripters use intellij because of the APA guide but imo it's overkill.

  • Author

@CzarIt took me some time and trial and error but I finally figured out how to achieve what you said! Java is not my native language so the concept of src folder and packages was where my ignorance had me stuck. Thanks for the responses it really helped. Now I should be good to release my script :D 

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.