Jump to content

Apaec

Scripter III
  • Posts

    11134
  • Joined

  • Last visited

  • Days Won

    88
  • Feedback

    100%

Everything posted by Apaec

  1. Sure - trial started Apa
  2. Hey, Glad you're liking the script. I haven't added support for pies mostly because it would require banking, which is not something I have yet implemented. In general, the more complicated I make the script, the more there is to go wrong, but equally I understand why this feature would be useful. I've put it on my to-do list (including preserve, that's a cool idea!). Thanks! -Apa
  3. Hmm, that throws my theory out the water a bit! Bizarre. I've got no idea why the mouse hovers over different keys but doesn't click them (that certainly isn't the script code running..), and not sure why the pin solver is unsuccessful. I will enable pin on my account and when that is ready I will see if I can get to the bottom of this. In the mean time, i'd recommend deactivating pins on your account for now - probably the easiest fix for the time being! (bank pins are a bit redundant anyway..) Apa
  4. Hmm, this is really strange. The OSBot bank solver should kick in whenever the bank is locked, I have no idea why it would not be doing this (not sure if there's anything I can do to fix this either, since it sounds like it's an issue with the pin solver rather than the script). I don't currently have an account with a bank pin, so I will try to debug this with a few more questions that will help me narrow down what is going on: 1. Does the script close the bank and reopen the bank repeatedly when this happens? Or does it just sit dormant on the pin screen? 2. If it does open/close the bank repeatedly, approximately what is the frequency of this? Does it open/close it every 2-3 seconds? or every 10-15 seconds? 3. From your experience with other scripts, how long does the pin solver usually take to recognise the bank is locked and kick into action? Cheers for helping me with this. Apa
  5. That's odd, are you running in mirror mode or stealth injection? If mirror, you might find stealth injection to be a bit smoother?
  6. Well, 'advanced java knowledge' isn't exactly some unattainable feat, though it does take some practice and reading some tutorials. I'd say that while most scripters with premium scripts on the market have a solid if not strong understanding of Java, and some (esp. scripter IIIs) have wider software dev/computer science knowledge too, you can certainly get a long way with just the basics. It's amazing how much you can pick up by just trying API things out, failing, and asking questions - once you've beaten the initial learning curve (which is quite steep, but don't let that put you off!), improving is much quicker and easier. Indeed, writing scripts for OSBot doesn't have to just be a fun hobby---is a great introduction to the world of programming and software development. Well worth learning! I'm always here to answer questions, programming related or otherwise. Reply here or send me a PM any time you need anything -Apa
  7. Cheers for letting me know. Have you experienced this with any other scripts? And has this in your experience happened on any accounts which do not have a bank pin? Trying to narrow down what could be causing this and if it has cropped up anywhere else. -Apa
  8. Sure - trial started -Apa
  9. Yep, that's more or less what is going on. It looks a bit complicated and is certainly advanced syntax (it's an anonymous instantiation) so don't worry too much if you're not comfortable with it.
  10. Hey, Sorry that you're experiencing this. Sounds like the script is misclicking a lot (naturally, the script is not programmed to click on this ladder!), this can happen when it is low on resources (e.g in low cpu mode) or when there are severe fluctuations in latency. Are either of these perhaps the case for you? If so, fixing that issue may help the scripts performance! I've been working on an error correction mechanism which will attempt to correct the script and get it back on route when misclicks occur, but this system is not ready yet and I have not had a chance to work on it in recent times. I will do my best to pencil some time in to work on this so the script is able to recover for you. Best Apa
  11. Hmm, this is certainly a niche situation, but can definitely be done. Might be a little trickier though. Typically, when the players inventory is full of junk so a script cannot run, the script should either terminate and let the player know this, or do something loss-less, such as going to a bank and depositing the junk. Arbitrarily dropping items isn't a great idea in general: what is the inventory was full of godswords? Anyway, to achieve what you're looking for, the default API entries won't seem to provide this functionality. We'll have to create our own filter: (Note that I haven't tested this code and wrote it here in the reply box so there could be errors, let me know if it doesn't work!) if (getInventory().isFull()) { getInventory().dropForFilter(new Filter<Item>(){ @Override public boolean match(Item x) { return !x.getName().equals("Cup of Tea"); } }); }
  12. Sounds like the relevant part of the API to you would be the inventory API: https://osbot.org/api/org/osbot/rs07/api/Inventory.html Something like inventory#dropAllExcept sounds about right. For example: if (getInventory().isFull()) { getInventory().dropAllExcept("Cup of Tea"); }
  13. Both trials started -Apa
  14. Hmm, this might be useful, though I would need a few more lines than just those three. Could you perhaps send me (here or in a PM if you prefer) a slightly longer snippet of the console when this happens? Cheers
  15. Hmm, that's odd, thanks for letting me know. Not sure what might be causing this, as the bank pin solver is an OSBot thing and so the script won't be in control. Next time this happens, please could you see if there is anything unusual displayed in the console logger? (accessed via the settings gear). Let me know -Apa
  16. Sure - trial started Apa
  17. APIs can take a bit of scavenging to find what you need. Useful links are the alphabetical 'index' at the top of the docs, when you are looking for a method but don't know which class it might belong to. Also, the '!' is a negation operator, i.e., if you take something that evaluates to true and negate it with a '!', the result will be false (just thought i'd clear that up as that's unrelated to the OSBot API). It just takes a bit of practice to learn where most things are, as with all APIs. I'd suggest asking for help on specifics when you get stuck (perhaps in the OSBot discord). Good luck!
  18. Sure - trial started! -Apa
  19. Sure thing - trial started! Apa
  20. Sure - trial started Apa
  21. Sure- trial activated! Apa
  22. Sure thing - trial activated ! Apa
  23. Sure thing - trial started Apa
×
×
  • Create New...