Jump to content

Chris

Scripter II
  • Posts

    8364
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    100%

Everything posted by Chris

  1. This is what I have come up with two_ore_spawn area private Area two_ore_spawn = new Area(3175, 3366, 3175, 3368); private boolean newRock; //If we stopped animating OR newRock is TRUE if (!myPlayer().isAnimating() || newRock){ //Object filter for: hasOre AND inside the specified area RS2Object rock = getObjects().closest(obj -> Rock.IRON.hasOre(obj) && two_ore_spawn.contains(obj.getPosition())); //If rock type exists && we clicked it if (rock != null && rock.interact("Mine")){ //Set newRock to FALSE if we have just clicked it! newRock = false; log("Clicked on: " + rock.getName() + " " + rock.getPosition()); //Sleep until condition evaluates to true for 5 seconds and looping the condition every 1.5 seconds if (new ConditionalSleep(5000, 1500) { @Override public boolean condition() throws InterruptedException { return !rock.exists(); } }.sleep()){ log("Conditional sleep evaluated to true!"); //If the conditional sleep evaluated true then we set newRock to TRUE newRock = true; } } } Explv's Snippet Data import org.osbot.rs07.api.model.Entity; public enum Rock { CLAY(new short[]{6705}), COPPER(new short[]{4645, 4510}), TIN(new short[]{53}), IRON(new short[]{2576}), SILVER(new short[]{74}), COAL(new short[]{10508}), GOLD(new short[]{8885}), MITHRIL(new short[]{-22239}), ADAMANTITE(new short[]{21662}), RUNITE(new short[]{-31437}); private short[] colours; Rock(final short[] colours) { this.colours = colours; } public boolean hasOre(final Entity rockEntity) { if (rockEntity.getDefinition() == null) { return false; } short[] colours = rockEntity.getDefinition().getModifiedModelColors(); if (colours == null) { return false; } for (short rockColour : this.colours) { for (short entityColour : colours) { if (rockColour == entityColour) { return true; } } } return false; } }
  2. Lend me a account and I can post an open source snippet for everyone
  3. Chris

    Hey

    forever TWC
  4. use the original runescape client. check the mirror mode section to see if it is working/updated.
  5. Excellent Dragons source code
  6. getCombat().isFighting() return WAIT;
  7. inferno is the picture teleport option?
  8. I'll have to look into it sometime this weekend. But I don't have an account to properly test it. Can you give me all of the actions of the xerics right click -> all options (Case sensitive) Name of item (Case sensitive) Where the teleport spot is located. you can screenshot from this tool: http://explv.github.io/#
  9. For brutals mode? Don't the xerics break or something
  10. It does not
  11. I do accept gold for the script. Please add my discord Christopher#2820 Yes
  12. The script does not support rune restocking. You will have to have them in your inventory.
  13. @Vilius @Lemons
  14. Fixed in v3.0 - Updated a banking error caused by DepositBox API - Updated the Script Paint to show script version. Please be patient for it to be uploaded to the SDN. (Around 24 hours or less)
  15. https://www.sythe.org/members/kindra32.469946/ History of a possible account scamming. https://www.sythe.org/threads/s-cb-95-zerker-range-void-torso-fighter-hat-f-cape-veng-barrow-gloves/page-2#post-15598687 Banned until he is pardoned on sythe or the staff team allows him back. Thanks for the report.
  16. Script has been tested and is running properly. You must be in fixed mode runescape setting. If mirror doesnt work then use stealth injection mode. Thanks
  17. Chris

    Zularah acc

    this is the price check section not the spam section. Either price check or dont post at all
  18. Chris

    Zularah acc

    its the price check section... zzz
  19. You can use whatever gear you start the script with
  20. Proof has been shown that user was paid. Closing. @mr_big_t Reopen by PM when you feel like responding
  21. I don't do trials
×
×
  • Create New...