长生诀-手工一键端-本地验证

长生诀-手工一键端-本地验证长生诀-手工一键端-本地验证长生诀-手工一键端-本地验证长生诀-手工一键端-本地验证长生诀-手工一键端-本地验证

长生诀-手工一键端-本地验证
centos6.8
=======================================================================================================
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
安装
Nginx 1.14 Mysql5.6 Php5.6
修改宝塔端口为9999
放行端口:1:65535
=======================================================================================================

修改数据库密码为:qy22players
执行
mysql -u root -pqy22players
GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY 'qy22players' WITH GRANT OPTION;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'qy22players' WITH GRANT OPTION;
FLUSH PRIVILEGES;

CREATE DATABASE IF NOT EXISTS pf_account default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_active default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_info default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_name default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS pf_report default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_account default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_activity default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_auction default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_cfg default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_common default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_mail default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_relation default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS yt_role default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS acc default charset latin1 COLLATE latin1_swedish_ci;
CREATE DATABASE IF NOT EXISTS admin default charset latin1 COLLATE latin1_swedish_ci;

quit
=======================================================================================================

上传lycsj.zip到根目录解压给权限
chmod -R 777 /data/
chmod -R 755 /usr/local/bin/1.conf
chmod -R 777 /usr/local/bin/2.conf
chmod -R 755 /usr/local/bin/master
=======================================================================================================
创建网站 网站目录 /www/wwwroot/lycsj
1.外网ip:81
2.添加一个域名 login.alpha.gametaiwan.com
3.2.域名:80 开启ssl 不做苹果的可以无视
=======================================================================================================
修改服务端IP
/www/wwwroot/lycsj/android/version.ini
/www/wwwroot//lycsj/android/tina_svr_list.lua
/www/wwwroot//lycsj/iosv7/version.ini
/www/wwwroot//lycsj/iosv7/tina_svr_list.lua
/www/wwwroot//lycsj/main/mobile/Billing.html
/www/wwwroot//lycsj/main/mobile/login_U.html

/usr/local/bin/1.conf (修改第二个为验证服务器IP)
192.168.88.88修改为验证服务器的IP
下面没有内网的不用看
==============================================================================
没有内网的 不用看
查看内网IP:ifconfig -a
/usr/local/bin/2.conf 修改 192.168.99.99为外网IP 修改 192.168.100.100 为内网IP(经典网络跳过)
有内网IP的服务器 (无内网的经典网络跳过)
ifconfig eth0:1 192.168.1.1 netmask 255.255.255.0
修改上命令中的192.168.1.1为自己的外网IP 没有内网的不需要
修改:/usr/local/bin/2.conf
启动 /usr/local/bin/master -c /usr/local/bin/2.conf
修改数据库文件
pf_info.sql 和 yt_cfg.sql
修改 192.168.99.99为外网IP 修改 192.168.100.100 为内网IP (经典网络全改为外网IP)
修改完 上传到服务端\data\csj\sql\mysqlbak文件夹内
导入数据库
cd /data/csj/sh && ./sqldel.sh
==============================================================================
无内网的直接看这里
修改数据库文件
pf_info.sql 和 yt_cfg.sql

修改 192.168.99.99为外网IP 修改 192.168.100.100 经典网络全改为外网IP
修改完 上传到服务端\data\csj\sql\mysqlbak文件夹内

导入数据库
cd /data/csj/sh && ./sqldel.sh

关闭数据库二进制日志重启mysql和php服务
添加清理日志的脚本
选择计划任务
csj_clear_core.sh的内容复制进去
两分钟一次
==============================================================================
启动
验证 /usr/local/bin/master -c /usr/local/bin/1.conf
cd /data/csj/sh
./start.sh
关闭
cd /data/csj/sh
./stop.sh

授权后台地址:IP:81/gm/admin
玩家后台地址:ip:81/gm/player
管理账号密码:admin 123456
==============================================================================
客户端IP修改

安卓
\assets\config.ini
\assets\bin\Data\Managed\Assembly-CSharp.dll

苹果
\Payload\sdk.app\Data\Raw\config.ini
\Payload\sdk.app\Data\Metadata\global-metadata.dat (12345678.97wsy.com)

相关文件下载地址
本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有。若您需要使用非免费的软件或服务,请购买正版授权并合法使用。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理。
版权声明:星空 发表于 2020-09-29 21:18:23。
转载请注明:长生诀-手工一键端-本地验证 | 浩瀚星空

暂无评论

暂无评论...