Jump to content

Small but annoying "bug" - Open Window Position


Recommended Posts

 

Hi,

I don't know if you've noticed, but every time you open a shop or want to add a stone to an item, the window inexplicably opens somewhere on the right at the top near the inventory.
It bothered me for quite a while, so I looked into the code, and the fix is very easy.
I'm sharing it with you, and I would appreciate it if you let me know if any other window does the same, as I've only noticed these two so far.

Open uiattachmetin.py and search in def Open(self, metinItemPos, targetItemPos):

self.UpdateDialog()			

Add under:

self.SetCenterPosition()

############################

Open uishop.py and search in def Open(self, vid):

self.Refresh()

Add under:

self.SetCenterPosition()

Thats all :D
  • Love 1
Link to comment
https://metin2.dev/topic/31977-small-but-annoying-bug-open-window-position/
Share on other sites

  • 2 weeks later...
  • 7 months later...
  • Active+ Member

Thank you! https://metin2.download/picture/LTB6DlU0XGJ4pWsn8FyKV00134BR4ljH/.gif 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Love 1

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.