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
    • Best Sellers

    • Latest Products

    • Featured

    • Topics

    • Posts

      • Not at all what I thought the script was. I love your scripts and will buy other scripts separately but this isn't something that I need 1. Date purchased 6/02/24 2. SUB account builder v3 lifetime and SUB quester advanced lifetime 3. @SubCZ 4. Script is nothing that i thought 5. cant take screenshots of dreambot on my pc for some reason  6. would much rather just get a refund please 7. Refund (back to original payment method)
      • XD I mean a miner with Human "intelligence" not just is animation blabla !=.. then klick most miner here are dump, i write one for myself but i dont give it here.. because i mean for an idea
      • import org.dreambot.api.input.Mouse; import org.dreambot.api.input.event.impl.mouse.MouseButton; import org.dreambot.api.input.mouse.algorithm.MouseAlgorithm; import org.dreambot.api.input.mouse.destination.AbstractMouseDestination; import org.dreambot.api.methods.Calculations; import org.dreambot.api.utilities.Logger; import java.awt.*; import java.util.Random; public class FittsLawMouseAlgorithmWithBezierCurves implements MouseAlgorithm { private Random random = new Random(); @Override public boolean handleMovement(AbstractMouseDestination abstractMouseDestination) { Point suitPos = abstractMouseDestination.getSuitablePoint(); mouseMovement(suitPos); return distance(Mouse.getPosition(), suitPos) < 2; } @Override public boolean handleClick(MouseButton mouseButton) { return Mouse.getDefaultMouseAlgorithm().handleClick(mouseButton); } public void mouseMovement(Point target) { Point start = Mouse.getPosition(); double distance = distance(start, target); double targetWidth = 10; double time = fittsLawTime(distance, targetWidth) * 1000; Point[] controlPoints = generateControlPoints(start, target, distance); int steps = Calculations.random(50, 80); // Increase steps for smoother curves long startTime = System.currentTimeMillis(); Point current = start; for (int i = 0; i <= steps && System.currentTimeMillis() - startTime < time; i++) { double t = (double) i / (double) steps; int x = (int) (Math.pow(1 - t, 3) * controlPoints[0].x + 3 * Math.pow(1 - t, 2) * t * controlPoints[1].x + 3 * (1 - t) * Math.pow(t, 2) * controlPoints[2].x + Math.pow(t, 3) * controlPoints[3].x); int y = (int) (Math.pow(1 - t, 3) * controlPoints[0].y + 3 * Math.pow(1 - t, 2) * t * controlPoints[1].y + 3 * (1 - t) * Math.pow(t, 2) * controlPoints[2].y + Math.pow(t, 3) * controlPoints[3].y); Mouse.hop(new Point(x, y)); sleep(Calculations.random(5, 15)); current = new Point(x, y); } Mouse.hop(target); } private double fittsLawTime(double distance, double width) { double a = 0.1; double b = 0.1; return a + b * Math.log(1 + (distance / width)) / Math.log(2); } /** * Generate control points for Bézier curve * * @param start The start point * @param end The end point * @param distance The distance between the start and end points * @return Array of control points */ private Point[] generateControlPoints(Point start, Point end, double distance) { Point[] controlPoints = new Point[4]; controlPoints[0] = start; controlPoints[3] = end; int midX = (start.x + end.x) / 2; int midY = (start.y + end.y) / 2; int deviation = Math.max(2, (int) (distance * 1.5)); //adjust constant to increase or decrease curve of Bezier controlPoints[1] = new Point(midX + random.nextInt(deviation) - deviation / 2, midY + random.nextInt(deviation) - deviation / 2); controlPoints[2] = new Point(midX + random.nextInt(deviation) - deviation / 2, midY + random.nextInt(deviation) - deviation / 2); return controlPoints; } public double distance(Point p1, Point p2) { return Math.sqrt((p2.y - p1.y) * (p2.y - p1.y) + (p2.x - p1.x) * (p2.x - p1.x)); } public static void sleep(int ms) { try { Thread.sleep(ms); } catch (InterruptedException e) { Logger.log(e.getMessage()); } } }
      • I have an issue. I have succeeded in installing Java 1.8 on my virtual machine. When I run DBLauncher through CMD as admin it works. I get in and everything. I have patched it so that when I start Runelite through the Jagex launcher the Dreambot window pops up.  But when I press Launch Client nothing happens.   Does anyone know the issue here? Does it have something to do with that I can't open DBlauncher as normal and needs to open with CMD as administrator?
    • Popular Contributors

    • Feedback Statistics

      • Positive
        11388
      • Neutral
        18
      • Negative
        144
      • 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.