Jump to content

Ayylmao420

Members
  • Posts

    425
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Ayylmao420

  1. Well, sometimes after trade, getLastRequestingPlayer() returns == null like it is supposed to ? But most of the times it'll return != null for like 10 seconds ?
  2. what i am saying is that getTrade().getLastRequestingPlayer() returns != null for a while even though the character haven't received any more trades after the trade.
  3. Sure but that won't stop the interaction spam because getLastRequestingPlayer() will return != null for a while.
  4. Ok so i can't really figure out a better logic for this but what i am trying to do here is when a player trades me, it'll accept. What this code does is once it has finished trading it'll keep trading the same character for a while until requestListener == null my code; if (getTrade().isCurrentlyTrading()) { if (getTrade().isFirstInterfaceOpen()) { if (getTrade().acceptTrade()) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return getTrade().isSecondInterfaceOpen(); } }.sleep(); } } else { if (getTrade().isSecondInterfaceOpen()) { if (getTrade().acceptTrade()) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return !getTrade().isCurrentlyTrading(); } }.sleep(); } } } } else { if (getTrade().getLastRequestingPlayer() != null) { if (getTrade().getLastRequestingPlayer().getName().equals("")) { if (getTrade().getLastRequestingPlayer().interact("Trade with")) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return getTrade().isCurrentlyTrading(); } }.sleep(); } } } } How am i supposed to make it so that once it has finished trading it won't trade the same character again ? EDIT:/ First trade finished it won't interact with the character .. but once i go into second trade, finish it then it'll keep trading the character for a while until getLastRequestingPlayer() == null
  5. Any human being does have free will, we can't just tell them to stop smoking, but what we can do is tell them what smoking does to their body. It is their decision if they want to keep smoking or quit.
  6. Nah but my life is just like the 0,20€ cent right now so no worries.
  7. Woah, never thought i'd win but hell, time to bot even more.
  8. I'd love to have a vip so i can run more bots, make more money and rebuy vip
  9. Thanks, i'll try it out and if it works the way i want it to i'll sure use it.
  10. Around 70 players standing there.
  11. Ayylmao420

    VOTE

    commonly used word you say .. ? oh pls .. when i mentioned about underage kids you took an image and reported me for it so pls i hope ur ban stays
  12. Where is rest of the code or is this all ? Using switching like this is .. pointless
  13. case HEALTHCHECK: int checkHealth = (getSkills().getDynamic(Skill.HITPOINTS)); if (checkHealth <= 7) { getWalking().walk(new Position(3096,3241,0)); } break; Try
  14. Alright, thanks for the help guys. EDIT:/ I just figured out that for some reason when i do this; for (RS2Object object : getObjects().getAll()) { if (object.getName().equals("Large door")) { modifiedFlags[object.getLocalX()][object.getLocalY()] = 0; } } It'll work for doors, gates but for some reason it doesn't work with large doors, any ideas ?
  15. So all i have to do is loop through object, get their position and change their flags to 0 to ignore those tiles?
  16. Could you give me an example of modifiedflag for ignoring object ?
  17. Is there any way i could use LocalPathFinder to find a path to target by ignoring obstacles etc ?
  18. Should works, thanks EDIT; For custom walker.
  19. How am i supposed to check if currently loaded region contains position ?
  20. Seems like your eclipse doesn't use java 8. Uninstall your eclipse, download it from here; https://www.eclipse.org/downloads/download.php?file=/oomph/epp/neon/R2a/eclipse-inst-win64.exe
  21. Ayylmao420

    Leg end

    Using his disability to gain views, pathetic fuck.
  22. http://ark.intel.com/products/64595/Intel-Xeon-Processor-E5-2670-20M-Cache-2_60-GHz-8_00-GTs-Intel-QPI Around 100$ @ eBay
×
×
  • Create New...