Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. You could calculate it by grabbing their stats off the highscores, but that's not really effective.Just check if there are any players in your area, whether or not you're under attack, which direction the other player is facing, etc.
  2. Someone give me a facebook account to log in with.
  3. I thought this movie was terrible
  4. Override the specified RandomManager if you're trying to fiddle around with the random execution.
  5. You need to either call the method from within the minergui class or by creating an instance of minergui. Please learn Java before making scripts mate
  6. y no on skype i haz BIG news
  7. can i haz java expert rank O_o
  8. Swizzbeat

    Rate

    Looks cool, however the R just looks like an overlay and not like its embedded in the wax
  9. So I decided to look up what AppleScript was... and threw up a little bit.
  10. Could you make a @Swizzbeat level tutorial on what a primitive data type is
  11. Before you make any more accounts, delete the gold generator off your computer so all your new accounts don't get hacked as well
  12. Apparently it was supposed to be a client modeled off of RSBot, but I've never heard of it. Here's the open sourced version in case anyone wants to take a look: http://trac.assembla.com/rsbotscripts/browser/PRSB?rev=384 Oh and the randoms for script developers that may have some time to update the current random solvers for OSBot (may have some good ideas here): http://trac.assembla.com/rsbotscripts/browser/PRSB/Randoms?rev=384
  13. Support, however I don't understand why people think they should get a different colored name/PiP based on different donation amounts. Just keep the yellow name for all types of donations, and change the text to reflect the amount you donated as well as the color at the bottom (ex. blue for $100 donor, black for $50 donor, etc).
  14. Only if it's an NPE ;)
  15. No I like seeing stack traces it makes me feel sophisticated Corey with an e.
  16. for (Item current : client.getInventory().getItems()) { if (Arrays.asList(current.getDefinition().getActions()).contains("Eat")) { client.getInventory().interactWithId(current.getId(), "Eat"); } } pls
  17. Swizzbeat

    #rekt

    Isn't some kid serving like 20 years for telling a kid to kill himself on RuneScape? But yet we let murderers get out early for "good behavior"
  18. Arrays.asList(door.getDefinition().getActions()).contains("Open");
  19. Why would you need to do this?
  20. Hmm I never even thought of height, thanks.
  21. The arrangement is nice but the "graphics" aspect of it is basic. There's not much you can do with a script paint.
  22. public boolean checkIfMiningSmokingRock() { if (myPlayer().isAnimating()) { RS2Object rock; Position myPosition = myPlayer().getPosition(); switch (myPlayer().getRotation()) { case 0: //SOUTH rock = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() - 1, 0)); break; case 511: case 512: //WEST case 513: rock = getRockAtPosition(new Position(myPosition.getX() - 1, myPosition.getY(), 0)); break; case 1023: case 1024: //NORTH case 1025: rock = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() + 1, 0)); break; case 1535: case 1536: //EAST case 1537: rock = getRockAtPosition(new Position(myPosition.getX() + 1, myPosition.getY(), 0)); break; } return rock != null && !arrayContainsPrimitiveInt(MINABLE_ROCK_ID_ARRAY, rock.getId()); //method is not needed if the rock id's are stored in a list, #contains() would work fine } return false; } private RS2Object getRockAtPosition(Position position) { for (RS2Object current : client.getCurrentRegion().getObjects()) { if (current != null && current.getName().contains("Rock") && position.equals(current.getPosition())) { return current; } } return null; } private boolean arrayContainsPrimitiveInt(int[] array, int integer) { for (int current : array) { if (current == integer) return true; } return false; } FYI switch statement looks like that because when mining you're rotation isn't "exactly" what it's supposed to be and may be off by +- 1. This should give people a good idea on how to implement smoking rock detection into their own mining scripts.
  23. No support the rank is called Veteran for a reason
×
×
  • Create New...