Active+ Member blaxis 274 Posted October 16, 2021 Active+ Member Share Posted October 16, 2021 Hello, search results are listed in the search system, but when I click "Mark" or "Buy", "No ItemIndex!" I'm getting the warning. Does anyone have an idea? def BuySelectedItem(self): if self.selectedItemIndex == -1: chat.AppendChat(chat.CHAT_TYPE_INFO, "No ItemIndex!") return shopVid = self.searchResultItems[self.selectedItemIndex].GetShopVid() shopItemPos = self.searchResultItems[self.selectedItemIndex].GetShopItemPos() net.SendPrivateShopSerchBuyItem(shopVid, shopItemPos) Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted October 16, 2021 Active+ Member Share Posted October 16, 2021 Did you try to click on the line of the item before you click on "Buy" ? Link to comment Share on other sites More sharing options...
Active+ Member blaxis 274 Posted October 16, 2021 Author Active+ Member Share Posted October 16, 2021 12 minutes ago, Abel(Tiger) said: Did you try to click on the line of the item before you click on "Buy" ? I click it but it doesn't become selected. No syserr Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now