Jump to content

Puertos de los mapas


keviinn25
 Share

Recommended Posts

Bueno, mi problema esque mis files tienen los puertos cambiados, ya he puesto el login en el 11002 y el ch1 en el 13000 y les entra en la seleccion de personaje pero no dentro del juego y creo que el problema esque los mapas tambien tienen los puertos cambiados, donde se puede cambiar eso? XD

Link to comment
Share on other sites

import osimport appimport localeimport debugInfoCHINA_PORT = 50000def 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, retMarkAddrDictapp.ServerName = Noneif (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):	STATE_NONE = "..."						STATE_DICT = {		0 : "....",		1 : "NORM",		2 : "BUSY",		3 : "FULL"	}	SERVER01_CHANNEL_DICT = {		1:{"key":11,"name":"CH1","ip":"83.47.186.92","tcp_port":11002,"udp_port":11002,"state":STATE_NONE,},			2:{"key":12,"name":"CH2","ip":"83.47.186.92","tcp_port":50020,"udp_port":50020,"state":STATE_NONE,},			3:{"key":13,"name":"CH3","ip":"83.47.186.92","tcp_port":50030,"udp_port":50030,"state":STATE_NONE,},			4:{"key":14,"name":"CH4","ip":"83.47.186.92","tcp_port":50040,"udp_port":50040,"state":STATE_NONE,},				5:{"key":15,"name":"CH5","ip":"83.47.186.92","tcp_port":50050,"udp_port":50050,"state":STATE_NONE,},				6:{"key":16,"name":"CH6","ip":"83.47.186.92","tcp_port":50060,"udp_port":50060,"state":STATE_NONE,},				7:{"key":17,"name":"CH7","ip":"83.47.186.92","tcp_port":50070,"udp_port":50070,"state":STATE_NONE,},				8:{"key":18,"name":"CH8","ip":"83.47.186.92","tcp_port":50080,"udp_port":50080,"state":STATE_NONE,},	}		REGION_NAME_DICT = {		0 : "Turkey",			}	REGION_AUTH_SERVER_DICT = {		0 : {			1 : { "ip":"83.47.186.92", "port":11002, },			}			}	REGION_DICT = {		0 : {			1 : { "name" :"GM PORTAL", "channel" : SERVER01_CHANNEL_DICT, },								},	}	MARKADDR_DICT = {		10 : { "ip" : "83.47.186.92", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },	}	TESTADDR = { "ip" : "83.47.186.92", "tcp_port" : 11002, "udp_port" : 11002, }

Solo esta abierto el ch1 asi que es lo unico que deberia importar xD

 

La gente entra a la seleccion de personaje y despues les tira al seleccionarlo

Link to comment
Share on other sites

No es necesario abrir todos los puertos en el port map,por que para entrar al servidor solo es necesario abrir el puerto de auth y de los chs,en mi caso solo asigno el ch 1 por que no enciendo todos los chs para que entren,osea solo dos puertos el resto como el puerto de game99 etc no pintan nada en el port map.

Para que sepas que puerto debes poner en el serverinfo abre el config del channel 1 y mira en la parte donde dice PORT: si es  99454 es un ejemplo, abre el serverinfo y en la parte donde va el puerto de channel 1 cambia los puertos y pon el que figura en el config.

Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...