hasanmacit

dc: hasanmacit
Site yetkilisi
Moderatör
Premium Üye
Geliştirici
Yardımsever Üye
Mesaj
2.977
Çözümler
94
Beğeni
2.223
Puan
1.840
Ticaret Puanı
2
Great offline shop ekleyip üstüne won sistemini ekleyince won ve yang yazılarının çifter çifter geldiğini biliyorsunuzdur. Bunun için bugün azıcık uğraştım ve @Reached ile fikir alışverişi yaptık. Aslında o localeinfodandır demişti ama uitooltiptenmiş yinede saolsun adamdır @Reached xd.

uitooltip.py de bul ve değiştir

C++:
def AppendPrice(self, price):
        if app.ENABLE_CHEQUE_SYSTEM:
            if price <=0:
                return
            self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
            self.AppendSpace(5)
        else:
            self.AppendSpace(5)
            self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))

    def AppendPriceBySecondaryCoin(self, price):
        self.AppendSpace(5)
        self.AppendTextLine((localeInfo.NumberToSecondaryCoinString(price)), self.GetPriceColor(price))

    def AppendSellingPrice(self, price):
        if app.ENABLE_CHEQUE_SYSTEM:
            if price<=0:
                return
            if item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL):
                self.AppendTextLine(localeInfo.TOOLTIP_ANTI_SELL, self.DISABLE_COLOR)
                self.AppendSpace(5)
            else:
                self.AppendTextLine((localeInfo.NumberToGold(price)), self.GetPriceColor(price))
                self.AppendSpace(5)
        else:
            if item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL):
                self.AppendTextLine(localeInfo.TOOLTIP_ANTI_SELL, self.DISABLE_COLOR)
                self.AppendSpace(5)
            else:
                self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
                self.AppendSpace(5)

    if app.ENABLE_CHEQUE_SYSTEM:
        def AppendCheque(self, price):
            if price <=0:
                return
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

        def AppendSellingCheque(self, price):
            if price<=0:
                return
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

        def AppendSellingCheque2(self, price):
            if price<=0:
                return
            self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_SELL_PRICE, grp.GenerateColor(1.0, 0.9686, 0.3098, 1.0))
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

öncesi

won6.jpg


sonrası

0820_191311.jpg

 
bu nası developır normalde bu sorun yok konu leş reported
 
Eveettt, bence çok güzel demişim. Üretmeye çaba harcamak gerekiyor zaten bir şey üretmeden konuşan insan çok. Siteye sunduğunuz katkılarınız için teşekkür ederim
 
Geri
Üst