Gonna take a break for a bit - here's what I have so far (replace WINDOWS with your windows IP and LINUX with the IP of your linux machine)
Gateserver.ini
ManagerServer.ini
LocalSaveServer.ini
server.ini
Also had to put an entry in my hosts file for ubuntu pointing at the Linux IP to make localsaveserver happy.
only error I have left is in the manageserver saying
apparently everything else is happy according to the logs - dunno if it works yet though, haven't got a client to try it out with gonna take a break.
Gateserver.ini
Code:
[Default] ManagerIP= [B]WINDOWS[/B] ManagerPort=21023 AuAgentIP= [B]LINUX[/B] AuAgentPort=29200 OnlineMax=5000 //本地监听端口为避免与服务端口冲突,使用30000以上端口 GatePort=30002 [LogServer] Port = 9008 ServerIP = [B]LINUX[/B]
Code:
[Default] LocalIP = 127.0.0.1 OnlineMax=2000 DefWallowOnlineTime = 10800 DefWallowOfflineTime = 18000 LootTimes=1.0 ExpTimes=1 [GameServer] Port = 20021 [DBServer] #ListenPort = 21022 TW #ListenPort = 21032 VN ListenPort = 21042 US [GateServer] Port = 30002 [LocalDBThread] #DBListenPort = 21024 TW #DBListenPort = 21034 VN DBListenPort = 21044 US LocalListenPort = 21023 [NameServer] ServerIP = [B]LINUX[/B] ServerPort = 50050 [LogServer] Port = 9008 ServerIP = [B]LINUX[/B] [ForbidServer] Port = 9009 ServerIP = [B]LINUX[/B] LocalPort = 9010 [DetectCheatServer] ServerIP = [B]LINUX[/B] ServerPort = 55000 [GACD] ServerIP = [B]LINUX[/B] ServerPort = 29702 [CardServer] ServerIP = [B]LINUX[/B] ServerPort = 10080
Code:
[Network] DBServerIP= [B]LINUX[/B] DBServerPort=21021 ManagerIP=[B]WINDOWS[/B] ManagerPort=21023 [Log] //日志等级 LogLevel=4 //各等级输出类型 Wrong=3 Warning=3 Normal=3 Debug=3 //共享内存 [SharedMem] //人数限制 BlockMax=3000 //保存间隔 SaveInterval=1000 //GS响应时间 ResponseInterval=10000 //共享内存块数量 SharedMemCount=4 SharedMemName1=Global\ShareMem1 SharedMemSize1=100 SharedMemName2=Global\ShareMem2 SharedMemSize2=100 SharedMemName3=Global\ShareMem3 SharedMemSize3=100 SharedMemName4=Global\ShareMem4 SharedMemSize4=100
Code:
[Default] Version=0 ManagerServerIP=[B]WINDOWS[/B] ManagerServerPort=21023 ListenGatePort=30002 LineID=4 ShowLoginIP=0 [LogServer] Port = 9008 ServerIP = [B]LINUX[/B] [SharedMem] SharedMemCount=1 SharedMemName1=Global\ShareMem1 SharedMemSize1=100
only error I have left is in the manageserver saying
Code:
2012-07-04 21:23:45 lv1:MS:socket err:10061 -- CKManagerServerConnector::OnError -- CTcpSocket::Connect -- ::connect function return SOCKET_ERROR