Skip to content

Commit a9b74eb

Browse files
authored
Merge pull request #1691 from chsami/development
Development
2 parents 33f964a + aae2ff9 commit a9b74eb

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ project.build.group=net.runelite
3131
project.build.version=1.12.19
3232

3333
glslang.path=
34-
microbot.version=2.1.21
34+
microbot.version=2.1.22
3535
microbot.commit.sha=nogit
3636
microbot.repo.url=http://138.201.81.246:8081/repository/microbot-snapshot/
3737
microbot.repo.username=

runelite-client/src/main/java/net/runelite/client/plugins/microbot/globval/WidgetIndices.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,15 +756,15 @@ public static class ChatBox {
756756
public static final int REPORT_TAB_LABEL = 32;
757757
public static final int REPORT_TAB_TEXT = 33;
758758
public static final int FRAME_CONTAINER = 34;
759-
public static final int TRANSPARENT_BACKGROUND_CONTAINER = 35;
759+
public static final int TRANSPARENT_BACKGROUND_CONTAINER = 36;
760760
// 36
761-
public static final int CONTAINER = 37;
761+
public static final int CONTAINER = 38;
762762
// 38 - 40 gap
763763
public static final int TITLE = 42;
764764
public static final int FULL_INPUT = 43;
765-
// 44 - 50 gap
765+
// 43 - 49 gap
766766
public static final int GE_SEARCH_RESULTS = 51;
767-
// 52 - 53 gap
767+
// 51 - 52 gap
768768
public static final int MESSAGES_CONTAINER = 54;
769769
public static final int TRANSPARENT_BACKGROUND_LINES_CONTAINER = 55;
770770
public static final int INPUT_LABEL = 56;

runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/dialogues/Rs2Dialogue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Rs2Dialogue {
2626
* @return true if any dialogue-related widget is visible and the scroll bar is not visible, false otherwise.
2727
*/
2828
public static boolean isInDialogue() {
29-
return !Rs2Widget.isWidgetVisible(162, 558) && (hasContinue() || hasSelectAnOption());
29+
return !Rs2Widget.isWidgetVisible(162, 559) && (hasContinue() || hasSelectAnOption());
3030
}
3131

3232
/**
@@ -128,7 +128,7 @@ private static boolean hasBarrowsContinue() {
128128
* @return true if the spell filter continue option is visible, false otherwise.
129129
*/
130130
private static boolean hasSpellFilterContinue() {
131-
return Rs2Widget.isWidgetVisible(162, 43);
131+
return Rs2Widget.isWidgetVisible(162, 44);
132132
}
133133

134134
/**

runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/grandexchange/Rs2GrandExchange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public static boolean processOffer(GrandExchangeRequest request) {
208208
sleepUntil(GrandExchangeWidget::isOfferTextVisible);
209209

210210

211-
Rs2Widget.sleepUntilHasWidgetText("Start typing the name of an item to search for it", 162, 51, false, 5000);
211+
Rs2Widget.sleepUntilHasWidgetText("Start typing the name of an item to search for it", 162, 52, false, 5000);
212212

213213
String searchName = request.getItemName();
214214
boolean itemMatchedWithPreviousSearch = isPreviousSearchMatch(request.getItemName());
@@ -279,7 +279,7 @@ private static boolean searchItemName(GrandExchangeRequest request, String searc
279279
}
280280
Rs2Keyboard.typeString(request.getItemName());
281281

282-
if (!Rs2Widget.sleepUntilHasWidgetText(searchName, 162, 43, false, 5000)) return true;
282+
if (!Rs2Widget.sleepUntilHasWidgetText(searchName, 162, 44, false, 5000)) return true;
283283

284284
sleepUntil(() -> getSearchResultWidget(request.getItemName(), request.isExact()) != null, 2200);
285285

0 commit comments

Comments
 (0)