Legend, one IP address, two playzones

Source: Internet
Author: User

First, you must have a master server !! Assume that D: \ MirServer is on the server!

In fact, a dual-zone IP address. It's just that the ID database is all in one. Data of other characters is stored separately. Only D: \ MirServer \ DBServer \ FDB can be integrated during the merging.
D: \ MirServer \ LoginSrv \ IdDB make an ID! But you don't know if you don't tell others!

Start! This is the ID of my master server!
D: \ MirServer \ LoginSrv \! Addrtable.txt directory is mainly set! The first is my main zone!
Dissembling Title1 222.170.129.88 222.170.129.88 222.170.129.88: 7100
Legend: Title2 222.170.129.88 222.170.129.88 222.170.129.88: 7101
The second is my partition. Different names. The area code is different from Title2. The main note is the port at the back. The character port must be changed to another unused port!
This is a different number of people. Set the number of people!
Now, the master server mainly changes these two files!
Step 2:
Main sub-servers: DBServer, RunGate, SelGate, and Mir200

These four files. Set DBServer first
D: \ mirserver2 \ DBServer \! Serverinfo.txt is the same as the file on the master server.

I changed it to 7203.
D: \ mirserver2 \ DBServer \ dbsrc. ini file
ServerName = no legend
ServerAddr = 222.170.129.88 IP address does not need to be changed
ServerPort = 6001 this is separated by the server data port and the master server. Change to 6001
MapFile = D: \ mirserver2 \ Mir200 \ Envir \ MapInfo.txt this is a sub-server map to load my sub-server is mirserver2
ViewHackMsg = 0
GateAddr = 222.170.129.88 this IP address does not need to be changed
GatePort = 5101 This login port I changed to 5101
DynamicIPMode = 0
DisableAutoGame = 0
; Whether to back up the cleaned data (1 is backup, 0 is not backup)
BackupClearData = 1
; Whether to display the item and magic name in the person data area (1 is displayed, 0 is not displayed)
ShowItemName = 0
DBName = HeroDB1 this is the database of your sub-server to create a database only to D: \ mirserver2 \ Mud2 \ DB
[Server]
IDSAddr = 222.170.129.88.
IDSPort = 5600 this is the data port of the connection ID. Do not change this! Someone asked why he didn't change it because he and the master server use the same data!

[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 mirserver2 is my sub-server! This setting is complete!

Step 3:
D: \ mirserver2 \ Mir200 \! Setup.txt
This file
ServerIndex = 0
ServerName = no legend. This is the name of the sub-server!
Change "ServerNumber = 1" to "1". You can change the number of zones to a few. For example, if there is one machine in zone 3, it will be changed to 2!
VentureServer = FALSE
DBAddr = 222.170.129.88 your IP address
DBPort = 6001 is the same as the DBS port!
IDSAddr = 222.170.129.88 your IP address
IDSPort = 5600. Do not change this!
MsgSrvAddr = 222.170.129.88 your IP address
MsgSrvPort = 4901 this is changed to 4901 this does not correspond to change to a few can!
LogServerAddr = 222.170.129.88
LogServerPort = 10000 this is a log file. You can use the same log file if you want to change the log file!
DBName = HeroDB1 this is the data of the sub-server set by our portal. It is the same as DBS!
GateAddr = 222.170.129.88. This IP address does not need to be changed.
GatePort = 5001 the connection 7200 gateway is changed to the same as the gateway!
[Share]
BaseDir = D: \ Mirserver2 \ Mir200 \ Share \ these are sub-server directories !!
GuildDir = D: \ Mirserver2 \ Mir200 \ GuildBase \ Guilds \
GuildFile = D: \ Mirserver2 \ Mir200 \ GuildBase \ Guildlist.txt
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 \ List.txt

D: \ mirserver2 \ Mir200 \! Servertable.txt: This is the 7203 switch to DBS.
Must match DBS! These are from MIR200!

Step 4:
D: \ mirserver2 \ RunGate \ Config. ini
This file
Shard server RunGate settings!
Title = RunGate
ServerAddr = 222.170.129.88 IP address does not need to be changed
ServerPort = 5001, which corresponds to the mir200 above!
GateAddr = 222.170.129.88. Do not change it!
GatePort = 7203 corresponds to Servertable in MIR200 and serverinfo in DBS!

SelGate settings on the sub-server!
Title = Dragon
ServerAddr = 222.170.129.88 no need to change
ServerPort = 5101 corresponds to dbsrc. ini in DBS!
GateAddr = 222.170.129.88 no need to change
GatePort = 7101 this port and D: \ MirServer \ LoginSrv \ In the master server \! Addrtable.txt
Corresponding! This is mandatory!
Once this is done, I cannot add QQ: 8338378.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.