Jump to content

abotter

Members
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

abotter's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. The API is "slow" because it must simulate a user manually dropping items themselves. The cursor moves from each individual item and selects drop. To be honest, the API is actually quite fast at dropping in comparison to a real user.
  2. I see the issue now. I am performing more than one action in the walk states. Currently I am using the State paradigm with four states: BANK, MINE, WALK_TO_BANK, and WALK_TO_MINE. I guess Ill have to expand the WALK_TO_MINE state to WALK_TO_UPPER_LADDERS, GO_DOWN_UPPER_LADDERS, and WALK_TO_MINE, and a similar expansion for the WALK_TO_BANK state. Thanks you all for the help. I'll try implementing this and see if it works.
  3. Thanks for the input. I'm new to RS Scripting. Seems confusing for interact to return true when interaction has not actually occurred. What would you guys recommend then? Something like: RS2Object ladder = getScript().objects.closest("Ladder"); if (ladder != null) { while (UPPER_LADDER_AREA.contains(myPlayer())) { ladder.interact("Climb-down"); sleep(100); } } Thanks again for the input.
  4. Hi there. I'm making a simple Mining Guild bot. I'm having an issue where the bot will sometimes misclick the ladders or coal veins and get stuck. I am currently using the following snippet to perform the interaction (example below is for climbing down the ladder): RS2Object ladder = objects.closest("Ladder"); while (!ladder.interact("Climb-down")) sleep(100); I believe interact() may be returning true even though the ladder/vein was not properly interacted with. I was wondering if anyone else was having this issue. Thanks in advance for the help.
×
×
  • Create New...