Jump to content

andrewboss

Trade With Caution
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by andrewboss

  1. Haha, your right. Even if 100-200 is the code I write per hour, then I usually stare for 2 hours to fix bugs
  2. Thanks guys for the replies. I now understand that it is totally irrelevant. However, I would like clarification on why in freelancer website and such, people ask for a fast programmer that could type like ~80WPM. Also, as an advice, do I need to plan and write down an algorithm step by step of how the script should work before coding or just normal thinking?
  3. I want to know where my level is compared to people. I write 200 lines per hour and my level is a beginner. How many lines do you approximately right per hour, and what is your programming level?
  4. I have nearly 100 accounts that are 2 months old.. Contact me!
  5. I have about 100 that are 2 months old. Selling each for about 75k.
  6. Why do you just use if statement without else if? This might be the problem... Not sure though.
  7. Exactly what I was looking for, thanks! Any guides where I can have some more information on how to get the widget dynamically?
  8. I read the API and I know that this function already exists. I just want to practice doing my own method and playing with it. So from above, does it look like good?
  9. I would like to know if my code is proper or not, so criticism replies are allowed and much appreciated for improvement. If this could be done in a better way, please share your knowledge and led my life with advice public boolean deposit_worn_items() throws Exception { RS2Widget deposit = script.getWidgets().get(BANK_PARENT, BANK_CHILD_DEPOSIT_BUTTON); if (deposit != null && deposit.isVisible()) deposit.interact("Deposit inventory"); new ConditionalSleep(5000, 500) { @Override public boolean condition() { return script.getEquipment().isEmpty(); } }.sleep(); return script.getEquipment().isEmpty(); }
  10. So many stuff need changing.. :/
  11. Figured it out!! If anyone still wants to add his/her own method of doing it, feel free to do so.
  12. I think it repeats until you stop it. Not sure though..
  13. @Explv Thanks but it still returns false for the first row
  14. There is no way you could check if it is visible or not by that method. It will always return the slot number if exists, even if not visible.
  15. Here is the code that I currently use: public boolean isVisible(String name) { return getBank().isSlotVisible(bot, getBank().getSlot(name), getBank().getSlot(name)); } It returns whether the item is visible or not. However, if the item is in the first row, it will always return false. Any ideas what is wrong, or any better implementation for checking?
×
×
  • Create New...