Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Python 'QuestDialog' object has no attribute 'hWnd'


Karbust

Question

  • VIP

Sup bois

 

I implemented an ingame support system, it's working fine, but I noticed this error on syserr.txt
 

0519 15:52:25624 :: "'QuestDialog' object has no attribute 'hWnd'"
0519 15:52:25625 ::  in 
0519 15:52:25625 :: <bound method QuestDialog.__del__ of <uiQuest.QuestDialog object at 0x070911F0>>
0519 15:52:25625 ::  ignored

0519 15:52:25626 :: Traceback (most recent call last):

0519 15:52:25626 ::   File "System/game.py", line 716, in OpenQuestWindow

0519 15:52:25627 ::     
0519 15:52:25627 :: self.interface.OpenQuestWindow(skin, idx)

0519 15:52:25628 ::   File "System/interfaceModule.py", line 698, in OpenQuestWindow

0519 15:52:25628 ::     
0519 15:52:25629 :: q.SetWindowName("QuestWindow" + str(idx))

0519 15:52:25629 ::   File "System/ui.py", line 145, in SetWindowName

0519 15:52:25630 ::     
0519 15:52:25630 :: wndMgr.SetName(self.hWnd, Name)

0519 15:52:25630 :: AttributeError
0519 15:52:25630 :: : 
0519 15:52:25631 :: 'QuestDialog' object has no attribute 'hWnd'
0519 15:52:25631 :: 

This only happens when I open or close the system's window.

 

This are all the python changes (there also a single python file for the system):

https://paste.karbust.me/view/9b77b0cb

 

Any idea?

 

Thank you

QJ0orbR.png

Logo M2IconDB

Link to post

3 answers to this question

Recommended Posts

  • 0
  • VIP
25 minutes ago, ⚡FlasH⚡ said:

def Enable(self): pass #wndMgr.Enable(self.hWnd) def Disable(self): pass #wndMgr.Disable(self.hWnd)

        def Enable(self):
				pass
                #wndMgr.Enable(self.hWnd)
 
        def Disable(self):
                pass
                #wndMgr.Disable(self.hWnd)

try this , seems u dont have self.hWnd

or import this maybe will work ?

https://www.paste.tc/EWMDR8OTVW

Tried the first part, didn't solve, the error keeps popping up but keeps working.

 

The second part, this is my class: https://paste.karbust.me/view/e0ad43fe

 

I already have a few edits.

QJ0orbR.png

Logo M2IconDB

Link to post

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


  • Current Donation Goals

  • Activity

    1. 11

      Mysql56 to Mysql8

    2. 0

      Does anyone have Kami-Sama's Contact?

    3. 1

      [Trailer][1/3]NerviL2 The return of the Legend

    4. 0

      Won " price" change

    5. 10

      Inferna - The new "metin3"?

    6. 6

      We need you!

    7. 2

      Highlight system bug

  • Recently Browsing

    No registered users viewing this page.

×
×
  • 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.