Hier ist der Fix:
Alles anzeigenCode
- Suche:
- def SetInventoryItem(self, slotIndex, window_type = player.INVENTORY):
- ...
- self.AddItemData(itemVnum, metinSlot, attrSlot)
- Ändere zu:
- self.AddItemData(itemVnum, metinSlot, attrSlot, 1)
- ---------------------------------------------------------------------------
- Suche, wenn vorhanden:
- def SetInventoryItem2(self, slotIndex, window_type = player.INVENTORY):
- ...
- self.AddItemData(itemVnum, metinSlot, attrSlot)
- Ändere zu:
- self.AddItemData(itemVnum, metinSlot, attrSlot, 1)
- ---------------------------------------------------------------------------
- Suche:
- def SetItemToolTip(self, itemVnum):
- ...
- self.AddItemData(itemVnum, metinSlot, attrSlot)
- Ändere zu:
- self.AddItemData(itemVnum, metinSlot, attrSlot, 1)
- ---------------------------------------------------------------------------
- Suche:
- def SetHyperlinkItem(self, tokens):
- ...
- self.AddItemData(itemVnum, metinSlot, attrSlot)
- Ändere zu:
- self.AddItemData(itemVnum, metinSlot, attrSlot, 1)
- ---------------------------------------------------------------------------
- Suche:
- def SetSafeBoxItem(self, slotIndex):
- ...
- self.AddItemData(itemVnum, metinSlot, attrSlot, safebox.GetItemFlags(slotIndex))
- Ändere zu:
- self.AddItemData(itemVnum, metinSlot, attrSlot, 0, safebox.GetItemFlags(slotIndex))
- ---------------------------------------------------------------------------
- Suche:
- def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, flags = 0, unbindTime = 0, preview = 1):
- Ändere zu:
- def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, preview = 0, flags = 0, unbindTime = 0):
- ---------------------------------------------------------------------------
- Suche:
- if itemVnum in myPetVnum:
- self.AppendTextLine(item.GetItemName(), self.TITLE_COLOR)
- self.AppendDescription(item.GetItemDescription(), 26)
- self.__AppendAffectInformation()
- self.AppendMallItemLastTime(metinSlot[0])
- self.ShowToolTip()
- self.__ModelPreview(itemVnum, 5, item.GetValue(3))
- return
- Ändere zu:
- if itemVnum in myPetVnum:
- self.AppendTextLine(item.GetItemName(), self.TITLE_COLOR)
- self.AppendDescription(item.GetItemDescription(), 26)
- self.__AppendAffectInformation()
- self.AppendMallItemLastTime(metinSlot[0])
- self.ShowToolTip()
- if preview != 0:
- self.__ModelPreview(itemVnum, 5, item.GetValue(3))
- return
- ---------------------------------------------------------------------------
- Suche:
- else:
- # ATTR
- self.__AppendAttributeInformation(attrSlot)
- if itemVnum < 85020:
- self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
- Ändere zu:
- if itemVnum < 85020:
- if preview != 0:
- self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
- ---------------------------------------------------------------------------
fehler bleibt unverändert bestehen^^