• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tutorial] Fix Your Cannot Access Server Problem!

Status
Not open for further replies.
Joined
Jan 21, 2009
Messages
579
Reaction score
89
Well I am bored of all those 'help cannot access problem!' threads. I will provide all the information in one place, and after this tutorial if you still get the problem we will solve this together.

1- Server and Client IP Configurations
  • Decompile your system.mrs edit system.xml with your own ip.
  • Open Server Files => Locator => Locator.ini and edit the IP="" line with your ip, don't edit anything else. So it should be something like this :

    Code:
    [DB]
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="yourpassword"
    
    [NETWORK]
    IP="YOUR IP HERE!"
    PORT="9500"
    
    [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" 
    ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
    ACCEPT_INVALID_IP="1"
    TEST_SERVER="0"
  • Open Server Files => MatchAgent => AgentConfig.xml and edit the IP addresses to your own. It should look like this:

    Code:
    <?xml version="1.0" encoding="euc-kr"?>
    <XML>
    <AGENTCONFIG>
    	<NAME>MatchServer</NAME>
    	<MAXCLIENT>5000</MAXCLIENT>
    	<MATCHSERVERADDRESS ip="YOUR IP HERE" tcpport="6000"/>
    	<ADDRESS ip="YOUR IP HERE" tcpport="7777" udpport="5100"/>
    </AGENTCONFIG>
    </XML>
  • Open Server Files => MatchServer => server.ini and MONITORIP to your own ip address. It should look like this:

    Code:
    [DB]
    
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="yourpass"
    
    [SERVER]
    MAXUSER=5000
    SERVERID=1
    SERVERNAME="One Gunz"
    SERVERPORT=6000
    SERVERUDPPORT=7777
    KEEPERIP="127.0.0.1"
    MONITORIP="YOUR IP HERE"
    MONITORPORT=9000
    MODE=test
    COUNTRY="BRZ"
    LANGUAGE="INTERNATIONAL"
    USETICKET="0"
    GAMEGUARD="0"
    ;Survival Mode : 1 for enable, 0 for disable (works only when MODE=test)
    SURVIVALENABLE="1"
    ;Daily request time for survival ranking list(hour:0~23, minute:0~59)
    SURVIVALRANKING_DAILY_REQUEST_HOUR="5"
    SURVIVALRANKING_DAILY_REQUEST_MINUTE="0"
    
    ;DuelTournament Mode : 1 for enable
    DUELTOURNAMENT_ENABLE="1"
    ;DuelTournament MatchMaker run every this time interval (in positive millisec)
    DUELTOURNAMENT_MATCHMAKING_INTERVAL = 1000
    ;DuelTournament MatchMaker match users have TP diffenrence less than this value. (must be positive)
    DUELTOURNAMENT_MATCHMAKING_ACCEPTABLE_TP_GAP = 30
    ;DuelTournament MatchMaker match a user waiting over this time with users have the most nearest TP (ignore TP GAP, value in positive millisec)
    DUELTOURNAMENT_MATCHMAKING_WAIT_LIMIT = 15000
    ;DuelTournament Service Time
    ;CAUTION! if END_TIME is n then this mode will opened until n:59.
    ;ex) all day open -> 0, 23
    ;ex) from 3 to 6 o'clock -> 3, 5
    ;ex) from 22 to next day 3 o'clock -> 22, 2
    DUELTOURNAMENT_SERVICE_START_TIME = 0
    DUELTOURNAMENT_SERVICE_END_TIME = 23
    
    SEND_LOGINUSER_TO_DUELTOURNAMENT_CHANNEL ="0"
    
    [BATTLETIMEREWARD]
    BATTLETIMEREWARD_REFRESH_INTERVAL="1"
    
    [FILTER]
    USE="0" 
    ACCEPT_INVALID_IP="1"
    
    [ENVIRONMENT]
    USE_HSHIELD="0"
    USE_XTRAP="0"
    USE_EVENT="1"
    USE_FILECRC="0"
    USE_MD5="0"
    USE_RESOURCECRC32CACHECKECK="0"
    BLOCK_FLOODING="1"
    USE_BLOCKHACKING="1" 
    USE_ITEM_CONSISTENCY="0"
    
    
    
    [KILLTRACKER]
    USE_KILLTRACKER="1"
    MAXKILLCOUNT_ON_TRACETIME="30"
    KILLCOUNT_TRACETIME="5"
    
    [POWERLEVELING]
    USE_POWERLEVELING_DB_BLOCK="1"
    POWERLEVELING_DB_BLOCKTIME="1"
    
    [LOOPLOG]
    USE_LOOPLOG="0"
    MAX_LOOP_TIME_GAP=100
  • Open your SQL Server , GunzDB => Tables => dbo.serverstatus and edit as follows;
    ServerID= 1
    CurrPlayer= 0
    MaxPlayer= 500
    Time= 11.03.2207 0:00:00
    IP= YOUR IP ADDRESS
    Port= 6000
    ServerName= Your Server Name
    Opened= 1
    Type=4 (this is quest. for clan put 3)

If you have done till here everything right, it should work. Sometimes when you create a new GuznDB and execute/restore GunzDB.sql / .bak there can be a lose of few procedures and that may cause the Cannot Access Server message.. So you have to download and execute them into your database.

If you still get this Ducking error please post your Match Server logs, I will do my best to fix it.
 
Junior Spellweaver
Joined
Dec 22, 2012
Messages
171
Reaction score
9
on Matchserver folder this is my logs
gameguard not running
Load XML from memory : strings.xml(0x0001) - SUCCESS
Load XML from memory : cserror.xml(0x0001) - SUCCESS
MDatabase::Connect - Data source name not found and no default driver specified

[04/25/13 21:46:40] Can't Connect To DBMS
 
Status
Not open for further replies.
Back
Top