文章目录[隐藏]

源码描述:

架设流程:1、系统需求:CENTOS 6 以上系统

2、安装宝塔 (http mysql php自行宝塔里安装)

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

3、设置数据库密码

mysql -u root -pgudanboke

GRANT ALL PRIVILEGES ON *.* TO \\\\\\\\\\\\\\\\’root\\\\\\\\\\\\\\\\’@\\\\\\\\\\\\\\\\’127.0.0.1\\\\\\\\\\\\\\\\’ IDENTIFIED BY \\\\\\\\\\\\\\\\’xxxxxx\\\\\\\\\\\\\\\\’ WITHxxxxxx GRANT OPTION;

FLUSH PRIVILEGES;

GRANT ALL PRIVILEGES ON *.* TO \\\\\\\\\\\\\\\\’root\\\\\\\\\\\\\\\\’@\\\\\\\\\\\\\\\\’localhost\\\\\\\\\\\\\\\\’ IDENTIFIED BY \\\\\\\\\\\\\\\\’xxxxxx\\\\\\\\\\\\\\\\’ WITH GRANT OPTION;

FLUSH PRIVILEGES;

quit

4、宝塔–数据库设置–配置修改第24行后加入

lower_case_table_names =1

保存–重启数据库。

5、导入数据库

6、上传服务端到根目录下解压并设置权限。

网站下的web.tar.gz自行解压到你的网站目录下!

tar -zxvf tsbf.tar.gz

chmod -R 777 /tsbf/

7、服务端和网站修改 192.168.99.100

LS/bin/config.xml

server/bin/config.xml

server/bin/serverlist.xml

网站:9999/configul

网站:9999/Server/info

网站:9999/Server/list

网站:9999/Server/selectzone

网站:ios1/configul

网站:ios1/Server/info

网站:ios1/Server/list

网站:ios1/Server/selectzone

8、客户端修改 192.168.99.100

安卓:

assets\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\bin\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Data\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\b1f39d1393ec4324e831bd471f4adbed

苹果:

Payload\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\fswq.app\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\resources.assets

Payload\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\fswq.app\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Data\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\resources.assets

9、启动和关闭

cd /tsbf/LS

./q

./t

cd /tsbf/server

./q

./t

PS:

后台地址: 外网IP:81/gm/gm.php

玩家后台: 外网IP:81/gm/player.php

GM码:123456

源码截图:

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。