Jump to content

Pseudo

Trade With Caution
  • Posts

    628
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Pseudo

  1. I think it should have a more structured protocol, as things stand everyone who can get a script on the SDN is a 'script writer'. Even though half of them haven't a clue.
  2. private void dropAll() throws InterruptedException { for (int slot = 0; slot < 28; slot++) { Item item = client.getInventory().getItems()[slot]; if (item == null) continue; client.getInventory().interactWithSlot(slot, "Drop"); } }
  3. There's no need to complicate it as much as you have either. Something like: private boolean eat() { for (Item i : getInventory().getItems()) { if (i != null && Arrays.asList(i.getDefinition().getActions()).contains("Eat")) return getInventory().interact(i.getId(), "Eat"); } return false; } Should work.
  4. Apologies, thought I'd modified my post with a link to the modified version, apparently not. Here it is: http://up.ht/Sd5LdL Media:
  5. This is Enfilade's Easel, iirc I modified a version of it to be compatible with the old school client, let me see if I can find it.
  6. Generally clicking an unwalkable tile on the minimap will take you to the nearest walkable one anyway, so I don't see issues rising from this besides in extreme circumstances.
  7. Pseudo

    Quick Prayer

    The final keyword doesn't necessarily make it a constant.
  8. I'm not sure where you learnt Java, but I didn't learn it by reading my IDE's shortcut manual.
  9. Pseudo

    All Food Support

    Null check pls Ant.
  10. As dreamliner said, I'm pretty sure you can just do this via model height.
  11. g.drawPolygon(object.getPosition().getPolygon(this.client.getBot()));
  12. Pseudo

    All Food Support

    Are you trying to be funny?
  13. I was almost certain that it is. You sure? E: public boolean isPoisoned() { return client.getConfig(102) != 0; }
  14. Pseudo

    Looting Bag

    Good job, Josed. Though the code could be a lot cleaner, it's a fair contribution. And wow, what about me?
  15. Pseudo

    Herb Snippet

    If it doesn't follow convention, then to an extent it is wrong.
×
×
  • Create New...