Ayuda

Topic created · 5 Posts · 515 Views
  • bueno quisiera usar un cliente para mi server, y bueno ya descompile el archivo root de la carpeta pack , hasta ahi todo bien, pero cuando entro a source y quiero editar serverinfo :

    import os
    import app
    import locale
    import debugInfo

    CHINA_PORT = 50000

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

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

    SERVER01_CHANNEL_DICT = {
    1:{"key":11,"name":"CH1 ","ip":"94.23.38.84","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    2:{"key":12,"name":"CH2 ","ip":"94.23.38.84","tcp_port":16000,"udp_port":13000,"state":STATE_NONE,},
    # 3:{"key":13,"name":"CH3 ","ip":"188.165.193.189","tcp_port":18000,"udp_port":11002,"state":STATE_NONE,},
    # 4:{"key":14,"name":"CH4 ","ip":"83.141.21.106","tcp_port":42000,"udp_port":11002,"state":STATE_NONE,},
    # 5:{"key":15,"name":"CH5 ","ip":"83.141.21.116","tcp_port":22000,"udp_port":22000,"state":STATE_NONE,},
    }

    SERVER02_CHANNEL_DICT = {
    1:{"key":21,"name":"CH1 ","ip":"94.23.38.84","tcp_port":18000,"udp_port":18000,"state":STATE_NONE,},
    # 2:{"key":22,"name":"CH2 ","ip":"94.23.38.84","tcp_port":20000,"udp_port":22000,"state":STATE_NONE,},
    # 3:{"key":23,"name":"CH3 ","ip":"83.141.21.58","tcp_port":22000,"udp_port":22000,"state":STATE_NONE,},
    # 4:{"key":24,"name":"CH4 ","ip":"83.141.21.106","tcp_port":42000,"udp_port":42000,"state":STATE_NONE,},
    # 5:{"key":25,"name":"CH5 ","ip":"83.141.21.116","tcp_port":22000,"udp_port":22000,"state":STATE_NONE,},
    }
    SERVER03_CHANNEL_DICT = {
    # 1:{"key":31,"name":"CH1 ","ip":"188.165.193.189","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    # 2:{"key":32,"name":"CH2 ","ip":"83.141.21.28","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    # 3:{"key":33,"name":"CH3 ","ip":"83.141.21.29","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    }
    SERVER04_CHANNEL_DICT = {
    # 1:{"key":41,"name":"CH1 ","ip":"83.141.21.22","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    # 2:{"key":42,"name":"CH2 ","ip":"83.141.21.23","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    # 3:{"key":43,"name":"CH3 ","ip":"83.141.21.24","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    # 4:{"key":44,"name":"CH4 ","ip":"83.141.21.25","tcp_port":32000,"udp_port":32000,"state":STATE_NONE,},
    }
    SERVER05_CHANNEL_DICT = {
    # 1:{"key":51,"name":"CH1 ","ip":"79.110.84.188","tcp_port":12000,"udp_port":12000,"state":STATE_NONE,},
    # 2:{"key":52,"name":"CH2 ","ip":"79.110.84.189","tcp_port":12000,"udp_port":12000,"state":STATE_NONE,},
    # 3:{"key":53,"name":"CH3 ","ip":"79.110.84.190","tcp_port":12000,"udp_port":12000,"state":STATE_NONE,},
    # 4:{"key":54,"name":"CH4 ","ip":"79.110.84.191","tcp_port":12000,"udp_port":12000,"state":STATE_NONE,},
    }

    REGION_NAME_DICT = {
    0 : "SPAIN",
    }

    REGION_AUTH_SERVER_DICT = {
    0 : {
    1 : { "ip":"94.23.38.84", "port":11002, },
    2 : { "ip":"94.23.38.84", "port":31002, },
    # 3 : { "ip":"188.165.193.189", "port":91004, },
    # 4 : { "ip":"83.141.21.22", "port":31000, },
    # 5 : { "ip":"79.110.84.188", "port":11000, },
    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "Easy-Dream", "channel" : SERVER01_CHANNEL_DICT, },
    2 : { "name" : "Morfeus-Reload", "channel" : SERVER02_CHANNEL_DICT, },
    # 3 : { "name" : "Alba", "channel" : SERVER03_CHANNEL_DICT, },
    # 4 : { "name" : "Solsticio", "channel" : SERVER04_CHANNEL_DICT, },
    # 5 : { "name" : "Plenilunio", "channel" : SERVER05_CHANNEL_DICT, },
    },
    }

    MARKADDR_DICT = {
    10 : { "ip" : "94.23.38.84", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
    20 : { "ip" : "94.23.38.84", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "20", },
    # 30 : { "ip" : "188.165.193.189", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "20", },

    }

    TESTADDR = { "ip" : "210.123.10.153", "tcp_port" : 50000, "udp_port" : 50000, }

    me sale eso y quisiera saber cual ips se tienen q cambiar por las de mi server

  • es que ese serverinfo viene con 4 servidores distintos, tu necesitas uno que solo tenga un servidor, para eso puedes usar el serverinfo creator de anghios

  • @DjZed said:

    es que ese serverinfo viene con 4 servidores distintos, tu necesitas uno que solo tenga un servidor, para eso puedes usar el serverinfo creator de anghios

    mira ya me descargue el generador de serverinfo pero una ayuda que pongo en los espacios en blanco :

    puerto de logeo
    puerto de juego

    ayudame a solucionar esta duda plss

  • mira cuando se pone el "#" significa que esa linia no la lee mira todo eso y cual esta sin # singnifica que esta la que te tiene que aparecer en el cliente cuando entras.

  • import os
    import app
    import locale
    import debugInfo

    CHINA_PORT = 50000

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

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

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

    }

    REGION_NAME_DICT = {
    0 : "SPAIN",
    }

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

    }
    }

    REGION_DICT = {
    0 : {
    1 : { "name" : "nombre del ch", "channel" : SERVER01_CHANNEL_DICT, },
    ,
    },
    }

    MARKADDR_DICT = {
    10 : { "ip" : "tu ip", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
    20 : { "ip" : "tu ip", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "20", },
    # 30 : { "ip" : "tu ip", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "20", },

    }

    TESTADDR = { "ip" : "tu ip", "tcp_port" : 50000, "udp_port" : 50000, }

    y asi te ira, no es por criticar pero el creador de serveimfo de anghios solo me complico la vida

Log in to reply