• 注册
  • 查看作者
  • 新斗罗大陆+Linux+手工外网端+Java后台+视频教程

    centos7.2

    安装宝塔
    yum install -y wget && wget -O install.sh 链接 && sh install.sh
    安装
    Mysql5.6
    nginx-1.19
    php5.6
    数据库密码root1234

    放行端口 1:65535
    开服放行端口 9229 9228 8080 7200 9988
    —————————————————————————————————————-

    上传sanshi.zip 到根目录解压
    创建网站 端口88
    目录 \www\wwwroot\dldl_alpha

    修改服务端IP 搜索49.232.79.93全部替换
    \home\root\assist_dldl\config\assist.properties
    \home\root\center\wow-server-center\config\game.properties
    \home\root\wow-server-dldl_1\config\game.properties
    \home\root\wow-assist\server_cfg\app_server\dldl_1\game.properties
    \home\root\wow-assist\server_cfg\fight_server\dldl_center\game.properties

    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/assist_dldl/config/assist.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/center/wow-server-center/config/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-server-dldl_1/config/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-assist/server_cfg/app_server/dldl_1/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-assist/server_cfg/fight_server/dldl_center/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/center/wow-server-center/scripts/.temp.sh
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-server/config/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-assist/server_cfg/app_server/dldl/game.properties
    sed -i ‘s/49.232.79.93/121.40.158.132/g’ /home/root/wow-server-dldl_1/scripts/.temp.sh

    —————————————————————————————————————-
    修改数据库IP assist_dldl.sql
    创建并导入对应数据库
    assist_dldl
    dldl-gm

    wow-dldl-center 这两个库我压缩了 用宝塔导入
    wow-dldl_1
    —————————————————————————————————————-

    安装JAVA环境
    yum install java-1.8.0-openjdk* -y
    yum install jsvc
    chmod -R 777 /home/root
    chmod -R 777 /www/wwwroot
    —————————————————————————————————————-
    安装ruby环境 这个主要是运营后台用的 比较慢
    cd /home
    tar -zxvf ruby-2.1.10.tar.gz
    cd ruby-2.1.10
    ./configure
    make && make install
    gem install bundler -v 1.17.3 这一步很慢很慢 慢慢等
    —————————————————————————————————————-
    启动运维

    cd /home/root/tomcat-assist/bin
    ./1.sh

    启动游戏

    cd /home/root/center/wow-server-center/scripts
    ./start_game.sh
    cd /home/root/wow-server-dldl_1/scripts
    ./start_game.sh

    启动运营后台

    cd /home/root/dldl-gm
    sh restart-alpha.sh
    停止游戏

    cd /home/root/center/wow-server-center/scripts
    ./stop_game.sh
    cd /home/root/wow-server-dldl_1/scripts
    ./stop_game.sh

    —————————————————————————————————————-
    安卓客户端修改IP
    \assets\scripts\envConfig.lua
    苹果客户端修改IP
    \Payload\dldl-alpha-yongce.app\scripts\envConfig.lua

    需解密文件修改,然后加密回去
    打开 XXTEADecrypt.exe
    签名值
    QIDEAENCRYPTED
    KEY
    GDv4gFTMcTGkRgAG

     

  • 0
  • 0
  • 1.03w
  • 请登录之后再进行评论

    登录
  • 发动态
  • 发音乐
  • 发视频
  • 发帖子
  • 游戏区
    • 今日签到
    • 累计签到
  • 旧人城 c/mm
    旧人城 c/mm
    今天00:01
  • ▍Return。-亡魂
    ▍Return。-亡魂
    今天00:02
  • 放过。自己
    放过。自己
    今天00:02
  • 三石
  • qq20200606
  • 待妳ぃ温暖如初
    待妳ぃ温暖如初
    生活越来越好了
  • 查看更多
  • 任务
  • 小程序码    公众号 小程序&公众号
  • 单栏布局 侧栏位置: