lonely 0 Posted January 25, 2023 Share Posted January 25, 2023 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now