Jump to content

Bobrocket

Members
  • Posts

    1664
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    100%

Posts posted by Bobrocket

  1. Hey dude, not trying to be like super Nazi or anything, but if you release your scripts on the SDN can you not prefix them with "Omni"? Saves people confusion :)

    Also, try moving to a node system rather than using states. It allows for cleaner code and can make less code required too :)

    • Like 1
  2. not sure I follow. Bank#isOpen does not open the bank; and it should return only whether banking widget is open or not. Nothing more and nothing less

     

    Pretty sure it did for me. I originally used Bank#isOpen() in OmniPocket for banking, but I had to switch to Widget#isVisible(12, 3, 0) because it would try and reopen the bank even though it was already open.

  3. 1e60ea559e1fddc03d286afe4793f342.png

    I'm so happy :D

    I also went and quickly did horror from the deep, got sara book (cheapest lel), and I'm gonna work towards some easy diaries/some agility in the last few hours I have. I also have to make some progress to barrows gloves :/

    The grind feels so rewarding though, holy shit

     

  4. Entity stall = getObjects().closest("Silk stall");
    Position p = stall.getPosition();
    //thieve Stall
    //on other loops, do this
    Entity stall = (Entity) getObjects().closest(new Filter<RS2Object>() {
        @Override
        public boolean match(RS2Object rs) {
            return (rs.getPosition().equals(p) && rs.getName().contains("stall"));
        }
    });
    
    if (stall != null && !stall.getName().equals("Market stall")) {
        //thieve stall
    }
    

    The idea is that you do not want to thieve "Market stall" but rather the silk stall/tea stall/whatever stall, so you save the position when you first locate it to search in that position again :)

  5. I ask myself that question sometimes.

     

    EDIT: On a serious note, both mine and Molly's thievers have problems. Most of mine revolve around my shitty pathfinder (which I am fixing), however Molly is fairly inactive. Pretty sure Valkyr is releasing his thiever soon though.

×
×
  • Create New...