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

      • Hey, could you fill in the required proof of the script issues and attempted scripter contact?
      • You're using API that's really old. https://dreambot.org/guides/scripter-guide/script-dev/upgrading-to-db3/
      • Hi, I've been trying to create my own script. But I can't get it to work.  Keep getting the error: "The method getGameObjects() is undefined for the type TopazCutterAndBanker". Tried different combinations without result. Any ideas? Here is the code: package Scripts; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.wrappers.interactive.GameObject; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.methods.container.impl.Inventory; import org.dreambot.api.methods.container.impl.bank.Bank; import org.dreambot.api.methods.tabs.Tab; import org.dreambot.api.methods.tabs.Tabs; import org.dreambot.api.script.Category; @ScriptManifest(author = "KF9", name = "Topaz Cutter and Banker", version = 1.0, description = "Cuts uncut red topaz, banks, and checks for more.", category = Category.SKILLING) public class TopazCutterAndBanker extends AbstractScript { @Override public int onLoop() { // Ensure the player is in the inventory tab if (!Tabs.isOpen(Tab.INVENTORY)) { // Correct method to check if the tab is open Tabs.open(Tab.INVENTORY); // Open the inventory tab return 200; } // Check if there is uncut red topaz in the inventory if (Inventory.contains("Uncut red topaz")) { // If uncut red topaz is in the inventory, cut it GameObject gemCuttingObject = getGameObjects().closest(gameObject -> gameObject != null && gameObject.getName().contains("Gem cutting")); // Correct method usage if (gemCuttingObject != null && gemCuttingObject.interact("Use")) { // Interact with gem-cutting tool (corrected to "Use") sleep(1000, 1500); // Sleep after cutting to simulate human-like delay } } else { // If no uncut red topaz in inventory, go to the bank if (!Bank.isOpen()) { // Open the bank if it's not already open if (Bank.open()) { sleep(1000, 1500); // Sleep after opening the bank } } else { // Deposit any cut red topaz into the bank if (Inventory.contains("Red topaz")) { Bank.depositAll("Red topaz"); sleep(1500, 2000); // Sleep after depositing } // Check if there is uncut red topaz in the bank if (Bank.contains("Uncut red topaz")) { // Withdraw all uncut red topaz from the bank Bank.withdrawAll("Uncut red topaz"); sleep(1000, 1500); // Sleep after withdrawing } else { // If no uncut red topaz is available in the bank, stop the script log("No uncut red topaz found in the bank, exiting script."); stop(); return 0; } } } // Sleep to simulate normal action timing return 600; } @Override public void onStart() { log("Starting Topaz Cutter and Banker script..."); } @Override public void onExit() { log("Exiting Topaz Cutter and Banker script."); } }  
      • hello? can i get a refund for this script im well in the limit of eligibility for a refund so whats going on? 
      • Anybody know how to get around this?
    • Popular Contributors

    • Feedback Statistics

      • Positive
        11478
      • Neutral
        19
      • Negative
        152
      • 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.