Jump to content

Recommended Posts

hello, i have this but on my Cliente and try and try too fix but nothing. maybe same one cann help me for little money maybe.

 

0504 23:03:53146 ::   File "ui.py", line 2416, in OnOverInItem

0504 23:03:53147 ::   File "ui.py", line 110, in __call__

0504 23:03:53147 ::   File "ui.py", line 101, in __call__

0504 23:03:53148 ::   File "uiInventory.py", line 2417, in OverInItem

0504 23:03:53148 ::   File "uiInventory.py", line 2686, in ShowToolTip

0504 23:03:53149 ::   File "uiToolTip.py", line 681, in SetInventoryItem

0504 23:03:53149 ::   File "uiToolTip.py", line 1513, in AddItemData

0504 23:03:53150 :: TypeError
0504 23:03:53150 :: : 
0504 23:03:53150 :: not enough arguments for format string
0504 23:03:53150 :: 

 

this is the bug 

 

on line 1513 from uitooltip is this

 

        if self.check_sigillo(itemVnum) or itemVnum == 55002:
            if attrSlot[0][1] != 0:
                self.AppendSpace(2)
                blackyas = (int(attrSlot[5][1])/60)/24
                getskillslot = (int(attrSlot[6][1]))
                #petevobl = (int(attrSlot[6][1]))
                self.AppendTextLine("|cffffffffNível:"+str(metinSlot[1]) + " (" + str(getskillslot) +")", self.NORMAL_COLOR)
                #if (str(petevobl)) == "0":
                    #self.AppendTextLine(localeInfo.PET_TEXTT_7, grp.GenerateColor(0, 78, 0, 1))
                #elif (str(petevobl)) == "1":
                    #self.AppendTextLine(localeInfo.PET_SYSTEM_EVO2, grp.GenerateColor(0, 78, 0, 1))
                #elif (str(petevobl)) == "2":
                    #self.AppendTextLine(localeInfo.PET_SYSTEM_EVO3, grp.GenerateColor(0, 78, 0, 1))
                #elif (str(petevobl)) == "3":
                    #self.AppendTextLine(localeInfo.PET_SYSTEM_EVO4, grp.GenerateColor(0, 78, 0, 1))
                self.AppendSpace(2)
                self.AppendTextLine("Vida: +"+pointop(str(attrSlot[0][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
                self.AppendTextLine("Defesa: +"+pointop(str(attrSlot[1][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
                self.AppendTextLine("Dano: +"+pointop(str(attrSlot[2][1]))+"%", self.SPECIAL_POSITIVE_COLOR)
                self.AppendSpace(5)
                if itemVnum != 55002:
                    days = (int(attrSlot[3][1])/60)/24
                    hours = (int(attrSlot[3][1]) - (days*60*24)) / 60
                    mins = int(attrSlot[3][1]) - (days*60*24) - (hours*60)
                    self.AppendTextLine(localeInfo.PET_TEXTT_1 % (days, hours, mins), self.SPECIAL_POSITIVE_COLOR)

 

Thanks

Link to comment
https://metin2.dev/topic/23659-hello-im-searching-for-python-fix/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.