Jump to content

I really need some help ty


Recommended Posts

hello i added multi language system , after i added it im getting this error 

 

networkModule.SetSelectCharacterPhase - <type 'exceptions.SyntaxError'>:EOL while scanning string literal (uiGuild.py, line 2006)

 

class BuildGuildBuildingWindow(ui.ScriptWindow):

    if localeInfo.IsJAPAN():
        GUILD_CATEGORY_LIST = (

line 2006                ("HEADQUARTER", "?bz?),
                ("FACILITY", "g?z?),
                ("OBJECT", "???),
            )
    elif localeInfo.IsYMIR() or localeInfo.IsWE_KOREA():
        GUILD_CATEGORY_LIST = (
                ("HEADQUARTER", "본건물"),
                ("FACILITY", "기능건물"),
                ("OBJECT", "조경물"),

 

can anyone help me ?

Edited by ziad
Link to comment
Share on other sites

  • Forum Moderator

The foreign characters are going nut, that's not something I suggest and I usually provide real fixes and not workaround, but throw the whole code away, you will probably never us IsJapan() or IsKorea() or simply don't use IsLocale() at all as it's fairly useless.

Just remove this part.

 

     if localeInfo.IsJAPAN():
        GUILD_CATEGORY_LIST = (
                ("HEADQUARTER", "?bz?),
                ("FACILITY", "g?z?),
                ("OBJECT", "???),
            )
    elif localeInfo.IsYMIR() or localeInfo.IsWE_KOREA():
        GUILD_CATEGORY_LIST = (
                ("HEADQUARTER", "본건물"),
                ("FACILITY", "기능건물"),
                ("OBJECT", "조경물"), 

 

Gurgarath
coming soon

Link to comment
Share on other sites

Hello thank you really for the help it worked well 

 

But i've got a new problem , i tried to add multi language system , sources compiled fine no errors nothing , but when i try to log ingame it get stuck on the characters window , like the connection stops there or so , ill show u the multilanguage server source part if u had time to check it , do it if not , just tell me wich part can persist this problem to recheck on it 

 

This is the hidden content, please

 

search for : #ifdef ENABLE_MULTILANGUAGE , thanks again :D

  • Metin2 Dev 5
  • Good 3
  • Love 1
Link to comment
Share on other sites

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.