Driguezgames 5 Posted May 15, 2018 Share Posted May 15, 2018 (edited) Hello, i have a Small Bug, all its Working but the Icon on a Item Transmuted don't show, so... my problem is: But i don't know where i put this, i don't have wndMgr.SetSlotID(self.hWnd, renderingSlotNumber, id) on Ui.Py like the Tutorial said, what i do? Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted May 15, 2018 Forum Moderator Share Posted May 15, 2018 Take a look on ui.py on the def SetItemSlot function: def SetItemSlot(self, renderingSlotNumber, ItemIndex, ItemCount = 0, diffuseColor = (1.0, 1.0, 1.0, 1.0), id = 0): if ItemIndex == None or ItemIndex == 0: wndMgr.ClearSlot(self.hWnd, renderingSlotNumber) return item.SelectItem(ItemIndex) itemIcon = item.GetIconImage() (width, height) = item.GetItemSize() wndMgr.SetSlot(self.hWnd, renderingSlotNumber, ItemIndex, width, height, itemIcon, diffuseColor) wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount) wndMgr.SetSlotID(self.hWnd, renderingSlotNumber, id) if app.ENABLE_CHANGELOOK_SYSTEM: wndMgr.SetCoverButton(self.hWnd, renderingSlotNumber, "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "icon/item/ingame_convert_mark.tga", False, False) Best regards Raylee 1 Link to comment Share on other sites More sharing options...
Driguezgames 5 Posted May 15, 2018 Author Share Posted May 15, 2018 4 hours ago, Raylee said: Take a look on ui.py on the def SetItemSlot function: def SetItemSlot(self, renderingSlotNumber, ItemIndex, ItemCount = 0, diffuseColor = (1.0, 1.0, 1.0, 1.0), id = 0): if ItemIndex == None or ItemIndex == 0: wndMgr.ClearSlot(self.hWnd, renderingSlotNumber) return item.SelectItem(ItemIndex) itemIcon = item.GetIconImage() (width, height) = item.GetItemSize() wndMgr.SetSlot(self.hWnd, renderingSlotNumber, ItemIndex, width, height, itemIcon, diffuseColor) wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount) wndMgr.SetSlotID(self.hWnd, renderingSlotNumber, id) if app.ENABLE_CHANGELOOK_SYSTEM: wndMgr.SetCoverButton(self.hWnd, renderingSlotNumber, "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "icon/item/ingame_convert_mark.tga", False, False) Best regards Raylee Solved, thanks Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted May 15, 2018 Forum Moderator Share Posted May 15, 2018 #closedProblem solved! Best regards Raylee 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