MatchAgent don't work anymore

Results 1 to 10 of 10
  1. #1
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Question MatchAgent don't work anymore

    After I did the tutorial of Lambda to run more the one server, MatchAgent stopped working, NAT message appears, but still with Agent Error.


  2. #2
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: MatchAgent don't work anymore

    I have the same problem, already tried to search for matchagent ports on ollydbg, but i have found nothing. Can someone help us?

  3. #3
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Re: MatchAgent don't work anymore

    The ports of MatchAgent is on AgentConfig.xml, i changed ports but don't work

  4. #4
    Account Upgraded | Title Enabled! JuanMedina is offline
    MemberRank
    Feb 2009 Join Date
    VenezuelaLocation
    227Posts

    Re: MatchAgent don't work anymore

    ye the same thing

  5. #5
    Proficient Member bunny1995 is offline
    MemberRank
    Jul 2008 Join Date
    -Next To You-Location
    193Posts

    Re: 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.

  6. #6
    Account Upgraded | Title Enabled! Creativity is offline
    MemberRank
    Feb 2009 Join Date
    127.0.0.1Location
    492Posts

    Re: MatchAgent don't work anymore

    don't you have to also edit the client site ?

  7. #7
    Gunz League owner Hakurah is offline
    MemberRank
    Dec 2006 Join Date
    Rio de JaneiroLocation
    602Posts

    Re: MatchAgent don't work anymore

    The tutorial is in the tutorial area... Just search for "Agent Error" and there's a tuto by Lambda that works.

  8. #8
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: MatchAgent don't work anymore

    You may write this on Lambda's tut?

  9. #9
    Account Upgraded | Title Enabled! ~Fallen is offline
    MemberRank
    Dec 2008 Join Date
    Behind you look BehindLocation
    407Posts

    Re: MatchAgent don't work anymore

    Quote Originally Posted by bunny1995 View Post
    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.

    wrong wrong wrong. maybe b4 but this is something like common sense now...

  10. #10
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: MatchAgent don't work anymore

    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.



Advertisement