【登录】 【注册】
进入此贴详细完整版>> 蜀门单机架设教程中华游戏网 > 单机游戏交流

主题:蜀门单机架设教程
作者:十方破沙羅
时间:2010-05-01 14:14

以下教程建立的基础是 LOGIN 和game_server都已破解才能架设成功.
(注意:文件夹内已放破解后的GS和LOGIN)
服务端目录下的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"
Start
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

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分钟就好了




本贴原创作者未知.......我看见网游单机板块有蜀门服务端..但是没教程(服务端内附教程太简单了..肯定难以架设成功)...肯定很多人架设不起来....所以在这里发个教程


1楼:128zhef3l(2011-03-20 18:48)

看上去蛮全的看上去蛮全的
2楼:taurus8425(2011-03-31 14:26)

收藏,蜀门下了还没装
3楼:lizunwei(2011-04-06 12:58)

看不懂   眼都看花了
4楼:wu4749549(2011-04-07 00:10)

收藏,蜀门下了还没装
5楼:taurus8425(2011-04-08 16:07)

下了装好起来,点游戏登记器没动静,是怎么回事?

进入此贴详细完整版>> 蜀门单机架设教程 返回顶部


COPYRIGHT © 2006-2024 中华游戏网 cnyouw.cn. ALL RIGHTS RESERVED. SITEMAP