Arad's Wrath mobile game ultra-detailed graphic and text setup tutorial

write in front

Do you still remember DNF? One day you accidentally saved Celia and became a warrior to save the continent of Arad. From then on, you started an adventure. No matter your occupation is a biological son or a sewer, you have always played a role in your life. I have a special liking for you. In the PK of brushing pictures again and again, you become stronger. You can brush the abyss, brush the alien world, brush the ancient times. The equipment is getting better and better, the skills are becoming more and more proficient, and the strengthening is getting higher and higher. Later, it is strengthened. It was broken. You uninstalled the game in anger, but fell into the trap again within a few days. In this way, you have been addicted to the ivory tower of Arad continent until you graduated and got a job. You have no time and can no longer hear Saili. Ya's words: "You're here!".

Yes, in Disconnected City and Weak Warrior, you and I are the same, because on that continent there is the joy of releasing long-awaited equipment, and there is also the despair of breaking weapons and equipment. Every piece of equipment, every skill, Every map, every NPC, every monster, every piece of music is our youth...

Insert image description here

My English name echeverra is taken from the name of the DNF summoner skill Elf King Iga Bella.

The DNF mobile game has not been released for a long time, but it has made Arad's Wrath a complete mess. After experiencing it, I found that the degree of restoration is still very high. I highly recommend it to you. Here you can slowly brush through the pictures to experience the feeling of that year, or you can Use GM tools to directly reach VIP level, high-power equipment, and various fashions.

Game experience:

  • Account registration: http://43.138.22.71/index/Reg?agent=alade123 (the security code is the same as the password)
  • Android APK: https://www.pgyer.com/alade123 (Log in with a custom account)
  • Apple IPA: https://pan.baidu.com/s/1vXRrZ4qWx49ds7oT3zO52A?pwd=0412 (You need to sign by yourself, refer to the Apple signature in the article)
  • For GM tools, please follow my public account echeverra and send "Arad's Wrath GM" to get it.

I will maintain the game for a long time and it is all free, please rest assured~

I also recommend several other H5 games I set up: A summary of H5 games , welcome to play~

Preface

This article explains the tutorial for setting up the Wrath of Arad mobile game. This is also my first time trying to set up an Android/IOS client. Originally I was just researching H5 games, but I can’t help but feel so passionate!

Arad's Wrath screenshot:

Android emulator:

iPhone:

Insert image description here

GM tools:

Insert image description here

erect

1. Erection conditions

To set up Arad's Wrath, you need to prepare:

  1. Linux server, CentOs version 7.6 is recommended, lightweight application server is recommended, and it is cost-effective.
  2. For the game source code, follow my public account echeverra and send "Arad's Wrath" to get it.

2. Install the pagoda and environment

Pagoda is a server operation and maintenance management software. The installation command is:

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

After installation, log in to Pagoda according to the prompts (if you cannot access it, it may be because the server does not open port 8888, refer to the steps to open the port), and search for the following software in the Pagoda software store to install:

  1. web server: Nginx1.20
  2. Database: Mysql 10.2
  3. Database: Redis 6.2.6
  4. Programming language: PHP 7.1
  5. Database management tool: phpMyAdmin 4.4
  6. Process Manager: PM2 Manager 5.2

After installation, you need to install the PHP 7.1 extensions redis and sg11.

Insert image description here

It should be noted that this game involves a lot of software and environments and has special versions. It is recommended not to share a server with other games. The probability of errors and failures will be very high. Well, I am just talking about this. The minimum server configuration is 4G. Memory, 2G memory is easily disconnected from service.

3. Open port

We directly open all ports 1-65535, and the Alibaba Cloud server configures rules in the security group.

Insert image description here

Tencent Cloud lightweight application server configures rules in the firewall.

Then open all ports in the Pagoda menu security.

Insert image description here

If there are security requirements, you can open the ports that need to be opened separately. The method is the same as above.

4. Upload source code

After getting the source code, alade.zipupload the server-side compressed file to the root directory through the pagoda (if the pagoda prohibits uploading to the root directory, you can upload other paths and then cut and paste to the root directory).

After successful upload, unzip it to the root directory.

After decompression is complete, through the Pagoda menu terminal, command to grant 777 permissions:

chmod -R 777 /www/wwwroot/alade
chmod -R 777 /home/root
chmod -R 777 /home/sql
chmod 777 /home/sk

Configuration Environment:

cd /usr/lib64/
rm -rf libstdc++.so.6
ln -s libstdc++.so.6.0.21 libstdc++.so.6
ldconfig

5. Modify IP

The IP in the source code belongs to my own virtual machine (43.138.22.71) and needs to be replaced with your own server IP.

  • \home\sql\demoald.sql
  • \home\root\pre-publish-new\server_res\UdpConnServer\UdpConnServer.cfg
  • \home\root\pre-publish-new\server_res\AdminServer\NetAddress.xml
  • \home\root\pre-publish-new\server_res\Config\UdpServer.xml
  • \home\root\pre-publish-new\server_res\RelayServer\RelayServer.cfg
  • \home\root\pre-publish-new\server_res\RelayServer\ServersAddress.xml

Take UdpConnServer.cfgfor example, find the file in the pagoda, double-click to modify, and Ctrl+F to replace IPs in batches.

6. Import database

Pagoda sets the database root password to pwd123456. Why not 123456? Because if you want to change the password in the source code, you can search and replace globally without conflict.

Set up Mysql in the software store, change the configuration to 数据库配置.txtthe content in the resources, replace everything, reload the configuration and restart Mysql. If the restart fails, please restart the server to resume startup.

If it still fails, you can consider Mysql5.7 or reinstall the system. Personal test shows that Huawei Cloud mysql cannot be started successfully.

After restarting Mysql successfully, command to import the database.

cd /home
./sk

7. Create a website

Add a site, write your IP in the domain name, root directory /www/wwwroot/alade, and select version 7.1 for PHP.

Set up the website again, turn off anti-cross-site in the website directory, and set the running directory to public.

Pseudo-static uses thinkphp, yes, it turns out to be TP5 - -, the PHP framework I have used the most, not to mention, it is a bit friendly~

8. Modify hot update package

The hot update package is actually a file that the game automatically downloads after you open the game for the first time.

8.1 Android hot update package

directory in the resources 热更包-安卓热更包. It is recommended to install 360 compression software for operation.

Double-click package-1.39.1.237578-1.39.1.239178.zipthe compressed file to open AssetBundles/environment_serverlist_xml.pckthe file directly (edited in the local Notepad++ editor).

Modify the three lines in the red box and replace them with your IP. It should be noted that the modifications must be correct to ensure that the value is 17 digits ( 43.138.22.71/17 digits in total). For example, if your IP 1.1.1.1is 7 digits including the decimal point, you need to add 10 digits at the end /, that is 1.1.1.1//, if your IP is 123.123.123.12315 digits in total, then you need to add 2 digits at the end, that is 123.123.123.123//.

Insert image description here

After saving and closing the file, you will be prompted whether the modifications are in the compressed package, click OK.

Open the resource MD5.exe, drag the modified compressed file in, and obtain the md5 value of the file.

Modify the file package-1.39.1.237578-1.39.1.239178.txtand replace the md5 value obtained in the previous step.

Insert image description here

After processing the Android hot-change package, you need to replace the hot-change package file in the source code. /www/wwwroot/alade/public/assetnt/android/zip/1.39.1.239178In this directory on the Pagoda interface, just drag the two files into it to overwrite it.

8.2 Apple hot replacement package

If you are using an Android phone or Android emulator, you can skip this step. After all, IOS involves signatures, which is more troublesome.

In the directory in the resource 热更包-苹果热更包, check /assetios/ios/zip/1.39.1.239178the file, double-click package-1.39.1.237578-1.39.1.239178.zipto open it directly AssetBundles/environment_serverlist_xml.pck, modify the three lines in the red box to your IP, you also need to modify the bits, and ensure that the value is 17 bits.

After the modification, the remaining steps are the same as on Android. You need to modify the md5 value of another file, and then replace the two files into the directory /www/wwwroot/alade/public/assetnt/ios/zip/1.39.1.239178.

9. Configure PM2 Manager

Find the pm2 manager through the software store and set it up. Add the project startup file as /home/root/pre-publish-new/server_res/gmald/src/app.js, and the following form content will be automatically generated based on the startup file.

10. Start the game background

After a lot of operations, it was finally time to start the game background. Command:

cd /home/root/pre-publish-new/server_res
./run.sh

There is an error, which can be ignored to check the port occupancy. Command:

netstat -lntp

Of course, you can't enter the game immediately after starting the game. We still need to modify the client.

11. Create a game account

Create a game account link: http://IP/index/Reg?agent=alade123, replace the IP with your IP, and fill in the security code and password the same.

Insert image description here

12. Android client

12.1 Decompile

Decompiling locally requires a JAVA environment, which can be downloaded and installed through https://www.java.com/zh-CN/download/.

After installing the JAVA environment, open the APKTool tool in the resource tool, drag the client directory into the 阿拉德之怒.APKtool path, and click to decompile the apk.

12.2 Modify IP

After decompilation is completed, a directory will be generated, and the IP of the files in it needs to be modified:

  • \assets\updateserver.json
  • \smali\com\mgbase\net\Constant.smali
  • \smali\com\mgpay\c\b.smali
  • \smali\com\mgpay\net\b.smali
  • \small\com\mgpay\ui\f.small
  • \smali\com\mgpay\utils\o.smali

It is recommended to use VS Code global search and one-click replacement. Of course, you can also find and modify files individually.

12.3 Back compilation

After modification, drag the directory back to the tool path and click Back to Compile. This will take a long time, so just wait patiently.

In the end, two apk will be generated, one unsigned and one signed with Signed logo. We use the signed apk.

12.4 Simulator testing

I am using the Yeshen simulator and I feel the experience is better. Download link: https://www.yeshen.com/.

After starting the emulator, drag the apk directly into the emulator to install it. After installation, start the game.

The download file interface appears, indicating that the hot update package configuration is successful.

Select a custom account to log in and enter the game account created above to enter the game. Nice~

Insert image description here

13. Apple client

13.1 Modify IP

Use 360° compression to open the resource client 阿拉德之怒.ipa, find the file \Payload\test.app\Data\Raw\updateserver.json, and change the IP in the red box to your IP.

After saving and closing the file, a pop-up window will appear whether to update the modifications to the compressed package, select OK.

Use WinHex.exe in the resource tool to open the file in the client directory test, click Search above, replace the text, search 43.138.22.71///, and replace it with your IP. It is also important to note that the alignment needs to be modified to ensure 15 digits. If it is not enough, it will be filled in later /. If your IP has 10.1.2.3a total of 8 digits, you need to fill in 7 digits /. That is 10.1.2.3///, if your IP is 123.123.123.123exactly 15 digits, you don’t need to fill in the digits later.

After modifying testthe file, drag it into the directory \Payload\test.app\and click Replace.

13.2 Apple Signature

The Apple signature I use is iSi Assistant: https://www.i4.cn/

Search for IPA in the AISI Assistant tool, find the IPA signature, select 阿拉德之怒.ipathe file, fill in your Apple account, and you can sign.

After signing, you can successfully install it on your Apple phone. You need to trust the software in Phone Settings-General-Device Management before it can be started. It runs much smoother on Apple phones than Android, and map switching is no longer stuck. The only regret is The only thing is that the signature is only valid for 7 days, and you have to sign once a week. If you have trouble, you can find a long-term signature, which of course is not cheap.

14. Game background

Game backend link: http://IP/admin/Index.html, replace it with your IP, the same below. Both the account and password are available alade123, and you can view and set a lot of information. You can study it slowly.

In addition to the general backend, there is also an agent login: http://IP/agent/login, and the account and password are also the same alade123. You can register an account through the agent's promotion link.

User backend link: http://IP/index/Login, where you can purchase and receive items.

I haven't actually used these links very much. The GM tool after cdk authorization will be more direct and easy to use. Please refer to the CDK/GM function in the follow-up.

15. Stop the game background

If you want to stop the game background service, just execute the background command:

cd /home/root/pre-publish-new/server_res
./stop.sh

Follow-up

1. Modify the general backend account password

Modifying the general background user name requires modifying two files:

  • www/wwwroot/alade/application/admin/controller/Login.php
  • www/wwwroot/alade/application/common/controller/Admin.php

Change everything alade123to your account name. The login to the general backend does not verify the account name of the database, but is verified in the backend file. Take Login.phpfor example:

After logging in to the general backend, click admin in the upper right corner and select Change Password to change the password.

2. CDK/GM function

2.1 Function configuration

First find the directory in the resources 补丁-cdkgm功能, then do the following in the pagoda:

Create a database cdksand import the database file cdks.sql.

Upload gmcdk.zipto the directory /www/wwwroot/alade/public, extract it to the directory, and grant 777 permissions.

Login.phpUpload the modified file to the directory www/wwwroot/alade/application/admin/controller. If you have modified the background account, please alade123replace the file with your account.

Modify /www/wwwroot/alade/public/gmcdk/config/config.phpthe configuration file.

As shown in the picture, modify the database password set for you in position 1. Change position 2 to your IP. Positions 3 and 4 are the account and password of the general backend. The default is. If you have modified it, fill it in according to your modification. Set position 5 alade123. GM code, used to generate CDK.

2.2 Function usage

After configuration, let's use it. First open the CDK generation link: http://IP/gmcdk/cdk. Replace IP with your IP, the same below. Fill in the GM code set above and fill in the generated quantity.

Then authorize the role, link: http://IP/gmcdk/pay. Fill in a generated CDK, your character name, and set your backend password.

Finally, log in to the GM tool: http://IP/gmcdk/gm, fill in your character name and the background password set in the previous step, and select the items to be sent.

Sent successfully, Nice~, you don’t need to log in to the game again, the email will be received.

It should be noted that after setting up the CDK/GM function, the verification code for the general background login must be filled in incorrectly to successfully log in~

3. Automatic reconnection in the background

If the background service is disconnected, we need to restart the game command, which is more troublesome, so we can use a script.

Find the automatic reconnection patch GameStatusProtect.jsfile in the resource patch, upload it to the directory /home/root/pre-publish-new/server_res/gmald/src, and grant 777 permissions.

Then configure it as you did before configuring PM2 management. Find the PM2 manager and add a project. The startup file is /home/root/pre-publish-new/server_res/gmald/src/GameStatusProtect.js, and others are automatically generated. Just fill in a project name.

The principle of the script is to monitor the port of the server. When the port is not opened, it will restart.

4. Group PK team setting

To activate the PK team function, you first need to open all UDP of the server. Taking Tencent Cloud lightweight server as an example, set it in the firewall.

In this way, the team formation and PK functions should be able to be used normally.

Group start command:

cd /home/root/pre-publish-new/server_res/TCSRecordServer
./TCSRecordServer

cd /home/root/pre-publish-new/server_res/TeamCopyServer
./TeamCopyServer

The group book setting can be entered by a single person. Modify /home/root/pre-publish-new/server_res/Config/DataTables/TeamCopyValueTable.txtthe file and change the values ​​of lines 1, 2, 3, 48, 49, and 50 to 1. Restart the server, and the group book can be opened by one person.

5. About the game

The version I installed is Arad version 65. There is also version 90 online. You can experience more equipment and maps. However, there are many bugs and instability. I will not upgrade it for the time being and will consider it later.

Of course, there are still bugs in the 65 version of the game. I will update and share the fixed bugs in real time on my blog. I spent a long time polishing this setup tutorial (vomiting blood...) because I am also a novice.

It is still difficult to set up, but as long as you follow the tutorial steps step by step, there will definitely be no problem. Be patient. The joy of setting up sometimes lies in the process of setting up. The more difficult the process, the moment the game runs successfully, you will Cheng Mao was suddenly happy and full of confidence. One word, cool~

write at the end

I used to be a warrior who spent my youth fighting hard in the continent of Arad. Although I played the sewer profession, I never gave up. I still enjoyed it day after day, painting pictures and making equipment. I was accompanied by DNF for the entire four years of college. I still remember that DNF at that time was the 75-85 version. In my mind, it was the most fun version of DNF. My characters and equipment were still retained at that moment, and I never played the game again.

The first profession was the Little Summoner Queen of the Moon (the costumes were carefully matched by me). People always disliked her when forming a team. Later, when the equipment was formed, I played the Dark Burst Summoner. The output was terrifying, and I could lead an alien alone. You have to be ancient to avoid being disliked by others. A lot of epics have exploded in the abyss. Even if you can't take them with you, you won't be willing to break them down, so you keep them all the time. You also have a lot of treasured equipment in your collection, even though they are not valuable.

The second profession I play is the male qigong Crazy Tiger Emperor, which is also a low-level sewer profession. Maybe I think it is more handsome. I have been using fantasy explosive weapons and otherworldly equipment for a long time.

[External link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-ifLDCMe1-1649820284225)(https://cdn.jsdelivr.net/gh/echeverra/img@main/resource /202204121632551.jpg)]

The third profession is that of a female master of large guns and heavy artillery, who is good at moving bricks.

Later, after I graduated and started working, I had no time to play, so the game was dusted away, leaving only a beautiful memory of my youth. Everyone's youth may belong to a game, it may be League of Legends, it may be CrossFire, and mine is called Dungeon and Fighter!

Okay, the above are all the installation tutorials for Arad's Wrath. I hope it will be helpful to you. If you have any questions, please contact me through my blog https://echeverra.cn or the WeChat public account echeverra .

Have you learned to "waste"?

(over)


The article was first published on my blog https://echeverra.cn/alade . It is an original article. Please indicate the source when reprinting.

Welcome to follow my WeChat public account echeverra and learn and progress together! Resources and benefits will be given away from time to time!


Guess you like

Origin blog.csdn.net/weixin_41394875/article/details/124144050