Çözüldü Hızlı Menü [F5] Buton ile sayfa çekme

  • Konuyu açan Konuyu açan xplarges
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 9
  • Gösterim Gösterim 355
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

xplarges

Üye
Üye
Mesaj
135
Çözümler
9
Beğeni
41
Puan
119
Ticaret Puanı
0
Merhabalar,

Dosyalarım ektedir. Bu hızlı menü sistemini kurdum sorunsuz çalışıyor. Server taraflı efsun botu ekledim, game.py dosyasına F6 tuşuna atama yaptım sorunsuz çalışıyor.
Ama hızlı menü sistemine buton olarak eklediğimde sorunlar başlıyor. İlk başta interface tanımlı olmadığı için hatalar alıyordum.

Kod:
Genişlet Daralt Kopyala
self.interface = interfaceModule.Interface()

Bu şekilde tanımını yaptıktan sonra daha fazla hata almaya başladım. Sanırım bir yerlerde eksik var. ChatGPT eşliğinde çözmeye çalıştım bir şey elde edemedik. Şimdiden yardımlarınız için teşekkür ederim.

İyi forumlar dilerim.
 

Dosya Eklentileri

biraz işim var pcye geçince gerekli düzenlemeleri atarım. f6 tuşundaki işlev hangi pyye geçicek onu söylemen yeterli bana.

uispeedli pyyi bu şekilde kaydedip dener misin?

Python:
Genişlet Daralt Kopyala
import ui
import mouseModule
import snd
import uiScriptLocale
import uiCommon
import uiPrivateShopBuilder
import localeInfo
import constInfo
import time
import wndMgr
import interfaceModule
import dbg
import uiToolTip
import grp
import translate
import chat
import app
import net
import interfaceModule


    

class SpeedButtonWindow(ui.ScriptWindow):
    Button1_Timer = 0
    Button2_Timer = 0
    Button3_Timer = 0
    Button4_Timer = 0
    Button5_Timer = 0
    Button6_Timer = 0
    Button7_Timer = 0
    Button8_Timer = 0
    Button9_Timer = 0
    Button10_Timer = 0
    Button11_Timer = 0
    Button12_Timer = 0
    def __init__(self):
        ui.ScriptWindow.__init__(self)
        self.__Initialize()
        self.__Load()
#        self.average_price = uiaverage_price.AveragePrice()
#        self.average_price.Hide()
        tooltip = uiToolTip.ToolTip()
        interface = interfaceModule.Interface()
        self.interface = interface
        self.toolTip = tooltip
    def __del__(self):
        ui.ScriptWindow.__del__(self)
        print " -------------------------------------- DELETE GAME OPTION DIALOG"

    def __Initialize(self):
        self.titleBar = 0

    def Destroy(self):
        self.ClearDictionary()

        self.__Initialize()
        print " -------------------------------------- DESTROY GAME OPTION DIALOG"
    
    def __Load_LoadScript(self, fileName):
        try:
            pyScriptLoader = ui.PythonScriptLoader()
            pyScriptLoader.LoadScriptFile(self, fileName)
        except:
            import exception
            exception.Abort("OptionDialog.__Load_LoadScript")

    def __Load_BindObject(self):
        try:
            self.titleBar = self.GetChild("board")

            self.Button1 = self.GetChild("Button1")
            self.Button2 = self.GetChild("Button2")
            self.Button3 = self.GetChild("Button3")
            self.Button4 = self.GetChild("Button4")
            self.Button5 = self.GetChild("Button5")
            self.Button6 = self.GetChild("Button6")
            self.Button7 = self.GetChild("Button7")
            self.Button8 = self.GetChild("Button8")
            self.Button9 = self.GetChild("Button9")
            self.Button10 = self.GetChild("Button10")
            self.Button11 = self.GetChild("Button11")
            self.Button12 = self.GetChild("Button12")

            self.Button1.SAFE_SetEvent(self.ButtonEvent,1)
            self.Button2.SAFE_SetEvent(self.ButtonEvent,2)
            self.Button3.SAFE_SetEvent(self.ButtonEvent,3)
            self.Button4.SAFE_SetEvent(self.ButtonEvent,4)
            self.Button5.SAFE_SetEvent(self.ButtonEvent,5)
            self.Button6.SAFE_SetEvent(self.ButtonEvent,6)
            self.Button7.SAFE_SetEvent(self.ButtonEvent,7)
            self.Button8.SAFE_SetEvent(self.ButtonEvent,8)
            self.Button9.SAFE_SetEvent(self.ButtonEvent,9)
            self.Button10.SAFE_SetEvent(self.ButtonEvent,10)
            self.Button11.SAFE_SetEvent(self.ButtonEvent,11)
            self.Button12.SAFE_SetEvent(self.ButtonEvent,12)

        except:
            import exception
            exception.Abort("OptionDialog.__Load_BindObject")

            
    def __ShowMenuToolTip(self, statDesc):
        self.toolTip.ClearToolTip()
        self.toolTip.AppendTextLine(statDesc)
        self.toolTip.Show()

    def __OverInButtonMenu(self, num):   
        try:
            self.__ShowMenuToolTip(translate.SystemMenuText[num])
        except KeyError:
            pass
            
    def __OverOutButtonMenu(self):
        self.toolTip.Hide()
        
    def ButtonEvent(self,arg):
        if int(arg) == 1:
            if app.GetTime() > self.Button1_Timer:
                self.Openefsunbutton()
                self.Button1_Timer = app.GetTime() + 2
            else:
                Button1_TimerInfo = self.Button1_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button1_TimerInfo))
        elif int(arg) == 2:
            if app.GetTime() > self.Button2_Timer:
#                net.SendChatPacket("/open_search")
                self.Button2_Timer = app.GetTime() + 2
            else:
                Button2_TimerInfo = self.Button2_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button2_TimerInfo))
        elif int(arg) == 3:
            if app.GetTime() > self.Button3_Timer:
#                constInfo.ORTALAMA = 1
                self.Button3_Timer = app.GetTime() + 2
            else:
                Button3_TimerInfo = self.Button3_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button3_TimerInfo))
        elif int(arg) == 4:
            if app.GetTime() > self.Button4_Timer:
#                constinfo
                self.Button4_Timer = app.GetTime() + 2
            else:
                Button4_TimerInfo = self.Button4_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button4_TimerInfo))
        elif int(arg) == 5:
            if app.GetTime() > self.Button5_Timer:
#                net.SendChatPacket("/log_open_window 0")
                self.Button5_Timer = app.GetTime() + 2
            else:
                Button5_TimerInfo = self.Button5_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button5_TimerInfo))
        elif int(arg) == 6:
            if app.GetTime() > self.Button6_Timer:
#                constInfo.CHEQUE_TO_GOLD_INFO_OPEN_2 = 1
                self.Button6_Timer = app.GetTime() + 2
            else:
                Button6_TimerInfo = self.Button6_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button6_TimerInfo))
        elif int(arg) == 7:
            if app.GetTime() > self.Button7_Timer:
#                constInfo.DUNGEON_INFO_WINDOW = 1
                self.Button7_Timer = app.GetTime() + 2
            else:
                Button7_TimerInfo = self.Button7_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button7_TimerInfo))
        elif int(arg) == 8:
            if app.GetTime() > self.Button8_Timer:
#                constInfo.OPEN_BOSS_TRACKING = 1
                self.Button8_Timer = app.GetTime() + 2
            else:
                Button8_TimerInfo = self.Button8_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button8_TimerInfo))
        elif int(arg) == 9:
            if app.GetTime() > self.Button9_Timer:
                if app.ENABLE_SWITCHBOT:
                    self.interface.ToggleSwitchbotWindow()
                self.Button9_Timer = app.GetTime() + 2
            else:
                Button9_TimerInfo = self.Button9_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button9_TimerInfo))
        elif int(arg) == 10:
            if app.GetTime() > self.Button10_Timer:
#                if app.ENABLE_COLLECT_QUEST_SYSTEM:
                self.Button10_Timer = app.GetTime() + 2
            else:
                Button10_TimerInfo = self.Button10_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button10_TimerInfo))
        elif int(arg) == 11:
            if app.GetTime() > self.Button11_Timer:
#                sdsdsd
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Sistem Bakimda.")
                self.Button11_Timer = app.GetTime() + 2
            else:
                Button11_TimerInfo = self.Button11_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button11_TimerInfo))
        elif int(arg) == 12:
            if app.GetTime() > self.Button12_Timer:
                self.Button12_Timer = app.GetTime() + 2
#                import uiisinlanma
            else:
                Button12_TimerInfo = self.Button12_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button12_TimerInfo))
        self.Close()

    def __Load(self):
        self.__Load_LoadScript("uiscript/speedbutton.py")

        self.__Load_BindObject()

        self.SetCenterPosition()

        self.titleBar.SetCloseEvent(ui.__mem_func__(self.Close))
        
    def OnUpdate(self):
        pass

    def OnPressEscapeKey(self):
        self.Close()
        return True

    def Show(self):
        ui.ScriptWindow.Show(self)

    def Close(self):
        self.Hide()

    def Openefsunbutton(self):
        if self.interface:
            self.interface.ToggleSwitchbotWindow()
 
biraz işim var pcye geçince gerekli düzenlemeleri atarım. f6 tuşundaki işlev hangi pyye geçicek onu söylemen yeterli bana.

uispeedli pyyi bu şekilde kaydedip dener misin?

Python:
Genişlet Daralt Kopyala
import ui
import mouseModule
import snd
import uiScriptLocale
import uiCommon
import uiPrivateShopBuilder
import localeInfo
import constInfo
import time
import wndMgr
import interfaceModule
import dbg
import uiToolTip
import grp
import translate
import chat
import app
import net
import interfaceModule


   

class SpeedButtonWindow(ui.ScriptWindow):
    Button1_Timer = 0
    Button2_Timer = 0
    Button3_Timer = 0
    Button4_Timer = 0
    Button5_Timer = 0
    Button6_Timer = 0
    Button7_Timer = 0
    Button8_Timer = 0
    Button9_Timer = 0
    Button10_Timer = 0
    Button11_Timer = 0
    Button12_Timer = 0
    def __init__(self):
        ui.ScriptWindow.__init__(self)
        self.__Initialize()
        self.__Load()
#        self.average_price = uiaverage_price.AveragePrice()
#        self.average_price.Hide()
        tooltip = uiToolTip.ToolTip()
        interface = interfaceModule.Interface()
        self.interface = interface
        self.toolTip = tooltip
    def __del__(self):
        ui.ScriptWindow.__del__(self)
        print " -------------------------------------- DELETE GAME OPTION DIALOG"

    def __Initialize(self):
        self.titleBar = 0

    def Destroy(self):
        self.ClearDictionary()

        self.__Initialize()
        print " -------------------------------------- DESTROY GAME OPTION DIALOG"
   
    def __Load_LoadScript(self, fileName):
        try:
            pyScriptLoader = ui.PythonScriptLoader()
            pyScriptLoader.LoadScriptFile(self, fileName)
        except:
            import exception
            exception.Abort("OptionDialog.__Load_LoadScript")

    def __Load_BindObject(self):
        try:
            self.titleBar = self.GetChild("board")

            self.Button1 = self.GetChild("Button1")
            self.Button2 = self.GetChild("Button2")
            self.Button3 = self.GetChild("Button3")
            self.Button4 = self.GetChild("Button4")
            self.Button5 = self.GetChild("Button5")
            self.Button6 = self.GetChild("Button6")
            self.Button7 = self.GetChild("Button7")
            self.Button8 = self.GetChild("Button8")
            self.Button9 = self.GetChild("Button9")
            self.Button10 = self.GetChild("Button10")
            self.Button11 = self.GetChild("Button11")
            self.Button12 = self.GetChild("Button12")

            self.Button1.SAFE_SetEvent(self.ButtonEvent,1)
            self.Button2.SAFE_SetEvent(self.ButtonEvent,2)
            self.Button3.SAFE_SetEvent(self.ButtonEvent,3)
            self.Button4.SAFE_SetEvent(self.ButtonEvent,4)
            self.Button5.SAFE_SetEvent(self.ButtonEvent,5)
            self.Button6.SAFE_SetEvent(self.ButtonEvent,6)
            self.Button7.SAFE_SetEvent(self.ButtonEvent,7)
            self.Button8.SAFE_SetEvent(self.ButtonEvent,8)
            self.Button9.SAFE_SetEvent(self.ButtonEvent,9)
            self.Button10.SAFE_SetEvent(self.ButtonEvent,10)
            self.Button11.SAFE_SetEvent(self.ButtonEvent,11)
            self.Button12.SAFE_SetEvent(self.ButtonEvent,12)

        except:
            import exception
            exception.Abort("OptionDialog.__Load_BindObject")

           
    def __ShowMenuToolTip(self, statDesc):
        self.toolTip.ClearToolTip()
        self.toolTip.AppendTextLine(statDesc)
        self.toolTip.Show()

    def __OverInButtonMenu(self, num):  
        try:
            self.__ShowMenuToolTip(translate.SystemMenuText[num])
        except KeyError:
            pass
           
    def __OverOutButtonMenu(self):
        self.toolTip.Hide()
       
    def ButtonEvent(self,arg):
        if int(arg) == 1:
            if app.GetTime() > self.Button1_Timer:
                self.Openefsunbutton()
                self.Button1_Timer = app.GetTime() + 2
            else:
                Button1_TimerInfo = self.Button1_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button1_TimerInfo))
        elif int(arg) == 2:
            if app.GetTime() > self.Button2_Timer:
#                net.SendChatPacket("/open_search")
                self.Button2_Timer = app.GetTime() + 2
            else:
                Button2_TimerInfo = self.Button2_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button2_TimerInfo))
        elif int(arg) == 3:
            if app.GetTime() > self.Button3_Timer:
#                constInfo.ORTALAMA = 1
                self.Button3_Timer = app.GetTime() + 2
            else:
                Button3_TimerInfo = self.Button3_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button3_TimerInfo))
        elif int(arg) == 4:
            if app.GetTime() > self.Button4_Timer:
#                constinfo
                self.Button4_Timer = app.GetTime() + 2
            else:
                Button4_TimerInfo = self.Button4_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button4_TimerInfo))
        elif int(arg) == 5:
            if app.GetTime() > self.Button5_Timer:
#                net.SendChatPacket("/log_open_window 0")
                self.Button5_Timer = app.GetTime() + 2
            else:
                Button5_TimerInfo = self.Button5_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button5_TimerInfo))
        elif int(arg) == 6:
            if app.GetTime() > self.Button6_Timer:
#                constInfo.CHEQUE_TO_GOLD_INFO_OPEN_2 = 1
                self.Button6_Timer = app.GetTime() + 2
            else:
                Button6_TimerInfo = self.Button6_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button6_TimerInfo))
        elif int(arg) == 7:
            if app.GetTime() > self.Button7_Timer:
#                constInfo.DUNGEON_INFO_WINDOW = 1
                self.Button7_Timer = app.GetTime() + 2
            else:
                Button7_TimerInfo = self.Button7_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button7_TimerInfo))
        elif int(arg) == 8:
            if app.GetTime() > self.Button8_Timer:
#                constInfo.OPEN_BOSS_TRACKING = 1
                self.Button8_Timer = app.GetTime() + 2
            else:
                Button8_TimerInfo = self.Button8_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button8_TimerInfo))
        elif int(arg) == 9:
            if app.GetTime() > self.Button9_Timer:
                if app.ENABLE_SWITCHBOT:
                    self.interface.ToggleSwitchbotWindow()
                self.Button9_Timer = app.GetTime() + 2
            else:
                Button9_TimerInfo = self.Button9_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button9_TimerInfo))
        elif int(arg) == 10:
            if app.GetTime() > self.Button10_Timer:
#                if app.ENABLE_COLLECT_QUEST_SYSTEM:
                self.Button10_Timer = app.GetTime() + 2
            else:
                Button10_TimerInfo = self.Button10_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button10_TimerInfo))
        elif int(arg) == 11:
            if app.GetTime() > self.Button11_Timer:
#                sdsdsd
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Sistem Bakimda.")
                self.Button11_Timer = app.GetTime() + 2
            else:
                Button11_TimerInfo = self.Button11_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button11_TimerInfo))
        elif int(arg) == 12:
            if app.GetTime() > self.Button12_Timer:
                self.Button12_Timer = app.GetTime() + 2
#                import uiisinlanma
            else:
                Button12_TimerInfo = self.Button12_Timer - app.GetTime()
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button12_TimerInfo))
        self.Close()

    def __Load(self):
        self.__Load_LoadScript("uiscript/speedbutton.py")

        self.__Load_BindObject()

        self.SetCenterPosition()

        self.titleBar.SetCloseEvent(ui.__mem_func__(self.Close))
       
    def OnUpdate(self):
        pass

    def OnPressEscapeKey(self):
        self.Close()
        return True

    def Show(self):
        ui.ScriptWindow.Show(self)

    def Close(self):
        self.Hide()

    def Openefsunbutton(self):
        if self.interface:
            self.interface.ToggleSwitchbotWindow()
F6' daki işlev uispeede geçicek attığınız kodu deneyip yorum yapacağım. Uğraştığınız için teşekkür ederim. Ayrıca açıklarsanız sevinirim neyi yapmamız gerekiyordu diye
 
F6' daki işlev uispeede geçicek attığınız kodu deneyip yorum yapacağım. Uğraştığınız için teşekkür ederim. Ayrıca açıklarsanız sevinirim neyi yapmamız gerekiyordu diye
çalışırsa açıklayayım çalışmazsa düzeltip açıklarım.
 
çalışırsa açıklayayım çalışmazsa düzeltip açıklarım.
syserr:
Genişlet Daralt Kopyala
0623 21:14:06596 :: invalid idx 0
0623 21:14:16413 :: Traceback (most recent call last):

0623 21:14:16413 ::   File "interfaceModule.py", line 1319, in RecvQuest

0623 21:14:16413 ::   File "interfaceModule.py", line 1324, in BINARY_RecvQuest

0623 21:14:16414 ::   File "interfaceModule.py", line 1406, in __FindQuestButton

0623 21:14:16414 :: AttributeError
0623 21:14:16414 :: :
0623 21:14:16414 :: 'Interface' object has no attribute 'questButtonList'
0623 21:14:16414 ::

0623 21:14:16431 :: Traceback (most recent call last):

0623 21:14:16431 ::   File "interfaceModule.py", line 1319, in RecvQuest

0623 21:14:16431 ::   File "interfaceModule.py", line 1324, in BINARY_RecvQuest

0623 21:14:16431 ::   File "interfaceModule.py", line 1406, in __FindQuestButton

0623 21:14:16431 :: AttributeError
0623 21:14:16431 :: :
0623 21:14:16431 :: 'Interface' object has no attribute 'questButtonList'
0623 21:14:16431 ::

0623 21:14:16464 :: uiTaskBar:978: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0623 21:14:16464 :: Traceback (most recent call last):

0623 21:14:16464 ::   File "uiTaskBar.py", line 978, in OnUpdate

0623 21:14:16464 :: TypeError
0623 21:14:16464 :: :
0623 21:14:16464 :: an integer is required
0623 21:14:16464 ::

0623 21:14:16658 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\project\metin2\main\assets\npc\lion\lion.psd
0623 21:14:18839 :: Traceback (most recent call last):

0623 21:14:18839 ::   File "ui.py", line 1039, in CallEvent

0623 21:14:18839 ::   File "ui.py", line 82, in __call__

0623 21:14:18839 ::   File "ui.py", line 73, in __call__

0623 21:14:18839 ::   File "uispeedbutton.py", line 177, in ButtonEvent

0623 21:14:18839 ::   File "interfaceModule.py", line 1090, in ToggleSwitchbotWindow

0623 21:14:18839 :: AttributeError
0623 21:14:18839 :: :
0623 21:14:18839 :: 'NoneType' object has no attribute 'IsShow'
0623 21:14:18839 ::

Bu syserr'i verdi. Biz interface'yi init kısmına ekleyincede bu syserri veriyordu
 
syserr:
Genişlet Daralt Kopyala
0623 21:14:06596 :: invalid idx 0
0623 21:14:16413 :: Traceback (most recent call last):

0623 21:14:16413 ::   File "interfaceModule.py", line 1319, in RecvQuest

0623 21:14:16413 ::   File "interfaceModule.py", line 1324, in BINARY_RecvQuest

0623 21:14:16414 ::   File "interfaceModule.py", line 1406, in __FindQuestButton

0623 21:14:16414 :: AttributeError
0623 21:14:16414 :: :
0623 21:14:16414 :: 'Interface' object has no attribute 'questButtonList'
0623 21:14:16414 ::

0623 21:14:16431 :: Traceback (most recent call last):

0623 21:14:16431 ::   File "interfaceModule.py", line 1319, in RecvQuest

0623 21:14:16431 ::   File "interfaceModule.py", line 1324, in BINARY_RecvQuest

0623 21:14:16431 ::   File "interfaceModule.py", line 1406, in __FindQuestButton

0623 21:14:16431 :: AttributeError
0623 21:14:16431 :: :
0623 21:14:16431 :: 'Interface' object has no attribute 'questButtonList'
0623 21:14:16431 ::

0623 21:14:16464 :: uiTaskBar:978: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0623 21:14:16464 :: Traceback (most recent call last):

0623 21:14:16464 ::   File "uiTaskBar.py", line 978, in OnUpdate

0623 21:14:16464 :: TypeError
0623 21:14:16464 :: :
0623 21:14:16464 :: an integer is required
0623 21:14:16464 ::

0623 21:14:16658 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\project\metin2\main\assets\npc\lion\lion.psd
0623 21:14:18839 :: Traceback (most recent call last):

0623 21:14:18839 ::   File "ui.py", line 1039, in CallEvent

0623 21:14:18839 ::   File "ui.py", line 82, in __call__

0623 21:14:18839 ::   File "ui.py", line 73, in __call__

0623 21:14:18839 ::   File "uispeedbutton.py", line 177, in ButtonEvent

0623 21:14:18839 ::   File "interfaceModule.py", line 1090, in ToggleSwitchbotWindow

0623 21:14:18839 :: AttributeError
0623 21:14:18839 :: :
0623 21:14:18839 :: 'NoneType' object has no attribute 'IsShow'
0623 21:14:18839 ::

Bu syserr'i verdi. Biz interface'yi init kısmına ekleyincede bu syserri veriyordu
kontrol edicem
 
bakındım ama isshow ile ilgili bir şey göremedim.
F6 Tuşuna basınca açılıyor sıkıntısız, ama sizin daha önce attığınız F5 menüye ekleyince böyle sorunla karşılaşıyoruz. Acaba alternatif çözüm olarak komutla pencere çağırma işlevi yapabilirmiyiz? Bunu anlatabilirseniz bu şekilde çözeriz gibi gözüküyor.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst