3.0传奇真正的多机负载方法
时间:2007-02-17 来源:PHP爱好者
3.0传奇真正的多机负载方法把每个文件的配置写出来吧,会做的应该都看的懂了:
一. 主管登录和数据库的主机为(192.168.1.200)0号机.(192.168.1.142)为1号机.
1. !serverinfo.txt文件
192.168.1.200,61.153.193.94:7200
192.168.1.142,61.153.193.94:7201
2. !addrtable.txt文件
;Server Title Remote Public Gates...
未来之风 Line1-30 192.168.1.200 61.153.193.94 61.153.193.94:7100
3. !serveraddr.txt文件
192.168.1.200
192.168.1.200
192.168.1.200
192.168.1.142
192.168.1.200
4. !runaddr 0号机和1号机一样
192.168.1.200
192.168.1.142
5. !servertable0号机和1号机一样
0 61.153.193.94 7200
1 61.153.193.94 7201
6. !setup
[Server]
ServerIndex=0 *1号机这里改为1
ServerName=未来之风
VentureServer=FALSE
TestServer=false
TestLevel=1
TestGold=0
...........
7. 第一个mirgate
[server]
Color=LTGRAY
Title='GameServer Gate1'
ServerPort=5010
GatePort=7200
index=0
Server1=192.168.1.200
Server2=192.168.1.142
Server3=
Server4=
Server5=
第二个mirgate(你在0号机上再复制一个rungate目录)
[server]
Color=LTGRAY
Title='GameServer Gate1'
ServerPort=5010
GatePort=7201
index=0
Server1=192.168.1.142
Server2=
Server3=
Server4=
Server5=
上面这二个rungate都要在0号机上执行.这是区别于1.8版的地方.
8. mirgate
[server]
Color=Green
Title='SelChr Gate'
ServerPort=5100
GatePort=7100
index=0
Server1=192.168.1.200
Server2=192.168.1.142
Server3=
Server4=
Server5=
9. 修改地图文件
[0 比奇省 1] DAY horse
上面的1为1号服务器负担,改为0就是0号服务器负担
php爱好者站 http://www.phpfans.net PHP|MySQL|javascript|ajax|html.
一. 主管登录和数据库的主机为(192.168.1.200)0号机.(192.168.1.142)为1号机.
1. !serverinfo.txt文件
192.168.1.200,61.153.193.94:7200
192.168.1.142,61.153.193.94:7201
2. !addrtable.txt文件
;Server Title Remote Public Gates...
未来之风 Line1-30 192.168.1.200 61.153.193.94 61.153.193.94:7100
3. !serveraddr.txt文件
192.168.1.200
192.168.1.200
192.168.1.200
192.168.1.142
192.168.1.200
4. !runaddr 0号机和1号机一样
192.168.1.200
192.168.1.142
5. !servertable0号机和1号机一样
0 61.153.193.94 7200
1 61.153.193.94 7201
6. !setup
[Server]
ServerIndex=0 *1号机这里改为1
ServerName=未来之风
VentureServer=FALSE
TestServer=false
TestLevel=1
TestGold=0
...........
7. 第一个mirgate
[server]
Color=LTGRAY
Title='GameServer Gate1'
ServerPort=5010
GatePort=7200
index=0
Server1=192.168.1.200
Server2=192.168.1.142
Server3=
Server4=
Server5=
第二个mirgate(你在0号机上再复制一个rungate目录)
[server]
Color=LTGRAY
Title='GameServer Gate1'
ServerPort=5010
GatePort=7201
index=0
Server1=192.168.1.142
Server2=
Server3=
Server4=
Server5=
上面这二个rungate都要在0号机上执行.这是区别于1.8版的地方.
8. mirgate
[server]
Color=Green
Title='SelChr Gate'
ServerPort=5100
GatePort=7100
index=0
Server1=192.168.1.200
Server2=192.168.1.142
Server3=
Server4=
Server5=
9. 修改地图文件
[0 比奇省 1] DAY horse
上面的1为1号服务器负担,改为0就是0号服务器负担
php爱好者站 http://www.phpfans.net PHP|MySQL|javascript|ajax|html.
相关阅读 更多 +
排行榜 更多 +

<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />
飞行射击 下载
<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />
飞行射击 下载
<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />
飞行射击 下载- 4 <img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />下载73.78MB · 98℃
1970-01-01
- 5 <img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />下载43.7 MB · 90℃
1970-01-01
- 6 <img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />下载110.69MB · 95℃
1970-01-01