Jump to content

Script won't show up in local sdn [newbie help]


Recommended Posts

Posted (edited)

Overall code could be a little better, ill give you suggestions when I get home.

 

In terms of showing up in the local scripts, how are you saving it?

 

Have you tried exporting it as a jar and placing it in there, 1kb seems a little small, but it makes sense for such a small script?

 

Edit: Also, i dont think trees are entities, I think they are RS2Objects, correct me if im wrong though.

Edited by Tom
Posted (edited)

lol this was literally the first time i touched a eclipse and yeah maybe send me a couple scripts so i can gain so knowledge and i did try

 

And im ok to assume that you clicked refresh, or restarted your osbot?

 

Edit: You can remove the Thread.state import, it isn't used.

 

You are also importing all contents of java.awt,

 

remove this line as well and just hover over everything that errors, and eclipse will give you the option to import it.

Edited by Tom
Posted

mk i fixed the issue now it showed up but almost had a heart attack ran this on one of my accs and almost dropped my whip because i had it in inventory but it worked.

 

While you're working on your script, have a look into something called Hungarian Notation, or camelCase.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...