图就不发了,这个按我说的做绝对可以开起来,不行的自己从做系统。
蜀门服务器架设教程——–浑天甲子
把所有压缩包解压,放到该放的位置,不要放中文文件夹。
1安装vmware,打vmware开文件夹里的 安装.cmd 按Y 再按 1 再按 3 再按8退出
2设置虚拟网卡,打开vmware点编辑–虚拟网络设置,选主机虚拟网络映射,点倒数第2个后边的 > 选择子网,IP设为192.168.152.0。再点 > 选择NAT,网关ip地址为:192.168.152.2 都设置完点确定
3用vmware打开虚拟镜像McUbuntuSM 登录名和密码都是root ,输入密码时没有任何反映不必管它。打开小键盘数字灯 输入:ifconfig eth0 192.168.152.128 netmask 255.255.255.0
4按Ctrl+Alt从虚拟机出来,打开Winscp 连接00备用(如果10步异常要用它在右边找
到SS/login里的login_server.pid删除,也可以用来换端或修改游戏)
5打开SecureCRT 连接, 输入mysql -u root -p回车,输入123456回车(输入密码时没有任何反映不必管它。)
6输入GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION; 回车(注意末尾有个分号)
7输入FLUSH PRIVILEGES;回车(注意末尾有个分号)
8输入 exit;回车(注意末尾有个分号)
9现在准备工作结束开始启动服务器。在SecureCRT里继续输入 ./1 回车,正常应该这样
cpu frequency too BIG 🙂
[12:21:01 INFO] Base initialized.
[12:21:01 INFO] net device startup ok
[12:21:01 INFO] FDSetSize = 1024
[12:21:01 INFO] Version = 110
[12:21:01 INFO] SendBufferSize = 16384
[12:21:01 INFO] RecvBufferSize = 87380
[12:21:01 INFO]
>>>>> DB Server (Build May 15 2009 09:41:24) <<<<<
[12:21:01 INFO] Welcome to the DB Server monitor.
[12:21:01 INFO] DB Agent Manager starts listening at (localhost : 9006).
[12:21:01 INFO] The db agent server enter thread (0xb72beb70).
[12:21:01 INFO] The db agent game (game user) connected to the database successfully.
[12:21:01 INFO] DB Server starts successfully.
10在SecureCRT上点文件–连接–连接,输入 ./2 回车,直到出现这样
EvNet: connecting failed
[12:31:54 ERRO] Connect lic server FAILED.
[12:31:54 INFO] — Login Server Init ———
[12:31:54 INFO] Connected to the db server successfully.
[12:31:54 INFO] Listen List : 192.168.152.132.8888
[12:31:54 INFO] Listen Server: 192.168.152.132.9002
[12:31:54 INFO] Listen User : 192.168.152.132.8885
[12:31:54 INFO] login server init OK
11重复第10步再建立一个连接,输入 ./3 回车,等到这样就ok了(这个屏幕始终滚动是正常的)
[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO] [9]’OutputPerfOnce’ = true[23:53:18 INFO]
以上3步大概3-5分钟 可以进游戏了
客户端内的 新建文本文档.cmd 是登录器,默认用户名和密码都是aaaa
外网:
修改服务端game内的server_user.ini
ListenPortal = “你的外网IP”
location = “你的外网IP”
然后,打开服务端login 内的 login_user.ini
修改 ListenPortal = “你的外网IP”
局域网在路由器上映射以下3个端口: 8888 8886 8885
下载地址:虚拟机
客户端
Linux镜像