Jump to content

botelias

Scripter I
  • Posts

    132
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by botelias

  1. Hi! I can't get a joke-bot to accept past the 2nd trade window. Tried several different widgets, but it just won't work. Anybody know why? if (getTrade().isSecondInterfaceOpen()) { log("Second trade..."); if (getTrade().didOtherAcceptTrade() && !getTrade().getTheirOffers().isEmpty()) { RS2Widget acceptTrade = getWidgets().get(334, 25); if (acceptTrade.interact()) { tellJoke = true; return random(200, 300); } } } Also tried replacing: RS2Widget acceptTrade = getWidgets().get(334, 25); with: RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); First time I try messing with Java, so probably something stupid I've missed Thanks!
×
×
  • Create New...