轩辕剑服务端+架设文字教程+补丁+编辑工具合一起,如还有架设不懂的可进入http://www.80weibo.com/这里有视频教程
一,架设条件:
1,SWDServer1服务端
2,客户端补丁
3,SQL2000
4,MYSQLV3.23.39
5,navicat for mysql 8.0.20
6,crossgate SQL数据库文件
7,swdol MYSQL数据库
8,编辑工具
9,以上这些东西 除SQL2000和客户端补丁另做链接,其他都集合到一个端里了!以方便大家
10,SQL2000安装和MYSQL安装,不会的请看http://www.80weibo.com/里面的教程
二,架设步骤
1,计算机设置
本机和服务端的信息
计算机名称:8BUPZGM1HBMXOLN
计算机ip: 192.168.15.26
sql2000:用户名:sa 密码:hening002
mysql: 用户名:root 密码:hening002
(1)更改计算机名字:右键我的电脑,选择计算机名,点击更改输入你想要的计算机名字,然后确定 我的是8BUPZGM1HBMXOLN
(2)修改计算机IP:右键网上邻居,右键本地连接,双击Internet协议(TCP/IP)改成你自己想要的IP 我的是192.168.15.26
2,服务端设置
修改红字的地方就可以了
(1)D:\SWDServer1\JoyPark\LoginServer40\loginserver.ini
[JOYPARK_LOGIN_SERVER]
Server_Port=7888
IP_Allow_List_File="Allow.lst"
IP_Deny_List_File="Deny.lst"
ValueData_DatabaseName="crossgate"
ValueData_DatabaseServer="8BUPZGM1HBMXOLN" 计算机名字
LoginServerName="JoyPark_LoginServer_1"
ValueData_DatabasePass="hening002" SQL数据库密码
TimeServerMachineName="192.168.15.26" 计算机IP地址
LoginLogDir="D:\log\"
ValueData_DatabaseUserID="sa"
(2)E:\SWDServer1\SWDServer1\JoyPark\PaymentGateway40\paymentgateway.ini
[PAYMENT_GATEWAY_SERVER]
ValueData_DatabaseName="crossgate"
ValueData_DatabaseServer="8BUPZGM1HBMXOLN" 计算机名字
LoginTable_Name="Member_Login_Table"
MemberTable_Name="Member_Data_Table"
ValueData_DatabaseUserID="sa"
ValueData_DatabasePass="hening002" 数据库密码
TimeServerMachineName="8BUPZGM1HBMXOLN" 计算机名字
PaymentGatewayName="JoyPark_PaymentGateway_1"
TimeIntervalCount=6
PointExactPosition=6
PaymentLogDir=d:\log\
HourInOutLog_Flag=1
HalfDayInOutLog_Flag=1
MonthInOutLog_Flag=1
SeasonInOutLog_Flag=1
HK_HourInOutLog_Flag=1
HK_HalfDayInOutLog_Flag=1
HK_MonthInOutLog_Flag=1
HK_SeasonInOutLog_Flag=1
MinuteInOutLog_Flag=1
HourChargLog_Flag=1
HalfDayChargLog_Flag=1
HK_HourChargLog_Flag=1
HK_HalfDayChargLog_Flag=1
MinuteChargLog_Flag=1
UpdatePointLog_Flag=1
DoubleHourInOutLog_Flag=1
DoubleHourChargLog_Flag=1
(3)D:\SWDServer1\local\local\local\swdol\game_1\code \BaseIni.ini
[BOOT]
GMtime = 3
Flushtime = 2
ShowFlag = 0
FirewallIP = 192.168.15.26 IP地址
ServerIP = 192.168.15.26 IP地址
UDPServerIP = 192.168.15.26 IP地址
ServerPort = 5000
DataPath = .\
MasterServerID = 1
BroadcastPort = 9000
(4)D:\SWDServer1\local\local\local\swdol\game_1\code\ChatServer.ini
[Settings]
LanPort = 7000
LanIP = 192.168.15.26 IP地址
Program = ..\log\Chat1.log
MasterServerID = 1
BroadcastPort = 9000
[Channels]
Channel_0 = 册ぱ繵笵
Channel_1 = ╃芥繵笵
Channel_2 = channel3
Channel_3 = channel4
Channel_4 = channel5
Channel_5 = channel6
Channel_6 = channel7
Channel_7 = channel8
Channel_8 = channel9
Channel_9 = channel10
(5)D:\SWDServer1\local\local\local\swdol\game_1\code\dataCenter.ini
[Settings]
LanIP = 192.168.15.26 IP地址
LanPort = 6667
Program = ..\log\DataCenter1.log
;BackUpDB = BackupDB
GameDB = swdol
User = root
Password = hening002 MYSQL数据库密码
DBHost = 127.0.0.1
BroadCastPort = 9000
MasterServerNo = 1
ObjectFilePath = .\
(6)D:\SWDServer1\local\local\local\swdol\game_1\code\MasterServer.ini
[Settings]
LanIP = 192.168.15.26 IP地址
WanIP = 192.168.15.26 IP地址
PayServerIP = 192.168.15.26 IP地址
FirstPort = 8000
Broadcast = 9000
PayServerPort = 7888
Program = ..\log\Master1.Log
ServerName = 呼〡
ServerNo = 1
Tabe戈?郎 = .\
?﹍?ン戈?郎 = Object.dbf
starthostmin = 0
BroadCastMask = 255.255.255.255
(7)D:\SWDServer1\sword\sword\master_1\code\ChatServer.ini
[Settings]
LanPort = 7000
LanIP = 192.168.15.26 IP地址
Program = ..\log\Chat2.log
MasterServerID = 1
BroadcastPort = 9000
BroadCastIPList = BroadCastIP.lst
[Channels]
Channel_0 = 聊天频道
Channel_1 = 综合频道
Channel_2 = 交易频道
Channel_3 = 职业求组
Channel_4 = 频道A
Channel_5 = 频道B
Channel_6 = 频道C
Channel_7 = 频道D
Channel_8 = 频道E
Channel_9 = 频道F
(8)D:\SWDServer1\sword\sword\master_1\code\dataCenter.ini
[Settings]
LanIP = 192.168.15.26 IP地址
LanPort = 6667
Program = ..\log\DataCenter2.log
BackUpDB = BackupDB
GameDB = swdol
User = root
Password = hening002 MYSQL数据库密码
DBHost = 127.0.0.1
BroadCastPort = 9000
MasterServerNo = 1
ObjectFilePath = .\
BroadCastMask = 255.255.255.255
BroadCastIPList = BroadCastIP.lst
(9)D:\SWDServer1\sword\sword\master_1\code\MasterServer.ini
[Settings]
LanIP = 192.168.15.26 IP地址
WanIP = 192.168.15.26 IP地址
LoginServerIP = 192.168.15.26 IP地址
FirstPort = 4531
BroadcastPort = 9000
LoginServerPort = 7888
Program = ..\log\Master2.Log
ServerName = 壶中界
ServerNo = 1
Tabe = .\
OBJECTFILE = Object.dbf
starthostmin = 1
BroadCastMask = 255.255.255.255
BroadCastIPList = BroadCastIP.lst
LogFile = login.log
;MAX ONLINE PLAYER
MAXONLINE = 2000;
;0 use inside ip,1 use outside ip , use both ip
ServerStatus = 5
ClientVersion = 0x40000013
GMTOOLVERSION = SWDOnline v1.11
三、启动步骤:
1,可按序号1-5启动,6_monitor.exe 可不需启动
2,启动是否成功看masterserver“启动client连线”如果有这个提示,则表示启动成功!
3,如果JoyParkPaymentGateway的CPU占用率过高!请在SQL2000查询分析器中选中crossgate数据库执行如下语句: Truncate Table Member_Login_Table 点击开始或按F5,然后推出即可
四、外网架设:
1,D:\SWDServer1\local\local\local\swdol\game_1\code \BaseIni.ini 里边的 FirewallIP = 外网ip
2,如是ADSL宽带连接,那么直接修改上边的外网IP即可
3,如是路由器,则需要配置路由器映射本地IP,映射配置文件里的几个端口,再映射地图的5000-5099
文章评论