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
  • Issue with the Mage of Zamorak and dont find any abyss bots for craft Nats


    Dexter Bots

    Recommended Posts

    Hello dear community, I wanted to ask why there are no bots for the Abyss, let alone how one can interact with the Zamorak Mage for teleportation via script. NPC.interact doesn't seem to work; could it be due to that?

    Link to comment
    Share on other sites

    Hi :)

    case IntaractWithMagier: // Mage of Zamorak
        if (Navigation.ZamorakMagier_Area.contains(Players.getLocal().getTile())) {
            NPC ZamorakMagier = NPCs.closest(Navigation.Zamorak_Magier);
    
            if (ZamorakMagier != null) {
                ZamorakMagier.interact("Teleport");
                // Hier kannst du weitere Aktionen hinzufügen, die nach der Interaktion mit dem Magier ausgeführt werden sollen.
            }
        }
        break;

     

    Yes i have.

    The rune crafting process, including teleporting out with a ring to Ferox Enclave, then proceeding to the chest to handle banking, and passing through the barrier to the Zamorak Mage area, all runs smoothly (Abyss is still in development). However, when it comes to interacting with the Zamorak Mage, he simply does not respond. I have attempted various options, and the cases should ideally be executed and passed cleanly in the main script.

     

    This is the other Option: but cant find an Import

    case IntaractWithMagier: // Mage of Zamorak
        if (Navigation.ZamorakMagier_Area.contains(Players.getLocal().getTile())) {
            NPC ZamorakMagier = NPCs.closest(Navigation.Zamorak_Magier);
    
            if (ZamorakMagier != null) {
                String[] dialogues = ZamorakMagier.getDialogues();
    
                if (dialogues.length >= 2) {
                    ZamorakMagier.interact(dialogues[1]); // Wähle die 2. Option im Dialog
                } else {
                    Alternative implementieren, falls es nicht genug Dialogoptionen gibt
                }
    
                // weitere Aktionen 
            }
        }
        break;
    Edited by DexterMacro
    Link to comment
    Share on other sites

    Pretty funny, everything else worked except this one thing. In the end, it was all correct, except that the player wasn't allowed to animate themselves even though it was allowed. How can this be bypassed?

    case WalkingToMagier:
        if (!Players.getLocal().isMoving()) {
            Walking.walk(Navigation.ZamorakMagier_Area);
            Logger.log("Walking to Magier");
        }
        break;
    
    case IntaractWithMagier: // Mage of Zamorak
        if (!Players.getLocal().isAnimating() && !Players.getLocal().isMoving()) {
            NPC Magier = NPCs.closest(Navigation.Zamorak_Magier);
            Logger.log("Interact with Magier");
            if (Magier != null) {
                Magier.interact("Teleport");
                sleep(1200);
            }
            // Hier kannst du weitere Aktionen hinzufügen, die nach der Interaktion mit dem Magier ausgeführt werden sollen.
        }
        break;
    Link to comment
    Share on other sites

    so it work and teleporting in Abys and now more scripting for de finish (Mine Rock or Gap) then use Nature Rift and Craft and Tele Back then is for forst finish) 

    I'll then put a demo online
     
    case WalkingToMagier:
        if (!Players.getLocal().isMoving()) {
            Walking.walk(Navigation.ZamorakMagier_Area);
            Logger.log("Walking to Magier");
        }
        break;
    
    case IntaractWithMagier: // Mage of Zamorak
        if (!Players.getLocal().isAnimating() && !Players.getLocal().isMoving()) {
            NPC Magier = NPCs.closest(Navigation.Zamorak_Magier);
            Logger.log("Interact with Magier");
            if (Magier != null) {
                Magier.interact("Teleport");
                sleep(1200);
            }
            // Hier kannst du weitere Aktionen hinzufügen, die nach der Interaktion mit dem Magier ausgeführt werden sollen.
        }
        break;
    
    Edited by DexterMacro
    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • 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.