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

Installing a ready-made DEDNET RP / State 99 RP server build for RAGE:MP

Alexalsaud

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

Installing a ready-made DEDNET RP / State 99 RP server build for RAGE:MP​


nstalling and running the server:

Please note! To run this build you must have installed: NodeJS.
Download -

As well as a MySQL server, the recommended version is
  1. Create a new database on our MySQL server and import the DN-RAGE-master\ file admin_rage.sql
  2. Next, we need to fill in the data for MySQL authorization, go into the file DN-RAGE-master\packages\dnet\modules\mysql.js and fill in our data:
JavaScript:
let host = 'localhost';
let dbuser = 'root';
let database = 'admin_rage';
let password = '123321';

  1. The next step is to set up the development environment and then assemble the server together.
  2. Go to the folder with the server itself and execute these commands one by one (don't forget to install NodeJS):

  3. Git:
    npm install
    cd src_client_package
    npm install
    npm run build


  4. At this stage, we have already fully assembled the server itself + the client part, we just need to assemble the interface to the game mod and run it (you can choose the visual part of the interface from State 99 or Dednet, but keep in mind that there may be errors due to the lack of some files, here you are already chemizing).

  5. Go to the DN-RAGE-UI-master-fixed folder and execute these commands one by one (do not forget to install NodeJS):

    Attention!
    You can choose which interface (from which server) you will use, DN-RAGE-UI or STATE-RAGE-UI. - If you are using the original build.

  6. Git:
    npm install
    npm run build

  7. (This step can be long, be patient and wait).

  8. 1725035760474.png

  9. After executing the commands from the previous step, if you did everything correctly and there were no problems, a new folder will appear in the folder - build (it contains the assembled server interface).
    Also, at the end, the output should be something like in the screenshot.

  10. In the penultimate step, copy the contents of this new folder DN-RAGE-UI-master-fixed\build or STATE-RAGE-UI-master-fixed\build to the path:
    DN-RAGE-master\client_packages\cef
    (that is, copy and replace it to the server folder itself).

    Attention!
    You can choose which interface (from which server) you will use, DN-RAGE-UI or STATE-RAGE-UI.


  11. The last step is to add the promo code to the database: "REGISTER", as it is not enough at the time of registering a new character, without specifying the promo code. To do this, run one SQL query into the database (or create it with pens):

  12. SQL:
    INSERT INTO `promocode_top_list` (`id`, `promocode`, `start`, `end`, `is_one`, `is_use`) VALUES (1, 'REGISTER', '{"money":1000}', '{"money":25000}', 0, 0);

  13. Start the server by double-clicking on DN-RAGE-master\server.exe and when the launch is successful, we see something like this (there should be no errors):

    If you have errors - read the DISCUSSIONS tab, many of them have been discussed and solutions have been found.
    1725035826655.png|
  14. The final step is to download and place the DLC-pack for this server in the desired folder:


  15. ⚠️ Give the admin panel in the database, the users table, columns admin_level and helper_level put 99.
    ⚠️ Key to open the admin menu: 8 (not a numpad).
 
Back
Top