Dahua mobile game original server building tutorial Centos

Dahua mobile game original server building tutorial Centos

Hello everyone, I am Ai Xi, and today I will share with you a tutorial on building a turn-based ARPG big talk mobile game . The game scenes, exquisite graphics and diverse characters are very well done . In the game, you can travel through the mythical world, and at the same time, you can make friends, join a team, and explore the mysteries of the game together.

Let's go straight to the topic and start the operation:

Preparation for erection: a server with centos7.2 or above, server and client

Note: All firewalls are turned off on the server and pagoda panels, and if you can’t operate them, you can directly find the server provider to operate them!

The remote tool we use in this tutorial is Finalshell

Notepad++ for editing software

The decompilation signature tool is ApkToolAid (JDK environment is required to run this program)

(Note that xxxx in this article is http, xxxxx is https, and zzz is www. I hope everyone understands it due to PT reasons)

Install pagoda and environment

Pagoda is a server operation and maintenance management software, installation command: yum install -y wget && wget -O install.sh xxxx://download.bt.cn/install/install_6.0.sh && sh install.sh 1ba5f33df

After installation, follow the prompts to log in to the Pagoda panel to install the following software

Nginx 1.8

Mysql 8.0

PHP 7.2

Phpmyadmin 5.0

Redis 6.2 (separate download in software store)

pm2 manager (separate download in software store)

Node js version manager (download separately in software store)

Note: Close the firewall, open port command (Finalshell panel)

systemctl stop firewalld.service

systemctl disable firewalld.service

Upload xy.tar.gz to the root directory of the server

extract xy.tar.gz

cd /

unzip -xy.zip

Give 777 permission

chmod -R 777 /home/

Go back to the pagoda panel to set the database password

Pagoda panel----database----root password---(fill in the password)

Modify the IP path location of the database file /www/ backup/ database/ ddxy. Sql Right click and use Notepad++ to modify

Change the server IP in the file to your server IP and save it

Create SQL database

Go back to the pagoda panel----database----add database----fill in the database name (the file name we just changed is ddxy.sql)

After the database is created, import the database

Installation side startup environment

cd /

sudo rpm -Uvh xxxxs:/ /packages. microsoft. com/ config/ centos/ 7 /packages- mi crosoft -prod. rpm

sudo yum install dotnet-sdk-5. 0

Verify version:

dotnet --list-sdks

Modify the server IP to your own server IP (you can find the Finalshell panel to modify or modify it in the Pagoda panel)

/home /ht /package. json

/home\ht /dist/_ nuxt /37e2f84. js

start test

cp /etc/pki/tls/cert.pem /usr/local/ openssl/cert.Pem (start only once)

Officially launched

cd /home/server /Ddxy. GateServer

nohup dotnet run & .

cd /home/ server /Ddxy. GameServer

Build a website

Pagoda --- website --- add site --- create your server IP+port or domain name+port

Set the website directory /www/wwwroot according to your actual situation (the directory points to the path /home/ht/dist)

After the website is successfully created, close the anti-cross-site

Change the IP of the big talk client to your server IP (the following files are recommended to be opened and modified with Notepad++)

Apk Android: (After the IP is modified, throw the entire apk file into the ApkToolAid program to decompile the signature)

\assets\assets\main\index. js.

\ssts\assets\resources\inative\4b\4be5a163-72a3-481c-bb73-2fa45a143603.manifest

\assets\assets\resources\native\7a\7ac0a827-5ee-455a-8bc2-a5876981ef4b.manifest

ipa Apple: (For Apple's signature, you can go to a signer or go to Aisi to operate it)

\Payload\rxjh- mobile.app\assets\main\index. js.

\Payload\rxjh-mobile.app\assets\resources\native\4b\4be5a163-72a3-481-bb73-2fa45a143603.manifest

\Payload\rxjh-mobile.app\assets\resource\native\7ac0a827-5eea-455a-8bc2-a5876981ef4b. manifest

Invitation code: (can be set by yourself)

Background address http:/IP:port/login

Account: admin

Password: 123456

This is our website background

Throw our modified APK file into the emulator and enter the game to start our journey of conquest

All can be adjusted directly in the background, a string of codes to complete all your imagination

I'm Aixi, that's all for today's sharing, I hope it will be helpful to friends in need

There are a lot of interesting things you can do with a server

Guess you like

Origin blog.csdn.net/V13807970340/article/details/130901944