First: You must have a master server! ! Assume D:\MirServer is the server!
In fact, one IP dual zone. It's just that the ID database is together. Save other character data. When combining the zone, just combine D:\MirServer\DBServer\FDB.
D:\MirServer\LoginSrv\IdDB two zones make one ID! But if you don’t sue others, you don’t know. Haha!
Let's get started! This is the ID data of my main server!
D:\MirServer\LoginSrv\!The main settings of this directory! The first one is my main area!
See you Title1 222.170.129.88 222.170.129.88 222.170.129.88:7100
Legend of Bu Er Title2 222.170.129.88 222.170.129.88 222.170.129.88:7101
The second is my partition. Different names. The area codes are different. Title2 mainly pays attention to the port behind. The character port must be changed to other unoccupied ports!
This is the number of people limits. Set the number of people yourself!
OK, the main server mainly changes these two files!
Step 2:
Sub-server main DBServer, RunGate, SelGate, Mir200
These four files. Set up DBServer first
D:\mirserver2\DBServer\! This file is the port behind the main server file
Just don't want the same thing, I changed it to 7203
D:\mirserver2\DBServer\ This file
ServerName=Buer Legend This is your server name
ServerAddr=222.170.129.88 IP does not need to be changed
ServerPort=6001 This is the separate server data port and the main server are separated. I changed it to 6001
MapFile=D:\mirserver2\Mir200\Envir\ This is a server map loading My server is a server2
ViewHackMsg=0
GateAddr=222.170.129.88 This IP does not need to be changed
GatePort=5101 I changed the login port to 5101
DynamicIPMode=0
DisableAutoGame=0
;Whether to back up the cleaned character data (1 is a backup, 0 is not a backup)
BackupClearData=1
;Whether the item is displayed at the viewing character data, and the magic name (1 is displayed, 0 is not displayed)
ShowItemName=0
DBName=HeroDB1 This is the database you divide the server to create a new database to D:\mirserver2\Mud2\DB
[Server]
IDSAddr=222.170.129.88 This does not need to be changed
IDSPort=5600 This is the data port of the connection ID. This does not need to be changed! Someone asked why he didn't change because he used the same data as the main server.
[DB]
dir=D:\mirserver2\DBServer\FDB\
IdDir=D:\mirserver2\DBServer\FDB\
HumDir=D:\mirserver2\DBServer\FDB\
FeeDir=D:\mirserver2\DBServer\FDB\
Backup=.\Backup\
connectDir=D:\mirserver2\DBServer\Connection\
LogDir=D:\mirserver2\DBServer\Log\
BackupDir=D:\mirserver2\DBServer\Backup\
ClearLogDir=D:\mirserver2\DBServer\ClearLog\
This miserver2 is my server! This is set up!
Step 3:
D:\mirserver2\Mir200\!
This file
ServerIndex=0
ServerName=Buer Legend This is the name of the server!
ServerNumber=1 This is changed to 1 If you have several areas, change it to several. For example, one machine in three zones will be changed to 2!
VentureServer=FALSE
DBAddr=222.170.129.88 Your IP
DBPort=6001 is the same as the DBS port!
IDSAddr=222.170.129.88 Your IP
IDSPort=5600 This doesn't need to be changed!
MsgSrvAddr=222.170.129.88 Your IP
MsgSrvPort=4901 This is changed to 4901 This does not correspond to it and can be changed to some of it!
LogServerAddr=222.170.129.88
LogServerPort=10000 This is log modification. If you are willing to change it, you can use the same log file if you do not change it!
DBName=HeroDB1 This is the same data as DBS set by our server!
GateAddr=222.170.129.88 This is the IP without changing
GatePort=5001 This connection is changed to the same as the gateway!
[Share]
BaseDir=D:\Mirserver2\Mir200\Share\ These are the directories for the servers! !
GuildDir=D:\Mirserver2\Mir200\GuildBase\Guilds\
GuildFile=D:\Mirserver2\Mir200\GuildBase\
VentureDir=D:\Mirserver2\Mir200\ShareV\
ConLogDir=D:\Mirserver2\Mir200\ConLog\
CastleDir=D:\Mirserver2\Mir200\Castle\
EnvirDir=D:\Mirserver2\Mir200\Envir\
MapDir=D:\Mirserver2\Mir200\Map\
NoticeDir=D:\Mirserver2\Mir200\Notice\
PlugDir=.\
LogDir=D:\Mirserver2\Mir200\Log\
CastleFile=D:\Mirserver2\Mir200\Castle\
D:\mirserver2\Mir200\! This is 7203 that is turning to DBS
Must correspond to DBS! The above are from MIR200!
Step 4:
D:\mirserver2\RunGate\
This file
RunGate settings for the server!
Title=RunGate
ServerAddr=222.170.129.88 IP does not need to be changed
ServerPort=5001 This corresponds to the mir200 above!
GateAddr=222.170.129.88 No need to change!
GatePort=7203 This corresponds to Servertable in MIR200 and Serverinfo in DBS!
SelGate settings for servers!
Title=Dragon
ServerAddr=222.170.129.88 No need to change
ServerPort=5101 corresponds to DBS!
GateAddr=222.170.129.88 No need to change
GatePort=7101 This port and D:\MirServer\LoginSrv\ in the main server!
correspond! This must be said!
After this, the setting is completed, if you don’t know how to add me QQ: 8338378