Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Shop Search System (No ItemIndex!) Problem



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!")
		shopVid = self.searchResultItems[self.selectedItemIndex].GetShopVid()
		shopItemPos = self.searchResultItems[self.selectedItemIndex].GetShopItemPos()
		net.SendPrivateShopSerchBuyItem(shopVid, shopItemPos)


Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

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

  • Activity

    1. 0

      Need Help With Char_Item.cpp

    2. 0


    3. 7

      Killua - Unholy God Set

    4. 2

      Visual studio 2022 compiling issue

    5. 991

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.