June 11, 20223 yr How to teleport to soul wars minigames I try to use widgets but didnt work with me Please any help
June 11, 20223 yr Moved to appropriate section. 24 minutes ago, abouhanafy87 said: How to teleport to soul wars minigames I try to use widgets but didnt work with me Please any help You use widgets, you probably just grabbed the wrong widget info
June 11, 20223 yr Without spoonfeeding too much, here are a couple snippets that you'll have to assemble yourself // currently selected minigame, do getMessage() on this Optional<RS2Widget> firstAttempt = getWidgets().getAll().stream().filter(a -> a.getRootId() == 76 && a.getMessage() != null && a.getMessage().length() > 0 && a.getTextColor() == 16750623 && a.getHeight() < 20).findFirst(); // teleport button (after a minigame is selected) Optional<RS2Widget> teleportButton = getWidgets().getAll().stream().filter(a -> a.getMessage().length() > 0 && a.getMessage().equalsIgnoreCase("Teleport")).findFirst(); // is minigame teleport panel shown boolean isTab = getConfigs().get(1054) >= 3000; // open grouping tab getWidgets().interact(548, 39, "Grouping"); // click on correct minigame Optional<RS2Widget> targetMinigameOption = getWidgets().getAll().stream() .filter(a -> a.getRootId() == 76 && a.getMessage().length() > 0 && a.getMessage().equalsIgnoreCase("MINIGAME NAME HERE")) .findFirst();
June 12, 20223 yr Author 8 hours ago, Czar said: Without spoonfeeding too much, here are a couple snippets that you'll have to assemble yourself // currently selected minigame, do getMessage() on this Optional<RS2Widget> firstAttempt = getWidgets().getAll().stream().filter(a -> a.getRootId() == 76 && a.getMessage() != null && a.getMessage().length() > 0 && a.getTextColor() == 16750623 && a.getHeight() < 20).findFirst(); // teleport button (after a minigame is selected) Optional<RS2Widget> teleportButton = getWidgets().getAll().stream().filter(a -> a.getMessage().length() > 0 && a.getMessage().equalsIgnoreCase("Teleport")).findFirst(); // is minigame teleport panel shown boolean isTab = getConfigs().get(1054) >= 3000; // open grouping tab getWidgets().interact(548, 39, "Grouping"); // click on correct minigame Optional<RS2Widget> targetMinigameOption = getWidgets().getAll().stream() .filter(a -> a.getRootId() == 76 && a.getMessage().length() > 0 && a.getMessage().equalsIgnoreCase("MINIGAME NAME HERE")) .findFirst(); Thank you man
Create an account or sign in to comment