OSRS White dot = LOGOUT!

Discussion in 'Bot Requests' started by XCRunner, Apr 26, 2015.

  1. Just looking for a bot that would logout if a white dot appears on minimap. Would help with a host of wilderness related activities (Runite mining, lava dragons, ranging green dragons, chaos ele, wilde agility, to name what I can think of)
  2. What about if the bot logged out depending if another player was detected within a certain radius?
  3. so basically ur saying.. once u see a white dot on the minimap u'll logout and hop worlds? gl getting exp with botting that way
  4. Not asking why on earth you would want this because it's like screaming "DETECT ME PLEASE"; but anyways:

    Your validate should be something like (pseudo-code)
    Code (Text):
    2. Coordinate pos = Players.getLoaded().nearest().getPosition();
    3. Coordinate myPos = Playes.getLocal().getPosition();
    Compare both positions using pos.getX() and pos.getY()
    If the player is too close then return true, else return false.

    Your execution should be
    Code (Text):
    2. RuneScape.logout();
    3. yourscriptasvariable.stop();
  5. Or you could use the Distance API and also make sure that the player you get isn't your player. What you could do is use queries to get a list of players, excluding your player, within a certain area with your player as the center. If the list is empty, logout, if the logout is successful, stop the bot. Be sure to only stop if the logout is successful, otherwise you'll be defeating the purpose.
  6. I don't plan on using this to bot. I want to have it running when I'm up at something like lava dragons, playing legit. So that if I'm not paying 100% attention and a pker comes nearby, it'll automatically log me out.
  7. u cant logout in combat tho
    Gathicxv and Hazard like this.
  8. All the instances that I labeled earlier, you either aren't in combat at all or, in the case of Chaos Elemental, you might be hopping in/out of cover so you won't always be in combat.
  9. if Players.getLoaded().size() > whatever:
    do whatever you want to get away

    worked fairly well for when I would afk in the middle of nowhere in bounty hunter for mad EP

Share This Page