Jump to content

Python error SHOW CHEST DROP

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

			chestSlot = self.__InventoryLocalSlotPosToGlobalSlotPos(slotIndex)
			itemVnum = player.GetItemIndex(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot)
			#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)


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

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