Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Crystal Build Guide 2024

Jev

LOMCN STAFF
[VIP] Member
Joined
Apr 29, 2023
Messages
81
Reaction score
140

〘New Crystal Build Guide〙

Description:​

With the updates the Crystal Source code has been receiving, the Guide's for building the source and compiling them have become outdated which has led to a lot of confusion and help being requested.
This guide will be a complete step by step guide from downloading visual studio to launching into your server.



Downloading Visual Studio 2022​

Download VS Community 2022 using the following link -
Once VS is downloaded, Open it up and download the following WorkLoads:
Jev - Crystal Build Guide 2024 - RaGEZONE Forums
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

If you can't find this window head over to Tools > Get Tools and Features
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Select Individual Components and Select .Net 8.0 Runtime
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Downloading the Latest Source Code​

Head over to
Jev - Crystal Build Guide 2024 - RaGEZONE Forums


Once this is downloaded head over to your Desktop and create a new folder called Crystal Mir 2.
Open up your mir2master.zip from your downloads folder and drag the folder into the Crystal Mir 2 folder located on your desktop.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Building the code​

Open up Legend of Mir.sln located in your Crystal Mir 2 > mir2-master

Right click Solution 'Legend of Mir' (9 of 9 projects)
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Click Build Solution
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Encounting this error?
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

If so head over to to fix these errors, Then repeat Step 3.

Creating the folders we need​

Open Crystal Mir 2 Folder and create the following empty directories.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Now open your mir2-master folder and open the Build Folder.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

You should now see these three directories:
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Open the Client folder then open the Debug folder.
Copy all of these files into your Client folder located in Crystal Mir 2 > Client
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Repeat this with the Server Folder located in the Build folder, copy all those files into the Crystal Mir 2's Server folder.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Patching the Client​

Open your Client folder that's located in Crystal Mir 2 (Not the build folder)
Now open the Client.exe
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

This will now open the Client which will download all the required base files for your client.

Starting the server​

Open your server.exe in Crystal Mir 2 > Server (Not the build folder)
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

This will now create all the required files for the Server.
You will now see the Server with the following error:
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

  • If you would like to Download a pre-made database, go straight to Step 7.
  • If you would like to start your server with no database (Create your own) then close your server down and open Setup.ini located in Crystal Mir 2 > Server > Configs
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Change EnforceDBChecks=True > EnforceDBChecks=False and ignore Step 7. (!!Downloading a database is highly recommended!!)

Downloading a Database​

Head over to
Download the latest Release.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Once downloaded Open the .rar and drag the files/folder into your Server folder inside Crystal Mir 2 Folder.
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Click 'Replace the files in the destination'
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Note: Copy over the maps from the Server's Map folder to the Client's Maps folder.

Getting Online​

You have two options. Local Server or Ported Server.
If you want a Ported Server (Allow others to join) please follow the steps in the
Alternatively for a Local Server:
Open your Client Folder and open Mir2Test.ini
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Change
[Network]
UseConfig=False

To

[Network]
UseConfig=True
IPAddress=127.0.0.1
Port=7000

Note: For a local Server you do not need to adjust any Server IP as this is defaulted to 127.0.0.1
Now Launch your Server and Client!

Admin account creation​

When your server is fully loaded Press Account
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Now Press Create
Jev - Crystal Build Guide 2024 - RaGEZONE Forums

Give your account an ID & Set a password
Now Uncheck Require Change & Check Administrator

Things not right?​

Comment below adjustments to keep this guide up-to-date.

All donations are welcome and I'm greatly thankful of all.
 
Last edited:
Back
Top