NR-CORE Set-Up (with DungeonGen)
nilly shot down nr website, since there wasn't really a way to get resources again, except if someone gave it to you, I made this. And btw they added DungeonGen.
First off, requirements:
-NR-CORE downloaded.
-NR-27.7.X13 downloaded.
-Visual Studio for server editing.
-IntelliJ IDEA (any version after 2016) for client editing.
-Redis for windows (search on Google "redis for windows ServiceStack", go to the first page and select "downloads" then download the correct version for you).
-Redis Desktop Manager for database management (recommended).
-Notepad ++ for future file editing (recommended).
-Download flex sdk 4.9.1.
-Download resources (attached file).
-Download RotMG-Dungeon-Generator
-Good use of common sense.
After you have everything in the list above, you will follow these steps:
Now, the server source is set up to localhost, that means only you will be able to play, if you want to change the ip so your friends can play, you need to configure the server in these 2 files: wServer.json and server.json. Like this:
In wServer.json you can configure game as you want, basic configurations like max amount of players connected at the same time, tps (ticks per second) and version, also the ip in server.json and wServer.json has to be the same if you will host it on your computer or on only one VPS.
To finish, we open Redis Desktop Manager and click "Connect to Redis Server" at the top left corner, we type the name of the connection (default is 0) and then we click "Ok". Note: it won't load anything yet, it will when you open server.exe and wServer.exe for the first time.
Now, we will start with client installation:
Now, you can rebuild client
.(it will be located at a folder called "bin-debug", and the name of the client will be "WebMain.swf")
To open the server, first open redis-server.exe, go to NR-CORE folder, then go to bin folder, and open server.exe and wServer.exe as Admin. And have fun playing alone lol.
To make yourself Admin:
Open Redis Desktop Manager, go to db0, and then to account.1, Now search for row called "admin", once you find it, double-click it to change its value to 1, then click save. Now click on Add row button and you will complete the box like this:

Now you will be the most powerful being on your server, being able to do every single command, which by the way are located at wServer.realm.commands.RankedCommands.cs
If you got any errors while setting up, just reply this thread explaining the error and what you did before it happened.
First off, requirements:
-NR-CORE downloaded.
-NR-27.7.X13 downloaded.
-Visual Studio for server editing.
-IntelliJ IDEA (any version after 2016) for client editing.
-Redis for windows (search on Google "redis for windows ServiceStack", go to the first page and select "downloads" then download the correct version for you).
-Redis Desktop Manager for database management (recommended).
-Notepad ++ for future file editing (recommended).
-Download flex sdk 4.9.1.
-Download resources (attached file).
-Download RotMG-Dungeon-Generator
-Good use of common sense.
After you have everything in the list above, you will follow these steps:
Server Installation
- Open the server project located in the NR-CORE folder, the file is called server.sln.
- Replace the downloaded folder RotMG-Dungeon-Generator into NR-CORE folder, if it asks to replace, you click continue or yes.
- Right-Click on RotMG Dungeon Gen projetc, and click Reload Project.
- In the server project, go to:

- To finish, you will put the downloaded resources folder into bin folder(where wServer.exe and server.exe are).
Now, the server source is set up to localhost, that means only you will be able to play, if you want to change the ip so your friends can play, you need to configure the server in these 2 files: wServer.json and server.json. Like this:
In wServer.json you can configure game as you want, basic configurations like max amount of players connected at the same time, tps (ticks per second) and version, also the ip in server.json and wServer.json has to be the same if you will host it on your computer or on only one VPS.To finish, we open Redis Desktop Manager and click "Connect to Redis Server" at the top left corner, we type the name of the connection (default is 0) and then we click "Ok". Note: it won't load anything yet, it will when you open server.exe and wServer.exe for the first time.
Client Installation
Now, we will start with client installation:
- Open the client project with IntelliJ IDEA.
- Go to File->Project Structure and click "New" button:
and select Flex/AIR SDK. - Select the location where you left the folder of the flex sdk version, and select the folder that contains flex sdk 4.9.1 and click OK.
- After you done that, select the flex version:

- Now go to Modules
, click On NR-27.7.X13, then click "Change..."
and then un-check Pure ActionScript
- Next, go to Dependencies (still in Modules.NR-27.7.X13), and select the flex version like you did in Project Structure(no need to click "New" again though, just select version of flex sdk).
Now, you can rebuild client
.(it will be located at a folder called "bin-debug", and the name of the client will be "WebMain.swf")To open the server, first open redis-server.exe, go to NR-CORE folder, then go to bin folder, and open server.exe and wServer.exe as Admin. And have fun playing alone lol.
Extra
To make yourself Admin:
Open Redis Desktop Manager, go to db0, and then to account.1, Now search for row called "admin", once you find it, double-click it to change its value to 1, then click save. Now click on Add row button and you will complete the box like this:

Now you will be the most powerful being on your server, being able to do every single command, which by the way are located at wServer.realm.commands.RankedCommands.cs
If you got any errors while setting up, just reply this thread explaining the error and what you did before it happened.


