can't connect to the server (still the same)

Results 1 to 22 of 22
  1. #1
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

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


  2. #2
    Account Upgraded | Title Enabled! BGRick is offline
    MemberRank
    Oct 2010 Join Date
    The NetherlandsLocation
    437Posts

    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

  3. #3
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

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

  4. #4
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    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
    Spoiler:

    [SERVER]
    MAXUSER=300
    SERVERID=1
    SERVERNAME="RG Quest'N'Clan Server"
    FREELOGINIP="127.0.0.1"
    KEEPERIP="127.0.0.1"
    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
    Spoiler:

    [DB]
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="password"

    [NETWORK]
    IP="127.0.0.1"
    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
    Spoiler:

    <?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="127.0.0.1" tcpport="7777" udpport="5100"/>
    </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.
    Last edited by llMafiall; 17-12-10 at 01:32 AM.

  5. #5
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by llMafiall View Post
    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
    Spoiler:

    [SERVER]
    MAXUSER=300
    SERVERID=1
    SERVERNAME="RG Quest'N'Clan Server"
    FREELOGINIP="127.0.0.1"
    KEEPERIP="127.0.0.1"
    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
    Spoiler:

    [DB]
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="password"

    [NETWORK]
    IP="127.0.0.1"
    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
    Spoiler:

    <?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="127.0.0.1" tcpport="7777" udpport="5100"/>
    </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.

  6. #6
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by Phoenix View Post
    Have a look at his configuration files. They're perfectly fine.
    i want it on my vps >.<
    not localhost that works fine

  7. #7
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    Re: can't connect to the server (still the same)

    Why did you post your files with your local adress at some points then?

  8. #8
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by llMafiall View Post
    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.
    Last edited by Phoenix; 17-12-10 at 02:47 PM.

  9. #9
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    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.

  10. #10
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: can't connect to the server (still the same)

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

  11. #11
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    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.

  12. #12
    Account Upgraded | Title Enabled! skywind is offline
    MemberRank
    Nov 2010 Join Date
    239Posts

    Re: can't connect to the server (still the same)

    IIMAFIAII Pheonix is right you= wrong -.-

  13. #13
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by Phoenix View Post
    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?

  14. #14
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: can't connect to the server (still the same)

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

  15. #15
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by skywind View Post
    IIMAFIAII Pheonix is right you= wrong -.-
    You don't even know what you are talking about. Nuff said trash.

  16. #16
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by Phoenix View Post
    Send the providers a ticket asking them to forward ports 5100,6000,6001,7700,7800,7777 and 8900 TCP/UDP.
    i'll try ;)

    EDIT---

    after the message they told me no ports are blocked and they are all open!
    Last edited by jur13n; 17-12-10 at 05:09 PM.

  17. #17
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    Re: can't connect to the server (still the same)

    "odbc setup"? Show me your ServerStatus.dbo

  18. #18
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by llMafiall View Post
    "odbc setup"? Show me your ServerStatus.dbo
    id - 1
    ip - wan ip
    server name - RG Quest'N'Clan Server

  19. #19
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by jur13n View Post
    id - 1
    ip - wan ip
    server name - RG Quest'N'Clan Server
    So you did the odbc setup?

    dbo.ServerStatus
    Database, table

    1. Server ID = 1
    2. CurrPlayer = 1
    3. MaxPlayer = 500
    4. Time = 4/22/2010
    5. IP = yourwanip
    6. Port = 6000
    7. ServerName = YourServerName
    8. Opened = 1
    9. Type = 4

  20. #20
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by llMafiall View Post
    So you did the odbc setup?

    dbo.ServerStatus
    Database, table

    1. Server ID = 1
    2. CurrPlayer = 1
    3. MaxPlayer = 500
    4. Time = 4/22/2010
    5. IP = yourwanip
    6. Port = 6000
    7. ServerName = YourServerName
    8. Opened = 1
    9. Type = 4
    same as that.
    only max player is 300 >.<

  21. #21
    Account Upgraded | Title Enabled! llMafiall is offline
    MemberRank
    Dec 2009 Join Date
    SumwhereeLocation
    610Posts

    Re: can't connect to the server (still the same)

    you still didnt ask my question -__-

  22. #22
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: can't connect to the server (still the same)

    Quote Originally Posted by llMafiall View Post
    you still didnt ask my question -__-
    i did that..



Advertisement