Çözülemedi Syserr Hatası

  • Konuyu açan Konuyu açan CalvinGiorgio
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 5
  • Gösterim Gösterim 2K
Ne yazık ki bu konuda sorulara çözüm bulunmuyor. Eğer konuda yorumlar varsa hepsini inceleyebilirsiniz. Belki sizlerin sorununuzu çözmek için için ipuçları bulabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

CalvinGiorgio

Üye
Üye
Mesaj
877
Çözümler
21
Beğeni
123
Puan
559
Ticaret Puanı
0
Kod:
Genişlet Daralt Kopyala
0118 03:28:27513 :: Traceback (most recent call last):

0118 03:28:27513 ::   File "networkModule.py", line 230, in SetLoadingPhase

0118 03:28:27514 ::   File "networkModule.py", line 148, in SetPhaseWindow

0118 03:28:27514 ::   File "networkModule.py", line 160, in __ChangePhaseWindow

0118 03:28:27514 ::   File "introLoading.py", line 72, in Open

0118 03:28:27514 :: AttributeError
0118 03:28:27514 :: :
0118 03:28:27514 :: 'module' object has no attribute 'TITLE_SYSTEM_LIST'
0118 03:28:27514 ::

networkModule.py
networkModule.py:
Genişlet Daralt Kopyala
import pEQxF5FeyAG8NnBBx7fB as app
import YEakbeqssJ5Pcg4Vg5NZ as net
import cK89yFxpVW7hKAFe5t68 as chr
import BEdUvHtApaSvnv3E63cu as chrmgr
import tfL4qLeMqxZA5P4Pw5YA as player
import dbg
#import snd
import background
import playereffectrun as playerSettingModule
import work as ui
import uiPhaseCurtain
import localeInfo
import colorInfo
import emotion

class PopupDialog(ui.ScriptWindow):

    def __init__(self):
        print "NEW POPUP DIALOG ----------------------------------------------------------------------------"
        ui.ScriptWindow.__init__(self)
        self.CloseEvent = 0

    def __del__(self):
        print "---------------------------------------------------------------------------- DELETE POPUP DIALOG "
        ui.ScriptWindow.__del__(self)

    def LoadDialog(self):
        PythonScriptLoader = ui.PythonScriptLoader()
        PythonScriptLoader.LoadScriptFile(self, "UIScript/PopupDialog.py")

    def Open(self, Message, event = 0, ButtonName = localeInfo.UI_CANCEL):
    #def Open(self, Message, event = 0):

        if TRUE == self.IsShow():
            self.Close()

        self.Lock()
        self.SetTop()
        self.CloseEvent = event

        AcceptButton = self.GetChild("accept")
        # AcceptButton.SetText(ButtonName)
        AcceptButton.SetEvent(ui.__mem_func__(self.Close))

        self.GetChild("message").SetText(Message)
        self.Show()

    def Close(self):

        if FALSE == self.IsShow():
            self.CloseEvent = 0
            return

        self.Unlock()
        self.Hide()

        if 0 != self.CloseEvent:
            self.CloseEvent()
            self.CloseEvent = 0

    def Destroy(self):
        self.Close()
        self.ClearDictionary()

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

    def OnIMEReturn(self):
        self.Close()
        return TRUE

##
## Main Stream
##
class MainStream(object):
    isChrData=0 

    def __init__(self):
        print "NEWMAIN STREAM ----------------------------------------------------------------------------"
        net.SetHandler(self)
        if app.__ENABLE_LARGE_DYNAMIC_PACKET__:
            net.SetTCPRecvBufferSize(250000)
        else:
            net.SetTCPRecvBufferSize(128*1024)
        net.SetTCPSendBufferSize(4096)
        net.SetUDPRecvBufferSize(4096)

        self.id=""
        self.pwd=""
        self.addr=""
        self.port=0
        self.account_addr=0
        self.account_port=0
        self.slot=0
        self.isAutoSelect=0
        self.isAutoLogin=0

        self.curtain = 0
        self.curPhaseWindow = 0
        self.newPhaseWindow = 0
      
        self.SelectFade = False
        self.isOnSelect = False

    def __del__(self):
        print "---------------------------------------------------------------------------- DELETE MAIN STREAM "

    def Destroy(self):
        if self.curPhaseWindow:
            self.curPhaseWindow.Close()
            self.curPhaseWindow = 0

        if self.newPhaseWindow:
            self.newPhaseWindow.Close()
            self.newPhaseWindow = 0

        self.popupWindow.Destroy()
        self.popupWindow = 0

        self.curtain = 0
      
        self.SelectFade = False
        self.isOnSelect = False

    def SetSelectFade(self, flag):
        self.SelectFade = flag

    def Create(self):
        self.CreatePopupDialog()

        self.curtain = uiPhaseCurtain.PhaseCurtain()

    def SetPhaseWindow(self, newPhaseWindow, select = False):
        # if self.newPhaseWindow:
            # self.__ChangePhaseWindow()

        if select:
            self.isOnSelect = True
        else:
            self.isOnSelect = False
          
        self.newPhaseWindow=newPhaseWindow

        if self.curPhaseWindow and self.SelectFade:
            self.curtain.FadeOut(self.__ChangePhaseWindow)
        else:
            self.__ChangePhaseWindow()

    def __ChangePhaseWindow(self):
        oldPhaseWindow=self.curPhaseWindow
        newPhaseWindow=self.newPhaseWindow
        self.curPhaseWindow=0
        self.newPhaseWindow=0

        if oldPhaseWindow:
            oldPhaseWindow.Close()

        if newPhaseWindow:
            newPhaseWindow.Open()

        self.curPhaseWindow=newPhaseWindow
      
        # if not self.curPhaseWindow:
            # app.Exit()
      
        if self.curPhaseWindow and self.SelectFade:
            self.curtain.FadeIn()
        elif not self.curPhaseWindow:
            app.Exit()

    def CreatePopupDialog(self):
        self.popupWindow = PopupDialog()
        self.popupWindow.LoadDialog()
        self.popupWindow.SetCenterPosition()
        self.popupWindow.Hide()


## SelectPhase
    ########################################################################################## 
    def SetLogoPhase(self):
        net.Disconnect()
      
        import introLogo
        self.SetPhaseWindow(introLogo.LogoWindow(self))
      
    def SetLoginPhase(self):
        net.Disconnect()

        import introLogin
        self.SetPhaseWindow(introLogin.LoginWindow(self))

    def SetSelectEmpirePhase(self):
        try:
            import introEmpire 
            self.SetPhaseWindow(introEmpire.SelectEmpireWindow(self))
        except:
            import exception
            exception.Abort("networkModule.SetSelectEmpirePhase")


    def SetReselectEmpirePhase(self):
        try:
            import introEmpire
            self.SetPhaseWindow(introEmpire.ReselectEmpireWindow(self))
        except:
            import exception
            exception.Abort("networkModule.SetReselectEmpirePhase")

    def SetSelectCharacterPhase(self):
        try:
            localeInfo.LoadLocaleData()
            import introSelect
            self.popupWindow.Close()
            self.SetPhaseWindow(introSelect.SelectCharacterWindow(self), True)
        except:
            import exception
            exception.Abort("networkModule.SetSelectCharacterPhase")

    def SetCreateCharacterPhase(self):
        try:
            import introCreate
            self.SetPhaseWindow(introCreate.CreateCharacterWindow(self))
        except:
            import exception
            exception.Abort("networkModule.SetCreateCharacterPhase")

    def SetLoadingPhase(self):
        import introLoading
        self.SetPhaseWindow(introLoading.LoadingWindow(self))
#        introLoading.LoadData()
        #try:
        #    class LoadingWindow:
        #        def __init__(self, stream):
        #            chrSlot = stream.GetCharacterSlot()
        #            net.SendSelectCharacterPacket(chrSlot)
        #            self.__RegisterDungeonMapName()
        #            self.__RegisterSkill()
        #            self.__RegisterTitleName()
        #            self.__RegisterColor()
        #            self.__RegisterEmotionIcon()
        #
        #        def Open(self):
        #            pass
        #             
        #        def Close(self):
        #            pass
        #
        #        def __RegisterDungeonMapName(self):
        #            background.RegisterDungeonMapName("metin2_map_spiderdungeon")
        #            background.RegisterDungeonMapName("metin2_map_monkeydungeon")
        #            background.RegisterDungeonMapName("metin2_map_monkeydungeon_02")
        #            background.RegisterDungeonMapName("metin2_map_monkeydungeon_03")
        #            background.RegisterDungeonMapName("metin2_map_deviltower1")
        #
        #        def __RegisterSkill(self):
        #            playerSettingModule.RegisterSkill(net.GetMainActorRace(), net.GetMainActorSkillGroup(), net.GetMainActorEmpire())
        #
        #        def __RegisterTitleName(self):
        #            for i in xrange(len(localeInfo.TITLE_NAME_LIST)):
        #                chrmgr.RegisterTitleName(i, localeInfo.TITLE_NAME_LIST[i])
        #
        #            for i in xrange(len(localeInfo.TITLE_SYSTEM_LIST)):
        #                chrmgr.RegistersTitleName(i + 1, localeInfo.TITLE_SYSTEM_LIST[i])
        #                # import dbg
        #                # dbg.TraceError("RegistersTitleName : " + str(i + 1))
        # 
        #        def __RegisterColor(self):
        #            NAME_COLOR_DICT = {
        #                chrmgr.NAMECOLOR_PC : colorInfo.CHR_NAME_RGB_PC,
        #                chrmgr.NAMECOLOR_NPC : colorInfo.CHR_NAME_RGB_NPC,
        #                chrmgr.NAMECOLOR_MOB : colorInfo.CHR_NAME_RGB_MOB,
        #                chrmgr.NAMECOLOR_PVP : colorInfo.CHR_NAME_RGB_PVP,
        #                chrmgr.NAMECOLOR_PK : colorInfo.CHR_NAME_RGB_PK,
        #                chrmgr.NAMECOLOR_PARTY : colorInfo.CHR_NAME_RGB_PARTY,
        #                chrmgr.NAMECOLOR_WARP : colorInfo.CHR_NAME_RGB_WARP,
        #                chrmgr.NAMECOLOR_WAYPOINT : colorInfo.CHR_NAME_RGB_WAYPOINT,
        #                chrmgr.NAMECOLOR_EMPIRE_MOB : colorInfo.CHR_NAME_RGB_EMPIRE_MOB,
        #                chrmgr.NAMECOLOR_EMPIRE_NPC : colorInfo.CHR_NAME_RGB_EMPIRE_NPC,
        #                chrmgr.NAMECOLOR_EMPIRE_PC+1 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_A,
        #                chrmgr.NAMECOLOR_EMPIRE_PC+2 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_B,
        #                chrmgr.NAMECOLOR_EMPIRE_PC+3 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_C,
        #            }
        #
        #            if app.POINT_COLOR_METIN_MINIMAP:
        #                NAME_COLOR_DICT.update({
        #                    chrmgr.NAMECOLOR_METIN : colorInfo.CHR_NAME_RGB_METIN,
        #                })
        #             
        #            if app.ENABLE_BOSS_MARK:
        #                NAME_COLOR_DICT.update({
        #                    chrmgr.NAMECOLOR_BOSS : colorInfo.CHR_NAME_RGB_BOSS,
        #                })
        #
        #            if app.ENABLE_GROWTH_PET_SYSTEM:
        #                NAME_COLOR_DICT.update({chrmgr.NAMECOLOR_PET : colorInfo.CHR_NAME_RGB_PET,})
        #             
        #            for name, rgb in NAME_COLOR_DICT.items():
        #                chrmgr.RegisterNameColor(name, rgb[0], rgb[1], rgb[2])
        #
        #            TITLE_COLOR_DICT = (    colorInfo.TITLE_RGB_GOOD_4,
        #                                    colorInfo.TITLE_RGB_GOOD_3,
        #                                    colorInfo.TITLE_RGB_GOOD_2,
        #                                    colorInfo.TITLE_RGB_GOOD_1,
        #                                    colorInfo.TITLE_RGB_NORMAL,
        #                                    colorInfo.TITLE_RGB_EVIL_1,
        #                                    colorInfo.TITLE_RGB_EVIL_2,
        #                                    colorInfo.TITLE_RGB_EVIL_3,
        #                                    colorInfo.TITLE_RGB_EVIL_4,    )
        #
        #            count = 0
        #
        #            for rgb in TITLE_COLOR_DICT:
        #                chrmgr.RegisterTitleColor(count, rgb[0], rgb[1], rgb[2])
        #                count += 1
        # 
        #            if app.ENABLE_TITLE_SYSTEM:
        #                TITLE_SYSTEM_COLOR_DICT = (
        #                                            colorInfo.TITILE_NAME_1,
        #                                            colorInfo.TITILE_NAME_2,
        #                                            colorInfo.TITILE_NAME_3,
        #                                            colorInfo.TITILE_NAME_4,
        #                                            colorInfo.TITILE_NAME_5,
        #                                            colorInfo.TITILE_NAME_6,
        #                                            colorInfo.TITILE_NAME_7,
        #                                            colorInfo.TITILE_NAME_8,
        #                                            colorInfo.TITILE_NAME_9,
        #                                            colorInfo.TITILE_NAME_10,
        #                                            colorInfo.TITILE_NAME_11,
        #                                            colorInfo.TITILE_NAME_12,
        #                                            colorInfo.TITILE_NAME_13,
        #                                            colorInfo.TITILE_NAME_14,
        #                                            colorInfo.TITILE_NAME_15,
        #                                            colorInfo.TITILE_NAME_16,
        #                                            colorInfo.TITILE_NAME_17,
        #                                            colorInfo.TITILE_NAME_18,
        #                                            colorInfo.TITILE_NAME_19,
        #                                            colorInfo.TITILE_NAME_20,
        #                )
        #             
        #                count = 1
        #                for rgb in TITLE_SYSTEM_COLOR_DICT:
        #                    chrmgr.RegistersTitleColor(count, rgb[0], rgb[1], rgb[2])
        #                    count += 1
        #     
        #        def __RegisterEmotionIcon(self):
        #            emotion.RegisterEmotionIcons()
        # 
        #    if self.isOnSelect:
        #        self.SetSelectFade(True)
        #    else:
        #        self.SetSelectFade(False)
        #
        #    self.SetPhaseWindow(LoadingWindow(self))
        #except:
        #    import exception
        #    exception.Abort("networkModule.SetLoadingPhase")

    def SetGamePhase(self):
        try:
            import game
            self.popupWindow.Close()
            self.SetPhaseWindow(game.GameWindow(self))
        except:
            raise
            import exception
            exception.Abort("networkModule.SetGamePhase")

    ################################
    # Functions used in python

    ## Login
    def Connect(self):     
        import constInfo
        if constInfo.KEEP_ACCOUNT_CONNETION_ENABLE:
            net.ConnectToAccountServer(self.addr, self.port, self.account_addr, self.account_port)
        else:
            net.ConnectTCP(self.addr, self.port)

        #net.ConnectUDP(IP, Port)

    def SetConnectInfo(self, addr, port, account_addr=0, account_port=0):
        self.addr = addr
        self.port = port
        self.account_addr = account_addr
        self.account_port = account_port

    def GetConnectAddr(self):
        return self.addr

    def SetLoginInfo(self, id, pwd):
        self.id = id
        self.pwd = pwd
        net.SetLoginInfo(id, pwd)

    def CancelEnterGame(self):
        pass

    ## Select
    def SetCharacterSlot(self, slot):
        self.slot=slot

    def GetCharacterSlot(self):
        return self.slot

    ## Empty
    def EmptyFunction(self):
        pass
introLoading.py
introloading.py:
Genişlet Daralt Kopyala
import pEQxF5FeyAG8NnBBx7fB as app
import YEakbeqssJ5Pcg4Vg5NZ as net
import cK89yFxpVW7hKAFe5t68 as chr
import BEdUvHtApaSvnv3E63cu as chrmgr
import tfL4qLeMqxZA5P4Pw5YA as player
import work as ui
import uiScriptLocale
import dbg
import background
import wndMgr
import localeInfo
import colorInfo
import constInfo
import playereffectrun as playerSettingModule
import stringCommander
import emotion
import controller

class LoadingWindow(ui.ScriptWindow):
    def __init__(self, stream):
        ui.Window.__init__(self)
        net.SetPhaseWindow(net.PHASE_WINDOW_LOAD, self)

        self.stream = stream
        self.loadingImage = 0
        self.loadingGage=0
        self.playerX = 0
        self.playerY = 0
        self.loadStepList=[]

    def __del__(self):
        net.SetPhaseWindow(net.PHASE_WINDOW_LOAD, 0)
        ui.Window.__del__(self)

    def Open(self):
        #app.HideCursor()
        try:
            pyScrLoader = ui.PythonScriptLoader()
            pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py")
        except:
            import exception
            exception.Abort("LodingWindow.Open - LoadScriptFile Error")

        try:
            self.loadingImage = self.GetChild("BackGround")
            self.loadingGage=self.GetChild("FullGage")
        except:
            import exception
            exception.Abort("LodingWindow.Open - LoadScriptFile Error")


        imgFileNameDict = {
            0 : "loading/loading0.jpg",
            1 : "loading/loading1.jpg",
            2 : "loading/loading2.jpg",
            3 : "loading/loading3.jpg",
      
        }
      
        try:
            imgFileName = imgFileNameDict[app.GetRandom(0, len(imgFileNameDict) - 1)]
            self.loadingImage.LoadImage(imgFileName)
            width = float(wndMgr.GetScreenWidth()) / float(self.loadingImage.GetWidth())
            height = float(wndMgr.GetScreenHeight()) / float(self.loadingImage.GetHeight())
            self.loadingImage.SetScale(width, height)
        except:
            print "LoadingWindow.Open.LoadImage - %s File Load Error" % (imgFileName)
            self.loadingImage.Hide()

        self.loadingGage.SetPercentage(2, 100)
  
        for i in xrange(len(localeInfo.TITLE_SYSTEM_LIST)):
            chrmgr.RegistersTitleName(i + 1, localeInfo.TITLE_SYSTEM_LIST[i])
        #    import dbg
        #    dbg.TraceError("RegistersTitleName : " + str(i + 1))
          
        self.Show()

        chrSlot=self.stream.GetCharacterSlot()
        net.SendSelectCharacterPacket(chrSlot)
        self.LoadData()
        app.SetFrameSkip(0)

    def Close(self):
        print "---------------------------------------------------------------------------- CLOSE LOADING WINDOW"

        app.SetFrameSkip(1)

        self.loadStepList=[]
        self.loadingImage=0
        self.loadingGage=0
        self.errMsg=0
        self.ClearDictionary()
        self.Hide()

    def OnPressEscapeKey(self):
        app.SetFrameSkip(1)
        self.stream.SetLoginPhase()
        return True

    def __SetNext(self, next):
        if next:
            self.update=ui.__mem_func__(next)
        else:
            self.update=0

    def DEBUG_LoadData(self, playerX, playerY):
        pass
      
    def __SetProgress(self, p):
        if self.loadingGage:
            self.loadingGage.SetPercentage(2+98*p/100, 100)
          
    def LoadData(self):
        self.__RegisterDungeonMapName()
        self.__RegisterSkill()
        self.__RegisterTitleName()
        self.__RegisterColor()
        self.__RegisterEmotionIcon()

        self.loadStepList=[
            (0, ui.__mem_func__(self.__InitData)),
            (10, ui.__mem_func__(self.__LoadMap)),
            (40, ui.__mem_func__(self.__LoadEffect)),
            (50, ui.__mem_func__(self.__LoadWarrior)),
            (60, ui.__mem_func__(self.__LoadAssassin)),
            (70, ui.__mem_func__(self.__LoadSura)),
            (80, ui.__mem_func__(self.__LoadShaman)),
            (90, ui.__mem_func__(self.__LoadSkill)),
            (93, ui.__mem_func__(self.__LoadEnemy)),
            (97, ui.__mem_func__(self.__LoadNPC)),

            # GUILD_BUILDING
            (98, ui.__mem_func__(self.__LoadGuildBuilding)),
            # END_OF_GUILD_BUILDING

            (100, ui.__mem_func__(self.__StartGame)),
        ]
        # if app.ENABLE_WOLFMAN_CHARACTER:
            # self.loadStepList+=[(100, ui.__mem_func__(self.__LoadWolfman)),]

        self.__SetProgress(0)
      
        tmpLoadStepList = tuple(zip(*self.loadStepList))[0]
        for progress in range(tmpLoadStepList[0], tmpLoadStepList[-1] + 1):
            if progress not in tmpLoadStepList:
                self.loadStepList.append((progress, lambda: None))
        self.loadStepList.sort()

    def OnUpdate(self):
        step = 0
        while step < 100:
            self.__SetProgress(step)
            step += 1
      
            if step > 100:
                step = 0
          
    def __InitData(self):
        playerSettingModule.LoadGameData("INIT")
  
    def __RegisterDungeonMapName(self):
        background.RegisterDungeonMapName("metin2_map_spiderdungeon")
        background.RegisterDungeonMapName("metin2_map_monkeydungeon")
        background.RegisterDungeonMapName("metin2_map_monkeydungeon_02")
        background.RegisterDungeonMapName("metin2_map_monkeydungeon_03")
        background.RegisterDungeonMapName("metin2_map_deviltower1")
      
    def __RegisterSkill(self):
        playerSettingModule.RegisterSkill(net.GetMainActorRace(), net.GetMainActorSkillGroup(), net.GetMainActorEmpire())

    def __RegisterTitleName(self):
        for i in xrange(len(localeInfo.TITLE_NAME_LIST)):
            chrmgr.RegisterTitleName(i, localeInfo.TITLE_NAME_LIST[i])
  
        for i in xrange(len(localeInfo.TITLE_SYSTEM_LIST)):
            chrmgr.RegistersTitleName(i + 1, localeInfo.TITLE_SYSTEM_LIST[i])
          
    def __RegisterColor(self):
        NAME_COLOR_DICT = {
            chrmgr.NAMECOLOR_PC : colorInfo.CHR_NAME_RGB_PC,
            chrmgr.NAMECOLOR_NPC : colorInfo.CHR_NAME_RGB_NPC,
            chrmgr.NAMECOLOR_MOB : colorInfo.CHR_NAME_RGB_MOB,
            chrmgr.NAMECOLOR_PVP : colorInfo.CHR_NAME_RGB_PVP,
            chrmgr.NAMECOLOR_PK : colorInfo.CHR_NAME_RGB_PK,
            chrmgr.NAMECOLOR_PARTY : colorInfo.CHR_NAME_RGB_PARTY,
            chrmgr.NAMECOLOR_WARP : colorInfo.CHR_NAME_RGB_WARP,
            chrmgr.NAMECOLOR_WAYPOINT : colorInfo.CHR_NAME_RGB_WAYPOINT,
            chrmgr.NAMECOLOR_EMPIRE_MOB : colorInfo.CHR_NAME_RGB_EMPIRE_MOB,
            chrmgr.NAMECOLOR_EMPIRE_NPC : colorInfo.CHR_NAME_RGB_EMPIRE_NPC,
            chrmgr.NAMECOLOR_EMPIRE_PC+1 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_A,
            chrmgr.NAMECOLOR_EMPIRE_PC+2 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_B,
            chrmgr.NAMECOLOR_EMPIRE_PC+3 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_C,
        }
  
        if app.POINT_COLOR_METIN_MINIMAP:
            NAME_COLOR_DICT.update({
                chrmgr.NAMECOLOR_METIN : colorInfo.CHR_NAME_RGB_METIN,
            })
          
        if app.ENABLE_BOSS_MARK:
            NAME_COLOR_DICT.update({
                chrmgr.NAMECOLOR_BOSS : colorInfo.CHR_NAME_RGB_BOSS,
            })
  
        # if app.ENABLE_GROWTH_PET_SYSTEM:
            # NAME_COLOR_DICT.update({chrmgr.NAMECOLOR_PET : colorInfo.CHR_NAME_RGB_PET,})
          
        for name, rgb in NAME_COLOR_DICT.items():
            chrmgr.RegisterNameColor(name, rgb[0], rgb[1], rgb[2])
  
        TITLE_COLOR_DICT = (    colorInfo.TITLE_RGB_GOOD_4,
                                colorInfo.TITLE_RGB_GOOD_3,
                                colorInfo.TITLE_RGB_GOOD_2,
                                colorInfo.TITLE_RGB_GOOD_1,
                                colorInfo.TITLE_RGB_NORMAL,
                                colorInfo.TITLE_RGB_EVIL_1,
                                colorInfo.TITLE_RGB_EVIL_2,
                                colorInfo.TITLE_RGB_EVIL_3,
                                colorInfo.TITLE_RGB_EVIL_4,    )
  
        count = 0
  
        for rgb in TITLE_COLOR_DICT:
            chrmgr.RegisterTitleColor(count, rgb[0], rgb[1], rgb[2])
            count += 1
          
            count = 1
            for rgb in TITLE_SYSTEM_COLOR_DICT:
                chrmgr.RegistersTitleColor(count, rgb[0], rgb[1], rgb[2])
                count += 1
              
    def __RegisterEmotionIcon(self):
        emotion.RegisterEmotionIcons()
      
    def __LoadMap(self):
        if not app.ENABLE_LOAD_MAP_BINARY:
            net.Warp(self.playerX, self.playerY)
        else:
            pass

    def __LoadEffect(self):
        playerSettingModule.LoadGameData("EFFECT")

    def __LoadWarrior(self):
        playerSettingModule.LoadGameData("WARRIOR")

    def __LoadAssassin(self):
        playerSettingModule.LoadGameData("ASSASSIN")

    def __LoadSura(self):
        playerSettingModule.LoadGameData("SURA")

    def __LoadShaman(self):
        playerSettingModule.LoadGameData("SHAMAN")

    def __LoadSkill(self):
        playerSettingModule.LoadGameData("SKILL")

    def __LoadEnemy(self):
        playerSettingModule.LoadGameData("ENEMY")

    def __LoadNPC(self):
        playerSettingModule.LoadGameData("NPC")

    def __LoadGuildBuilding(self):
        playerSettingModule.LoadGuildBuildingList(localeInfo.GUILD_BUILDING_LIST_TXT)
      
    def __StartGame(self):
        background.SetViewDistanceSet(background.DISTANCE0, 25600)
        background.SelectViewDistanceNum(background.DISTANCE0)
      
        if app.ENABLE_GRAPHIC_MASK:
            background.LoadGraphicMaskSettings()
          
        app.SetGlobalCenterPosition(self.playerX, self.playerY)
        net.StartGame()

NOT: Syserr'deki hatayı locale_game'ye eklediğim zaman resimdeki gibi kalıyor oyun
Kod:
Genişlet Daralt Kopyala
TITLE_SYSTEM_LIST
Yeni Syserr:
Kod:
Genişlet Daralt Kopyala
0118 04:20:04983 :: i: 0 , pid : 8
0118 04:20:04983 :: i: 1 , pid : 1334
0118 04:20:04983 :: i: 2 , pid : 1365
0118 04:20:04983 :: i: 3 , pid : 0
0118 04:20:04983 :: i: 4 , pid : 0
0118 04:20:11164 :: Traceback (most recent call last):

0118 04:20:11164 ::   File "networkModule.py", line 230, in SetLoadingPhase

0118 04:20:11164 ::   File "networkModule.py", line 148, in SetPhaseWindow

0118 04:20:11164 ::   File "networkModule.py", line 160, in __ChangePhaseWindow

0118 04:20:11164 ::   File "introLoading.py", line 81, in Open

0118 04:20:11164 ::   File "introLoading.py", line 118, in LoadData

0118 04:20:11164 ::   File "introLoading.py", line 229, in __RegisterColor

0118 04:20:11164 :: NameError
0118 04:20:11164 :: :
0118 04:20:11164 :: global name 'TITLE_SYSTEM_COLOR_DICT' is not defined
0118 04:20:11164 ::

0118 04:22:59655 :: i: 0 , pid : 8
0118 04:22:59655 :: i: 1 , pid : 1334
0118 04:22:59655 :: i: 2 , pid : 1365
0118 04:22:59655 :: i: 3 , pid : 0
0118 04:22:59655 :: i: 4 , pid : 0
0118 04:22:04750 :: Traceback (most recent call last):

0118 04:22:04750 ::   File "networkModule.py", line 230, in SetLoadingPhase

0118 04:22:04750 ::   File "networkModule.py", line 148, in SetPhaseWindow

0118 04:22:04750 ::   File "networkModule.py", line 160, in __ChangePhaseWindow

0118 04:22:04750 ::   File "introLoading.py", line 81, in Open

0118 04:22:04750 ::   File "introLoading.py", line 118, in LoadData

0118 04:22:04750 ::   File "introLoading.py", line 229, in __RegisterColor

0118 04:22:04750 :: NameError
0118 04:22:04750 :: :
0118 04:22:04750 :: global name 'TITLE_SYSTEM_COLOR_DICT' is not defined
0118 04:22:04750 ::
1642468760649.png
 
Son düzenleme:
TITLE_SYSTEM_LIST

locale_game.txt / locale_interface.txt de karşılığı yok bunun
 
bu sistemi sen eklemediysen if applı bloklarını kaldır
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst