Jump to content

Token

Script Officer
  • Posts

    8432
  • Joined

  • Last visited

  • Days Won

    49
  • Feedback

    100%

Everything posted by Token

  1. It's exactly what I said, you initialized wPump outside the Script methods
  2. You most likely attempted to initialize an instance of any OSBot class outside the methods defined in the Script class, eg: @ScriptManifest(name = "Lol", author = "Token", version = 1.0, info = "", logo = "") public class Lol extends Script { NPC x = npcs.closest("Guard"); // script won't start because of this NPC y; @Override public void onStart() throws InterruptedException { // something y = npcs.closest("Guard"); // but this is fine } @Override public int onLoop() throws InterruptedException { // something return 69; } } Post your code if that's not the case because this is definitely a programming error
  3. Token

    Stealth Quester

    There is no ETA
  4. Token

    Stealth Quester

    It was designed for goldfarming aka mass account creation, I wouldn't personally use it just for one account
  5. Token

    Stealth Quester

    Yes but there is no ETA
  6. Token

    Stealth Quester

    Unfortunately there is the problem of determining which is the best weapon and armour which requires a full item database dump and writing definitions for ~20k item ids in order to have a sound and complete solution to this
  7. script.players.getAll().stream().filter(x -> script.myPlayer().equals(x.getInteracting())).findFirst().isPresent(); // there is a player ATTEMPTING to attack, not necessarily already attacked script.myPlayer().isHitBarVisible(); // only works if the attack triggered health bar display (not a splashed spell) script.projectiles.getAll().stream().filter(x -> script.myPlayer().equals(x.getTargetEntity())).findFirst().isPresent(); // a ranged/magic attack was launched against the bot Combining the 3 will give you a relatively good coverage on simple cases but unfortunately the topic of accurately determining combat is very complex. Imagine a player casts wind strike on you in the wilderness (he's interacting with you in this case) then quickly eats food (he's no longer interacting with you), the health bar is not visible but there is a projectile launched with your player as its target, if it hits then your health bar will be visible but if it splashes, your health bar will not be visible, the player is not interacting with you because the interaction was interrupted by eating and there is no projectile launched towards your player. But you are in combat with him for 8 seconds or whatever the timer is. The only way to determine if you really are under attack 100% is by caching this state once you detect an attacker and clearing the cache once the combat timer is up so if you want the maximum precision (eg pking scripts) you will have to multithread your script and dedicate a whole thread to managing the combat state and determining the opponent.
  8. Token

    Stealth Quester

    Quests were always added based on API limitations, so if that allows it maybe
  9. The script will be updated shortly
  10. Token

    Stealth Quester

    The order is already randomized, the prices are defined based on rsbuddy's website so they aren't static either and they should change at least every 30 mins or so, but randomizing the quantity doesn't really make sense unless it's for runes or food where it can buy extras Authed Authed Authed Authed
  11. Authed Does it also happen if you start the script now that you are lvl 40/50? Authed
  12. Token

    Stealth Quester

    Authed 1 trial per person
  13. Token

    Stealth Quester

    Anything can get you banned
  14. I've avoided the whole chatbox
  15. It says you had one last week
  16. Token

    Stealth Quester

    Authed Authed I've never heard of such thing before and the tab switching is entirely in the client code, fill the bug report template and I'll check it in a sec
×
×
  • Create New...