Jump to content

Zuup

Members
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Zuup

  1. If I remember correct the client will keep trying to log you in, if you started a script and your account became non-member while the script ran, I guess this would fix that kind of situation.
  2. how so? Looks good. You could try adding in an id value as first argument so the enum can be easily used in combination with a comboBox. why isn't the name better? the users wont know what the id mean or did i misunderstood you? Yes, you misunderstood him. Theese ID's he's talking about, is the ID's from the ComboBoxes from the Swing class (for generating GUI's). I can't explain this much further, but I hope I helped. You can still have the name. enum Spells { HOMETELEPORT("Lunar Home Teleport", 0, 0, 16), BAKEPIE("Bake Pie", 1, 65, 15), CUREPLANT("Cure Plant", 2, 66, 31); private final String name; private final int comboBoxPos; private final int level; private final int childid; Spells(String name, int comboBoxPos, int level, int childid) { this.name = name; this.combo = comboBoxPos; this.level = level; this.childid = childid; } public String getName() { return name; } public int getLevel() { return level; } public int getChild() { return childid; } public int getParent() { return 430; } } Something like that if I remember correct . PS. Enums are written in case-letters :P. (I don't know the right word here..)
  3. How do you exactly know which port to forward? In this case port "50050" ? I've never figured that, thanks though.
  4. How would I add the path? Position[] pathNodes = new Position(x,y,z), new Position(x,y,z) ? Thanks on advance.
  5. Is there any way to add support for door handling in this snippet? Thanks.
  6. Makes good sense, thanks for the quick response .
  7. Wow, you've definitely put time in this, thank you for such a very nice guide, I've learned quite a good bit by going through this guide! . On another note, is it somehow possible to make the script download the new version itself and run it, I don't think the client supports this though? - Atleast I've noticed I have to hit the "Refresh" button each time I edit my script (I like to edit a part, run the script to see that part, etc). Thanks again
  8. Zuup

    Skill Monitor

    Thank you very much, I was sitting late up yesterday and thought of something like this, I'm just not the biggest/best in java coding so far, I'll definitely make use of this!
  9. I will definitely be watching this, I've just started Java coding/scripting the last month, because it started to interest me a lot. I hope I'll learn a little, even tho I've learned quite a lot so far . Also nice to see other people help each other out, I really like the community on OSBot, most are polite . Any hints on tonights stream?
×
×
  • Create New...