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
  • abouhanafy87

    VIP
    • Posts

      137
    • Joined

    • Last visited

    About abouhanafy87

    Recent Profile Visitors

    The recent visitors block is disabled and is not being shown to other users.

    abouhanafy87's Achievements

    1. i'm try to walk to hueycoatl . i use your way to define the web node but i don't know why it is not walk . i will copy and past my files if some one can help. import org.dreambot.api.methods.map.Area; import org.dreambot.api.methods.map.Tile; import org.dreambot.api.methods.walking.impl.Walking; import org.dreambot.api.methods.walking.pathfinding.impl.web.WebFinder; import org.dreambot.api.methods.walking.web.node.AbstractWebNode; import org.dreambot.api.methods.walking.web.node.impl.BasicWebNode; import org.dreambot.api.methods.walking.web.node.impl.EntranceWebNode; import org.dreambot.api.methods.widget.Widgets; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.wrappers.widgets.WidgetChild; import static org.dreambot.api.methods.Calculations.random; @ScriptManifest(author = "M M A", description = " just try to add webnode", name = "Script_webnode", version = 2501.15, category = Category.COMBAT) public class main extends AbstractScript { public static final Area buff_bank_area = new Area( new Tile(1522, 3293, 0), new Tile(1525, 3289, 0), new Tile(1525, 3287, 0), new Tile(1533, 3287, 0), new Tile(1538, 3291, 0), new Tile(1531, 3298, 0), new Tile(1524, 3297, 0) ); public static final int primio = 13371; public static final Tile primio_tile = new Tile(3278,3412,0); public static final int renu = 13355; public static final WidgetChild choose = Widgets.get(874,15,9); AbstractWebNode prenode = new BasicWebNode(3286,3421,0); AbstractWebNode promidle = new BasicWebNode(1700,3141,0); AbstractWebNode pro = new EntranceWebNode(primio_tile,"Primio","Travel"); AbstractWebNode pro2 = new EntranceWebNode(new Tile(1703,3142,0),"Primio","Travel"); AbstractWebNode renuWebnode = new renu_webnode(1697,3142,0); AbstractWebNode renuHuey = new renu_webnode(1512,3222,0); AbstractWebNode Huey_gate = new EntranceWebNode(1514,3242,0,"Gate","Pass-through"); AbstractWebNode[] tiles = { new BasicWebNode(1511, 3222, 0), new BasicWebNode(1510, 3227, 0), new BasicWebNode(1509, 3233, 0), new BasicWebNode(1509, 3237, 0), new BasicWebNode(1510, 3240, 0), new BasicWebNode(1513, 3242, 0),// Huey_gate, new BasicWebNode(1518, 3248, 0), new BasicWebNode(1519, 3249, 0), new BasicWebNode(1520, 3253, 0), new BasicWebNode(1520, 3258, 0), new BasicWebNode(1516, 3261, 0), new BasicWebNode(1512, 3262, 0), new BasicWebNode(1507, 3263, 0), new BasicWebNode(1504, 3266, 0), new BasicWebNode(1502, 3270, 0), new BasicWebNode(1499, 3275, 0), new BasicWebNode(1498, 3280, 0), new BasicWebNode(1497, 3285, 0), new BasicWebNode(1497, 3290, 0), new BasicWebNode(1500, 3294, 0), new BasicWebNode(1504, 3297, 0), new BasicWebNode(1507, 3299, 0), new BasicWebNode(1511, 3301, 0), new BasicWebNode(1515, 3302, 0), new BasicWebNode(1519, 3302, 0), new BasicWebNode(1519, 3298, 0), new BasicWebNode(1521, 3296, 0), new BasicWebNode(1524, 3295, 0), new BasicWebNode(1527, 3292, 0), new BasicWebNode(1528, 3290, 0), new BasicWebNode(1528, 3287, 0) }; @Override public void onStart() { Huey_gate.addIncomingConnections(new BasicWebNode(1513, 3242, 0)); Huey_gate.addOutgoingConnections(new BasicWebNode(1518, 3248, 0)); for (int a =1;a < tiles.length-1;a++){ tiles[a].addDualConnections(tiles[a--]); tiles[a].addDualConnections(tiles[a++]); } pro.addDualConnections(prenode); pro.addDualConnections(promidle);//,new BasicWebNode(3280,3412,0)); promidle.addDualConnections(renuWebnode); promidle.addDualConnections(pro2); pro2.addDualConnections(promidle); pro2.addDualConnections(renuWebnode); renuWebnode.addDualConnections(promidle); renuWebnode.addDualConnections(renuHuey); renuHuey.addDualConnections(renuWebnode); renuHuey.addDualConnections(tiles[0]); tiles[0].addDualConnections(renuHuey); tiles[0].addDualConnections(tiles[1]); WebFinder.getWebFinder().addWebNodes(pro,pro2,renuWebnode,renuHuey,Huey_gate); WebFinder.getWebFinder().addWebNodes(tiles); } @Override public int onLoop() { if(Walking.shouldWalk(random(3,5))) Walking.walk(buff_bank_area); return 250; } } ********************************************************************************* import org.dreambot.api.methods.interactive.NPCs; import org.dreambot.api.methods.walking.web.node.AbstractWebNode; import org.dreambot.api.methods.widget.Widgets; import org.dreambot.api.utilities.Sleep; import org.dreambot.api.wrappers.interactive.NPC; import org.dreambot.api.wrappers.widgets.WidgetChild; import static org.dreambot.api.methods.Calculations.random; public class renu_webnode extends AbstractWebNode { public renu_webnode(int x, int y, int z) { super(x, y, z); } @Override public boolean isValid() { NPC renu = NPCs.closest("Renu"); return renu != null; } @Override public boolean execute() { NPC renu = NPCs.closest("Renu"); WidgetChild choose = Widgets.get(874,15,9); if(renu != null && renu.interact("Travel")){ if(Sleep.sleepUntil(()->choose != null && choose.isVisible(),random(3000,5000))){ if(choose.interact()) { Sleep.sleep(2000,5000); return true; } } } return false; } }
    2. GameObject gemCuttingObject = GameObjects.closest(gameObject -> gameObject != null && gameObject.getName().contains("Gem cutting"));
    3. Yes you can but you need the username and password for dreambot
    4. Hi everyone Where can i find OverHead Icons ids in dreabot doc . I need to use Player.getOverheadIcon(); That's return an int (over head icon)
    5. same problem!! @Pandemic Can you make it wait for random seconds, for example, from 10 to 30 and then re-login. I do this manually and most of the time it is done
    6. Just use if(Walking.wake(myTile)){ Sleep.sleepUntill(()->Walking.getDestinationdistance() < 4,3000); }
    7. After yesterday's update. I tried to run my script but it didn't work and after trying to figure out why, I found that NPCs.getFacingDirection(); always returns South Can someone help me? the script for sorceress garden - summer public int execute() { if(Players.getLocal().getTile().equals(ta1) || Players.getLocal().getTile().equals(ta2)){ nse1 = NPCs.closest(1801); if(nse1 != null && nse1.exists() ){ log("face to = "+nse1.getFacingDirection().toString());//always returns South if(nse1.getFacingDirection().equals(Direction.NORTH) && nse1.getY() > Players.getLocal().getY()+ri) { log("just move"); // to make sure it's inside the if statement, but it never showed up if (random(0, 3) != 0) { walk_tile(tb1); } else { walk_tile(tb2); } } }else log("no npc"); } }
    8. Thank you so much for your help ❤️
    9. According to the latest update, there is a "on tick listener". Can someone explain to me what are the uses of "on tick listener" and how I can benefit from it in my script? If you can leave an example, even a simple one, that would enrich the site.
    10. How much for account?
    11. According to the latest update, there is a "on tick listener". Can someone explain to me what are the uses of "on tick listener" and how I can benefit from it in my script? If you can leave an example, even a simple one, that would enrich the site.
    12. I read in the documentation of RuneLight libraries about something called Sprite that has a lot of ids, but I didn't find any documentation or even any methods for it in DreamBot. I want to know what this thing is and what it is used for.
    13. Selling 600 m osrs for 0.23 usd per million PayPal
    14. Hello everyone my script in blast furnace and I'm looking for ( Varbit or Config ) to find out if I paid Foreman or not is there such a thing or is there another solution to this issue
    ×
    ×
    • 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.