Jump to content
Gunshin

GE Selection

Recommended Posts

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

Link to comment
Share on other sites

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) 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

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