Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. WHAT THE FUCK I'M LOSING MONEY swizz4roidrage
  2. Niglet please, I have yet to see an episode where I don't nut myself by the third commercial.
  3. Why would you not want to watch a bunch of sexy ladies walk around with tits bouncing and ass's jiggling for an hour? OP is GAYYYYY
  4. Well to be honest, those are the ones that would give a few minutes of their time towards writing a script or helping with the development of a client. You're running a business, not a charity pool.
  5. You dick. Please, I wrote his banking method... No hate towards @FearMe, as he's a great scripter, but you can't judge scripting experience based on a simple script that fletches things...
  6. PM me.
  7. Do I get a PiP now or what
  8. Your new I forgot about you bby </3 #erza4scholar
  9. When it comes down to it, that is exactly what this site is. The reason many other sites have many active ex-developers/other incredibly intelligent people is mainly because they recognize the brilliance of these people and reward them with a rank which results in e-peen. I know for a fact more Java developers would be active on this site if they had something to work towards.
  10. Or, just add some sort of "scholar" rank like other sites have for geniuses who don't make scripts #harrywhore4scholar
  11. Do you know what x and y coords are yet?
  12. What the fuck. At least it's free....
  13. They look stupid.
  14. Unless you completely write some sort of AI this will never work. It's unbelievely easy to trick these kind of talkers and even if it has a million messages after awhile it will repeat itself.
  15. Isn't that like the worst XP in the game for agility?
  16. I lol'd.
  17. I would overload the toString and have it take a direction enum as well.
  18. Ely made a post to demote mald, staff joined, mald raged, now the whole staff team are being pussies.
  19. 10/10 would bang
  20. OH LOL
  21. I have never seen such retarded prices. "2.29" like really?
  22. A couple things: Remove the random "sleep(50)" you have when right clicking an item as the menu opens on mouse press and not release. You can create a RectangleDestination to move your mouse to in one line instead of creating two different variables like you're doing, just pass a RectangleDestination the bounds of the slot you need (aka a Rectangle). moveMouse returns a boolean for a reason. Return the value returned by the method to see if it really did complete successfully. Arrays.asList is a great method to use for things like this. Just use the get(0) method to see if the action you want is the first one instead of iterating through them. Instead of an enhanced for loop just increment until your value is equal to the array size, then break because the action would not have been found. I wrote this a few days ago for a friend. Haven't tested it out but it should be beneficial if you don't understand my points public boolean interactInventoryItem(String itemName, String interaction) throws InterruptedException { Item[] items = client.getInventory().getItems(); if (items == null) return false; RectangleDestination itemDestination = new RectangleDestination(new Rectangle(client.getInventory().getDestinationForSlot(client.getInventory().getSlotForName(itemName)).getBounds())); for (Item currentItem : items) { if (currentItem.getName().equalsIgnoreCase(itemName)) { String[] itemActions = currentItem.getDefinition().getActions(); if (itemActions[0].equalsIgnoreCase(interaction)) return client.moveMouseTo(itemDestination, false, true, false); else { for (int i = 1; i < itemActions.length; i++) { if (itemActions[i].equalsIgnoreCase(interaction)) { client.moveMouseTo(itemDestination, false, true, true); if (client.isMenuOpen()) { List<Option> options = client.getMenu(); for (int j = 0; j < options.size(); j++) { if (options.get(i).action.equalsIgnoreCase(interaction)) { return client.moveMouseTo(new RectangleDestination(client.getMenuX(), client.getMenuY()+21+i*14, client.getMenuWidth(), 10), false, true, false); } } } } } } } } return false; }
×
×
  • Create New...