乱来魔力【端游】 https://pan.baidu.com/s/1ri3qLZgUnV170tI369Uw2g?pwd=8888提取码:8888 -------------------------------------------------------------------------------系统:Centos 7.* 配置2核 4G-------------------------------------------------------------------------------安装宝塔 yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec-------------------------------------------------------------------------------安装nginx-1.12php-5.6-------------------------------------------------------------------------------创建网站宝塔 - 网站 - 添加站点上传html.zip网站文件,并解压。修改PUK3里面的IP-------------------------------------------------------------------------------上传服务端gmsv.tar.gz到/目录cd /tar zxvf gmsv.tar.gzchmod -R 777 /home/gmsv-------------------------------------------------------------------------------安装环境chmod -R 777 /rootyum install xulrunner.i686yum remove mariadb mariadb-server mariadb-libscd /rootrpm -ivh MySQL-server-community-5.1.70-2.rhel5.i386.rpmrpm -ivh MySQL-client-community-5.1.70-2.rhel5.i386.rpmrpm -ivh MySQL-devel-community-5.1.70-2.rhel5.i386.rpmldconfig-------------------------------------------------------------------------------创建数据库mysqlGRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '123456' WITH GRANT OPTION;FLUSH PRIVILEGES;GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;FLUSH PRIVILEGES;GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;FLUSH PRIVILEGES;quit-------------------------------------------------------------------------------关闭防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service-------------------------------------------------------------------------------导入数据库rogue.sql-------------------------------------------------------------------------------编辑127.0.0.1用户名密码,为空编辑localhost用户名密码,为空-------------------------------------------------------------------------------启动游戏cd /home/gmsv./gmsv-------------------------------------------------------------------------------修改cg_190.exeUE16进制打开cg_190.exe转到行0x0014a510hhttp://后面改为服务器ip注意后面必须有%s保存完毕。-------------------------------------------------------------------------------右键编辑【进入游戏.bat】修改里面IP-------------------------------------------------------------------------------GM权限修改/home/gmsv/setup.cfchatmagicpasswd=nr-------------------------------------------------------------------------------cg_190.exe+.bat,一起放客户端目录里。就可以重返法兰城了。-------------------------------------------------------------------------------