can't connect to the server (still the same)
well because the other thread is dead or something i try to reask it...
more datils here now..
server.ini:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="password"
[SERVER]
MAXUSER=300
SERVERID=1
SERVERNAME="RG Quest'N'Clan Server"
FREELOGINIP=""
KEEPERIP="wan-ip"
MONITORIP="127.0.0.1"
MONITORPORT=9000
MODE="clan"
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.ini:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="password"
[NETWORK]
IP="wan-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"
agentconfig.xml:
Code:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>RG Quest'N'Clan Server</NAME>
<MAXCLIENT>300</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="wan-ip" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
matchserver log after login and getting the error message "can't connect to the server":
Code:
Load XML from memory : strings.xml(0x0037) - SUCCESS
Load XML from memory : cserror.xml(0x0037) - SUCCESS
MMatchEventFactoryManager::ParseEvent - Event.xml¿¡ ¾ø´Â Event ID(2)ÀÔ´Ï´Ù.
MMatchEventFactoryManager::ParseEvent - Event.xml¿¡ ¾ø´Â Event ID(3)ÀÔ´Ï´Ù.
MMatchEventFactoryManager::ParseEvent - Event.xml¿¡ ¾ø´Â Event ID(2)ÀÔ´Ï´Ù.
MMatchEventFactoryManager::ParseEvent - Event.xml¿¡ ¾ø´Â Event ID(3)ÀÔ´Ï´Ù.
[12/13/10 10:20:40] DBMS connected
[12/13/10 10:20:40] Command registeration completed
MMatchDBMgr::UpdateServerInfo - De syntaxis bij Clan Server is onjuist.
10
MBMatchServer::AddClanServerSwitchDownSchedule - make close clan mode schedule success. next close clan mode time is 10-12-31 23:50
10
Inited client file list (1)
Start GambleItem Init.
End GambleItem Init.
Start shop GItem list log.
GambleItemCount : 0.
End shop GItem list log.
=== Dump GambleItem Info. ===
Gamble item list.
Send shop gamble item list.
Shop gamble item count : 0
=== Completed Dump GambleItem Info. ===
success init security.
FILE PATH : C:\Users\Administrator\Desktop\Server files\Quest + Clan Server\MD5HashValue.txt
MD5 Hash Value => 2c 04 05 30 70 71 a1 d7 86 dd 95 dc c6 38 8c d3
================================== Server configure info ==================================
[12/13/10 10:20:41] Release Date : Jul 21 2008
[12/13/10 10:20:41] X-Trap Off
[12/13/10 10:20:41] MD5 Check Off
[12/13/10 10:20:41] Loop Log Save Off
[12/13/10 10:20:41] Server Country : BRAZIL
[12/13/10 10:20:41] Command version : (57)
[12/13/10 10:20:41] Event usable state : (false)
[12/13/10 10:20:41] Load event size : (0)
[12/13/10 10:20:41] FileCRCCheckSum usable state : (false)
[12/13/10 10:20:41] FileCRC size : (1)
[12/13/10 10:20:41] Country Code Filter usalbe state : (false)
[12/13/10 10:20:41] Accept Invalied IP state : (true)
[12/13/10 10:20:41] Keeper IP : (wan-ip)
[12/13/10 10:20:41] Monitor IP : (127.0.0.1)
[12/13/10 10:20:41] Ticket use : 0
===========================================================================================
[12/13/10 10:20:41] Match Server Created (Port:6000)
success to update CustomIP
[12/13/10 10:20:42] Start agent Register (CommUID 0:10) IP:wan-ip, TCPPort:7777, UDPPort:5100
[12/13/10 10:20:42] Agent Added (UID:010)
[12/13/10 10:20:42] Agent Registered (CommUID 0:10) IP:wan-ip, TCPPort:7777, UDPPort:5100
[12/13/10 10:23:37] Agent Removed (UID:010)
RealCPNet> SessionCreated=2, SessionDestroyed=1
any solution..
Re: can't connect to the server (still the same)
Change the 127.0.0.1 in the agentconfig to your wanIP and try again ???
Locator looks right and the server.ini add a freeloggIP ??
Posted via Mobile Device
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
BGRick
Change the 127.0.0.1 in the agentconfig to your wanIP and try again ???
Locator looks right and the server.ini add a freeloggIP ??
Posted via Mobile Device
phoenix told me to leave it blank.. also the 127.0.0.1 @ agentconfig must be 127.0.0.1 too.. unless u host your matchserver somewhere else then your matchagent if i am right
Re: can't connect to the server (still the same)
You could take a look at one of my tutorials, check out both links in my signature. Besides that, take a look at the highlighted sentences and edit them.
server.ini
locator.ini
agentconfig.xml
Please, next time do some research use google or use ragezone's search button. Read Styx's F.A.Q. which is stickied or follow the comments phoenix added to his 08 server files [also stickied]. Make sure you edit your ServerStatus.dbo in your database correctly for more information about that, follow my tutorial.
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
llMafiall
You could take a look at one of my tutorials, check out both links in my signature. Besides that, take a look at the highlighted sentences and edit them.
server.ini
locator.ini
agentconfig.xml
Please, next time do some research use google or use ragezone's search button. Read Styx's F.A.Q. which is stickied or follow the comments phoenix added to his 08 server files [also stickied]. Make sure you edit your ServerStatus.dbo in your database correctly for more information about that, follow my tutorial.
Have a look at his configuration files. They're perfectly fine.
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
Phoenix
Have a look at his configuration files. They're perfectly fine.
i want it on my vps >.<
not localhost that works fine
Re: can't connect to the server (still the same)
Why did you post your files with your local adress at some points then?
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
llMafiall
Why did you post your files with your local adress at some points then?
Because MONITORIP in the server.ini and MATCHSERVERADDRESS ip in the AgentConfig.xml always have to be 127.0.0.1. He shows "wan-ip" in the correct places.
Re: can't connect to the server (still the same)
Phoenix it works fine, if you also put your wan-ip in your AgentConfig.xml. And it's not my fault, take a look at his thread he only asked me how to fix the "Can't connect to the server" error.
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
llMafiall
Phoenix it works fine, if you also put your wan-ip in your AgentConfig.xml. And it's not my fault, take a look at his thread he only asked me how to fix the "Can't connect to the server" error.
The ADDRESS ip always has to be the WANIP and MATCHSERVERADDRESS ip has to be 127.0.0.1. Anyways, AgentConfig.xml shouldn't be a part of this issue anyways.
His server.ini is fine but he needs to port forward correctly.
Re: can't connect to the server (still the same)
I know, and i already told him he could find the solution on how to portforward by clicking on one of the links in my signature.
Re: can't connect to the server (still the same)
IIMAFIAII Pheonix is right you= wrong -.-
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
Phoenix
The ADDRESS ip always has to be the WANIP and MATCHSERVERADDRESS ip has to be 127.0.0.1. Anyways, AgentConfig.xml shouldn't be a part of this issue anyways.
His server.ini is fine but he needs to port forward correctly.
how can i portforward on my vps then?
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
jur13n
how can i portforward on my vps then?
Send the providers a ticket asking them to forward ports 5100,6000,6001,7700,7800,7777 and 8900 TCP/UDP.
Re: can't connect to the server (still the same)
Quote:
Originally Posted by
skywind
IIMAFIAII Pheonix is right you= wrong -.-
You don't even know what you are talking about. Nuff said trash.