Jump to content

Apaec

Scripter III
  • Posts

    11150
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Yeah - sorry about that It's an OSBot rule and all scripters must adhere to it! Sure, done! (: Hi, unfortunately I can't offer you a trial quite yet, your account must be at least a week old to qualify (per OSBot rules). Sorry about that!
  2. That's no problem! I've started the 24h trial on your account, hopefully it lives up to expectations. I'm not sure of the current status of the script as the client was having a few issues following a game update yesterday, but hopefully it is all in running order. If not, let me know and i'll extend your trial when the client is updated! Best Apa
  3. Please be patient for the client to be updated following the game update earlier this week!
  4. At a glance, you will have to first construct it: private final GrandExchange ge = new GrandExchange(); ... and then call it's methods, e.g: int sellingPrice = ge.getSellingPrice(995);
  5. I am currently using an ultra-wide monitor, it's really good and I don't regret buying it one bit! IMO better than 2(+) monitors side by side.
  6. Hi guys, unfortunately your accounts must be at least a week old to qualify for trials. Sorry about that!
  7. Hey, I think OSBot is experiencing issues following the recent game update. This is normal - it happens most weeks. Please be patient while the developers fix this issue, and in the unlikely event that the following client release doesn't help, please let me know ! (: -Apa
  8. I believe the bot is down following the game update. Please be patient while the devs patch up the client (:
  9. I believe the bot is down following the game update. Please be patient while the devs patch up the client (:
  10. Hey, Perhaps you understood me incorrectly - I asked which script you wanted a trial for, not how old your account was Apa
  11. Yeah, I think things broke due to the game update. Hopefully the next OSBot update should patch things up (whenever it will be due for release), but if not I will take a look myself and see if it's something on the scripts end, which I doubt at the moment since working code does not normally spontaneously break.
  12. Hi, sure - for which script though? (: Hey, unfortunately your account needs to be at least a week old to qualify. Sorry about that! Sure thing, done!
  13. Thanks ! Glad they're living up to expectations (:
  14. Here's an example of checking health percentage, and eating if below a threshold: private int getHpPercent() { int staticHp = getSkills().getStatic(Skill.HITPOINTS); int dynamicHp = getSkills().getDynamic(Skill.HITPOINTS); int hpPercent = 100 * (dynamicHp / staticHp); return hpPercent; } // --- in your onLoop somewhere --- // // ... int hpThreshold = 50; // 50% for example if (getHpPercent() < hpThreshold) { log("Man, I could really use a lobster rn"); String foodToEat = "Lobster"; if (getInventory().contains(foodToEat)) { if (getInventory().interact("Eat", foodToEat)) { log("Man, that was a tasty lobster!"); } } } // ... How skills work: Good luck -Apa Edit: I've had a look at your code, it looks like you're trying to do too much in one go! If this is your first script, start of in stages. Here's what I would do from here on: Maybe try a simple side project, for example making a very basic woodcutting script. This will help you get the hang of some inventory/rs2object basics If you're super keen on fleshcrawlers, build the script in stages. First do the eating. Then the fighting. Then the banking. Don't try and do it all at once Send me a PM if/when you get stuck, i'm always happy to help. It's a super steep learning curve, but if you know a bit of programming already (no, CSS or HTML won't help you here ahah), then you're in a good shape. Once you feel confident with the API, start branching out and learning about Java itself, object orientation and the concepts involved. It's much easier to learn this stuff when you have the basic syntax down!
  15. That's odd. Perhaps something changed with the latest game update (I think they changed some POH stuff) - I will take a look Apa
  16. Hey, Please could you let me know - does it log anything in the console? Apa
  17. Started the trial (: And yes you can pay with GP, but not directly since OSBot must take a cut ! (plus I don't have the power to give out copies of the script). You will have to buy a store voucher which you can redeem for credit. Here's a link to the vouchers section. Good luck! https://osbot.org/forum/forum/227-vouchers/ Apa
  18. That's odd, does it log anything in the console?
  19. Sure thing, done! Hi, unfortunately your OSBot account must be a week old to qualify for a trial. Sorry about that! Apa
  20. Thanks for your custom! I'm thinking of making a 'drop vials' toggle in the UI instead of making it 'drop junk', so you can keep vials while still dropping junk. That being said, it's important to note that if you keep your inventory full, the script won't be able to loot, so you may miss out on easy clues! Apa
×
×
  • Create New...