Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

Detailed Text Installation of RedAge V3 Server

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
337
ICoins
1,501

Detailed Text Installation of RedAge V3 Server


Detailed text server installation.
Compatible with RAGE:MP
1.1 (prerelease)

The server modification is written in C# + JavaScript + Svetle (CEF interfaces).
The server part uses a database - MySQL + Redis.
See all screenshots of the server functionality and a video tutorial on installation at the bottom of the page.

Server installation and startup:
⚠️ Please note! To run this server build, you must have the following programs installed:

  • The source code editor is Visual Studio (Community).
    Download -
  • NodeJS platform (I recommend using Node Version Manager).
    Download -
    (NodeJS version itself is required - 16.14.0)
  • Database Server - MySQL (MariaDB 10.5)
    Download -
  • Additional database for the server - Redis Server
    Download -
1. Download the archive and extract all the files to a convenient place
(not recommended on the desktop, it is better directly to one of the disks).

2. In front of us is a folder with server files, what does it contain?
Src_client - source files of the client part
of the src_cef - source files of the visual part (interfaces)
dotnet\resources - source files of the server part
of the database - a folder with .sql dumps for the settings database
- a folder with different server

settings 3. The next step is to install the correct version of NodeJS + installing modules and building CEF sources.
You should already have NVM (Node Version Manager) installed, if not, the link is just above.

Go to the folder - src_cef and open the command line (SHIFT + RMB in an empty space of the folder - then click on PowerShell), then enter the following commands:

Git:
nvm install 16.14.0
nvm use 16.14.0
npm install --legacy-peer-deps
npm run build

All of these commands should be executed WITHOUT errors, if you have them, try again or watch the video.

4. The next step is to install the modules and build the CLIENT sources.
Go to the folder - src_client and open the command prompt (SHIFT + RMB in an empty space of the folder - then click on PowerShell), then enter the following commands:

Git:
npm install
npm run build

5. The next step is to install a MySQL database server + create databases and populate them.
You should already have MariaDB 10.5 installed, if not, the link is just above.
Open the HeidiSQL program, connect to the local database and create THREE NEW DATABASES:

ra3_main
ra3_mainconfig
ra3_mainlogs


On all databases, when creating, select the encoding - UTF8.

After creating it, import the corresponding SQL dumps from the databases folder into these databases (if you don't understand, watch the video).

6. The next step is the Server part (editing database configs + building the project).
You should already have Visual Studio (+ .NET Desktop Development) installed, if not, the link is above.

Go to the dotnet/resources folder and open the NeptuneEvo.sln file.

On the right side of the program there is a window - Solution Explorer, there you can open the file: NeptuneEvo/Database/Config/Config.tt In this file,
on line 26, specify your data for connecting MySQL.
After entering the data, press Ctrl + S, then click YES if you are asked to confirm.

In the same right part of the program, we open the file:
NeptuneEvo/Database/Server/ServerStruct.tt in this file, on line 24, specify your data for connecting MySQL.
After entering the data, press Ctrl + S, then click YES if you are asked to confirm.
After you have filled in these two files, at the top of the program you click: Build - Rebuild solution

Rebuild solution in Visual Studio

At the bottom, in the Output tab, it should be written: Successful - 3 (this is an indicator that everything is correct at this stage).

7.
The next step is to edit the last 3rd database config (which many people forget about).

Go to the settings folder and open the mainDB.json file.
In it, just specify your MySQL connection details.

8. The penultimate step is to install Redis Server.
You should ALREADY have it installed, if not, the link is just above.

9. The last step is to download and unpack dlcpacks.

Download dlcpacks from this link

In the folder with the server, find the file - client_packages/game_resources/dlcpacks/dlcpacks.txt in this text document there will be a link to download the archive with all dlcpacks, download and unzip the contents of the archive next to the text file.

10.
Voila the installation is complete, you can run the server, the file is ragemp-server.exe.
If you are under 5 years old and can read and watch videos, then the server will start without errors.

  1. The next step is to edit the last 3rd database config (which many people forget about).

    Go to the settings folder and open the mainDB.json file.
    In it, just specify your MySQL connection details.
  2. The penultimate step is to install Redis Server.
    You should ALREADY have it installed, if not, the link is just above.
  3. Voila the installation is complete, you can start the server, the file is ragemp-server.exe.
    If you are under 5 years old and can read and watch videos, then the server will start without errors.
The admin panel is displayed in the database, the table is characters, the column is adminlvl, the maximum level is 10

Fix
Fixing "????????" in RedAge v3
businesses Here is a fix so that there are no issues in businesses ??????????
1. Download MARIA DB

Follow this link ( ) and click the "Download" button, thereby downloading Maria DB version 10.5
2. Launch and start installing MARIA DB

Run the program that you downloaded "mariadb-10.5.22-winx64.msi", click on the "Next" button, then check the box and agree with the policy and click "Next", then click "Next" again, and then carefully read and look at the screenshot in the next spoiler!

3. Complete the installation of MARIA DB

3.1 correctly. You need to uncheck the box so that there is no password in the database.
3.2. Be sure to check the "Use UTF8..." If the tick is not there, there will be "???????" signs in businesses!
3.3. Click on the "Next" button, then click "Next" again, and then click on the "Install"

button Congratulations, your Maria DB 10.5 is installed correctly, and now there will be no "????????" in the businesses

The second method is for those who can find the my.ini or my.cnf file in the folder with Maria DB and add the character-set-server=utf8

parameter
to it FIX HOW TO MAKE PROTECTION FROM 0 IDI
Here is a fix so that no one can give himself money except for the administrator

1. Go to
dotnet\resources\NeptuneEvoSDK\Models\ServerSettings.cs

2. There is line 14
public byte ServerId = 0;
Change from scratch to 1

It should look like this:
public byte ServerId = 1;

3. After that, you assemble the project.

4. After that, go to the root of the server in the settings
folder There is a file serverSettings.json

In it, on line 3,
"ServerId": 0,
From scratch change to 1

It should look like this:
"ServerId": 1,

5. Then go to the folder src_client
On the path src_client\utils\cef.js open the file cef.js and change it there on line 18
if (serverId === 0)
From scratch you change it to 1

It should look like this:
if (serverId === 1)

After which you build the client part.

That's it, now no one will be able to use commands such as: /givemoney, etc.
 
Back
Top