Jump to content

Recommended Posts

Hi,

i want to close safebox and password window, when i use offlineshopbuilder and offlineshop.

And i want to close offlineshopbuilder and offlineshop, when i use safebox and password window.

Somebody can help me?

 

files:

uisafebox.py

uiofflineshop.py

uiofflineshopbuilder.py

interfacemodule.py

 

Thank you in advance.

 

This is the hidden content, please

  • Dislove 1
Link to comment
https://metin2.dev/topic/23175-py-safebox-password-close/
Share on other sites

0325 22:37:16499 :: Traceback (most recent call last):

0325 22:37:16499 ::   File "game.py", line 2482, in BINARY_ServerCommand_Run

0325 22:37:16499 ::   File "stringCommander.py", line 63, in Run

0325 22:37:16499 ::   File "stringCommander.py", line 31, in __call__

0325 22:37:16499 ::   File "stringCommander.py", line 11, in __call__

0325 22:37:16499 ::   File "game.py", line 2557, in CommandCloseSafebox

0325 22:37:16500 ::   File "interfaceModule.py", line 1046, in CommandCloseSafebox

0325 22:37:16500 ::   File "uiSafebox.py", line 608, in CommandCloseSafebox

0325 22:37:16500 :: AttributeError
0325 22:37:16500 :: : 
0325 22:37:16500 :: 'module' object has no attribute 'ENABLE_CHECK_IF_SAFEBOX_OPEN'
0325 22:37:16500 :: 

0325 22:37:16500 :: Unknown Server Command CloseSafebox | CloseSafebox

Link to comment
https://metin2.dev/topic/23175-py-safebox-password-close/#findComment-125238
Share on other sites

Search for uisafebox.py:

 

    def CommandCloseSafebox(self):
        pList = [self.dlgPickMoney, self.dlgChangePassword, self]
        if self.tooltipItem:
            self.tooltipItem.HideToolTip()
        for a in pList:
            a.Hide()
        if app.ENABLE_CHECK_IF_SAFEBOX_OPEN:
            safebox.Close()
        if app.WJ_ENABLE_TRADABLE_ICON:
            self.interface.RefreshMarkInventoryBag()

 

And replace the function:

 

    def CommandCloseSafebox(self):

        safebox.Close()
        pList = [self.dlgPickMoney, self.dlgChangePassword, self]
        if self.tooltipItem:
            self.tooltipItem.HideToolTip()
        for a in pList:
            a.Hide()
        if app.WJ_ENABLE_TRADABLE_ICON:
            self.interface.RefreshMarkInventoryBag()

Link to comment
https://metin2.dev/topic/23175-py-safebox-password-close/#findComment-125256
Share on other sites

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.