HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
uitooltip.py de eksık yada hatalı ekleme var tekrardan kontrol etbunu yaptım, yine bonus setini göremiyorum.
[CODE title="hata"]0516 12:24:17641 :: Traceback (most recent call last):
0516 12:24:17641 :: File "ui.py", line 1978, in OnOverInItem
0516 12:24:17641 :: File "ui.py", line 87, in __call__
0516 12:24:17641 :: File "ui.py", line 78, in __call__
0516 12:24:17641 :: File "uiDragonSoul.py", line 557, in OverInEquipItem
0516 12:24:17641 :: File "uiDragonSoul.py", line 325, in ShowToolTip
0516 12:24:17642 :: File "uiToolTip.py", line 635, in SetInventoryItem
0516 12:24:17642 :: File "uiToolTip.py", line 1360, in AddItemData
0516 12:24:17642 :: NameError
0516 12:24:17642 :: :
0516 12:24:17642 :: global name 'window_type' is not defined
0516 12:24:17642 ::
[/CODE]
how your fix this error global name 'window_type' is not defined i take the same problem no show bonuses after add this line and i edited with inventory instead of equipament and i tryed with inventory.dragonsoul and same problem didin't show bonusesI did that, but I still can't see the bonus set.
[CODE title="hata"]0516 12:24:17641 :: Traceback (most recent call last):
0516 12:24:17641 :: File "ui.py", line 1978, in OnOverInItem
0516 12:24:17641 :: File "ui.py", line 87, in __call__
0516 12:24:17641 :: File "ui.py", line 78, in __call__
0516 12:24:17641 :: File "uiDragonSoul.py", line 557, in OverInEquipItem
0516 12:24:17641 :: File "uiDragonSoul.py", line 325, in ShowToolTip
0516 12:24:17642 :: File "uiToolTip.py", line 635, in SetInventoryItem
0516 12:24:17642 :: File "uiToolTip.py", line 1360, in AddItemData
0516 12:24:17642 :: NameError
0516 12:24:17642 :: :
0516 12:24:17642 :: global name 'window_type' is not defined
0516 12:24:17642 ::
[/CODE]
Bonusların sadece takılı simyalarda gösterilip geri kalan alanlarda gösterilmemesini isterseniz, yorumlara baktım herhalde çoğu kişi ya bu sorunu yaşamadı yada marty files'ten kaynaklı olabilir ds envanterinden taşları ticarete sürüklediğinizde veya pazara bonuslarda görünüyor sadece giyili eşyalarda göstermeli bunun çözümü;
[CODE lang="python" title="uitooltip.py" highlight="2,18"]
### ara ###
elif item.ITEM_TYPE_DS == itemType:
self.AppendTextLine(self.__DragonSoulInfoString(itemVnum))
if app.ENABLE_DS_SET:
if window_type == player.EQUIPMENT and self.interface and self.interface.wndDragonSoul:
self.__AppendDragonSoulAttributeInformation(attrSlot, itemVnum / 10000, self.interface.wndDragonSoul.GetDSSetGrade())
else:
self.__AppendAttributeInformation(attrSlot)
else:
self.__AppendAttributeInformation(attrSlot)
else:
self.__AppendLimitInformation()
### komple bununla değiştir ###
elif item.ITEM_TYPE_DS == itemType:
self.AppendTextLine(self.__DragonSoulInfoString(itemVnum))
if app.ENABLE_DS_SET:
showSetBonus = False
if self.interface and self.interface.wndDragonSoul:
if slotIndex != -1 and window_type is not None:
try:
if player.IsDSEquipmentSlot(window_type, slotIndex):
showSetBonus = True
except:
showSetBonus = False
if showSetBonus:
self.__AppendDragonSoulAttributeInformation(
attrSlot, itemVnum / 10000, self.interface.wndDragonSoul.GetDSSetGrade()
)
else:
self.__AppendDragonSoulAttributeInformation(attrSlot)
else:
self.__AppendAttributeInformation(attrSlot)[/CODE]
[CODE lang="python" title="uitooltip.py" highlight="2,18"]
### ara ###
elif item.ITEM_TYPE_DS == itemType:
self.AppendTextLine(self.__DragonSoulInfoString(itemVnum))
if app.ENABLE_DS_SET:
if window_type == player.EQUIPMENT and self.interface and self.interface.wndDragonSoul:
self.__AppendDragonSoulAttributeInformation(attrSlot, itemVnum / 10000, self.interface.wndDragonSoul.GetDSSetGrade())
else:
self.__AppendAttributeInformation(attrSlot)
else:
self.__AppendAttributeInformation(attrSlot)
else:
self.__AppendLimitInformation()
### komple bununla değiştir ###
elif item.ITEM_TYPE_DS == itemType:
self.AppendTextLine(self.__DragonSoulInfoString(itemVnum))
if app.ENABLE_DS_SET:
showSetBonus = False
if self.interface and self.interface.wndDragonSoul:
if slotIndex != -1 and window_type is not None:
try:
if player.IsDSEquipmentSlot(window_type, slotIndex):
showSetBonus = True
except:
showSetBonus = False
if showSetBonus:
self.__AppendDragonSoulAttributeInformation(
attrSlot, itemVnum / 10000, self.interface.wndDragonSoul.GetDSSetGrade()
)
else:
self.__AppendDragonSoulAttributeInformation(attrSlot)
else:
self.__AppendAttributeInformation(attrSlot)[/CODE]
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 8
- Görüntüleme
- 354
- Cevaplar
- 20
- Görüntüleme
- 5K
- Kilitli
- Cevaplar
- 21
- Görüntüleme
- 7K
- Kilitli
- Cevaplar
- 227
- Görüntüleme
- 62K
