Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Node

Registered
  • Content Count

    44
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

10 Good

About Node

  • Rank
    New Botter

Recent Profile Visitors

978 profile views
  1. Node

    nAirWalker [FREE]

    Version 1.1.9 Released - Various bug fixes.
  2. Node

    nAirWalker [FREE]

    @lordcurse Version 1.1.5 released. - Fixed deposit bug. - Fixed opening bank bug. Thanks to @alhajri for demonstrating this on Skype.
  3. Node

    [Snippet] Menu Hovering

    @warfront1 There's no chance of this getting stuck - it will always return whether successful or not. Anyone who implements this should put in their own failsafes in case the ChooseOption isn't available. This isn't the remit of a utility method. The responsibility should be with the caller, like most methods in TRiBot's API. I agree with everything else though. A suggestion on your snippet I would put forward is: if(!r.contains(Mouse.getPos())){ RSItem dummyItem = new RSItem(-1,-1,-1,RSItem.TYPE.OTHER); dummyItem.setArea(r); return dummyItem.hover();} else { return true;}You could probably lose the if and else altogether as, from a human perspective, you would probably move the mouse slightly even if you're already hovering over it, but that's debatable. Other than that, your snippet looks like a good workaround too.
  4. Node

    nAirWalker [FREE]

    @alhajri Version 1.1 released. - Now supports rune essence or pure essence.
  5. Node

    nAirWalker [FREE]

    @alhajri I'll push an update for pure essence out tomorrow, so stay tuned.
  6. Node

    nAirWalker [FREE]

    Thanks for those proggies @rook718!
  7. Node

    nAirWalker [FREE]

    Thanks @rook718 - looking forward to those proggies!
  8. Node

    Hovering a RS menu option?

    I've created a snippet which should help you out. Just pass in the RSNPC / RSItem / whatever and the option you want to hover. https://tribot.org/forums/topic/46226-snippet-menu-hovering/
  9. Node

    [Snippet] Menu Hovering

    I noticed the API doesn't have a built-in method to hover over menu options after right clicking. Here's a simple snippet could be handy for someone. This isn't ABCL compliant - change the General.sleep(50, 100) to suit your requirements. import org.tribot.api.Clicking;import org.tribot.api.General;import org.tribot.api.input.Mouse;import org.tribot.api.interfaces.Clickable;import org.tribot.api2007.ChooseOption;import org.tribot.api2007.types.RSMenuNode;import java.awt.*;/** * A simple menu hovering utility. * * @author Node * @[member="see"] */public class MenuHovering { /** * Right clicks on a <tt>Clickable</tt> entity and hovers over a menu option. * * @param entity the <tt>Clickable</tt> entity (<tt>RSItem</tt>, <tt>RSNPC</tt>, <tt>RSGroundItem</tt>, etc) * @param option the text of the option to hover over, eg <i>Examine</i> * @return <tt>true</tt> if successful, <tt>false</tt> otherwise */ public static boolean hover(Clickable entity, String option) { return hover(entity, option, General.random(-20, 20), General.random(-5, 5)); } /** * Right clicks on a <tt>Clickable</tt> entity and hovers over a menu option. * * @param entity the clickable entity (<tt>RSItem</tt>, <tt>RSNPC</tt>, <tt>GroundItem</tt>, etc) * @param option the text of the option to hover over, eg <i>Examine</i> * @param offsetX the X offset to apply * @param offsetY the Y offset to apply * @return <tt>true</tt> if successful, <tt>false</tt> otherwise */ public static boolean hover(Clickable entity, String option, int offsetX, int offsetY) { if (entity == null || option == null) { return false; } if (Clicking.hover(entity)) { Point pos = Mouse.getPos(); Mouse.click((int) pos.getX(), (int) pos.getY(), 3); General.sleep(50, 100); // CHANGE THIS TO YOUR REQUIREMENTS if (!ChooseOption.isOpen()) { return false; } for (RSMenuNode node : ChooseOption.getMenuNodes()) { if (node.contains(option)) { int x = (int) node.getArea().getCenterX() + offsetX; int y = (int) node.getArea().getCenterY() + offsetY; Mouse.move(x, y); return true; } } } return false; }}Cheers, Node.
  10. Node

    Tree stolen, move to next

    This is covered in TRiLeZ's scripting tutorial, may be worth a read: https://tribot.org/forums/topic/30185-trilezs-scripting-tutorial/
  11. Node

    Hovering a RS menu option?

    Not built in as far as I'm aware. It looks like you could construct something pretty easily by using the ChooseOption.getMenuNodes()method. Why would you use this? Take a look at Mouse.move(). You can pass in the X, Y from RSMenuNode.getArea().
  12. Node

    [ABCL10] Tri Leather Crafter - 55k XP/Hour

    Congrats on release, looks nice.
  13. Node

    nAirWalker [FREE]

    I'm pleased to announce the release of nAirWalker 1.1, available on the repository here. Current Features: ABCL 10.Up to 40 trips per hour.Supports rune essence and pure essence.Tiara & Talisman support.Extensive stats.Togglable paint. Start the script anywhere, preferably Falador West bank. The script will equip a tiara for you if available, or withdraw a talisman. Upcoming Features: Energy / super energy potionsEssence pouchesScreenshots:
  14. Node

    nFiremaker Development Thread

    Thanks @Flamo353. I've had a couple of busy weeks so I've not been particularly active - I'm back now and looking forward to updating this thread as and when bugs / feature requests come in.
  15. Node

    Sleeping more than usual

    Sounds like the built-in fatigue system that kicks in during long periods of botting. How long after starting the bot are you noticing this?
×