Jump to content

Sebastian

Members
  • Posts

    283
  • Joined

  • Last visited

  • Feedback

    100%

Profile Information

  • Gender
    Male
  • Location:
    The Netherlands
  • Interests
    Java, JavaScript, PHP, CSS, HTML, Working out, Netflix and chill.

Contact Methods

  • Skype
    Osbot-Sebastian

Recent Profile Visitors

1903 profile views

Sebastian's Achievements

Black Poster

Black Poster (5/10)

62

Reputation

  1. Yea it looks really cancerous. I'm already using IntelliJ but school really wants us to use BlueJ. Well, there's no option i guess.
  2. Sadly i need to use blueJ because they want to give a preliminary examination..
  3. Hi everyone, What are your thoughts on BlueJ for Java? My uni wants me to use BlueJ to learn classes and objects but i don't really enjoy it. The editor is ugly and i already understand classes and objects.
  4. Lol sick. I had to pay 20 euro for one year.
  5. I've really enjoyed Oculus. It has a good story and a lot of mindfucks.
  6. My account is blocked due to too many incorrect login attempts. I've mailed them a month ago and still didn't get any email. If i were you i shouldn't expect an email soon.
  7. I've just received a Lynda.com subscription from my university. I see that they have Java tutorials. Should i follow them? Are they any good?
  8. Well, @IDontEvenBot I would still like to thank you for your time and effort :).
  9. I've fixed it! This is how i've done it: I've changed: public class cooksassistant extends MethodProvider { into: public cooksassistant(Script i) throws InterruptedException Now i have to put an 'i' before i use osbot api. Like so: NPC cook = i.npcs.closest("Cook"); cook.interact("Talk-to"); i.log("Talking to Cook"); Not sure how i fixed it but i fixed it lol. Lol, we did the same but different xD
  10. What do you mean? It gives me the error: java.lang.NullPointerException
  11. Hi Jamie, Thanks for your answer. The problem is that i can't read anything because the logger goes too fast and i can't scroll up since the client is frozen.
  12. Hi Osbot, My script is freezing when i try to start the cooks assistant quest. Why is this? I have 3 classes: main, gui & cooksassistant. When i select cooks assistant in the gui and press start, the whole client freezes. Main class: import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Sebastian", info = "All F2P Quests", name = "SB Quester", version = 0, logo = "") public class main extends Script { public String quest = ""; Object lock = new Object(); private gui gui = new gui(); private cooksassistant cooksAssistant = new cooksassistant(); @Override public void onStart() { log("Starting script.."); gui.run(this); } private enum State { COOKSASSISTANT, WAIT }; private State getState() { if (quest == "Cooks Assistant") return State.COOKSASSISTANT; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case COOKSASSISTANT: cooksAssistant.run(); break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); } @Override public void onExit() { log("Goodbye"); } @Override public void onPaint(Graphics2D g) { } } GUI: JComboBox<String> questList = new JComboBox<String>(new String[] { "None", "Cooks Assistant"}); questList.addActionListener(e -> main.quest = (String) questList.getSelectedItem()); Cooksassistant class: import org.osbot.rs07.script.MethodProvider; public class cooksassistant extends MethodProvider { public void run() { log("Talking to Cook"); } } Does someone know what the problem is here?
  13. 10/10 Laravel. Also, i would use VueJS.
  14. Did you try restarting your laptop?
  15. Oh, you are not a hater! I love critisizm so i can improve myself :). Thanks for the feedback.
×
×
  • Create New...