dam so many .... this is all config files for win :
192.168.1.2 = win ip
192.168.1.3 = linux ip
Auagent.conf
Code:
[AuAgentServer]
zoneid = 904
aid = 9
type = tcp
port = 29250
address = 192.168.1.2
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
tcp_nodelay = 1
listen_backlog = 10
mtrace = /tmp/m_trace.link
[GameDBClient]
type = tcp
port = 29251
address = 192.168.1.3
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
tcp_nodelay = 1
listen_backlog = 10
mtrace = /tmp/m_trace.link
cashfile = C:\SERVER\cash_backup.data
[GAuthClient]
type = tcp
port = 29200
address = 192.168.1.3
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 819200
obuffermax = 819200
so_broadcast = 1
tcp_nodelay = 1
osec = 2
oseckey = rdppjtaki1MxoHnsnaltiiwfjszs9l
isec = 2
iseckey = n1hxpxztozyxnsvk6RaycpmrCnrdds
shared_key = 4khdwAAcjrg0eqfzazqcemdpgulnje
;if use certverify between au,1:use,0:not use,default use
issupport_cert = 0
[ThreadPool]
config = (1,1)(2,4)(3,2)
max_queuesize = 1048576
prior_strict = 0
[SpeedLimit]
window = 20
high = 2
[TimeoutLimit]
;window > 60
window = 180
high = 200
[CouponLimit]
;GetUserCoupon limit
window = 300
high = 2
[CouponExchangeLimit]
;CouponExchange limit
window = 120
high = 2
DetectCheatServer.ini
Code:
[DetectCheatServer]
ServerIP = 192.168.1.2
ServerPort = 55000
[LogServer]
ServerIP = 192.168.1.3
Port = 9008
Server.ini
Code:
[Default]
Version=0
ManagerServerIP=192.168.1.2
ManagerServerPort=20021
ListenGatePort=40003
LineID=2
ShowLoginIP=1
[LogServer]
ServerIP = 192.168.1.3
Port = 9008
[SharedMem]
SharedMemCount=1
SharedMemName1=Global\ShareMem1
SharedMemSize1=100
Managerserver.ini
Code:
[Default]
LocalIP = 127.0.0.1
OnlineMax=2000
DefWallowOnlineTime = 10800
DefWallowOfflineTime = 18000
LootTimes=99999999.0
ExpTimes=99999999.0
[GameServer]
ServerIP = 192.168.1.2
Port = 20021
[DBServer]
ServerIP = 192.168.1.3
#ListenPort = 21022 TW
#ListenPort = 21032 VN
ListenPort = 21042 US
[GateServer]
ServerIP = 192.168.1.2
Port = 21020
[LocalDBThread]
#DBListenPort = 21024 TW
#DBListenPort = 21034 VN
ServerIP = 192.168.1.3
DBListenPort = 21044 US
LocalListenPort = 21023
[NameServer]
ServerIP = 192.168.1.3
ServerPort = 50050
#ServerPort = 10080
[LogServer]
ServerIP = 192.168.1.3
Port = 9008
[DetectCheatServer]
ServerIP = 192.168.1.2
ServerPort = 55000
[GACD]
ServerIP = 192.168.1.3
ServerPort = 29705
[CardServer]
ServerIP = 192.168.1.3
ServerPort = 10080
Gateserver.ini
Code:
[Default]
ManagerIP=192.168.1.2
ManagerPort=21020
AuAgentIP=192.168.1.2
AuAgentPort=29250
OnlineMax=5000
//±¾µØ¼àÌý¶Ë¿ÚΪ±ÜÃâÓë·þÎñ¶Ë¿Ú³åÍ»£¬Ê¹ÓÃ30000ÒÔÉ϶˿Ú
GatePort=30002
[LogServer]
ServerIP = 192.168.1.3
Port = 9008
Localserver.ini
Code:
[Network]
DBServerIP=192.168.1.3
DBServerPort=21021
ManagerIP=192.168.1.2
ManagerPort=21023
[LogServer]
ServerIP = 192.168.1.3
Port = 9008
//ÈÕÖ¾µÈ¼¶
LogLevel=4
//¸÷µÈ¼¶Êä³öÀàÐÍ
Wrong=3
Warning=3
Normal=3
Debug=3
//ÈËÊýÏÞÖÆ
BlockMax=3000
//±£´æ¼ä¸ô
SaveInterval=1000
//GSÏìӦʱ¼ä
ResponseInterval=1000
//¹²ÏíÄÚ´æ¿éÊýÁ¿
//¹²ÏíÄÚ´æ
[SharedMem]
SharedMemCount=1
SharedMemName1=Global\ShareMem1
SharedMemSize1=100
Sharemembproc.ini
Code:
[Main]
SharedMemName1=Global\ShareMem1
SharedMemSize1=100