Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Forums

    1. DreamBot

      1. 5.8k
        posts
      2. 11.3k
        posts
      3. 4.1k
        posts
    2. Community

      1. 12.9k
        posts
      2. 5.3k
        posts
      3. 5.7k
        posts
      4. Applications

        Apply for staff & scripter ranks.

        • No posts here yet
    3. Scripts

      1. 101.7k
        posts
      2. 1.6k
        posts
      3. 309
        posts
      4. 2.1k
        posts
      5. 68
        posts
    4. Development

      1. 10.5k
        posts
      2. 1.4k
        posts
    5. Market

      1. 7k
        posts
      2. 2.2k
        posts
      3. 96.7k
        posts
      4. 17.7k
        posts
      5. 31.6k
        posts
      6. 27.9k
        posts
      7. 32.8k
        posts
      8. 212
        posts
      9. 32.8k
        posts
    6. Management

      1. 1.9k
        posts
      2. 386
        posts
      3. 30.1k
        posts
    • Best Sellers

    • Latest Products

    • Featured

    • Topics

    • Posts

      • Game server updates - Jagex just failed at notifying the OSRS community aside from on Twitter. For some reason they didn't think to mention it in a news post or an in-game warning the day before. That would have been too useful of them... 🤣
      • Most technology companies (not all though) run on subscription models as it's an easily sustainable model. It makes month-month finances easier to predict, and in the case of scripters it can help keep them motivated to continually fix and improve their work. Some prefer larger one-off payments, some like having a mixture.  This isn't a new thing in the botting scene, so I'm guessing you're relatively new to botting? From a user perspective, it's great having the option of monthly and lifetime. Monthly allows a user to have a reasonable go at a given script, and if they intend to use it long-term can switch to lifetime. *Lifetime meaning as long as the scripter remains active in Dresmbot and as long as the Dreambot client exists*
      • Hello everyone, I'm currently encountering a problem in my project where I can only access the tile on which a player is rendered, rather than their actual location. I believe retrieving the true tile is feasible, as demonstrated by similar functions in RuneLite plugins. My requirement is to determine the true tile of the nearest player, not just the rendered one. When using closestPlayer.getTile(), it appears to return only the rendered tile. For a clearer understanding, I've made a demonstration comparing this with the RuneLite plugin that accurately shows the true tile. Unfortunately, my script does not seem to replicate this functionality for the local player. Here is my code: import org.dreambot.api.methods.map.Tile; import org.dreambot.api.methods.interactive.Players; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.script.listener.PaintListener; import org.dreambot.api.wrappers.interactive.Player; import java.awt.Color; import java.awt.Graphics; import java.awt.Polygon; @ScriptManifest(author = "ClosetCheater", name = "Highlight Closest Player", version = 1.0, description = "Test", category = Category.MISC) public class HighlightClosestPlayerScript extends org.dreambot.api.script.AbstractScript implements PaintListener { private Player closestPlayer; @Override Highlights the closest player's tile public void onStart() { log("Script started!"); } @Override public int onLoop() { closestPlayer = Players.closest(player -> !player.equals(Players.getLocal())); // Get closest player thats not us return 300; // Render twice every tick } @Override public void onPaint(Graphics g) { if (closestPlayer != null && closestPlayer.getTile() != null) { Tile tile = closestPlayer.getTile(); Polygon poly = tile.getPolygon(); g.setColor(new Color(255, 0, 0, 100)); g.fillPolygon(poly); g.setColor(Color.RED); g.drawPolygon(poly); } } @Override public void onExit() { log("Script stopped!"); } public static void main(String[] args) { // method isn't necessary for the script but is here for completeness } } I've recorded a comparison showing how this issue manifests in DreamBot versus how accurately RuneLite handles this with the correct API call. Unfortunately, it seems like DreamBot might not be getting the true tile during these specific scenarios unless there is another call I've missed that I should be using?   Thanks
    • Popular Contributors

    • Feedback Statistics

      • Positive
        11358
      • Neutral
        16
      • Negative
        141
      • Total Positive
        99%
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.