[Strong Westward Journey] Latest arrangement of Linux manual server + MT3 reskin Fantasy Westward Journey GM backend + Android and Apple dual-terminal + video tutorial
Building instructions:
Warm reminder: No matter what is built, the server must install the required environment, close the firewall, and open all ports.
Close the server firewall and open all ports. Refer to Baidu
Test system: CentOS 7.X
1. Install the pagoda
yum install -y wget wget -O install.sh http://download.bt.cn/install/install_6.0.sh sh install.sh
2. Installation environment
Nginx1.18
mysql5.6
php5.4 (after php is installed, delete the disabled function exec and restart php)
3. Open port 1:65535
4. Close the protective wall
systemctl stop firewalld.service
systemctl disable firewalld.service
5. Upload mhxy.zip to the server root directory
Unzip
cd /
unzip mhxy.zip
6. Create a website
IP with port 88
Website: path/www/wwwroot/3w
IP or domain name with port 81
127.0.0.1:81
Path/www/wwwroot/mhxy1
7. Set the pagoda database to: 123456
Create a database and import/just copy and paste everything
cd /
mysql -uroot -p123456
grant all privileges on *.* to 'root'@'127.0.0.1' identified by '123456';
grant all privileges on *.* to 'root'@'localhost' identified by '123456';
create database mt91 DEFAULT CHARACTER SET utf8;
flush privileges; #
use mt91
source /mt91.sql
create database Zx_Agent DEFAULT CHARACTER SET utf8;
flush privileges; #
use Zx_Agent
source /Zx_Agent.sql
exit;
8. Install java and execute the following commands in Xshell. The commands need to be entered one by one. After running each one, enter the next one.
cd /home
rpm -ivh jdk-8u144-linux-x64.rpm
tar zxvf log4cpp-1.1.3.tar.gz
cd log4cpp
./configure
make
make install
yum install -y gcc-c++ log4cpp
ln -s /usr/lib64/liblog4cpp.so.4 /usr/lib64/liblog4cpp.so.5 If this command reports an error, ignore it
9. Give permission
chmod -R 7777 /bin/qd
chmod -R 7777 /home
chmod -R 7777 /www/wwwroot
10. Modify the server IP
homemt3sdk_serversdk.config.xml Modify it to your own IP
wwwwwwroot3wmhxyserverindex1.html Change it to your own IP to match the client
Modify wwwwwwrootmhxy1userreg.php to your own IP
11. Start game command
qd
1
The server has been set up here.
12. Modify the client
Android
AndroidManifest.xml
libarmeabi-v7alibgame.so Search getRecruitSuccess requires the same number of digits. If the number of digits is different, you can modify it by changing the file name. If it is more, it will be reduced, if it is less, it will be added.
http://101.35.30.218:88/mhxyserver/indexxx.html
http://42.194.135.168:88/mhxyserver/indexx.html
apple
Payloadmt3.appmt3 Search: 88
Registration address: http://IP:81/user/reg.php
13. Backstage
GM background:
http://IP:81/gm/gm/gm.php
GM code:******
Management background:
https://IP:81/admin
Account: admin
Password:admin
Collection of game setup peripheral tools:
Link: https://pan.baidu.com/s/1tDZQgJCYUM-3fT-OJeJyLw
Extraction code: 6rsp