Ayudenme a Poner mi IP a un Cliente

Topic created · 3 Mensajes · 330 Visitas
  • Tengo el cliente Metin2 New Client by Swagger y ya lo traduci al español pero lo unico que me falta es camviarle la IP ya prove descopilando el root pero al momento de meterme al serverinfo.spy no c que mas hacer se que hay que camviar las IP pero son Muchas me Pueden Ayudar? mi skype es:
    Otaku.Knight
    Mi MSN es:
    otaku.knight@hotmail.com Espero Sus Ayudas.

  • **Lo único que tienes que hacer es ir al serverinfo.py, y donde ponen todas las IP's, borrarlas y poner la tuya en todos los sitios. Despues compilas y ya está...

    Saludos :miau: **

  • Me Sale Esto: Que Camvio.

    import os
    import app
    import locale
    import debugInfo

    CHINA_PORT = 50000

    def BuildServerList(orderList):
    retMarkAddrDict = {}
    retAuthAddrDict = {}
    retRegion0 = {}

    ridx = 1
    for region, auth, mark, channels in orderList:
    cidx = 1
    channelDict = {}
    for channel in channels:
    key = ridx * 10 + cidx
    channel["key"] = key
    channelDict[cidx] = channel
    cidx += 1

    region["channel"] = channelDict

    retRegion0[ridx] = region
    retAuthAddrDict[ridx] = auth
    retMarkAddrDict[ridx*10] = mark
    ridx += 1

    return retRegion0, retAuthAddrDict, retMarkAddrDict

    app.ServerName = None

    if (locale.IsEUROPE() and app.GetLocalePath() == "locale/vn"):
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "....",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"
    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CH1 ","ip":"121.160.9.68","tcp_port":13002,"udp_port":13002,"state":STATE_NONE,},
    }

    REGION_NAME_DICT = {
    0 : "Vietnam",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"121.160.9.68", "port":11002, },

    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" :"Vietnam1", "channel" : SERVER01_CHANNEL_DICT, },
    },
    }

    MARKADDR_DICT = {
    10 : { "ip" : "121.160.9.68", "tcp_port" : 13002, "mark" : "10.tga", "symbol_path" : "10", },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    if (locale.IsEUROPE() and app.GetLocalePath() == "locale/sg"):
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "....",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"
    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CH1 ","ip":"120.29.208.231","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    2:{"key":12,"name":"CH2 ","ip":"120.29.208.232","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }

    REGION_NAME_DICT = {
    0 : "Singapore",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"120.29.208.227", "port":11000, },

    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" :"Singapore", "channel" : SERVER01_CHANNEL_DICT, },
    },
    }

    MARKADDR_DICT = {
    10 : { "ip" : "120.29.208.231", "tcp_port" : 22000, "mark" : "10.tga", "symbol_path" : "10", },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    if (locale.IsEUROPE() and app.GetLocalePath() == "locale/ca"):
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "....",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"
    }

    SERVER01_CHANNEL = [
    {"name":"CH11 ","ip":"74.200.6.201","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH12 ","ip":"74.200.6.202","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH13 ","ip":"74.200.6.203","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH14 ","ip":"74.200.6.204","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH15 ","ip":"74.200.6.205","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH16 ","ip":"74.200.6.206","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    ]
    SERVER02_CHANNEL =[
    {"name":"CH21 ","ip":"74.200.6.211","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH22 ","ip":"74.200.6.212","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH23 ","ip":"74.200.6.213","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH24 ","ip":"74.200.6.214","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH25 ","ip":"74.200.6.215","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"CH26 ","ip":"74.200.6.216","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    ]

    SERVER01_MARK = { "ip" : "74.200.6.202", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10",}
    SERVER02_MARK = { "ip" : "74.200.6.212", "tcp_port" : 13000, "mark" : "20.tga", "symbol_path" : "20",}

    SERVER01_AUTH = { "ip":"74.200.6.209", "port":11001, } #Freekingdom
    SERVER02_AUTH = { "ip":"74.200.6.209", "port":11002, } #new world

    SERVER01 = { "name" : "FREE KINGDOM" }
    SERVER02 = { "name" : "NEW WORLD" }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    REGION0_ORDER_LIST = [
    (SERVER02, SERVER02_AUTH, SERVER02_MARK, SERVER02_CHANNEL),
    (SERVER01, SERVER01_AUTH, SERVER01_MARK, SERVER01_CHANNEL),
    ]

    # BUILD
    NEW_REGION0, NEW_REGION0_AUTH_SERVER_DICT, NEW_MARKADDR_DICT = BuildServerList(REGION0_ORDER_LIST)

    # RESULT
    NEW_REGION_NAME_DICT = {
    0 : "CANADA",
    }

    NEW_REGION_AUTH_SERVER_DICT = {
    0 : NEW_REGION0_AUTH_SERVER_DICT,
    }

    NEW_REGION_DICT = {
    0 : NEW_REGION0,
    }

    MARKADDR_DICT = NEW_MARKADDR_DICT
    REGION_DICT = NEW_REGION_DICT
    REGION_NAME_DICT = NEW_REGION_NAME_DICT
    REGION_AUTH_SERVER_DICT = NEW_REGION_AUTH_SERVER_DICT

    if (locale.IsEUROPE() and app.GetLocalePath() == "locale/br"):
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "....",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"
    }

    SHUNZO_CHANNEL = [
    {"name":"SHUNZO-1 ","ip":"189.112.1.159","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-2 ","ip":"189.112.1.161","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-3 ","ip":"189.112.1.157","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-4 ","ip":"189.112.1.163","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-5 ","ip":"189.112.1.160","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-6 ","ip":"189.112.1.158","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    {"name":"SHUNZO-7 ","ip":"189.112.1.162","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    ]

    HORAN_CHANNEL = [
    {"name":"HORAN-1 ","ip":"189.112.1.157","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-2 ","ip":"189.112.1.158","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-3 ","ip":"189.112.1.159","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-4 ","ip":"189.112.1.160","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-5 ","ip":"189.112.1.161","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-6 ","ip":"189.112.1.162","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"HORAN-7 ","ip":"189.112.1.163","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    ]

    RAIZAN_CHANNEL = [

    {"name":"RAIZAN-1 ","ip":"189.112.1.194","tcp_port":13200,"udp_port":13200,"state":STATE_NONE,},
    {"name":"RAIZAN-2 ","ip":"189.112.1.195","tcp_port":13200,"udp_port":13200,"state":STATE_NONE,},
    {"name":"RAIZAN-3 ","ip":"189.112.1.194","tcp_port":13210,"udp_port":13210,"state":STATE_NONE,},
    {"name":"RAIZAN-4 ","ip":"189.112.1.195","tcp_port":13210,"udp_port":13210,"state":STATE_NONE,},
    ]
    SHUNZO_MARK = { "ip" : "189.112.1.158", "tcp_port" : 13100, "mark" : "20.tga", "symbol_path" : "20", }
    HORAN_MARK = { "ip" : "189.112.1.158", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", }
    RAIZAN_MARK = { "ip" : "189.112.1.195", "tcp_port" : 13210, "mark" : "30.tga", "symbol_path" : "30", }

    SHUNZO_AUTH = { "ip":"189.112.1.155", "port":11101, }
    HORAN_AUTH = { "ip":"189.112.1.155", "port":11001, }
    RAIZAN_AUTH = { "ip":"189.112.1.155", "port":11201, }

    RAIZAN = { "name" : "RAIZAN" }
    SHUNZO = { "name" : "SHUNZO" }
    HORAN= { "name" : "HORAN"}

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    REGION0_ORDER_LIST = [
    (RAIZAN, RAIZAN_AUTH, RAIZAN_MARK, RAIZAN_CHANNEL),
    (SHUNZO, SHUNZO_AUTH, SHUNZO_MARK, SHUNZO_CHANNEL),
    (HORAN, HORAN_AUTH, HORAN_MARK, HORAN_CHANNEL),
    ]
    # BUILD
    NEW_REGION0, NEW_REGION0_AUTH_SERVER_DICT, NEW_MARKADDR_DICT = BuildServerList(REGION0_ORDER_LIST)

    # RESULT
    NEW_REGION_NAME_DICT = {
    0 : "BRAZIL",
    }

    NEW_REGION_AUTH_SERVER_DICT = {
    0 : NEW_REGION0_AUTH_SERVER_DICT,
    }

    NEW_REGION_DICT = {
    0 : NEW_REGION0,
    }

    MARKADDR_DICT = NEW_MARKADDR_DICT
    REGION_DICT = NEW_REGION_DICT
    REGION_NAME_DICT = NEW_REGION_NAME_DICT
    REGION_AUTH_SERVER_DICT = NEW_REGION_AUTH_SERVER_DICT

    if locale.IsNEWCIBN():
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "άᄏᄂÖÐ",
    1 : "Õýᄈᆪ",
    2 : "ᄋᄆæ",
    3 : "ᄆᆲÂú"
    }

    CNC1_CHANNELS = [
    {"name":"һᄋþ","ip":"218.7.217.199","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"ᄊþᄋþ","ip":"218.7.217.200","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Èýᄋþ","ip":"218.7.217.201","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Ëķþ","ip":"218.7.217.202","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Îåᄋþ","ip":"218.7.217.203","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Áùᄋþ","ip":"218.7.217.204","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    ]

    CNC8_CHANNELS = [
    {"name":"һᄋþ","ip":"218.7.219.75","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"ᄊþᄋþ","ip":"218.7.219.76","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Èýᄋþ","ip":"218.7.219.77","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Ëķþ","ip":"218.7.219.78","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    {"name":"Îåᄋþ","ip":"218.7.219.79","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
    ]
    TE1_CHANNELS = [
    {"name":"һᄋþ","ip":"219.133.36.109","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"ᄊþᄋþ","ip":"219.133.36.110","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Èýᄋþ","ip":"219.133.36.111","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Ëķþ","ip":"219.133.36.112","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Îåᄋþ","ip":"219.133.36.113","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Áùᄋþ","ip":"219.133.36.114","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    ]

    TE9_CHANNELS = [
    {"name":"һᄋþ","ip":"218.99.6.48","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"ᄊþᄋþ","ip":"218.99.6.55","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Èýᄋþ","ip":"218.99.6.34","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Ëķþ","ip":"218.99.6.36","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    {"name":"Îåᄋþ","ip":"218.99.6.35","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    ]

    CNC1_MARK = { "ip" : "218.7.217.200", "tcp_port" : 13000, "mark" : "120.tga", "symbol_path" : "120", }
    CNC8_MARK = { "ip" : "218.7.219.76", "tcp_port" : 13000, "mark" : "120.tga", "symbol_path" : "120", }
    TE1_MARK = { "ip" : "219.133.36.110", "tcp_port" : 13000, "mark" : "50.tga", "symbol_path" : "50", }
    TE9_MARK = { "ip" : "218.99.6.55", "tcp_port" : 13000, "mark" : "130.tga", "symbol_path" : "60", }

    CNC1_AUTH = { "ip":"218.99.6.51", "port":11061, }
    CNC8_AUTH = { "ip":"218.99.6.51", "port":11081, }
    TE1_AUTH = { "ip":"218.99.6.58", "port":11011, }
    TE9_AUTH = { "ip":"218.99.6.58", "port":11091, }

    CNC1 = { "name" : "ÍøͨһÇø" }
    CNC8 = { "name" : "ÍøͨᄚËÇø[ÐÂ]"}
    TE1 = { "name" : "ᄉçÐÅһÇø"}
    TE9 = { "name" : "ᄉçОÅÇø[ÐÂ]"}

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    # ORDER
    REGION0_ORDER_LIST = [
    (CNC8, CNC8_AUTH, CNC8_MARK, CNC8_CHANNELS),
    (CNC1, CNC1_AUTH, CNC1_MARK, CNC1_CHANNELS),
    (TE9, TE9_AUTH, TE9_MARK, TE9_CHANNELS),
    (TE1, TE1_AUTH, TE1_MARK, TE1_CHANNELS),
    ]

    # BUILD
    NEW_REGION0, NEW_REGION0_AUTH_SERVER_DICT, NEW_MARKADDR_DICT = BuildServerList(REGION0_ORDER_LIST)

    # RESULT
    NEW_REGION_NAME_DICT = {
    0 : "CHINA_NEWCIBN",
    }

    NEW_REGION_AUTH_SERVER_DICT = {
    0 : NEW_REGION0_AUTH_SERVER_DICT,
    }

    NEW_REGION_DICT = {
    0 : NEW_REGION0,
    }

    MARKADDR_DICT = NEW_MARKADDR_DICT
    REGION_DICT = NEW_REGION_DICT
    REGION_NAME_DICT = NEW_REGION_NAME_DICT
    REGION_AUTH_SERVER_DICT = NEW_REGION_AUTH_SERVER_DICT

    elif locale.IsJAPAN():
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "...",
    1 : "ミᄈマí",
    2 : "ヘᆲホG",
    3 : "FULL"
    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CHANNEL1 ","ip":"210.174.197.248","tcp_port":51000,"udp_port":51000,"state":STATE_NONE,},
    2:{"key":12,"name":"CHANNEL2 ","ip":"210.174.197.247","tcp_port":52000,"udp_port":52000,"state":STATE_NONE,},
    #3:{"key":13,"name":"CHANNEL3 ","ip":"210.174.197.248","tcp_port":53000,"udp_port":53000,"state":STATE_NONE,},
    }

    MARKADDR_DICT = {
    10 : { "ip" : "210.174.197.247", "tcp_port" : 52000, "mark" : "10.tga", "symbol_path" : "10", },
    }

    REGION_NAME_DICT = {
    0 : "JAPAN",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"210.174.197.247", "port":50000, },
    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "SERVER", "channel" : SERVER01_CHANNEL_DICT, },
    },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    #elif locale.IsTAIWAN(): Swagger
    elif locale.IsEUROPE():
    STATE_NONE = "...."

    STATE_DICT = {
    0 : "OFFLINE",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"

    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CHANNEL1 ","ip":"94.23.207.61","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},

    }

    SERVER02_CHANNEL_DICT = {
    1:{"key":21,"name":"CHANNEL1","ip":"94.23.31.60","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }

    SERVER03_CHANNEL_DICT = {
    1:{"key":31,"name":"CHANNEL1 ","ip":"5.18.6.100","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    2:{"key":32,"name":"CHANNEL2 ","ip":"5.18.6.100","tcp_port":23000,"udp_port":23000,"state":STATE_NONE,},
    #3:{"key":33,"name":"CHANNEL3 ","ip":"203.70.68.23","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #4:{"key":34,"name":"CHANNEL4 ","ip":"203.70.68.24","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #5:{"key":35,"name":"CHANNEL5 ","ip":"203.70.68.25","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #6:{"key":36,"name":"CHANNEL6 ","ip":"203.70.68.26","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #7:{"key":37,"name":"CHANNEL7 ","ip":"203.70.68.54","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #8:{"key":38,"name":"CHANNEL8 ","ip":"203.70.68.55","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }

    SERVER04_CHANNEL_DICT = {
    1:{"key":41,"name":"CHANNEL1 ","ip":"203.70.68.21","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    2:{"key":42,"name":"CHANNEL2 ","ip":"203.70.68.22","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #3:{"key":43,"name":"CHANNEL3 ","ip":"203.70.68.23","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #4:{"key":44,"name":"CHANNEL4 ","ip":"203.70.68.24","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #5:{"key":45,"name":"CHANNEL5 ","ip":"203.70.68.25","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #6:{"key":46,"name":"CHANNEL6 ","ip":"203.70.68.26","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #7:{"key":47,"name":"CHANNEL7 ","ip":"203.70.68.54","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #8:{"key":48,"name":"CHANNEL8 ","ip":"203.70.68.55","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    }

    # SERVER05_CHANNEL_DICT = {
    # 1:{"key":51,"name":"CHANNEL1 ","ip":"203.70.68.31","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    # 2:{"key":52,"name":"CHANNEL2 ","ip":"203.70.68.32","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #3:{"key":53,"name":"CHANNEL3 ","ip":"203.70.68.33","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #4:{"key":54,"name":"CHANNEL4 ","ip":"203.70.68.34","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #5:{"key":55,"name":"CHANNEL5 ","ip":"203.70.68.35","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #6:{"key":56,"name":"CHANNEL6 ","ip":"203.70.68.36","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #7:{"key":57,"name":"CHANNEL7 ","ip":"203.70.68.56","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #8:{"key":58,"name":"CHANNEL8 ","ip":"203.70.68.57","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    # }

    # SERVER06_CHANNEL_DICT = {
    # 1:{"key":61,"name":"CHANNEL1 ","ip":"203.70.68.31","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    # 2:{"key":62,"name":"CHANNEL2 ","ip":"203.70.68.32","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #3:{"key":63,"name":"CHANNEL3 ","ip":"203.70.68.33","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #4:{"key":64,"name":"CHANNEL4 ","ip":"203.70.68.34","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #5:{"key":65,"name":"CHANNEL5 ","ip":"203.70.68.35","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #6:{"key":66,"name":"CHANNEL6 ","ip":"203.70.68.36","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #7:{"key":67,"name":"CHANNEL7 ","ip":"203.70.68.56","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #8:{"key":68,"name":"CHANNEL8 ","ip":"203.70.68.57","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    # }
    # SERVER07_CHANNEL_DICT = {
    # 1:{"key":71,"name":"CHANNEL1 ","ip":"203.70.68.58","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    # 2:{"key":72,"name":"CHANNEL2 ","ip":"203.70.68.59","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #3:{"key":73,"name":"CHANNEL3 ","ip":"203.70.68.60","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #4:{"key":74,"name":"CHANNEL4 ","ip":"203.70.68.61","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    #5:{"key":75,"name":"CHANNEL5 ","ip":"203.70.68.58","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #6:{"key":76,"name":"CHANNEL6 ","ip":"203.70.68.59","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #7:{"key":77,"name":"CHANNEL7 ","ip":"203.70.68.60","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    #8:{"key":78,"name":"CHANNEL8 ","ip":"203.70.68.61","tcp_port":13100,"udp_port":13100,"state":STATE_NONE,},
    # }
    SERVER05_CHANNEL_DICT = {
    1:{"key":51,"name":"CHANNEL1 ","ip":"94.23.31.60","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }
    MARKADDR_DICT = {
    10 : { "ip" : "94.23.31.60", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
    20 : { "ip" : "94.23.31.60", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "20", },
    #30 : { "ip" : "5.18.6.100", "tcp_port" : 23000, "mark" : "10.tga", "symbol_path" : "30", },
    #40 : { "ip" : "203.70.68.20", "tcp_port" : 13100, "mark" : "40.tga", "symbol_path" : "40", },
    #50 : { "ip" : "203.70.68.71", "tcp_port" : 13000, "mark" : "50.tga", "symbol_path" : "50", },
    # 60 : { "ip" : "203.70.68.30", "tcp_port" : 13100, "mark" : "60.tga", "symbol_path" : "60", },
    # 70 : { "ip" : "203.70.68.40", "tcp_port" : 13000, "mark" : "70.tga", "symbol_path" : "70", },
    # 80 : { "ip" : "203.70.68.40", "tcp_port" : 13000, "mark" : "60.tga", "symbol_path" : "60", },
    # 80 : { "ip" : "203.70.68.40", "tcp_port" : 13000, "mark" : "60.tga", "symbol_path" : "60", },
    # 80 : { "ip" : "203.70.68.40", "tcp_port" : 13000, "mark" : "60.tga", "symbol_path" : "60", },
    }

    REGION_NAME_DICT = {
    0 : "TAIWAN",
    }
    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"94.23.207.61", "port":11002, },
    #2 : { "ip":"93.190.140.127", "port":11002, },
    #3 : { "ip":"5.18.6.100", "port":11002, },

    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "Metin2", "channel" : SERVER01_CHANNEL_DICT, },
    # 2 : { "name" : "Limited", "channel" : SERVER02_CHANNEL_DICT, },
    #3 : { "name" : "Swagger Server Test", "channel" : SERVER03_CHANNEL_DICT, },
    },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    elif locale.IsHONGKONG() and not locale.IsTAIWAN():

    STATE_NONE = "ᄎû?ᄂᄂ"

    STATE_DICT = {
    0 : "ᄎû?",
    1 : "ᆲyᄎZ",
    2 : "Ácᆭᆪ",
    3 : "ᄎᄀᄌü"
    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CHANNEL1 ","ip":"203.105.58.84","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    2:{"key":12,"name":"CHANNEL2 ","ip":"203.105.58.85","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    3:{"key":13,"name":"CHANNEL3 ","ip":"203.105.58.86","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    4:{"key":14,"name":"CHANNEL4 ","ip":"203.105.58.87","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    }
    SERVER02_CHANNEL_DICT = {
    1:{"key":21,"name":"CHANNEL1","ip":"203.70.21.30","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }
    MARKADDR_DICT = {
    10 : { "ip" : "203.105.58.85", "tcp_port" : 50100, "mark" : "10.tga", "symbol_path" : "10", },
    20 : { "ip" : "203.70.21.30", "tcp_port" : 50100, "mark" : "20.tga", "symbol_path" : "20", },
    }

    REGION_NAME_DICT = {
    0 : "HONGKONG",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"94.23.31.60", "port":55555, },
    2 : { "ip":"94.23.31.60", "port":55555, },

    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "ᄀiᄄgᄍpᄀj", "channel" : SERVER01_CHANNEL_DICT, },
    2 : { "name" : "ᄚêᄒÔ?ᆰAᄒᄍ", "channel" : SERVER02_CHANNEL_DICT, },
    },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    elif locale.IsYMIR():
    STATE_NONE = "..."

    STATE_DICT = {
    0 : "aᄚË",
    1 : "ᄎᄌÅë",
    2 : "ȥÀâ",
    3 : "FULL"
    }

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"äᄈÎ 1 ","ip":"220.95.239.51","tcp_port":50010,"udp_port":50010,"state":STATE_NONE,},
    2:{"key":12,"name":"äᄈÎ 2 ","ip":"220.95.239.51","tcp_port":50020,"udp_port":50020,"state":STATE_NONE,},
    3:{"key":13,"name":"äᄈÎ 3 ","ip":"220.95.239.51","tcp_port":50030,"udp_port":50030,"state":STATE_NONE,},
    4:{"key":14,"name":"äᄈÎ 4 ","ip":"220.95.239.51","tcp_port":50040,"udp_port":50040,"state":STATE_NONE,},
    # 5:{"key":15,"name":"äᄈÎ 5 ","ip":"220.95.239.51","tcp_port":50051,"udp_port":50051,"state":STATE_NONE,},
    # 5:{"key":15,"name":"ᄍᆱÇѴëÀü ","ip":"220.95.239.35","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    }

    SERVER02_CHANNEL_DICT = {
    1:{"key":21,"name":"äᄈÎ 1 ","ip":"220.95.239.51","tcp_port":52010,"udp_port":52010,"state":STATE_NONE,},
    # 2:{"key":22,"name":"äᄈÎ 2 ","ip":"220.95.239.37","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    # 3:{"key":23,"name":"äᄈÎ 3 ","ip":"220.95.239.46","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},
    }

    #6:{"key":16,"name":"ᄡëᄋÃ À̺ᆬƮ","ip":"220.95.239.35","tcp_port":50100,"udp_port":50100,"state":STATE_NONE,},

    REGION_NAME_DICT = {
    0 : "KOREA",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"220.95.239.51", "port":51000, },
    2 : { "ip":"220.95.239.51", "port":52000, },
    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "õᄌᄊ ᄐᆳᄍö", "channel" : SERVER01_CHANNEL_DICT, },
    2 : { "name" : "ᄍᆱᄑÖ ᄐᆳᄍö", "channel" : SERVER02_CHANNEL_DICT, },
    },
    }

    MARKADDR_DICT = {
    10 : { "ip" : "220.95.239.51", "tcp_port" : 50040, "mark" : "01.tga", "symbol_path" : "10", },
    20 : { "ip" : "220.95.239.51", "tcp_port" : 52010, "mark" : "02.tga", "symbol_path" : "20", },
    }

    TESTADDR = { "ip" : "94.23.31.60", "tcp_port" : 13000, "udp_port" : 13000, }

    #if locale.IsEUROPE(): [http://www.newlongju.eu][0]">[www.newlongju.eu][1] by vodafono
    if locale.IsTAIWAN():
    name = app.GetLocalePath().replace("/", "_") + ".addr"
    path = os.sep.join(("pack", name))
    if os.access(path, os.R_OK):
    print "load_locale_addr:", path

    data = app.LoadLocaleAddr(path)

    import cPickle
    import cStringIO
    info = cPickle.load(cStringIO.StringIO(data))

    STATE_NONE = "..."

    STATE_DICT = {
    0 : "....",
    1 : "NORM",
    2 : "BUSY",
    3 : "FULL"
    }

    REGION_NAME_DICT = info["NAME"]
    REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
    REGION_DICT = info["GAMEADDR"]
    MARKADDR_DICT = info["MARKADDR"]

    [0]: <a href=
    [1]: http://www.newlongju.eu