Gunshin Posted May 26, 2015 Share Posted May 26, 2015 Hey, im currently in the process of making a GE bot that tracks prices but im having an issue that certain different items have the same name such as 'Priest gown'. The name 'Priest gown' is used for both the top and bottoms, and i am unable to select the second option in the grand exchange interface. Anyone know of a good way to do this? I can trawl it perfectly fine for most items, just these kinds are giving me a problem. Thanks Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted May 26, 2015 Share Posted May 26, 2015 Is selecting an item at position 2 an issue? RS2Widget geSearchItemsMain = widgets.get(548, 125); for(RS2Widget item : geSearchItemsMain.getChildWidgets()) { if(!item.getMessage().equals("")) { log(item.getMessage() + " - " + item.getRootId() + ":" + item.getSecondLevelId() + ":" + item.getThirdLevelId()); } } -> [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age amulet - 548:125:1 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age bow - 548:125:4 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age cloak - 548:125:7 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age full helmet - 548:125:10 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age kiteshield - 548:125:13 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age longsword - 548:125:16 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age mage hat - 548:125:19 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age platebody - 548:125:22 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age platelegs - 548:125:25 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age range coif - 548:125:28 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age range legs - 548:125:31 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age range top - 548:125:34 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age robe - 548:125:37 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age robe top - 548:125:40 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age vambraces - 548:125:43 [iNFO][bot #1][05/26 01:43:29 PM]: 3rd age wand - 548:125:46items are at interface 548:125:(1+3p) Quote Link to comment Share on other sites More sharing options...
Gunshin Posted May 26, 2015 Author Share Posted May 26, 2015 Great, thanks, just what i was looking for. Quote Link to comment Share on other sites More sharing options...