My Matchagent.exe won't connect.
Hello, It's Konas here.
I'm having a problem with my new PC.
Matchserver :
Code:
Match-Server Log
[05/31/09 20:00:36] DBMS connected
[05/31/09 20:00:36] Command registeration completed
[05/31/09 20:00:36] Release Date : Jun 13 2007
[05/31/09 20:00:36] X-Trap Off
[05/31/09 20:00:36] MD5 Check Off
[05/31/09 20:00:36] Server Country : BRAZIL
[05/31/09 20:00:36] Command version : (56)
[05/31/09 20:00:36] Event usable state : (false)
[05/31/09 20:00:36] Load event size : (0)
[05/31/09 20:00:36] FileCRCCheckSum usable state : (false)
[05/31/09 20:00:36] FileCRC size : (1)
[05/31/09 20:00:36] Country Code Filter usalbe state : (false)
[05/31/09 20:00:36] Accept Invalied IP state : (true)
[05/31/09 20:00:36] Keeper IP : (82.16.0.129)
[05/31/09 20:00:36] Monitor IP : (82.16.0.129)
[05/31/09 20:00:36] Match Server Created (Port:6000)
Matchagent:
Code:
[05/30/09 21:29:52] Command registeration completed
[05/30/09 21:29:52] Match Agent Created (Port:0)
[05/30/09 21:29:52] Failed to Connect to MatchServer (Err:-1)
[05/30/09 21:30:02] Reconnect to MatchServer
Configs :
Matchserver :
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="**********"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="Corrupted GunZ"
FREELOGINIP=""
KEEPERIP="**.***.*.***"
MONITORIP="**.**.*.***"
MONITORPORT=9000
MODE="test"
COUNTRY="BRZ"
LANGUAGE="BRZ"
USETICKET="0"
[LANGUAGE]
LANG_TYPE="eng"
[LOCALE]
DBAgentPort=5100
DBAgentIP=127.0.0.1
[FILTER]
USE="0"
ACCEPT_INVALID_IP="1"
[ENVIRONMENT]
USE_HSHIELD="0"
USE_XTRAP="0"
USE_EVENT="0"
USE_FILECRC="0"
USE_MD5="0"
Locator:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="*********"
[NETWORK]
IP="**.**.*.***"
PORT="8900"
[ENV]
ID="1"
LOCATOR_UID_HIGH="5"
LOCATOR_UID_LOW="0"
MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000"
UDP_LIVE_TIME="10000000"
MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9"
BLOCK_TIME="0"
UPDATE_UDP_MANAGER_ELAPSED_TIME="3"
MARGIN_OF_ERROR_MIN="500000"
USE_COUNTRY_CODE_FILTER="no"
GMT_DIFF="-3"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000"
ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000"
UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68"
TEST_SERVER="0"
MatchAgent:
Code:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>Corrupted GunZ</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="**.**.*.***" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
BTW all the **** are either my IP or my password.
Any ideas?
Thanks.
~Konas:D:
Re: My Matchagent.exe won't connect.
Re: My Matchagent.exe won't connect.
MONITORIP in server.ini has to be 127.0.0.1 if you want to play in your own server. If you put your WAN IP in that field you're gonna get Agent Error even if your MatchAgent were working. So change that.
And your MatchAgent settings are exactly like mine, which leads me to think the only problem you're facing is the MONITORIP field. Fix that and you're good to go. Good luck :)
Re: My Matchagent.exe won't connect.
Re: My Matchagent.exe won't connect.
The only thing I could see in your files that is still different from mine is one that probably doesn't matter, but in mine, the FREELOGINIP field, in the server.ini, is filled with my WAN IP. This won't probably do anything but at least try it.
One other thing that might be happening is if one of the ports needed isn't forwarded... Idk if you use a router or not but forwarding all the ports (7777, 5100 6000, 8900, 9000) would be always helpful.
Edit: and make sure to check if ServerStatus in your database has your WAN IP and the right port. It's also probably not gonna make any difference (except for your Locator), but everything is worth trying at this point.
Re: My Matchagent.exe won't connect.
Re: My Matchagent.exe won't connect.
Lol. Then try some other ServerFiles, maybe your MatchAgent is the one that has some issues... If you want I can upload my stuff here for ya.
Re: My Matchagent.exe won't connect.
Errr... It is connecting... >_>
When it says Reconnect to MatchServer, It means it Has reconnected to the Match server.
Re: My Matchagent.exe won't connect.
What? No when it says Reconnect to MatchServer it is trying to re-connect to the match server. If it cannot find the connection to it then it will keep displaying that message. The only real way to see if his MatchAgent is connecting now is if he had a screenshot or something :P Though you can tell its connected when the MatchServer has Agent(1) at the bottom and MatchAgent has Server(1) at the bottom.
Why is the port 0 on the matchserver log?
Re: My Matchagent.exe won't connect.
Did you portfoward? Same things happens to me. Does your firewalls are opens? If yes portfoward your firewalls too.
Re: My Matchagent.exe won't connect.
Maybe your firewall is set to block MatchAgent. Try checking that. :)
Re: My Matchagent.exe won't connect.
Have you done the DB part? :P I know alot of people miss it cause they want the server-side set up first :P
Re: My Matchagent.exe won't connect.
Yeah. I done all the DB stuff.
Re: My Matchagent.exe won't connect.
Quote:
Originally Posted by
Katsuro
Errr... It is connecting... >_>
When it says Reconnect to MatchServer, It means it Has reconnected to the Match server.
Thanks for helping but that isn't it. It doesn't mean it has reconnected to the match server. It means that its trying to reconnect to the server
Code:
[05/31/09 20:00:48] Command registeration completed
[05/31/09 20:00:48] Match Agent Created (Port:0)
[05/31/09 20:00:48] Failed to Connect to MatchServer (Err:-1)
[05/31/09 20:00:59] Reconnect to MatchServer
[05/31/09 20:00:59] Failed to Connect to MatchServer (Err:-1)
[05/31/09 20:01:09] Reconnect to MatchServer
05/31/09 20:01:09] Failed to Connect to MatchServer (Err:-1)
[05/31/09 20:01:19] Reconnect to MatchServer
[05/31/09 20:01:19] Failed to Connect to MatchServer (Err:-1)
[05/31/09 20:01:29] Reconnect to MatchServer
[05/31/09 20:01:29] Failed to Connect to MatchServer (Err:-1)
It just carries on like that mate.
@ Nito
I've port forwarded all the ports and the firewall is accepting the programs. Any other ideas?
Re: My Matchagent.exe won't connect.