Jump to content

Python error SHOW CHEST DROP


lonely

Recommended Posts

bug python 

 

0125 23:39:48975 :: FAILED        CPythonPlayer::GetItemTypeBySlot()        Cell(14, 117) item is null
0125 23:39:49347 :: FAILED        CPythonPlayer::GetItemTypeBySlot()        Cell(14, 117) item is null
0125 23:39:49580 :: FAILED        CPythonPlayer::GetItemTypeBySlot()        Cell(14, 117) item is null


this code uispecialstorage.py

		if app.ENABLE_SHOW_CHEST_DROP:
			chestSlot = self.__InventoryLocalSlotPosToGlobalSlotPos(slotIndex)
			itemVnum = player.GetItemIndex(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot)
			item.SelectItem(itemVnum)
			#if app.IsPressed(app.DIK_LCONTROL) and player.GetItemTypeBySlot(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot) == item.ITEM_TYPE_GIFTBOX:
			if player.GetItemTypeBySlot(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot) == item.ITEM_TYPE_GIFTBOX:
				if self.interface:
					self.interface.OpenChestDropInfo(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot)
					return

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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


  • Similar Content

  • Activity

    1. 0

      Connection problem

    2. 0

      Sanii Switchbot problem

    3. 4

      In game Shop ProfEnte V2

    4. 1268

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

    5. 5
    6. 1268

      [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.