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
  • Search the Community

    Showing results for tags 'Noob'.

    • Search By Tags

      Type tags separated by commas.
    • Search By Author

    Content Type


    Forums

    • Requests
    • DreamBot
      • Announcements
      • Client Support
      • Site Support
    • Community
      • General Discussion
      • Runescape
      • Spam
      • Applications
    • Scripts
      • SDN Scripts
      • Local Scripts
      • Private Scripting Shops
      • Script Requests
      • Script Management
    • Development
      • Scripting
      • Programming
    • Market
      • Vouchers / Store Credit
      • Middleman Services
      • Gold Exchange
      • Membership Sales
      • Account Sales
      • Item Exchange
      • Services
      • Graphics
      • Other
    • Management
      • Disputes
      • Appeals
      • Archive

    Product Groups

    • Donator
    • VIP
    • Sponsor
    • Scripts
      • Agility
      • Combat
      • Construction
      • Cooking
      • Crafting
      • Fletching
      • Firemaking
      • Fishing
      • Herblore
      • Hunter
      • Magic
      • Mining
      • Farming
      • Prayer
      • Ranged
      • Runecrafting
      • Slayer
      • Smithing
      • Thieving
      • Woodcutting
      • Money Making
      • Mini-Games
      • Quests
      • Other

    Find results in...

    Find results that contain...


    Date Created

    • Start

      End


    Last Updated

    • Start

      End


    Filter by number of...

    Joined

    • Start

      End


    Group


    Website URL


    Discord


    Skype


    Location


    Interests

    Found 5 results

    1. KhalDrogonerr

      HELP!!!!

      hi, I need help, I've been going crazy for hours, I used AI and everything that could help me but I can't figure it out.....I made this simple script to mine and I wanted to implement delivery to the mule with the socket .....the problem that does not change state after 5 minutes does not activate the DELIVER _TO_GE state I don't understand why! import org.dreambot.api.methods.container.impl.Inventory; import org.dreambot.api.methods.container.impl.bank.Bank; import org.dreambot.api.methods.interactive.GameObjects; import org.dreambot.api.methods.interactive.Players; import org.dreambot.api.methods.map.Area; import org.dreambot.api.methods.walking.impl.Walking; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.wrappers.interactive.GameObject; import org.dreambot.api.utilities.Sleep; import org.dreambot.api.methods.map.Tile; import java.io.*; import java.net.Socket; import java.io.OutputStream; import java.io.Serializable; import org.dreambot.api.methods.container.impl.bank.BankMode; import org.dreambot.api.methods.trade.Trade; import org.dreambot.api.wrappers.interactive.Player; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.List; import java.util.stream.Collectors; @ScriptManifest(author = "KhalDrogonerr", name = "Iron", version = 1.0, description = "Simple Iron Miner", category = Category.MINING) public class Worker extends AbstractScript { private static final String MULE_IP = "localhost"; private static final int MULE_PORT = 55555; private long lastDeliveryTime=0; public static class DeliveryData implements Serializable { private int ironOreCount; private String playerName; private String muleName; public DeliveryData(int ironOreCount, String playerName, String muleName) { this.ironOreCount = ironOreCount; this.playerName = playerName; this.muleName = muleName; } public int getIronOreCount() { return ironOreCount; } public String getPlayerName() { return playerName; } public String getMuleName() { return muleName; } } State state; Area bankArea = new Area(3009, 3355, 3018, 3354); Area ironOre = new Area(2977, 3231, 2967, 3243); Area GE = new Area(3155, 3499, 3174, 3480); public enum State { WALKING_TO_BANK, USE_BANK, BANKING, TAKE_PICKAXE, FINDING_ORE, MINING_ORE, DELIVER_TO_GE, DELIVER_TO_MULE } public void onStart() { log("Welcome to Simple Mining Script."); log("If you experience any issues while running this script please report them to me on the forums."); log("Enjoy the script!."); } @Override public int onLoop() { switch (getState()) { case WALKING_TO_BANK: if (bankArea.distance(Players.getLocal().getTile()) > 1) Walking.walk(bankArea.getCenter().getRandomized()); break; case USE_BANK: if (!Bank.isOpen() || !Players.getLocal().isMoving()) { GameObject bankBooth = GameObjects.closest("Bank booth"); bankBooth.interact("Bank"); Sleep.sleepUntil(Bank::isOpen, 1000); return 1000; } break; case BANKING: if (Bank.isOpen()) { if (Inventory.isFull()) { Sleep.sleep(2000, 5000); Bank.depositAllExcept(item -> item.getName().equals("Bronze pickaxe")); if (!Inventory.contains("Iron ore")) { Bank.close(); } } } break; case TAKE_PICKAXE: if (!Inventory.contains("Bronze pickaxe")) { if (Bank.open()) { if (Bank.contains("Bronze pickaxe")) { Bank.withdraw("Bronze pickaxe", 1); Sleep.sleepUntil(() -> Inventory.contains("Bronze pickaxe"), 6000); } else { log("Bronze pickaxe not found in bank!"); } Bank.close(); } } break; case FINDING_ORE: if (ironOre.distance(Players.getLocal().getTile()) > 1) Walking.walk(ironOre.getCenter().getRandomized()); break; case MINING_ORE: if (!Players.getLocal().isAnimating() && !Players.getLocal().isMoving()) { GameObject ironRocks = GameObjects.closest(t -> t.getName().equalsIgnoreCase("iron rocks") && ironOre.contains(t.getTile())); if (ironRocks != null && ironRocks.interact("Mine")) { Sleep.sleepUntil(() -> Players.getLocal().isAnimating(), 4000); } } break; case DELIVER_TO_GE: log("Sto entrando nello stato DELIVER_TO_GE"); // Verifica se il bot è già arrivato al Grand Exchange if (!GE.contains(Players.getLocal().getTile())) { // Se il bot non è al GE, muovilo verso il GE Walking.walk(GE.getCenter().getRandomized()); break; // Esce dallo switch e attende il prossimo ciclo onLoop } // Se il bot è arrivato al GE, controlla se il mulo è presente if (muleIsAtGE()) { // Se il mulo è presente, passa allo stato di consegna al mulo state = State.DELIVER_TO_MULE; } else { // Se il mulo non è presente, rimane nello stato di consegna al GE log("Mulo non trovato al GE, rimango in attesa..."); } break; case DELIVER_TO_MULE: long currentTime = System.currentTimeMillis(); if (lastDeliveryTime == 0 ||currentTime - lastDeliveryTime >= 300000) { try (Socket socket = new Socket(MULE_IP, MULE_PORT)) { OutputStream outputStream = socket.getOutputStream(); ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream); Bank.setWithdrawMode(BankMode.NOTE); Bank.withdrawAll("Iron ore"); int ironOreCount = getIronOreCount(); Player mule = getMuleName(); if (mule != null) { DeliveryData deliveryData = new DeliveryData(ironOreCount, Players.getLocal().getName(), mule.getName()); objectOutputStream.writeObject(deliveryData); objectOutputStream.close(); outputStream.close(); lastDeliveryTime = currentTime; mule.interact("Trade with"); Sleep.sleepUntil(() -> Trade.isOpen(), 5000); Trade.acceptTrade(); } else { state = State.DELIVER_TO_GE; } } catch (IOException e) { e.printStackTrace(); } } break; } return 500; } private State getState() { long currentTime = System.currentTimeMillis(); if (Inventory.isFull() && !bankArea.contains(Players.getLocal().getTile())) { return State.WALKING_TO_BANK; } else if (Inventory.isFull() && bankArea.contains(Players.getLocal().getTile()) && !Bank.isOpen()) { return State.USE_BANK; } else if (Bank.isOpen() && Inventory.isFull()) { return State.BANKING; } else if (!Inventory.contains("Bronze pickaxe")) { return State.TAKE_PICKAXE; } else if (!Inventory.isFull() && !ironOre.contains(Players.getLocal().getTile())) { return State.FINDING_ORE; } else if (!Inventory.isFull() && ironOre.contains(Players.getLocal().getTile())) { return State.MINING_ORE; } else if (lastDeliveryTime == 0 ||currentTime - lastDeliveryTime >= 300000) { if (muleIsAtGE()) { return State.DELIVER_TO_MULE; } else { return State.DELIVER_TO_GE; } } return state; } private int getIronOreCount() { return Inventory.count("Iron ore") + Bank.count("Iron ore"); } private boolean muleIsAtGE() { Tile botPosition = Players.getLocal().getTile(); return GE.contains(botPosition); } private String getLocalHostIPAddress() { try { InetAddress localHost = InetAddress.getLocalHost(); return localHost.getHostAddress(); } catch (UnknownHostException e) { log("Errore durante la ricerca dell'indirizzo IP locale: " + e.getMessage()); return null; } } private List<Player> getPlayers() { return Players.all().stream() .filter(p -> p != null && p.exists() && p.isOnScreen() && p.getTile().distance(Players.getLocal().getTile()) < 20) .collect(Collectors.toList()); } private Player getMuleName() { List<Player> players = getPlayers(); if (players != null) { for (Player player : players) { if (player.getName() != null && !player.getName().equals(Players.getLocal().getName())) { return player; } } } return null; } }
    2. Greetings, First I'd like to start by apologizing if I wrote this in the wrong section. I'm fairly new to this site and am figuring my way around it. Anyway, I'm new to botting and have paid for some premium scripts here that have been working fine. I've been taking all the precautions I can while botting even though the script is paid. I wanted to add an extra layer of protection and pay for the VIP to be able to access the "COVERT" mode. My question is if I have to activate anything in the client once I purchase VIP or if it activates on it's own? Any insight on this situation will be greatly appreciated.
    3. Khazba

      New to botting

      Hey. New to betting and decided to give dreambot a spin. I really just wanted someone to give my plan a once over and a thumbs up/down. Suggestions are appreciated. - Create account with VPN active (it always is) My VPN provider will assign a new IP every time I turn my PC on, within a certain region. I'm not sure how happy JAGEX are with this? - Play tut Island by hand. - Upgrade to members using a voucher - Use one of the AIO account builders (I think subs?) This will all be on a VIP account on a paid for script. I dont plan to run many accounts at the same time, the plan is to have a couple of farming accounts set up. Mostly for redundancy when one is inevitably banned. All of my accounts will be played as a 'main' to some degree once the skills hit a threshold. Thoughts?
    4. I can't start Dreambot. I did every possible troubleshooting method, but It looks like it didn't help. I run the DBLauncher, I click "Launch client", but after that nothing happens. Not a single error message or anything like that pops up.
    5. Hi I'm following DreamBot's scripting tutorial and I'm stuck on the "Setting Up Your Development Environment" section. I've downloaded the recommended JDK and IntelliJ, and I've encountered a few issues. I've tried googling and haven't had much luck. Java does not appear on the left hand side while starting a new project. I had to download a JDK that is different from the recommended one. Would the JDK being different affect anything? How do I fix the Java not being listed problem?
    ×
    ×
    • 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.