Оригинальный пакет сборки сервера Perfect World версии 1.4.5
09.03.2012 (last)
Также есть сборка сервера 1.4.5 чуть старше версией
09.03.2012 (last)
Также есть сборка сервера 1.4.5 чуть старше версией
Bash:
#! /bin/sh
rm -rf /root/logs/*
echo "服务器自动启动脚本"
#------------------------------------------------------------------------------------
cd /root/logservice
nohup ./logservice gamesys.conf >/dev/null 2>&1 &
sleep 2
echo "logservice服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/gamedbd
nohup ./gamedbd gamesys.conf >/dev/null 2>&1 &
sleep 2
echo "gamedbd服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/gdeliveryd
nohup ./gdeliveryd gamesys.conf >/root/logs/gdeliveryd.log 2>&1 &
sleep 2
echo "gdeliveryd服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/uniquenamed
nohup ./uniquenamed gamesys.conf >/root/logs/uniquenamed.log 2>&1 &
sleep 2
echo "uniquenamed服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/gfactiond
nohup ./gfactiond gamesys.conf >/root/logs/gfactiond.log 2>&1 &
sleep 2
echo "gfactiond服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/gacd
nohup ./gacd gamesys.conf >/root/logs/gacd.log 2>&1 &
sleep 1
echo "gacd服务进程启动完成"
#------------------------------------------------------------------------------------
cd /root/glinkd
nohup ./glinkd gamesys.conf 1 >/root/logs/glinkd.log 2>&1 &
sleep 1
echo "glinkd服务进程启动完成"
#------------------------------------------------------------------------------------
echo "基本服务进程启动完成"
echo "开始启动GS服务进程..."
#------------------------------------------------------------------------------------
cd /root/gamed
rm -rf /root/logs/gs01.log
nohup ./gs gs01>/root/logs/gs.log 2>&1 &
sleep 10
#------------------------------------------------------------------------------------
echo "完成启动..."
Внутри версии *.data такие:
- elements.data -ver 63 (CN)
- tasks.data - ver 102 (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 = UC2
table_charset = utf-8
pvp=1
battlefield=1
sellpoint=1
freecreatime=0
district_id=1
[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
[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
[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 = 2012-4-20-8
end_time = 2013-8-10-8
;消费1银元宝返1个积分
reward_type = (9900,20)(19900,50)(49900,150)(99900,350)
reward_time = (30,5)
[BattleBonus]
id = 11208
countoflevel1 = 150
countoflevel2 = 200
countoflevel3 = 300
maxcount = 50000
proctype = 0
specialid = 28350
countofspecial = 1
specialproctype = 0
maxcountofspecial = 999
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 = GBK
[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
[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
[ThreadPool]
threads = (0,1)(1,4)(100,1)(101,1)
max_queuesize = 1048576
prior_strict = 0
Bash:
[GLinkServer1]
type = tcp
port = 29000
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=10405
[GLinkServer2]
type = tcp
port = 29000
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=10405
[GLinkServer3]
type = tcp
port = 29000
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=10405
[GLinkServer4]
type = tcp
port = 29000
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=10405
[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
[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
View hidden content is available for registered users!
Последнее редактирование модератором: