May 6, 201510 yr correct me if i am getting anything wrong this is my first script i think i got everything good But yea i exported the file to my osbot>scripts folder and basically it wont show up and it says the file is 1kb is that fine? also on my eclipse it is showing this
May 6, 201510 yr 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 May 6, 201510 yr by Tom
May 6, 201510 yr Author 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
May 6, 201510 yr 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 May 6, 201510 yr by Tom
May 6, 201510 yr Author 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.
May 6, 201510 yr 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