Jump to content

Recommended Posts

Hi someone use some commands or api to close ch 1.Any ideea how to fix this?

Some syslog:

 

Aug  9 11:55:31.64535 :: SYSTEM: new connection from [79.112.141.225] fd: 84 handshake 1983033464 output input_len 0, ptr 0x3c97a600
Aug  9 11:56:12.98730 :: SYSTEM: new connection from [79.112.141.225] fd: 117 handshake 3903140615 output input_len 0, ptr 0x44369580
Aug  9 11:56:13.418290 :: SYSTEM: new connection from [79.112.141.225] fd: 75 handshake 2603640340 output input_len 0, ptr 0x4222c200
 ug  9 11:56:21.737293 :: SYSTEM: new connection from [79.112.141.225] fd: 75 handshake 912357462 output input_len 0, ptr 0x44369580
Aug  9 11:56:50.83183 :: ENTERGAME: wefwefewfwef 957141x254998x0 79.112.141.225 map_index 41
Aug  9 11:56:51.562716 :: SYSTEM: new connection from [79.112.141.225] fd: 217 handshake 37234549 output input_len 0, ptr 0x33b62080
Aug  9 11:56:59.414438 :: SYSTEM: new p2p connection from [79.112.141.225] fd: 252
Aug  9 11:56:59.414453 :: DESC_MANAGER::AcceptP2PDesc  79.112.141.225:25791
Aug  9 11:56:59.414457 :: P2P Acceptor opened (host 79.112.141.225)
Aug  9 11:57:09.185575 :: P2P Acceptor closed (host 79.112.141.225)
Aug  9 11:57:10.509689 :: SYSTEM: new p2p connection from [79.112.141.225] fd: 187
Aug  9 11:57:10.509697 :: DESC_MANAGER::AcceptP2PDesc  79.112.141.225:26047
Aug  9 11:57:10.509701 :: P2P Acceptor opened (host 79.112.141.225)
SYSERR: Aug  9 11:57:13.435450 :: Analyze: Accept shutdown p2p command from 79.112.141.225.

Aug  9 11:57:24.572115 :: shutdown_event sec -1
Aug  9 11:57:25.369925 :: shutdown_event sec -2
Aug  9 11:57:26.333257 :: shutdown_event sec -3
 Aug  9 11:57:27.333644 :: shutdown_event sec -4
Aug  9 11:57:28.334332 :: shutdown_event sec -5
Aug  9 11:57:29.334328 :: shutdown_event sec -6
Aug  9 11:57:30.334316 :: shutdown_event sec -7
Aug  9 11:57:31.334418 :: shutdown_event sec -8
Aug  9 11:57:32.335076 :: shutdown_event sec -9

 

Shutdown in CMD :

shutdown DISABLE

Link to comment
Share on other sites

  • Premium

Go in main.cpp 

if ((p2p_socket = socket_tcp_bind(g_szPublicIP, p2p_port)) == INVALID_SOCKET)

make it look like :

// if internal ip exists, p2p socket uses internal ip, if not use public ip
	if ((p2p_socket = socket_tcp_bind(*g_szInternalIP ? g_szInternalIP : g_szPublicIP, p2p_port)) == INVALID_SOCKET)
	if ((p2p_socket = socket_tcp_bind(g_szPublicIP, p2p_port)) == INVALID_SOCKET)
	{
		perror("socket_tcp_bind: p2p_socket");
		return 0;
	}

 

Edited by Dobrescu Sebastian
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.