OnurBoyla 1
OnurBoyla
mavzermete 1
mavzermete
xranzei 1
xranzei
Manwe Work 1
Manwe Work
noisiv 1
noisiv
Hikaye Ekle

Cevaplanmadı Problem auto potion

  • Konuyu başlatan Konuyu başlatan DoeA
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 11
  • Görüntüleme Görüntüleme 287

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!

Hello everyone, I have a display problem: the percentage on the icon in the top left corner of the auto-potion always stays at 100%, even though the percentage is correct in my inventory. I don't understand why. My uiaffectshower.py file is correct. Here is my uiaffectshower.py file.
 

Ekli dosyalar

  • 1129_133317.jpg
    1129_133317.jpg
    5.6 KB · Görüntüleme: 0
  • uiaffectshower.py
    uiaffectshower.py
    32.5 KB · Görüntüleme: 0
Uitooltip.py
Search and control;

if 0 != isActivated:
self.AppendTextLine("(%s)" % (localeInfo.TOOLTIP_AUTO_POTION_USING), self.SPECIAL_POSITIVE_COLOR)
self.AppendSpace(5)

self.AppendTextLine(localeInfo.TOOLTIP_AUTO_POTION_REST % (100.0 - ((usedAmount / totalAmount) * 100.0)), self.POSITIVE_COLOR)
 
My uitooltip.py file is correct in my inventory; the percentage is displayed correctly. Here is my uitooltip.py file.
 

Ekli dosyalar

  • 1129_135148.jpg
    1129_135148.jpg
    19.3 KB · Görüntüleme: 0
  • uitooltip.py
    uitooltip.py
    199.7 KB · Görüntüleme: 0
I don't think it's coming from uitooltip.py; I think it's coming from uiaffectshower.py, which controls the display of the icons in the top left corner.
 
self.toolTip.AppendTextLine(localeInfo.TOOLTIP_AUTO_POTION_REST% (amountPercent))

self.toolTip.ResizeToolTip()



I remember there should be a space before the % part.

self.toolTip.AppendTextLine(localeInfo.TOOLTIP_AUTO_POTION_REST % (amountPercent))
self.toolTip.ResizeToolTip()
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst