• Announcement:
    In order to download VIP files, you need to UPGRADE your account.

Solved Mailbox error 🤷🏻‍♂️

Member
Oct
Threads
3
27
1
4
3
HubMoney
262
Hello guys,

I'm kinda lost about this error I get:

Code:
0127 22:57:14069 ::
uiMiniMap.py(line:370) __LoadWindow
uiMiniMap.py(line:617) MakeGmMailButton

MiniMap.LoadWindow.Bind - <type 'exceptions.AttributeError'>:'NoneType' object has no attribute 'ClearToolTip'

0127 22:57:14069 :: ============================================================================================================
0127 22:57:14069 :: Abort!!!!


line 370 and further from __LoadWindow:
Python:
if app.ENABLE_MAILBOX_SYSTEM:
                self.MakeGmMailButton()
                self.MailBoxButton = self.GetChild("MailBoxButton")
                self.MailBoxButton.Hide()
                self.MailBoxEffect = self.GetChild("MailBoxEffect")
                self.MailBoxEffect.Hide()



line 617 "self.tooltipMailBoxGM.ClearToolTip()" with the who def MakeGmMailButton:
Python:
def MakeGmMailButton(self):
            SCREEN_WIDTH = wndMgr.GetScreenWidth()
            # create button
            self.MailBoxGMButton = ui.ExpandedImageBox()
            self.MailBoxGMButton.LoadImage("d:/ymir work/ui/game/mailbox/mailbox_icon_gm.sub")
            self.MailBoxGMButton.SetScale(0.8, 0.8)
            self.MailBoxGMButton.SetPosition(SCREEN_WIDTH-136-30, 0)
            self.MailBoxGMButton.Hide()
            self.MailBoxGMButton.SetEvent(ui.__mem_func__(self.MailBoxGMButtonOverInEvent), "mouse_over_in", 0)
            self.MailBoxGMButton.SetEvent(ui.__mem_func__(self.MailBoxGMButtonOverOutEvent), "mouse_over_out", 0)

            if localeInfo.IsARABIC():
                self.MailBoxGMButton.SetPosition(SCREEN_WIDTH-136-30-10, 0)

            # tooltip setting
            text = localeInfo.MAILBOX_POST_GM_ARRIVE
            self.tooltipMailBoxGM.ClearToolTip()
            self.tooltipMailBoxGM.SetThinBoardSize( 11 * len(text) )
            self.tooltipMailBoxGM.AppendTextLine( text )

I did not meet this "pointless" yet, so I will be glad if anybody can help me to figured out.

Thanks in advance.
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,627
1
660
113
HubMoney
1,025
Hello guys,

I'm kinda lost about this error I get:

Code:
0127 22:57:14069 ::
uiMiniMap.py(line:370) __LoadWindow
uiMiniMap.py(line:617) MakeGmMailButton

MiniMap.LoadWindow.Bind - <type 'exceptions.AttributeError'>:'NoneType' object has no attribute 'ClearToolTip'

0127 22:57:14069 :: ============================================================================================================
0127 22:57:14069 :: Abort!!!!


line 370 and further from __LoadWindow:
Python:
if app.ENABLE_MAILBOX_SYSTEM:
                self.MakeGmMailButton()
                self.MailBoxButton = self.GetChild("MailBoxButton")
                self.MailBoxButton.Hide()
                self.MailBoxEffect = self.GetChild("MailBoxEffect")
                self.MailBoxEffect.Hide()



line 617 "self.tooltipMailBoxGM.ClearToolTip()" with the who def MakeGmMailButton:
Python:
def MakeGmMailButton(self):
            SCREEN_WIDTH = wndMgr.GetScreenWidth()
            # create button
            self.MailBoxGMButton = ui.ExpandedImageBox()
            self.MailBoxGMButton.LoadImage("d:/ymir work/ui/game/mailbox/mailbox_icon_gm.sub")
            self.MailBoxGMButton.SetScale(0.8, 0.8)
            self.MailBoxGMButton.SetPosition(SCREEN_WIDTH-136-30, 0)
            self.MailBoxGMButton.Hide()
            self.MailBoxGMButton.SetEvent(ui.__mem_func__(self.MailBoxGMButtonOverInEvent), "mouse_over_in", 0)
            self.MailBoxGMButton.SetEvent(ui.__mem_func__(self.MailBoxGMButtonOverOutEvent), "mouse_over_out", 0)

            if localeInfo.IsARABIC():
                self.MailBoxGMButton.SetPosition(SCREEN_WIDTH-136-30-10, 0)

            # tooltip setting
            text = localeInfo.MAILBOX_POST_GM_ARRIVE
            self.tooltipMailBoxGM.ClearToolTip()
            self.tooltipMailBoxGM.SetThinBoardSize( 11 * len(text) )
            self.tooltipMailBoxGM.AppendTextLine( text )

I did not meet this "pointless" yet, so I will be glad if anybody can help me to figured out.

Thanks in advance.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock