以下教程建立的基础是 LOGIN 和game_server都已破解才能架设成功.
(注意:文件夹内已放破解后的GS和LOGIN)
http://ftp2-idc.pconline.com.cn/pub/download/ftpdown/gamepack/2009/0903/focus/ShumenOLv1296.exe
配套客服端下载地址 (建议使用WIN或XP默认下载方式,迅雷很有可能没有资源噢~)
服务端目录下的game.tgz解压文件名设置为game
140login-ss.rar解压
然后把140login-ss.rar目录下LOGIN文件夹放到game.tgz解压的目录下
现在game目录下有的文件是 DB,files,game,login files可以删掉不用
修改/game/db下的
run.sh
#!/bin/sh
cd /game/db
ulimit -c unlimited
rm *.pid -f
/game/db/guard -c /game/db/guard_user.ini
db_server_user.ini
注意:为了不出错 请使用统一IP
如果是虚拟机架设请填写内网IP 外网架设的话全部使用外网IP
数据库地址除外
[dbserver]
ListenIp = "192.168.1.200"
ListenPort = "9006"
[db_login]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_account"
UserName = "你的帐号"
Password = "你的密码"
[db_game]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_game"
UserName = "你的帐号"
Password = "你的密码"
[db_log]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_log"
UserName = "你的帐号"
Password = "你的密码"
guard_user.ini
[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
/game/game文件下的
guard_user.ini
[Guard]
ApplicationName="game_server"
ApplicationConfigName="server_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
server_user.ini
[client]
Capability = "2000"
UseGate = "false"
ListenIp = "192.168.1.200"
ListenPortal = "192.168.1.200"
ListenPort = "8886"
[login]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9002"
[game_db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[log_db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[server]
Description = "korean_test_server"
name = "玫粮"
location = "192.168.1.200"
Idx = 1
Order = 1
ListPv = 0
[anti_robot]
OpenFlag = "false"
ClientDetect = "false"
StartAuto = "false"
EctypeAskFlag = "false"
[licenseport]
port = 9101
[licenseserver]
sv1 = "192.168.1.200"
sv2 = "192.168.1.200"
sv3 = "192.168.1.200"
/game/login文件下的
guard_user.ini
[Guard]
ApplicationName="login_server"
ApplicationConfigName="login_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
login_user.ini
[list]
Capability = "3000"
ListenIp = "192.168.1.200"
ListenPort = "8888"
[user]
Capability = "2000"
ListenIp = "192.168.1.200"
ListenPortal = "192.168.1.200"
ListenPort = "8885"
StateLev1 = 500
StateLev2 = 1000
[server]
Capability = "64"
ListenIp = "192.168.1.200"
ListenPort = "9002"
[db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[billing]
use = false
ConnectIp = "192.168.1.200"
ConnectPort = "9020"
[guard]
Description = ""
GuardPort = "8002"
UseGuard = "false"
[Login]
Name="login_OPT"
Accept="a7aaaa"
[autostat]
Enable = false
[licenseport]
port = 9101
[licenseserver]
sv1 = "192.168.1.200"
sv2 = "192.168.1.200"
-----------------------------------------------------
然后启动
cd /game/db
./run.sh
cd /game/login
./run.sh
cd /game/game
./run.sh
启动完GAME的时候等待5分钟他才能连接上
开始会提示空连接 等5分钟就好了
(注意:文件夹内已放破解后的GS和LOGIN)
http://ftp2-idc.pconline.com.cn/pub/download/ftpdown/gamepack/2009/0903/focus/ShumenOLv1296.exe
配套客服端下载地址 (建议使用WIN或XP默认下载方式,迅雷很有可能没有资源噢~)
服务端目录下的game.tgz解压文件名设置为game
140login-ss.rar解压
然后把140login-ss.rar目录下LOGIN文件夹放到game.tgz解压的目录下
现在game目录下有的文件是 DB,files,game,login files可以删掉不用
修改/game/db下的
run.sh
#!/bin/sh
cd /game/db
ulimit -c unlimited
rm *.pid -f
/game/db/guard -c /game/db/guard_user.ini
db_server_user.ini
注意:为了不出错 请使用统一IP
如果是虚拟机架设请填写内网IP 外网架设的话全部使用外网IP
数据库地址除外
[dbserver]
ListenIp = "192.168.1.200"
ListenPort = "9006"
[db_login]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_account"
UserName = "你的帐号"
Password = "你的密码"
[db_game]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_game"
UserName = "你的帐号"
Password = "你的密码"
[db_log]
Server = "你的MYSQL地址"
Port = 3306
Database = "db_log"
UserName = "你的帐号"
Password = "你的密码"
guard_user.ini
[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
/game/game文件下的
guard_user.ini
[Guard]
ApplicationName="game_server"
ApplicationConfigName="server_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
server_user.ini
[client]
Capability = "2000"
UseGate = "false"
ListenIp = "192.168.1.200"
ListenPortal = "192.168.1.200"
ListenPort = "8886"
[login]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9002"
[game_db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[log_db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[server]
Description = "korean_test_server"
name = "玫粮"
location = "192.168.1.200"
Idx = 1
Order = 1
ListPv = 0
[anti_robot]
OpenFlag = "false"
ClientDetect = "false"
StartAuto = "false"
EctypeAskFlag = "false"
[licenseport]
port = 9101
[licenseserver]
sv1 = "192.168.1.200"
sv2 = "192.168.1.200"
sv3 = "192.168.1.200"
/game/login文件下的
guard_user.ini
[Guard]
ApplicationName="login_server"
ApplicationConfigName="login_user.ini"
GuardPort=9008
PublishServerIP="192.168.1.200"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1
login_user.ini
[list]
Capability = "3000"
ListenIp = "192.168.1.200"
ListenPort = "8888"
[user]
Capability = "2000"
ListenIp = "192.168.1.200"
ListenPortal = "192.168.1.200"
ListenPort = "8885"
StateLev1 = 500
StateLev2 = 1000
[server]
Capability = "64"
ListenIp = "192.168.1.200"
ListenPort = "9002"
[db]
BindIP = ""
BindPort = ""
ConnectIp = "192.168.1.200"
ConnectPort = "9006"
[billing]
use = false
ConnectIp = "192.168.1.200"
ConnectPort = "9020"
[guard]
Description = ""
GuardPort = "8002"
UseGuard = "false"
[Login]
Name="login_OPT"
Accept="a7aaaa"
[autostat]
Enable = false
[licenseport]
port = 9101
[licenseserver]
sv1 = "192.168.1.200"
sv2 = "192.168.1.200"
-----------------------------------------------------
然后启动
cd /game/db
./run.sh
cd /game/login
./run.sh
cd /game/game
./run.sh
启动完GAME的时候等待5分钟他才能连接上
开始会提示空连接 等5分钟就好了