Jump to content

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
https://metin2.dev/topic/22812-i-really-need-some-help-ty/
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
My Services

Link to comment
https://metin2.dev/topic/22812-i-really-need-some-help-ty/#findComment-123587
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 8
  • Good 4
  • Love 2
Link to comment
https://metin2.dev/topic/22812-i-really-need-some-help-ty/#findComment-123592
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.