Leaderboard
Popular Content
Showing content with the highest reputation on 03/13/24 in all areas
-
How do I get the Tile animations
jonnybrahh reacted to Gizmo for a topic
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.1 point -
help resolving correct high alch item method
Deep Slayer reacted to OgCross for a topic
thanks alot! that fixed it @Deep Slayer and thanks @MaximusPrimoi have been in the docs quite alot the last few days kind of learning as i go all round! thanks again i appreciate it1 point -
help resolving correct high alch item method
OgCross reacted to Deep Slayer for a topic
Magic.castSpellOn(Normal.HIGH_LEVEL_ALCHEMY, yourItem);1 point -
help resolving correct high alch item method
OgCross reacted to MaximusPrimo for a topic
There's no getSpell method in the magic class. Have a look through the javadocs for the "Normal" enum. You will find the spell you want there1 point -
Dexters Free AIO Woodcutter
Dexter Bots reacted to agilityosrs for a topic
add teak trees power chopping in ape toll1 point -
bought vouchers from Prime and he has done nothing but help me, fast delivery, and ex
Prime reacted to GreedySpook for a status update
bought vouchers from Prime and he has done nothing but help me, fast delivery, and explained everything I needed to know. will always be going back to this guy for my needs. highly recommend buying from him. thanks again for all ur help!1 point -
I've refunded it back to your account credit. Have a nice day!0 points