Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. What in the hell Why make things so needlessly complex when you can just iterate over the inventory, check if the item name contains prayer potion, and if it does drink it? Should also return a boolean based on if the interaction (if there was any) was successful or not.
  2. As far as I know OSBot does not xboot and instead injects into the gamepack and runs the game off that modified jar. Any Jagex requests they send out to detect whether there is injected code in the jar (such as getPlayer(), getCameraYaw(), etc.) are routed to the unmodified jars class loader. Also, it seems like you're confused about what xbooting actually is. It doesn't actually modify rt.jar but instead looks for rt.jar class overrides found with the xbooting jar file that it will use instead of the defaults. If you actually modified the rt.jar files you'd have to delete and reinstall Java since things relying on the default Java functionality wouldn't work (assuming you did something drastic to one of the classes).
  3. You should really be using a boolean to determine whether the start button has been pushed (with an accessor, I hate when people make things static "because it works"). Checking for if the GUI is visible is a terrible choice, as you should always make decisions based on the source of truth (in this case the start button).Also, work on your variable names. "theSource" for an array of rune names makes no sense what so ever.
  4. Create a new GUI instance in your script class...?
  5. Sounds like you have one hell of a drive, keep going! If there's one thing I've learned these past few months it's that continuous hard work pays off. That's exactly my point my mistake if it was worded poorly.
  6. Sell it, would you rather have a keepsake gathering dust or cash? The point behind your years of study should have been to learn as much as you can, not do well on some test that hundreds of thousands of people have passed.
  7. This is the same thing as above but even worse. I really don't see why people insist on making their code unreadable just because "it saves lines". I know the ternary is actually slower in C# when compared to nested if statements because of the JIT trying to make optimizations, not sure about Java.
  8. You actually went in? Normally I just stand outside and stare at the sexy chick posters while she does her thing.
  9. People still think cardio gets them in shape?
  10. Erm if I even sent them an invoice just using Excel I'd lose business for just being an idiot
  11. I need to start doing weekly invoices for a few clients of mine and would rather not waste the time writing my own program. Anyone have any suggestions?
  12. This actually looks pretty sweet.
  13. Month old but how the fuck have I not heard this sooner?
  14. Fyi you can request more auth's.
  15. Goodluck! Owning a gym is a lot more costly/work involved than you would expect, so just be prepared.
  16. Swizzbeat

    SNL

    Only late night show host I've ever found entertaining was Jay Leno, the rest really just suck.
  17. I would think the easiest way would be to create a listener thread and compute the average interval between your players attack times. You can then use this data to construct optimal times to activate/de-activate the prayer.
  18. Because people keep annoying me about it (copy/pasted from my OSBot 1 script so obviously modify to your liking): /** * Created with IntelliJ IDEA * User: Anthony * Date: 2/24/14 */ public enum JadAttackStyle { MAGE(2656, Prayer.PROTECT_FROM_MAGIC, Color.BLUE), MELEE(2655, Prayer.PROTECT_FROM_MELEE, Color.RED), RANGE(2652, Prayer.PROTECT_FROM_MISSILES, Color.GREEN); private int animationId; private Prayer prayer; private Color textColor; private JadAttackStyle(int animationId, Prayer prayer, Color textColor) { this.animationId = animationId; this.prayer = prayer; this.textColor = textColor; } public int getAnimationId() { return animationId; } public Prayer getPrayer() { return prayer; } public Color getTextColor() { return textColor; } }
×
×
  • Create New...