- Mesaj
- 96
- Beğeni
- 32
- Puan
- 426
- Ticaret Puanı
- 0
Merhaba, Alttaki kodu sorunsuz ekliyorum gerekli yerlere oyuna giriş yapıyorum fakat itemin altında nesne kodunu göstermiyor ve herhangi bir sysser de vermiyor.
uitooltip.py:
#uitooltip.py - açılır
#Bu kod bloğunu aratın
def __DragonSoulInfoString (self, dwVnum):
# Aynı bloktan iki tane olacaktır en üste olanı bulun ve onunda
# üstünde bu kod olacak
self.ShowToolTip()
#üstüne eklenir
if chr.IsGameMaster(player.GetMainCharacterIndex()):
self.AppendTextLine(localeInfo.ITEM_VNUM_TOOLTIP % (int(itemVnum)), self.SINIRSIZ_COLOR)
self.AppendTextLine(localeInfo.ITEM_TYPE_TOOLTIP % (int(itemType)), self.SINIRSIZ_COLOR)
self.AppendTextLine(localeInfo.ITEM_SUBTYPE_TOOLTIP % (int(itemSubType)), self.SINIRSIZ_COLOR)
https://prnt.sc/20xppe5 Bu fotoğrafa bakarak doğru yeri anlayın.
# aratılır
Bunları sorunsuz ekliyorum herhangi bir sysser de vermiyor oyuna giriyorum fakat itemin üstüne gelince item kodunu göstermiyor.
NEED_SKILL_POINT_COLOR = 0xff9A9CDB
#altına eklenir
SINIRSIZ_COLOR = 0xffFFFF00
#locale_game.txt açılır ve eklenir
ITEM_VNUM_TOOLTIP Vnum: %d
ITEM_TYPE_TOOLTIP Type: %d
ITEM_SUBTYPE_TOOLTIP SubType: %d

