Jump to content

6 7 add attributs window


Go to solution Solved by ARiver,

Recommended Posts

  • Premium

Hello everybody,

 

I Come to you with a bug i encountered while adding "6/7 official add attributs" system by mali 

Here it is :

When i talk to the npc, he offer the "6/7 add attributs" dialog but when i click on it nothing happen, non windows open.

 

If i try to reopen the window the game chat tell me that i have to close the window first.

 

From this point i can't quit the game and my client is buggy . I have to kill the client .exe to close the game.

 

Here is my client syserr:

Spoiler

File "uiAttr67Add.py", line 296, in __CalculateTotalSuccessPer

ValueError:

incomplete format

Here is the fonction: 

Spoiler
def __CalculateTotalSuccessPer(self):



        material_count = int(self.MaterialCountText.GetText())



        percent = material_count * Attr67AddWindow.SUCCESS_PER_MATERIAL



        



        if self.SupportSlotIndex != -1:



            support_vnum = player.GetItemIndex(self.SupportSlotIndex)



            if support_vnum:



                SUCCESS_PER_SUPPORT = Attr67AddWindow.SUPPORT_DICT.get(support_vnum, 0.0)



                support_count = int(self.SupportCountText.GetText())



                percent += support_count * SUCCESS_PER_SUPPORT







        self.TotalSuccessText.SetText(localeInfo.ATTR_6TH_7TH_TOTAL_SUCCESS_PERCENT % percent)



        



        if app.WJ_ENABLE_TRADABLE_ICON:



            self.RefreshLockedSlot()

 

If i comment or delet the line 296

"self.TotalSuccessText.SetText(localeInfo.ATTR_6TH_7TH_TOTAL_SUCCESS_PERCENT % percent)"

 

The system works perfectly.

The window open and the bonus are added properly. But of course the success percent of the operation is not visible.

I have tried to reinstall the system, i don't think i've missed anything but can't get to make this part work..

If someone have a lead or a clue on what i could do to solve this issue...

 

Thanks a lot and best regards.

 

Ariver.

(sorry for my english.)

Link to comment
https://metin2.dev/topic/33159-6-7-add-attributs-window/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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.