Jump to content

blaize

Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by blaize

  1. So, long story short, I've tried to install a login interface from another forum.
    It has folders:
    lib, login, root, uiscript, locale_game and locale_interface.
    I've updated everything in each folder, and created eix and epk login files, added them to pack, added them to index, but I get this error:
     

    0216 23:07:00944 :: 
    introLogin.py(line:319) __LoadScript
    ui.py(line:3011) LoadScriptFile
    ui.py(line:3211) LoadChildren
    ui.py(line:3077) LoadChildren
    ui.py(line:3352) LoadElementExpandedImage
    
    LoginWindow.__LoadScript.LoadObject - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/login/imagens_fundo/painel.tga)
    
    0216 23:07:00944 :: ============================================================================================================
    0216 23:07:00944 :: Abort!!!!

    The interface is here, on mega: 

    This is the hidden content, please

    Edit// FIxed it. I had to add login to ETC.

    • Metin2 Dev 6
    • Good 3
    • Love 5
  2. I've got this in syserr:
     

    0216 18:07:09721 :: Traceback (most recent call last):
    
    0216 18:07:09721 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate
    
    0216 18:07:09722 ::   File "networkModule.py", line 150, in __ChangePhaseWindow
    
    0216 18:07:09723 ::   File "introSelect.py", line 216, in Open
    
    0216 18:07:09723 ::   File "introSelect.py", line 356, in Refresh
    
    0216 18:07:09723 :: ValueError
    0216 18:07:09723 :: : 
    0216 18:07:09723 :: incomplete format
    0216 18:07:09723 ::

     

  3. 0216 18:17:14512 :: Traceback (most recent call last):
    
    0216 18:17:14512 ::   File "introSelect.py", line 556, in <lambda>
    
    0216 18:17:14512 ::   File "introSelect.py", line 1094, in OverInButton
    
    0216 18:17:14513 :: TypeError
    0216 18:17:14513 :: : 
    0216 18:17:14513 :: not all arguments converted during string formatting
    0216 18:17:14513 :: 

    Fixed. Was missing something in interface.

  4. 13 minutes ago, Sherer said:

    Check the TABs (seems that you put incorrect number of tabulators).

    Yes, that was one of the problem (thank you!)
    Now, i get this in syserr:
     

    0216 17:24:01602 :: 
    introLogin.py(line:534) __LoadScript
    ui.py(line:2704) GetChild
    
    LoginWindow.__LoadScript.BindObject - <type 'exceptions.KeyError'>:'TestButtonHey'
    
    0216 17:24:01602 :: ============================================================================================================
    0216 17:24:01602 :: Abort!!!!
    

    Is this because I have to button on login with TestButtonHey?

    Edit// Yeah, that was the problem. Added something in the loginwindow and now works. 

  5. So, I was looking to add this into intrologin.py:
     

    			...
    			self.selectConnectButton	= GetObject("SelectConnectButton")
    			self.loginButton			= GetObject("LoginButton")
    			self.loginExitButton		= GetObject("LoginExitButton")
    			#testButtonHey added by me
    			self.testButtonHey			= GetObject("TestButtonHey")
    a bit down below:
    
    self.loginButton.SetEvent(ui.__mem_func__(self.__OnClickLoginButton))
            self.loginExitButton.SetEvent(ui.__mem_func__(self.__OnClickExitButton))
            
            #new added for test
            self.testButtonHey.SetEvent(ui.__mem_func__(self.__OnClickExitButton))
            #new added for test
            self.serverList.SetEvent(ui.__mem_func__(self.__OnSelectServer))
            
            self.idEditLine.SetReturnEvent(ui.__mem_func__(self.pwdEditLine.SetFocus))
            self.idEditLine.SetTabEvent(ui.__mem_func__(self.pwdEditLine.SetFocus))



    However, it will crash, and this syserr:
     

    0216 16:26:00814 :: Traceback (most recent call last):
    
    0216 16:26:00814 ::   File "introLogo.py", line 60, in OnUpdate
    
    0216 16:26:00814 ::   File "networkModule.py", line 177, in SetLoginPhase
    
    0216 16:26:00814 ::   File "system.py", line 130, in __pack_import
    
    0216 16:26:00814 ::   File "
    0216 16:26:00815 :: introLogin.py
    0216 16:26:00815 :: ", line 
    0216 16:26:00815 :: 595
    0216 16:26:00815 :: 
    
    0216 16:26:00815 ::     
    0216 16:26:00815 :: self.serverList.SetEvent(ui.__mem_func__(self.__OnSelectServer))
    
    0216 16:26:00815 ::     
    0216 16:26:00815 :: ^
    
    0216 16:26:00815 :: IndentationError
    0216 16:26:00815 :: : 
    0216 16:26:00815 :: unexpected indent
    0216 16:26:00815 ::

    (SVF: 

    )

    How can I fix it? (I've moved it up and down, and the next line of code will be the "error)

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