|
you only to modify four place in the server ini files
the first place in accserver folder:
config.ini
Code:
[System]
LOGINLISTENPORT = 9958 (acc net port )
POINTLISTENPORT = 9865 (the port between the acc and the MSG )
SERVER_FULL_DELAY_SECS = 5000
SERVER_BUSY_DELAY_SECS = 3000
SERVERNAME = your server name (your cilent name must same with this name .or you cant land the game to the svr)
LOGINNAME = test
PASSWORD = test
SERVERIP = your ip address (the first place you have to modify if youy want to open you server to others)
[Database]
DBHOSTNAME=127.0.0.1 (no need to change)
DATABASENAME=my
DBUSER=test
DBPASSWORD=test
the second place in gameserver folder:
config.ini
Code:
; configure
[System]
SERVERNAME = your server name (your cilent name must same with this name .or you cant land the game to the svr)
MONSTER_ACTIVE_LIMIT = 4000
[GameServer]
GAMESERVER_IP = your ip address (the second place you have to modify if youy want to open you server to others)
GAMESERVER_PORT = 5816 (net port between you MSG and the cilent)
SND_SIZE = 64000
RCV_SIZE = 16000
[Database]
DB_IP = 127.0.0.1(no need to change)
DB_USER = test
DB_PW = test
DB_NAME = my
LOGIN_KEY = dfkKO23k'[cvK934
[InternetPort]
MASTER_IP = 127.0.0.1(no need to change)
MASTER_PORT = 8653(net port between the MSG and the NPC svr)
PORT_SIZE = 53
CURRENT_PORTID = 1
[BusySleep]
LEVEL1 = 20 ; > 1000 sleep 20%
LEVEL2 = 30 ; > 2000
LEVEL3 = 40 ; > 3000
LEVEL4 = 50 ; > 4000
LEVEL5 = 60 ; > 5000
the third place in gameserver folder:
shell.ini
Code:
; configure
; 2007.10.21
[System]
MAPGROUP_SIZE = 1
ACCEPT_MS = 5000
[StreamType]
TYPE = 0 ;0=in gear from SOCKET,1=SOCKET record to file, 2=from the file (only for the test in progam)
[Database]
DB_IP = 127.0.0.1(no need to change)
DB_USER = test
DB_PW = test
DB_DB = my
[AccountServer]
ACCOUNT_IP = your ip address (the second place you have to modify if youy want to open you server to others)
ACCOUNT_PORT = 9865(net port between the acc and the NPC svr)
SERVERNAME = your server name (your cilent name must same with this name .or you cant land the game to the svr)
LOGINNAME = test
PASSWORD = test
; landing size, 10-5000
MAXLOGINTABLESIZE=5000
; landovertime,0-86400
LOGINOVERTIMESECS=86400
LOGIN_KEY = dfkKO23k'[cvK934
[InternetPort]
MASTER_IP = 127.0.0.1 (no need to change)
MASTER_PORT = 8653
PORT_SIZE = 53
CURRENT_PORTID = 1
the forth place in accserver folder:
account.ini
Code:
[Account1]
SERVERNAME=your server name (your cilent name must same with this name .or you cant land the game to the svr)
LOGINNAME=test
PASSWORD=test
FREE_DEBUG=3
btw ,others configure file in accsvr folder you must to check ,here is it:
AuthorizeDB.Cfg:
Code:
127.0.0.1 test test account account name password id
count_stat server_name status
127.0.0.1 test 378b243e220ca493 account
gameserver.cfg:
Code:
1000 1 127.0.0.1 test test my
|