今天给大家带来一个青丘狐手游,从服务端到客户端修改和定制这里出个教程,大家有机子的可以自己玩玩,没有服务器的可以本地搭建个玩玩,或者端口映射到公网。
文件下载:
百度盘:
https://pan.baidu.com/s/1mjrzJAw
密码:jytz
环境:centos6.5
个人玩最低4G内存
多人玩最低8G内存
开区百人最低16G内存
架设系统Centos6.5 64位
安装
1.上传版本上传环境包qqh.tar.gzjdk-8u144-linux-x64.zip给与 2个包777权限
2.解压版本cd /tar -zxvf qqh.tar.gz
3.给与文件夹权限chmod -R 777 /homechmod -R 777 /export
4.安装java
cd /rpm -ivh jdk-8u144-linux-x64.rpm home/zidr\servers.xml修改ip 在/home/au/start.sh 38行 -Xincgc -XX:PermSize=256m -XX:MaxPermSize=256m -Xms6G -Xmx6G 这里的6G可以根据自己服务器内存配置,不要超过服务器内存,否则启动不了
启动
cd /home/w && ./service.sh startcd /home/au./start.sh cd /home/zidr/android./service.sh start cd /home/zidr/ios./service.sh start
关闭
cd /home/w&&./service.sh stop ./service.sh restart 重启 cd /home/au ./stop.sh
清档:
home/au/xdb/ 里头的全清 /export/data/ 里头的全清 关闭防火墙 chkconfig iptables off 立即生效 service iptables stop 充值链接 IP 替换成你的IP http://IP:9090/zilong/order_callback?pOrderId=TWLLYT4000000041404&userId=0&creditId=5378772¤cy=CNY&amount=1&gameCode=1448278612076&serverCode=4820&stone=10000000&activityExtra=0&md5Str=wBv78qM7QeEhJ6BGeZAwBStQVMKmTNG1f2QIDAQAB&time=1514958102&RCurrency=CNY&RAmount=6&orderStateMonth=0&point=0&freePoint=1111111&productId=tw.qqh.1usd&payType=platform&stoneType=diamondpOrderId=后面的数值不能重复creditId=玩家角色ID, 点击头像再点角色就可以看到stone=钻石数量
安装httpd
yum install httpd vsftpd mysql mysql-server php php-mysql chkconfig httpd on chkconfig vsftpd on chkconfig mysqld on service httpd start 启动HTTP服务。 service vsftpd start 启动FTP服务。 service mysqld start 启动MySQL服务
。
客户端
apkide\Work\com.qqh.efun.tw\assets\config\all_platform_config.xml 修改ip完毕
1 Comment
手里没有高配置小鸡的朋友们可以本地架设玩玩看