Jump to content

weakly-referenced object no longer exists


Recommended Posts

Problem

 

Spoiler

0424 18:29:12270 :: Traceback (most recent call last):

0424 18:29:12270 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate

0424 18:29:12271 ::   File "networkModule.py", line 183, in __ChangePhaseWindow

0424 18:29:12273 ::   File "game.py", line 366, in Close

0424 18:29:12273 ::   File "interfaceModule.py", line 1548, in HideAllWindows

0424 18:29:12274 :: ReferenceError
0424 18:29:12274 :: : 
0424 18:29:12275 :: weakly-referenced object no longer exists
0424 18:29:12275 :: 


and code blok

 

Spoiler

    def HideAllWindows(self):
        if self.wndParty:
            self.wndParty.Hide()

        if self.uiAffectshower:
            self.uiAffectshower.Hide()
        
        if self.uitargetBoard:
            self.uitargetBoard.Hide()
    
        if self.wndMiniGame:
            self.wndMiniGame.hide_mini_game_dialog()

        if self.wndTaskBar:
            self.wndTaskBar.Hide()

        if self.wndGameButton:
            self.wndGameButton.Hide()
        
        if self.wndEnergyBar:
            self.wndEnergyBar.Hide()

        if app.ENABLE_DETAILS_UI:
            if self.wndCharacter:
                self.wndCharacter.Close()
        else:
            if self.wndCharacter:
                self.wndCharacter.Hide()

        if self.wndInventory:
            self.wndInventory.Hide()
            
        self.wndDragonSoul.Hide()
        self.wndDragonSoulRefine.Hide()
            
        if app.ENABLE_GROWTH_PET_SYSTEM:     
            if self.wndPetInfoWindow:
                self.wndPetInfoWindow.Hide()
                if self.wndPetInfoWindow.wndPetMiniInfo:
                    self.wndPetInfoWindow.wndPetMiniInfo.Hide()
                
        if app.ENABLE_AUTO_SYSTEM:
            if self.wndAutoWindow:
                self.wndAutoWindow.Hide()

        if app.ENABLE_RANKING_SYSTEM and app.ENABLE_RANKING_SYSTEM_PARTY:
            if self.wndRankingBoardWindow:
                self.wndRankingBoardWindow.Hide()
                
        if app.ENABLE_BATTLE_FIELD:
            if self.wndBattleField:
                self.wndBattleField.Hide()
        
        if app.ENABLE_12ZI:
            if self.wndBead:
                self.wndBead.Hide()
            if self.wnd12ziTimer:
                self.wnd12ziTimer.Hide()
            if self.wnd12ziReward:
                self.wnd12ziReward.Hide()
                
        if self.wndChat:
            self.wndChat.hide_btnChatSizing()
            self.wndChat.Hide()

        if self.wndMiniMap:
            self.wndMiniMap.Hide()

        if self.wndMessenger:
            self.wndMessenger.Hide()

        if self.wndGuild:
            self.wndGuild.Hide()
            
        if self.wndExpandedTaskBar:
            self.wndExpandedTaskBar.Hide()

        if app.ENABLE_GEM_SYSTEM:
            if self.wndExpandedMoneyTaskBar:
                self.wndExpandedMoneyTaskBar.Hide()
 
        if self.wndSkillBookCombination:
            self.wndSkillBookCombination.Hide()

        if app.ENABLE_CHANGED_ATTR :
            if self.wndSelectAttr:
                self.wndSelectAttr.Hide()

        if app.ENABLE_MONSTER_CARD:
            if self.wndMonsterCardWindow:
                self.wndMonsterCardWindow.Hide()
                
        if app.ENABLE_MYSHOP_DECO :
            if self.wndMyShopDeco :
                self.wndMyShopDeco.Hide()
        
        if app.ENABLE_USER_SITUATION_NOTICE:
            if self.wndUserSituationNotice:
                self.wndUserSituationNotice.Hide()
                
        if app.ENABLE_PARTY_MATCH:
            if self.wndPartyMatchWindow:
                self.wndPartyMatchWindow.Hide()

        self.IsHideUiMode = True


Error Code

 

Spoiler

        if self.uiAffectshower:
            self.uiAffectshower.Hide()
        
        if self.uitargetBoard:
            self.uitargetBoard.Hide()


How fix Problem.
@Owsap I see your files working. Please help me!

badass hei GIF

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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