Honorable Member Mali 41817 Posted January 15, 2021 Honorable Member Share Posted January 15, 2021 (edited) M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is the hidden content, please Sign In or Sign Up ( GitHub ) Spoiler Renewal Version: Edited December 21, 2023 by Mali 330 1 7 2 2 2 1 10 1 5 4 86 23 210 Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted January 15, 2021 Premium Share Posted January 15, 2021 (edited) @Mali61 Spoiler Any idea? I'm using martysama. 0115 11:53:22242 :: File "ui.py", line 1067, in CallEvent 0115 11:53:22243 :: File "ui.py", line 88, in __call__ 0115 11:53:22243 :: File "ui.py", line 70, in __call__ 0115 11:53:22243 :: File "uiCharacter.py", line 388, in __ClickExpandButton 0115 11:53:22243 :: File "uiCharacterDetails.py", line 15, in __init__ 0115 11:53:22244 :: File "uiCharacterDetails.py", line 57, in __LoadScript 0115 11:53:22244 :: File "ui.py", line 2823, in GetChild 0115 11:53:22244 :: KeyError 0115 11:53:22244 :: : 0115 11:53:22244 :: 'label0' 0115 11:53:22244 :: Solved Edited January 15, 2021 by DemOnJR 1 3 Link to comment Share on other sites More sharing options...
Honorable Member Mali 41817 Posted January 15, 2021 Author Honorable Member Share Posted January 15, 2021 3 minutes ago, DemOnJR said: @Mali61 Any idea? I'm using martysama. They are official classes. I've added root parts now. For ymir files, you can check the official packs 1 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19674 Posted January 15, 2021 Honorable Member Share Posted January 15, 2021 Do you have the ThinBoardCircle class in your ui.py file? 1 Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted January 15, 2021 Premium Share Posted January 15, 2021 (edited) 6 minutes ago, xP3NG3Rx said: Do you have the ThinBoardCircle class in your ui.py file? Not. 6 minutes ago, Mali61 said: They are official classes. I've added root parts now. For ymir files, you can check the official packs Ok i will try now. Now is working with the ThinBoardCircle Edited January 15, 2021 by DemOnJR 2 1 Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted January 15, 2021 Premium Share Posted January 15, 2021 (edited) root > uitooltip.py Search: def AppendTextLine(self, text, color = FONT_COLOR, centerAlign = True): Add above: def SetThinBoardSize(self, width, height = 12) : self.toolTipWidth = width self.toolTipHeight = height Fix for: 0115 15:00:41188 :: Traceback (most recent call last): 0115 15:00:41188 :: File "ui.py", line 958, in OnMouseOverIn 0115 15:00:41188 :: File "ui.py", line 88, in __call__ 0115 15:00:41189 :: File "ui.py", line 79, in __call__ 0115 15:00:41189 :: File "uiCharacterDetails.py", line 277, in __ButtonOverIn 0115 15:00:41189 :: AttributeError 0115 15:00:41189 :: : 0115 15:00:41189 :: 'ToolTip' object has no attribute 'SetThinBoardSize' 0115 15:00:41189 :: Edited January 15, 2021 by DemOnJR 1 Link to comment Share on other sites More sharing options...
Shenzo 4 Posted January 15, 2021 Share Posted January 15, 2021 Works perfect, thanks! 1 Link to comment Share on other sites More sharing options...
Giecu 4 Posted January 18, 2021 Share Posted January 18, 2021 I have problem with new bonus, don't see in character details e.g strong vs monster. 1 Link to comment Share on other sites More sharing options...
Trkrkn61 0 Posted January 31, 2021 Share Posted January 31, 2021 thank u Link to comment Share on other sites More sharing options...
HossaM 0 Posted January 31, 2021 Share Posted January 31, 2021 Work perfect, thanks 我們生活在一個白痴世界 Link to comment Share on other sites More sharing options...
topolino1958 17 Posted May 24, 2021 Share Posted May 24, 2021 (edited) Solved the various problems, now I was wondering how can I add the new bonuses? Resistance type lycan or some that does not calculate as%? Thanks u Edited May 25, 2021 by topolino1958 Link to comment Share on other sites More sharing options...
Giecu 4 Posted November 30, 2021 Share Posted November 30, 2021 (edited) how to fix start position details? SS: uicharacter.py Spoiler Find: def OnUpdate(self): self.__UpdateQuestClock() Add under: if app.ENABLE_DETAILS_UI: if self.chDetailsWnd: self.UpdateDetailsPosition() Find: def OnMoveWindow(self, x, y): if self.chDetailsWnd: self.chDetailsWnd.AdjustPosition(x, y) Add under: def UpdateDetailsPosition(self): x, y = self.GetGlobalPosition() self.chDetailsWnd.SetPosition(x + 250, y) Spoiler Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
granpa123 9 Posted December 4, 2021 Share Posted December 4, 2021 anyone know a fix for when you click the open button client disappears as checked everything and seems correct Granpa123 Link to comment Share on other sites More sharing options...
Contributor TMP4 10995 Posted December 4, 2021 Contributor Share Posted December 4, 2021 (edited) 1 hour ago, granpa123 said: anyone know a fix for when you click the open button client disappears as checked everything and seems correct Granpa123 Maybe you missing some image file, the tutorial does not include the images. It's in your syserr.txt if that the case. Take them from here: This is the hidden content, please Sign In or Sign Up (Otherwise still check syserr.txt, it will still writes what your error is) Edited December 4, 2021 by TMP4 45 1 1 1 8 14 Link to comment Share on other sites More sharing options...
granpa123 9 Posted December 4, 2021 Share Posted December 4, 2021 thanks for info everything works fine as just need the TGA files Granpa123 Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 12, 2022 Share Posted February 12, 2022 (edited) Guys I'm getting this error when I click on the button. I double-checked that I did the installation correct and I have the .tga files. What might be the problem? Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Honorable Member Mali 41817 Posted February 12, 2022 Author Honorable Member Share Posted February 12, 2022 (edited) 3 hours ago, Debloat said: Guys I'm getting this error when I click on the button. I double-checked that I did the installation correct and I have the .tga files. What might be the problem? edit POINT_MAX_NUM parts for your server or remove Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 12, 2022 Share Posted February 12, 2022 7 hours ago, Mali said: edit POINT_MAX_NUM parts for your server or remove Strangely, without changing any code, the system works perfectly fine in release build. But in Debug, no matter what I do, it always gives that error. Do you have an idea why this might be? Link to comment Share on other sites More sharing options...
Honorable Member Mali 41817 Posted February 12, 2022 Author Honorable Member Share Posted February 12, 2022 5 hours ago, Debloat said: Strangely, without changing any code, the system works perfectly fine in release build. But in Debug, no matter what I do, it always gives that error. Do you have an idea why this might be? If it cannot find the bonus, it will also give an error. Delete the things you delete on the client side, on the py side as well. Link to comment Share on other sites More sharing options...
Active Member Helia01 2130 Posted July 25, 2022 Active Member Share Posted July 25, 2022 (edited) The official implementation has a recursion that can cause window elements to leak. #file uicharacter.py def OnTop(self): if self.chDetailsWnd: self.chDetailsWnd.SetTop() #We are trying to raise the child window up #file uicharacterdetails.py def OnTop(self): if self.uiCharacterStatus: self.uiCharacterStatus.SetTop() #We are trying to raise the parent window up (After that, OnTop will be called for the parent window and we will get here again. This will continue up to the maximum recursion level) You may have noticed that the client sometimes closes with an error when you try to open the character details window. You can make a stupid, but working solution. Copy the SetTop function, but do not call "pWin->OnTop()" in it. And then use this function for the parent element. If you are a genius, you can try to make a IsTop function or solve this problem in some other way. Edited July 25, 2022 by Helia01 1 Link to comment Share on other sites More sharing options...
nicohare711 2 Posted August 22, 2022 Share Posted August 22, 2022 I have a problem with this system when removing a weapon with a bonus and I have the window closed, it does not update correctly, the bonus remains on and I do not have the weapon equipped Link to comment Share on other sites More sharing options...
lmaohw 0 Posted August 30, 2022 Share Posted August 30, 2022 Where is tga ? ı need help CharacterDetailsUI.__LoadScript - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_RightBottom_Circle.tga) Link to comment Share on other sites More sharing options...
Trudix 43 Posted August 30, 2022 Share Posted August 30, 2022 (edited) 1 hour ago, lmaohw said: Where is tga ? ı need help CharacterDetailsUI.__LoadScript - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_RightBottom_Circle.tga) This is the hidden content, please Sign In or Sign Up VirusTotal: This is the hidden content, please Sign In or Sign Up The download link will be automatically removed after 30 days. Edited August 30, 2022 by Calypso2 24 1 1 1 9 Link to comment Share on other sites More sharing options...
CantSt0p 50 Posted December 14, 2022 Share Posted December 14, 2022 (edited) IDK if it's bug or if has been resolved. However once you let the Character window open and teleport using Teleport ring, custom quest or just go through the Teleporter NPC, the window remains on the screen as a ghost, without a chance to close. In syserr you will see something like this: 1214 13:20:31842 :: Traceback (most recent call last): 1214 13:20:31843 :: File "ui.py", line 1096, in CallEvent 1214 13:20:31843 :: File "ui.py", line 88, in __call__ 1214 13:20:31843 :: File "ui.py", line 70, in __call__ 1214 13:20:31843 :: File "uiCharacter.py", line 472, in Close 1214 13:20:31843 :: AttributeError 1214 13:20:31843 :: : 1214 13:20:31843 :: 'NoneType' object has no attribute 'Hide' 1214 13:20:31843 :: To resolve... Go into the interfacemodule.py. Search in def Close(self): for: if self.wndCharacter: self.wndCharacter.Destroy() and replace/edit to: if self.wndCharacter: if app.ENABLE_DETAILS_UI: self.wndCharacter.Hide() self.wndCharacter.Destroy() Edited December 14, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
nicohare711 2 Posted January 7, 2023 Share Posted January 7, 2023 @ Mali @ Owsap How can this be adapted? https://metin2.dev/topic/30068-official-mouse-wheel-top-windowscroll-reversed/#comment-153772 for this system since it is giving me a problem, I put the loot filter and the scroll bar is damaged Link to comment Share on other sites More sharing options...
Recommended Posts