Jump to content

GE Selection


Recommended Posts

Posted

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

Posted

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:46

items are at interface 548:125:(1+3p) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...