Jump to content
metin2dev
  • 0
Sign in to follow this  
Taylor

open Help me please!

Question

Whisper window does not open! The server has "Contact System" the problem would be from uiwhisper.py, but I can not figure out where..

SYSERR:

0810 05:51:28773 :: Unknown Server Command anti_exp 1 | anti_exp
0810 05:51:30096 :: Traceback (most recent call last):

0810 05:51:30096 ::   File "ui.py", line 1358, in CallEvent

0810 05:51:30096 ::   File "ui.py", line 88, in __call__

0810 05:51:30097 ::   File "ui.py", line 70, in __call__

0810 05:51:30097 ::   File "uiTarget.py", line 728, in OnWhisper

0810 05:51:30097 ::   File "ui.py", line 88, in __call__

0810 05:51:30097 ::   File "ui.py", line 79, in __call__

0810 05:51:30097 ::   File "interfaceModule.py", line 2053, in OpenWhisperDialog

0810 05:51:30097 ::   File "interfaceModule.py", line 2240, in __MakeWhisperDialog

0810 05:51:30097 ::   File "uiWhisper.py", line 126, in LoadDialog

0810 05:51:30097 :: AttributeError
0810 05:51:30097 :: : 
0810 05:51:30097 :: 'WhisperDialog' object has no attribute 'closeButton'
0810 05:51:30097 ::

uiwhisper.py:  https://pastebin.com/PpXL5gR8

 
 
 
 
 
94/5000
 
 
 
 
 
 
 
94/5000
 
 
 
 
 
 
 
94/5000

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

The closeButton was not initialized. 
This happened because ENABLE_RENEW_MESSENGER_WHISPER is TRUE, which needs to be FALSE in order to initialize the close button (class attribute).

Spoiler

         if not app.ENABLE_RENEW_MESSENGER_WHISPER:
            self.titleName = GetObject("titlename")
            self.ignoreButton = GetObject("ignorebutton")
            self.reportViolentWhisperButton = GetObject("reportviolentwhisperbutton")
            self.closeButton = GetObject("closebutton")
 
         if app.ENABLE_RENEW_MESSENGER_WHISPER:
            self.titleNameEditBar = GetObject("titlename_editBar")

 

in order to fix this:

app.ENABLE_RENEW_MESSENGER_WHISPER = False

or add the button outside the if condition

example - Line 100

Spoiler

         
          self.closeButton = GetObject("closebutton")
          self.chatLine = GetObject("chatline")
          self.minimizeButton = GetObject("minimizebutton")
          self.acceptButton = GetObject("acceptbutton")
          self.sendButton = GetObject("sendbutton")
          self.board = GetObject("board")
          self.editBar = GetObject("editbar")
          self.gamemasterMark = GetObject("gamemastermark")
          self.acceptButton = GetObject("acceptbutton")

 

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×