Jump to content

Arthur

Lifetime Sponsor
  • Posts

    84
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Arthur

  1. Oh I didn't realise, thank you.
  2. Thank you both so much for your help
  3. Damn, I knew it was some stupid mistake I made. Thank you! But then where should I put these variables? int HP = (getSkills().getDynamic(Skill.HITPOINTS)); boolean lowHealth = (HP <= 7);
  4. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Jacareverde", info = "My first script", name = "Woodcutting", version = 0, logo = "") public class main extends Script { @[member=Override] public void onStart() { log("Welcome to Jacareverde's Woodcutter!"); log("If you experience any issues while running this script please report them to me on the forums."); } public int checkHealth = 0; private enum State { CUT, BANK, WAIT }; public State getState() { Entity tree = objects.closest("Tree"); if (inventory.isFull()) return State.BANK; if (tree != null) return State.CUT; return State.WAIT; } @[member=Override] public int onLoop() throws InterruptedException {; switch (getState()) { case CUT: Entity tree = objects.closest("Tree"); if (tree.exists()) { tree.interact("Chop down"); while (tree.exists()) { sleep(random(500, 700)); } } break; case BANK: if (getBank().open()) { getBank().depositAll("Logs"); getBank().close(); } if (!getBank().open()) { getBank().open(); } getWalking().walk(new Position(3101, 3246, 0)); break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); } @[member=Override] public void onExit() { log("Thanks for running my Woodcutter!"); } @[member=Override] public void onPaint(Graphics2D g) { } } I used @@Apaec's guide for the formatting of it. Sorry for the confusion everyone, but this is my code from now. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Jacareverde", info = "My first script", name = "Woodcutting", version = 0, logo = "") public class main extends Script { @[member=Override] public void onStart() { log("Welcome to Jacareverde's Woodcutter!"); log("If you experience any issues while running this script please report them to me on the forums."); } public int checkHealth = 0; private enum State { CUT, BANK, WAIT, HEALTHCHECK }; public State getState() { Entity tree = objects.closest("Tree"); if (inventory.isFull()) return State.BANK; if (tree != null) return State.CUT; return State.WAIT; } @[member=Override] public int onLoop() throws InterruptedException {; int HP = (getSkills().getDynamic(Skill.HITPOINTS)); boolean lowHealth = (HP <= 7); switch (getState()) { case CUT: Entity tree = objects.closest("Tree"); if (tree.exists()) { tree.interact("Chop down"); while (tree.exists()) { sleep(random(500, 700)); } } break; case BANK: if (getBank().open()) { getBank().depositAll("Logs"); getBank().close(); } if (!getBank().open()) { getBank().open(); } getWalking().walk(new Position(3101, 3246, 0)); break; case WAIT: sleep(random(500, 700)); break; case HEALTHCHECK: if (lowHealth == true) { getWalking().walk(new Position(3096,3241,0)); } break; } return random(200, 300); } @[member=Override] public void onExit() { log("Thanks for running my Woodcutter!"); } @[member=Override] public void onPaint(Graphics2D g) { } }
  5. It didn't work I tried making my code this public int onLoop() throws InterruptedException { int HP = (getSkills().getDynamic(Skill.HITPOINTS)); boolean lowHealth = (HP <= 7); switch (getState()) { case CUT: Entity tree = objects.closest("Tree"); if (tree.exists()) { tree.interact("Chop down"); while (tree.exists()) { sleep(random(500, 700)); } } if (lowHealth == true) { getWalking().walk(new Position(3096,3241,0)); } break; case BANK: if (getBank().open()) { getBank().depositAll("Logs"); getBank().close(); } if (!getBank().open()) { getBank().open(); } getWalking().walk(new Position(3101, 3246, 0)); if (lowHealth == true) { getWalking().walk(new Position(3096,3241,0)); } break; case WAIT: sleep(random(500, 700)); if (lowHealth == true) { getWalking().walk(new Position(3096,3241,0)); } break; } return random(200, 300); } But to no avail.
  6. Hi, I'm very new to scripting and I'm trying to make a woodcutting bot that runs from danger. The whole banking and cutting works, but the running from danger doesn't. Currently I only have this, and it just doesn't seem to work at all. case HEALTHCHECK: int checkHealth = (getSkills().getDynamic(Skill.HITPOINTS)); if (checkHealth <= 7) { getWalking().walk(new Position(3096,3241,0)); break; } Please help me figure this out.
  7. Sorry I meant the OSBuddy screenshots, not Gyazo. It's 4am here. I'm going to go to bed before I say anything else stupid, I'll be back in 8 hours approx. I'm really sorry about all of this.
  8. My OSBuddy takes screenshots every level, but apart from that I don't have screenshots of the accounts being trained. I sent Gyazo's initially because I didn't know OSBuddy took screenshots. Unfortunately Drapi is making it look like I did it, with him mentioning that Lehto sent him pictures of his OSBuddy account with the Skill Tracker next to it and I didn't. However Drapi never requested this, he just wanted updates and said that the OSBuddy automatic level screenshots were fine and that all was required was me to send the folder over when finished (which I did). As for the mirror mode, if mods have access to the chat box or Discord logs (I don't remember where I spoke about it, sorry) you'll see maybe a week or so ago I was asking about the mirror mode not working on OSBuddy and asked the community why it wasn't working with it. They told me Mirror mode works only with the default client. If there's a possible way that admins/mods can check script usage you'll see I haven't used any extra bots since I received the order. I used MacroCutter throughout the order, however I've been using that bot for 3 days prior to even meeting Drapi and no extra bots were added. I'm not quite sure how to prove I'm innocent... I DID admittedly use the OsBuddy Numpad 2 drop macro. If that was the reason the account was banned, I apologise and will comply with repayment which is deemed fit. I did NOT bot on this account.
  9. I'd be happy to help! PM me here or add my Skype 'xxjacareverdexx'.
  10. Arthur

    Stealth Quester

    Can I use this on my Hardcore Ironman?
  11. http://imgur.com/a/jR2CQ Sorry, not really fluent with the use of the forums. How much am I looking at in USD/OSRS gp? Keep in mind bank is about 4-5m worth with around 55 quest points.
  12. How long can you bot per day?: 20 hours Mirror mode/Injection?: Injection Will you post all proggies?: Yes Will you report every bug/issue?: Yes Your skype: xxjacareverdexx
  13. Which position applying for? : Quester, Powerleveler Do you agree to paying the fee? : Yes. How often do you play? : 8+ hours a day Your skype: xxjacareverdexx (yes, I was 12 and haven't been bothered changing it) Any other questions? : No.
×
×
  • Create New...