Jump to content

Bobrocket

Members
  • Posts

    1664
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    100%

Everything posted by Bobrocket

  1. OP is asking for illegal cards (cards gotten via refunding and replacing on Amazon) which is fraud. Just a friendly reminder
  2. can you make my parents love me
  3. hi guys can someone tell me why osbot is down i was trying to watch a really really good gay porno but then my bot stopped working?? Cheerio, Mr. Rental
  4. Do the scripter(s) a favour and tell them. You can either have broken premium scripts or fixed premium scripts.
  5. looks perfect for someone with twc
  6. The concept is indeed good, I cover something similar in a thread back eons ago. The execution is a bit off, however, as you can still perfectly model to a sine curve. If you add some randomness, noise etc (as well as distributional statistics!) it will look a lot more realistic as you can have a "curve of best fit" as it were just like a human.
  7. Yeah, but I can still model your reaction times perfectly to a sine graph. Get some noise up in this biatch
  8. public LinkedList<String> getDepositExceptions() { LinkedList<String> neededItems = new LinkedList<String>(); if (Config.enableAttPot){ neededItems.add("Attack potion(4)"); } if (Config.enableStrPot){ neededItems.add("Strength potion(4)"); } if (Config.enableSupAttPot){ neededItems.add("Super attack(4)"); } if (Config.enableSupStrPot){ neededItems.add("Super strength(4)"); } if (Config.enableCombatPot){ neededItems.add("Combat potion(4)"); } neededItems.add("Lobster"); return neededItems; } This can be optimised in many ways. Running this is going to be more expensive than something like this: public enum Supplies { LOBSTER("Lobster", 15), ATTACK_POT("Attack potion(4)", 1), ; private String name; private int amt; Supplies(String name, int amt) { this.name = name; this.amt = amt; } public int getAmount() { return amt; } public String getName() { return name; } } //on start private List<Supplies> supplyList = new ArrayList<>(); if (Config.isAttackEnabled) supplyList.add(Supplies.ATTACK_POT); //... Then you can do something like: //bank for (Item item : getInventory().getItems()) { for (Supplies supply : supplyList) if (!supply.getName().equalsIgnoreCase(item.getName())) item.interact("Deposit-All"); } You could have a functional interface in your enum and have a static populate(Script) method, kinda looking like: public interface Functional<T> { public boolean perform(T param); } //enum LOBSTER("Lobster", 15, (script) -> true), ATTACK_POT("Attack potion(4)", 1, (script) -> Config.isAttackEnabled), COINS("Coins", 10, (script) -> script.getInventory().getAmount("Coins") < 10), //al kharid gate? ; private String name; private int amt; private Functional<Script> condition; public Functional<Script> getCondition() { return condition; } public static List<Supplies> populate(Script instance) { List<Supplies> vals = new ArrayList<>(); for (Supplies supply : values()) if (supply.getCondition().perform(instance)) vals.add(supply); return vals; } List<Supplies> supplyList = Supplies.populate(this); Obviously, running these conditions at the start would mean that they wouldn't run again (unless you did populate(Script) again), but it's a nice little way to try and keep things a little organised.
  9. her voice reminds me of this youtuber chick i matched with on tinder i hate it
  10. Another idea might simply be to check if the mouse is within a slightly shrunken bounding box.
  11. Bobrocket

    help

    wish you didnt exist
  12. it'll actually run better because java was made for server/client applications and graphics in java are incredibly shitty c++ has a million native and external libs for graphics and utilising gfx card properly etc
  13. Use getters where appropriate npcs //... getNpcs() //... Don't abuse public/static, only when necessary - variables should be private (with setters and getters if needed), to prevent any possible problems.
  14. implying i had sales to begin with you orc faced shit slug
  15. anne i matched w/ someone on tinder that looks like u but then she unmatched me was that u
  16. super like material* mald scared of liking because his waifu will slam dunk him for it
  17. (this actually me irl)
  18. Bobrocket

    me_irl

    ur the tinderbox to my log
  19. Correct. This is the use of a heuristic. To know the actual lengths, you'd need to pathfind every node. However, a heuristic uses a lot less resources and is typically accurate. (In the case of OSRS, can be very very bad due to dungeon layout like you said)
×
×
  • Create New...