- Регистрация
- 3 Окт 2019
- Сообщения
- 11
- Реакции
- 21
Оригинальный пакет сборки сервера Perfect World версии 1.5.5
Bash:
#!/bin/sh
. './exec/common.inc.sh'
cd $this_dir
chmod 755 -R $this_dir/exec//
mkdir $Logs_Path
mkdir $Backup_Path
while true
do
echo $color_green
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "+"
echo "+ 完美世界游戏启动管理脚本"
echo "+"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "+"
echo "+ [1] 启动游戏所有进程"
echo "+"
echo "+ [2] 单独启动GS服务"
echo "+"
echo "+ [3] 单独启动城战服务"
echo "+"
echo "+ [4] 启动Jetty后台服务"
echo "+"
echo "+ [5] 启动Tomcat后台服务"
echo "+"
echo "+ [6] 启动监控进程"
echo "+"
echo "+ [7] 启动监控的守护服务"
echo "+"
echo "+ [8] 启动游戏DB备份进程"
echo "+"
echo "+ [9] 启动监控+守护+备份"
echo "+"
echo "+ [10] 启动远程DB备份进程"
echo "+"
echo "+"
echo "+ [11] 关闭游戏所有进程"
echo "+"
echo "+ [12] 关闭GS服务"
echo "+"
echo "+ [13] 关闭城战服务"
echo "+"
echo "+ [14] 关闭Jetty后台服务"
echo "+"
echo "+ [15] 关闭Tomcat后台服务"
echo "+"
echo "+ [16] 关闭监控进程的守护服务"
echo "+"
echo "+ [17] 关闭监控进程"
echo "+"
echo "+ [18] 关闭游戏DB备份"
echo "+"
echo "+ [19] 关闭远程DB备份"
echo "+"
echo "+ [20] 启用DB备份还原脚本"
echo "+"
echo "+ [21] 启用远程DB备份还原脚本"
echo "+"
echo "+ [22] 启用DB修复工具"
echo "+"
echo "+ [23] 重启AU服务"
echo "+"
echo "+ [24] 关闭监控+守护+备份"
echo "+"
echo "+ [25] 退出"
echo "+"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
date
showmsg "请输入你的选择,然后回车!"
read manage
echo $color_white
if [ "$manage" = '1' ]; then
echo -n "开始启动tomcat后台服务进程... "
rm -f $Tomcat_path/logs/*
cd $Tomcat_path/bin/
nohup ./startup.sh >$Logs_Path/startup.log 2>&1 &
sleep 3
echo "tomcat后台服务进程启动完成"
echo -n "正在启动Jetty管理后台... "
cd $Jetty_Path
nohup ./jetty > $Logs_Path/jetty.log 2>&1 &
sleep 3
echo "Jetty管理后台启动完成"
echo "开始启动基本服务进程... "
echo -n "启动Authd服务进程... "
cd $Authd_Path
nohup ./authd >$Logs_Path/authd.log 2>&1 &
sleep 3
echo "authd服务进程启动完成"
echo -n "启动logservice服务进程... "
cd $PwServer_Path/logservice
nohup ./logservice logservice.conf >$Logs_Path/logservice.log 2>&1 &
sleep 3
echo "logservice服务进程启动完成"
echo -n "启动uniquenamed服务进程... "
cd $PwServer_Path/uniquenamed
nohup ./uniquenamed gamesys.conf >$Logs_Path/uniquenamed.log 2>&1 &
sleep 3
echo "uniquenamed服务进程启动完成"
echo -n "启动gamedbd服务进程... "
cd $PwServer_Path/gamedbd
nohup ./gamedbd gamesys.conf >$Logs_Path/gamedbd.log 2>&1 &
sleep 4
echo "gamedbd服务进程启动完成"
echo -n "启动gdeliveryd服务进程... "
cd $PwServer_Path/gdeliveryd
nohup ./gdeliveryd gamesys.conf >$Logs_Path/gdeliveryd.log 2>&1 &
sleep 3
echo "gdeliveryd服务进程启动完成"
echo -n "启动gfactiond服务进程... "
cd $PwServer_Path/gfactiond
nohup ./gfactiond gamesys.conf >$Logs_Path/gfactiond.log 2>&1 &
sleep 3
echo "gfactiond服务进程启动完成"
cd $PwServer_Path/gacd
nohup ./gacd gamesys.conf >$Logs_Path/gacd.log 2>&1 &
sleep 3
echo "gacd服务进程启动完成"
echo -n "启动glinkd服务进程... "
cd $PwServer_Path/glinkd
nohup ./glinkd gamesys.conf 1 >$Logs_Path/glinkd.log 2>&1 &
sleep 3
echo "glinkd服务进程启动完成"
echo "延时6秒... "
sleep 6
echo "基本服务进程启动完成"
echo -n "开始启动GS服务进程... "
cd $PwServer_Path/gamed
nohup ./gs gs01 >$Logs_Path/gs01.log 2>&1 &
echo "GS服务进程启动完成"
echo "延时15秒... "
sleep 15
elif [ "$manage" = '2' ]; then
echo "开始启动GS服务进程..."
cd $PwServer_Path
nohup ./gs gs01 >$Logs_Path/gs01.log 2>&1 &
echo "延时15秒..."
sleep 15
echo "GS服务进程启动完成"
echo "GS服务进程启动完成"
elif [ "$manage" = '3' ]; then
echo " 启动城战地图。。。请稍等。。。"
cd $PwServer_Path
nohup ./gs bg01 >$Logs_Path/bg01.log 2>&1 &
sleep 2
nohup ./gs bg02 >$Logs_Path/bg02.log 2>&1 &
sleep 2
nohup ./gs bg03 >$Logs_Path/bg03.log 2>&1 &
sleep 2
nohup ./gs bg04 >$Logs_Path/bg04.log 2>&1 &
sleep 2
nohup ./gs bg05 >$Logs_Path/bg05.log 2>&1 &
sleep 2
nohup ./gs bg06 >$Logs_Path/bg06.log 2>&1 &
sleep 2
echo "延时15秒..."
sleep 15
echo "城战地图启动完成"
elif [ "$manage" = '4' ]; then
echo -n "正在启动Jetty管理后台... "
cd $Jetty_Path
nohup ./jetty > $Logs_Path/jetty.log 2>&1 &
sleep 2
echo "Jetty管理后台启动完成"
elif [ "$manage" = '5' ]; then
echo -n "开始启动tomcat后台服务进程"
rm -f $Tomcat_path/logs/*
cd $Tomcat_path/bin/
nohup ./startup.sh >$Logs_Path/startup.log 2>&1 &
echo "tomcat后台服务进程启动完成"
elif [ "$manage" = '6' ]; then
echo -n "开始启动监控进程..."
cd /root
nohup ./monitor.sh >$Logs_Path/monitor.log 2>&1 &
sleep 3
echo "监控进程启动完成"
elif [ "$manage" = '7' ]; then
echo -n "开始启动监控进程的守护服务..."
cd /root
nohup ./exec/protect.sh >$Logs_Path/protect.log 2>&1 &
sleep 3
echo "监控进程的守护服务启动成功"
elif [ "$manage" = '8' ]; then
echo "开始启动游戏数据备份进程..."
cd /root
nohup ./exec/backup.sh >$Logs_Path/backup.log 2>&1 &
sleep 5
echo "游戏数据备份进程启动成功"
elif [ "$manage" = '9' ]; then
echo -n "开始启动游戏数据备份进程... "
cd /root
nohup ./exec/backup.sh >$Logs_Path/backup.log 2>&1 &
sleep 5
echo "游戏数据备份进程启动成功"
echo -n "开始启动监控进程... "
cd /root
nohup ./exec/monitor.sh >$Logs_Path/monitor.log 2>&1 &
sleep 3
echo "监控进程启动成功"
echo -n "开始启动监控进程的守护服务... "
cd /root
nohup ./exec/protect.sh >$Logs_Path/protect.log 2>&1 &
sleep 3
echo "监控进程的守护服务启动成功"
elif [ "$manage" = '10' ]; then
echo -n "开始启动远程DB备份进程... "
cd /root
nohup ./exec/romote_backup.sh >$Logs_Path/romote_backup.log 2>&1 &
sleep 3
echo "远程DB备份进程启动完成"
elif [ "$manage" = '11' ]; then
echo ""
echo "关闭游戏服务器... 请稍等..."
echo -n "关闭守护进程监控服务... "
killall -9 protect.sh
echo "守护进程监控服务已关闭"
echo -n "关闭游戏服务守护进程... "
killall -9 monitor.sh
echo "游戏服务守护进程已关闭"
echo -n "关闭游戏数据备份进程... "
killall -9 backup.sh
echo "游戏数据备份进程已关闭"
echo -n "关闭tomcat后台服务... "
killall -9 java
echo "后台管理服务已关闭"
echo -n "关闭衔接服务... "
killall -9 authd
echo "衔接服务已关闭"
echo -n "关闭登录服务... "
killall -9 glinkd
echo "登录服务已关闭"
echo -n "关闭唯一服务... "
killall -9 uniquenamed
echo "唯一服务已关闭"
echo -n "关闭数据服务... "
killall -9 gamedbd
echo "数据服务已关闭"
echo -n "关闭标识服务... "
killall -9 gdeliveryd
echo "标识服务已关闭"
echo -n "关闭帮派服务... "
killall -9 gfactiond
echo "帮派服务已关闭"
echo -n "关闭管理服务... "
killall -9 gacd
echo "管理服务已关闭"
echo -n "关闭地图服务... "
killall -9 gs
echo "地图服务已关闭"
echo -n "开始清理LOG文件... "
killall -9 logservice
rm $Logs_Path/*
echo "LOG文件清理完成"
echo ""
echo "游戏服务器关闭完成"
elif [ "$manage" = '12' ]; then
echo -n "关闭GS地图服务... "
killall -9 gs
echo "地图服务已关闭"
elif [ "$manage" = '13' ]; then
echo -n "关闭城战地图服务... "
killall -9 gs
echo "城战地图服务已关闭"
elif [ "$manage" = '14' ]; then
echo -n "正在关闭Jetty后台服务.... "
killall -9 java
echo "Jetty后台服务关闭完成"
elif [ "$manage" = '15' ]; then
echo -n "正在关闭Tomcat后台服务... "
cd $Tomcat_path/bin/
./shutdown.sh
echo "Tomcat后台服务关闭完成"
elif [ "$manage" = '16' ]; then
echo -n "关闭守护进程监控服务... "
killall -9 protect.sh
echo "守护进程监控服务已关闭"
elif [ "$manage" = '17' ]; then
echo -n "关闭游戏服务守护进程... "
killall -9 monitor.sh
echo "游戏服务守护进程已关闭"
elif [ "$manage" = '18' ]; then
echo -n "关闭游戏数据备份进程... "
killall -9 backup.sh
echo "游戏数据备份进程已关闭"
elif [ "$manage" = '19' ]; then
echo -n "关闭远程DB备份进程..."
killall -9 romote_backup.sh
echo "远程DB备份进程关闭完成"
elif [ "$manage" = '20' ]; then
echo "开始解压还原DB备份数据"
echo "正在解压gamedbd_dbdata..."
tar xvfz $Backup_Path/gamedbd_dbdata.tar.gz
sleep 2
echo "正在解压gamedbd_dblogs..."
tar xvfz $Backup_Path/gamedbd_dblogs.tar.gz
sleep 2
echo "正在解压uniquenamed_dbdata..."
tar xvfz $Backup_Path/uniquenamed_dbdata.tar.gz
sleep 2
echo "正在解压uniquenamed_dblogs..."
tar xvfz $Backup_Path/uniquenamed_dblogs.tar.gz
sleep 2
echo "DB备份数据解包完成"
elif [ "$manage" = '21' ]; then
echo "DB远程备份数据解压还原脚本"
echo "开始设置配置文件..."
cp $Authd_Path/table_1.xml /etc/table.xml
sleep 3
echo "开始删除旧的DB数据..."
rm $DB_Path/*
sleep 3
rm $UM_Path/*
sleep 3
echo "旧DB删除完成"
echo "开始解压还原游戏数据"
cd $this_dir
echo "正在解压gamedbd_dbdata..."
tar xvfz $Romote_Backup_Path/gamedbd_dbdata.tar.gz
sleep 3
echo "正在解压gamedbd_dblogs..."
tar xvfz $Romote_Backup_Path/gamedbd_dblogs.tar.gz
sleep 3
echo "正在解压uniquenamed_dbdata..."
tar xvfz $Romote_Backup_Path/uniquenamed_dbdata.tar.gz
sleep 3
echo "正在解压uniquenamed_dblogs..."
tar xvfz $Romote_Backup_Path/uniquenamed_dblogs.tar.gz
sleep 3
echo "DB远程备份数据解包完成"
elif [ "$manage" = '22' ]; then
echo "DB修复脚本"
mkdir -p $DBRepair_Path
mkdir -p $UMRepair_Path
cd $this_dir
echo "数据全部修复完成大约要"$((repairtime*28/60))"分钟"
echo ""
echo "开始修复gamedb..."
./dbtool -r -s $DB_Path/auction -d $DBRepair_Path/auction
sleep $repairtime
./dbtool -r -s $DB_Path/base -d $DBRepair_Path/base
sleep $repairtime
./dbtool -r -s $DB_Path/city -d $DBRepair_Path/city
sleep $repairtime
./dbtool -r -s $DB_Path/clsconfig -d $DBRepair_Path/clsconfig
sleep $repairtime
./dbtool -r -s $DB_Path/config -d $DBRepair_Path/config
sleep $repairtime
./dbtool -r -s $DB_Path/equipment -d $DBRepair_Path/equipment
sleep $repairtime
./dbtool -r -s $DB_Path/factioninfo -d $DBRepair_Path/factioninfo
sleep $repairtime
./dbtool -r -s $DB_Path/factionname -d $DBRepair_Path/factionname
sleep $repairtime
./dbtool -r -s $DB_Path/friends -d $DBRepair_Path/friends
sleep $repairtime
./dbtool -r -s $DB_Path/gtask -d $DBRepair_Path/gtask
sleep $repairtime
./dbtool -r -s $DB_Path/inventory -d $DBRepair_Path/inventory
sleep $repairtime
./dbtool -r -s $DB_Path/mailbox -d $DBRepair_Path/mailbox
sleep $repairtime
./dbtool -r -s $DB_Path/messages -d $DBRepair_Path/messages
sleep $repairtime
./dbtool -r -s $DB_Path/order -d $DBRepair_Path/order
sleep $repairtime
./dbtool -r -s $DB_Path/rolename -d $DBRepair_Path/rolename
sleep $repairtime
./dbtool -r -s $DB_Path/sellpoint -d $DBRepair_Path/sellpoint
sleep $repairtime
./dbtool -r -s $DB_Path/shoplog -d $DBRepair_Path/shoplog
sleep $repairtime
./dbtool -r -s $DB_Path/status -d $DBRepair_Path/status
sleep $repairtime
./dbtool -r -s $DB_Path/storehouse -d $DBRepair_Path/storehouse
sleep $repairtime
./dbtool -r -s $DB_Path/task -d $DBRepair_Path/task
sleep $repairtime
./dbtool -r -s $DB_Path/translog -d $DBRepair_Path/translog
sleep $repairtime
./dbtool -r -s $DB_Path/user -d $DBRepair_Path/user
sleep $repairtime
./dbtool -r -s $DB_Path/userfaction -d $DBRepair_Path/userfaction
sleep $repairtime
./dbtool -r -s $DB_Path/waitdel -d $DBRepair_Path/waitdel
sleep $repairtime
echo ""
echo "开始修复uniquenamed数据库..."
./dbtool -r -s $UM_Path/config -d $UMRepair_Path/config
sleep $repairtime
./dbtool -r -s $UM_Path/uidrole -d $UMRepair_Path/uidrole
sleep $repairtime
./dbtool -r -s $UM_Path/unamefaction -d $UMRepair_Path/unamefaction
sleep $repairtime
./dbtool -r -s $UM_Path/unamerole -d $UMRepair_Path/unamerole
sleep $repairtime
echo ""
echo "所有数据已修复完成"
echo ""
echo "开始替换损坏数据..."
cp $DBRepair_Path $DB_Path
sleep 15
cp $UMRepair_Path $UM_Path
sleep 15
echo "替换完成"
elif [ "$manage" = '23' ]; then
killall -9 protect.sh
sleep 1
killall -9 monitor.sh
sleep 1
killall -9 backup.sh
sleep 1
ps -aux |grep protect.sh
sleep 1
ps -aux |grep monitor.sh
sleep 1
ps -aux |grep backup.sh
sleep 1
killall -9 authd
sleep 3
killall -9 authd
sleep 3
killall -9 authd
sleep 3
ps -aux |grep authd
sleep 3
killall -9 authd
sleep 3
killall -9 java
sleep 1
killall -9 java
sleep 1
killall -9 java
sleep 1
ps -aux |grep java
sleep 3
ps -aux |grep authd
sleep 3
echo -n "启动Authd服务进程... "
cd $Authd_Path
nohup ./authd >$Logs_Path/authd.log 2>&1 &
sleep 3
echo "authd服务进程启动完成"
echo -n "开始启动tomcat后台服务进程... "
rm -f $Tomcat_path/logs/*
cd $Tomcat_path/bin/
nohup ./startup.sh >$Logs_Path/startup.log 2>&1 &
sleep 3
echo "tomcat后台服务进程启动完成"
echo -n "正在启动Jetty管理后台... "
cd $Jetty_Path
nohup ./jetty > $Logs_Path/jetty.log 2>&1 &
sleep 3
echo "Jetty管理后台启动完成"
echo -n "开始启动游戏数据备份进程... "
cd $this_dir
nohup ./exec/backup.sh >$Logs_Path/backup.log 2>&1 &
sleep 5
echo "游戏数据备份进程启动完成"
echo -n "开始启动游戏服务守护进程... "
cd $this_dir
nohup ./exec/monitor.sh >$Logs_Path/monitor.log 2>&1 &
sleep 3
echo "游戏服务守护进程启动完成"
echo -n "开始启动守护进程的监控服务... "
cd $this_dir
nohup ./exec/protect.sh >$Logs_Path/protect.log 2>&1 &
sleep 3
echo "守护进程的监控服务启动完成"
elif [ "$manage" = '24' ]; then
killall -9 protect.sh
sleep 1
killall -9 monitor.sh
sleep 1
killall -9 backup.sh
sleep 1
ps -aux |grep protect.sh
sleep 1
ps -aux |grep monitor.sh
sleep 1
ps -aux |grep backup.sh
sleep 1
elif [ "$manage" = '25' ]; then
exit;
fi
done
Внутри версии *.data такие:
- elements.data -ver 156 (CN)
- tasks.data - ver 128 (CN)
Bash:
[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[Intervals]
;set accounting interval,unit is second
account_interval = 600
;set delrole interval,unit is second
delrole_interval = 60
;set check forbidlogin user's map interval,unit is second
checkforbidlogin_interval = 60
[GDeliveryServer]
zoneid=1
aid=1
freeaid=1
zondname = zone1
max_player_num = 6000
type = tcp
port = 29100
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
listen_backlog = 10
accumulate = 1048576
mtrace = /tmp/m_trace.link
table_name = filters
name_charset = GB2312
;table_charset = UCS2
table_charset=UCS2
pvp=1
battlefield=1
sellpoint=0
freecreatime=0
district_id=districtzone
recalloldplayer=0
lan_ip_list=127.0.0.1
is_central_ds=false
max_login_wait_num=2000
forbid_cross=0
carnival_count=1
battle_time_mode=0
[GAuthClient]
type = tcp
port = 29200
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 131072
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 131072
isec = 2
iseckey = baxixD0awqydOtrxjxr8uhzaslmnqh
osec = 2
oseckey = baxiykbpn3fxLqpsdpiodI4iazqjdl
shared_key = baxiIvunkjfjlj0Ckgxzzdfpess5vw
au_cert = false
[GProviderServer]
id = 0
type = tcp
port = 29300
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[UniqueNameClient]
type = tcp
port = 29401
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = baxiyEwt4fuqrysyoylfy7Fxbmhobo
;osec = 2
;oseckey = baxitf91jvrQarnjwbyvlcdxqdvuqp
[GameDBClient]
type = tcp
port = 29400
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[GAntiCheatClient]
type = tcp
port = 29702
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[GFactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
[ConsumeReward]
open = 1
begin_time = 2013-12-11-12
end_time = 2013-12-25-0
reward_type = (5000,1000)(10000,2000)(20000,4000)(50000,10000)(100000,20000)(500000,100000)
;消费1银元宝返1个积分
reward_time = (1,1)
[GWebTradeClient]
type = tcp
port = 29209
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
tcp_nodelay = 0
accumulate = 268435456
isec = 2
iseckey = ed3aL0iigypkvjjtclniqwomuWmajguk
osec = 2
oseckey = taaprYnuYabhjgrvwa89dhhecgkwifjd
ibuffermax=1638400
obuffermax=1638400
[BattleBonus]
id = 36907
countoflevel1 = 3
countoflevel2 = 4
countoflevel3 = 6
maxcount = 50000
proctype = 0
specialid = 28350
countofspecial = 1
specialproctype = 0
maxcountofspecial = 999
[GameTalkClient]
type = tcp
port = GAMETALKCLIENTPORT
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
tcp_nodelay = 0
accumulate = 268435456
isec = 2
iseckey = E5nawckJbyjjg8ehwselue9llxjkmrso
osec = 2
oseckey = xobBkvxnulzwn8eeAzdf8srgthutwqoG
[SNSClient]
type = tcp
port = SNSCLIENTPORT
address = SNSCLIENTADDRESS
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
tcp_nodelay = 0
accumulate = 268435456
[COUNTRYBATTLE]
occupation0 = 1.05;0.4;1.4;1.2;0;1.2
occupation1 = 1;0.4;1;1;0;1
occupation2 = 1;0.4;1;1;0;1
occupation3 = 1.1;0.4;1.2;1.2;0;1.2
occupation4 = 1.1;0.4;1.5;1.2;0;1.2
occupation5 = 1;0.4;1;1;0;1
occupation6 = 1;0.4;1;1;0;1
occupation7 = 1.05;0.4;1.5;1.1;0;1.1
occupation8 = 1.1;0.4;1.2;1;0;1.2
occupation9 = 1.05;0.4;1.2;1.2;0;1.2
score_limit = 0.3
win_count_limit = 1
death_count_limit = 5
total_bonus = 85000
is_countrybattle_open=1
combat_time_limit=300
contribute_val_limit=10
kingelection_open=0
open_day=0,5
occupation10=1.1;0.4;1.1;1.1;0;1.1
occupation11=1.1;0.4;1.1;1.1;0;1.1
[CentralDeliveryServer]
type = tcp
port = 29101
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
listen_backlog = 10
accumulate = 268435456
isec = 2
iseckey = z4V8NNoe9WLLpszLgbfRG4QYlcxYA1HX
osec = 2
oseckey = VsVx38B2UdBat0JyZMftEViQXDClu98g
accepted_zone_list = DS_ZONE_LIST
[CentralDeliveryClient]
type = tcp
port = 29101
address = CENTRAL_DS_ADDRSS
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
isec = 2
iseckey = VsVx38B2UdBat0JyZMftEViQXDClu98g
osec = 2
oseckey = z4V8NNoe9WLLpszLgbfRG4QYlcxYA1HX
[TANKBATTLE]
is_tankbattle_open=0
open_day = 4
start_time = 19:00
end_time = 20:00
min_time = 20
max_time = 30
no_new_battle_time = 15
cant_enter_time = 2
max_player = 100
bonus_item_id=41074
bonus_proctype=16403
bonus_max_count=10000
bonus_count=(1,50)(2,25)(3,20)(4,18)(5,16)(6,14)(7,13)(8,12)(9,11)(10,10)(20,9)(30,8)(40,7)(50,6)(100,5)(200,4)(1000,2)(99999999,1)
[FACTIONRESOURCEBATTLE]
is_factionresourcebattle_open = 1
open_day = 3
start_time = 20:00
end_time = 21:00
bonus_item_id = 43573
bonus_proctype = 16403
bonus_max_count = 2000
[MNFBATTLE]
apply_begin_time = [4]12:00:00
apply_end_time = [4]24:00:00
cross_begin_time = [6]19:30:00
battle_begin_time = [6]20:00:00
battle_end_time = [6]22:00:00
credit_a = 40
credit_b = 10
credit_c = 10
domain_count_lvl1=3
domain_count_lvl2=9
domain_count_lvl3=12
max_apply_faction_num=2
bonus_item_a=48097:4:999:16403
bonus_item_b=48097:1:999:16403
bonus_item_c=48097:1:999:16403
bonus_item_master=28350:3:999:0
is_mnfbattle_open=1
[CARNIVAL_0]
type = 3
begin_time = 19:40:00
end_time = 20:00:00
open_day = 4->-1
Bash:
[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[GFactionServer]
type = tcp
port = 29500
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
listen_backlog = 10
accumulate = 1048576
sender_interval = 100000
accumu_packets = 4000
mtrace = /tmp/m_trace.link
table_name = filters
name_charset=GB2312
table_charset=UCS2
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
is_central_faction=false
[GProviderServer]
id = 101
type = tcp
port = 29600
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 1048576
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
[UniqueNameClient]
type = tcp
port = 29401
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = baxiyEwt4fuqrysyoylfy7Fxbmhobo
;osec = 2
;oseckey = baxitf91jvrQarnjwbyvlcdxqdvuqp
[GFactionDBClient]
type = tcp
port = 29400
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 1048576
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
[ThreadPool]
threads = (0,1)(1,4)(100,1)(101,1)
max_queuesize = 1048576
prior_strict = 0
Bash:
[GLinkServer1]
type = tcp
port = 22401
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer2]
type = tcp
port = 22402
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer3]
type = tcp
port = 22403
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer4]
type = tcp
port = 22404
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer5]
type = tcp
port = 29004
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer6]
type = tcp
port = 29005
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
[GLinkServer7]
type = tcp
port = 29006
address = 0.0.0.0
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version=10505
link_type = 2
[GDeliveryClient]
type = tcp
port = 29100
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer1]
type = tcp
port = 29301
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer2]
type = tcp
port = 29302
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer3]
type = tcp
port = 29303
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer4]
type = tcp
port = 29304
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer5]
type = tcp
port = 29305
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer6]
type = tcp
port = 29306
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GProviderServer7]
type = tcp
port = 29307
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
accumulate = 268435456
[GFactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1638400
obuffermax = 1638400
tcp_nodelay = 0
accumulate = 268435456
[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 65536
obuffermax = 1048576
accumulate = 1048576
[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 65536
obuffermax = 1048576
accumulate = 1048576
[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
Последнее редактирование модератором: