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
  • How do I get the Tile animations


    Recommended Posts

    Does anyone know in Dreambot API documentation. How do I get the tile animations from AoE Effects. for example in sins of the father on the 2nd phase when he spawns the lightening and the shadows appear on the tiles. Which API call, can i use for that? 

    I figured it out, and I wanted to update this post because someone in the future might be (looking for this) and they'll be able to find this post.

    so the API is:

    Package org.dreambot.api.wrappers.graphics

    Class GraphicsObject

    GraphicsObjects are certain graphical animations that do not move. If you're looking for something that isn't an object or a projectile, it's possibly a GraphicsObject.

    and this is how i used it and it works.


    public void checkForAOEEffectAndMove() {
        Tile playerTile = Players.getLocal().getTile();
        List<GraphicsObject> graphicsObjects = Client.getGraphicsObjects();
        for (GraphicsObject graphicsObject : graphicsObjects) {
            if (graphicsObject != null && graphicsObject.getTile().equals(playerTile)) {
                // Detected a graphical effect on the player's tile
                script.log("Detected GraphicsObject (ID: " + graphicsObject.getID() + ") at player's location.");
                Tile safeTile = findSafeTile();
                if (safeTile != null) {
                    script.log("Moving to safe tile: " + safeTile);
                    if (Walking.walk(safeTile)) {
                        Sleep.sleepUntil(() -> Players.getLocal().getTile().equals(safeTile), 2000);
                        script.log("Successfully moved to safe tile.");
                    } else {
                        script.log("Failed to move to safe tile.");
                } else {
                    script.log("No safe tile found. Stay alert!");
                break; // Exit after handling the first detected effect
    Finding posts like this on the forums has helped me a lot. 
    Edited by Gizmo
    Found solution
    Link to comment
    Share on other sites

    • 3 weeks later...

    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.