MatchAgent don't work anymore

i dun think people will release this kind of tut, even if they release i dun think it will works, only some pros like wizkid had his server with 2 or more servers.
 
Upvote 0
The tutorial is in the tutorial area... Just search for "Agent Error" and there's a tuto by Lambda that works.
 
Upvote 0
Fixed it:

Code:
void __stdcall MMatchClient__SendCommandByUDP( MCommand* pCommand, const char* szIP, int iPort )
{
	/* here you need to edit the IP's with your server ips and port, for example if the quest server has the UDP port 5601 
	   you need to edit the correct line and put your IP and port. */

	if( strcmp( szIP, "The freakin' 2nd server IP" ) == 0 )
	{
		if (iPort == 7777)
		{
			iPort = 7788;
		}
	}
}

MatchAgent also uses UDP ports to send and recive data, Lambda's dll is currently intercepting all calls to your server ip and changing it to your matchserver port, thats why matchagent was conflicting, cuz it was being redirected to the same port as the second matchserver. You don't need to change nothing on your first server IP if you use the default port (7777). I've used 7788 port for the second server but you can change it to whatever you want.
 
Upvote 0
Back