How can i add a second server to my client heres my configs
GameServer 2ed server
Config
Code:
E; 配置文件
[System]
SERVERNAME =ShadowLords(Low)
MONSTER_ACTIVE_LIMIT = 40000
[GameServer]
GAMESERVER_IP = 5.232.95.202
GAMESERVER_PORT =5817
SND_SIZE = 64000
RCV_SIZE = 16000
[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_NAME =my2
[InternetPort]
MASTER_IP = 5.232.95.202
MASTER_PORT = 8654
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 2
[BusySleep]
LEVEL1 = 20 ; > 1000 sleep 20%
LEVEL2 = 30 ; > 2000
LEVEL3 = 40 ; > 3000
LEVEL4 = 50 ; > 4000
LEVEL5 = 60 ; > 5000
Shell.dat
Code:
; 外壳配置文件
; 2002.10.23
[System]
MAPGROUP_SIZE = 1
ACCEPT_MS = 5000
[StreamType]
TYPE = 0 ;0=正常从SOCKET,1=SOCKET记录到文件, 2=从文件读(程序调试用)
[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_DB = my2
DB_NAME=my2
[AccountServer]
ACCOUNT_IP = 5.232.95.202
ACCOUNT_PORT =9865
SERVERNAME =ShadowLords(Low)
LOGINNAME =root
PASSWORD =test
; 登录表尺寸, 10-5000
MAXLOGINTABLESIZE=1500
; 登录表超时秒数,0-86400
LOGINOVERTIMESECS=120
[InternetPort]
MASTER_IP = 5.232.95.202
MASTER_PORT = 8654
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 1
All ports are changed for this and i want it to connect to my Acccount Server heres that configs
Account.config
Code:
[Account1]
SERVERNAME=ShadowLords
LOGINNAME=root
PASSWORD=test
FREE_DEBUG=3
[Account2]
SERVERNAME=ShadowLords(Low)
LOGINNAME=root
PASSWORD=test
FREE_DEBUG=3
Config
Code:
[System]
LOGINLISTENPORT = 9958
POINTLISTENPORT = 9865
SERVER_FULL_DELAY_SECS = 5000
SERVER_BUSY_DELAY_SECS = 3000
SERVERNAME =ShadowLords
LOGINNAME = root
PASSWORD = test
SERVERIP = 5.232.95.202
[Database]
DBHOSTNAME=127.0.0.1
DATABASENAME=my
DBUSER=root
DBPASSWORD=test
not to sure if im suppose to add a servername2 = "" so please help