Follow this step-by-step guide to create a Ragnarok Online private server using the rAthena emulator on Windows.
Download and install the following dependencies for Windows:
Open Git Bash or Command Prompt and clone the rAthena repository:
git clone https://github.com/rathena/rathena.git
cd rathena
This will download the rAthena source files to your local machine.
Log into MySQL to set up a new database and user for your server:
mysql -u root -p
Run the following commands inside MySQL:
CREATE DATABASE ragnarok;
CREATE USER 'ragnarok_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON ragnarok.* TO 'ragnarok_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Replace password
with a secure password.
Open the following files in the conf
directory and edit as necessary:
userid
and passwd
fields with your MySQL user credentials.Use CMake to compile rAthena:
rathena/build
.Visual Studio 16 2019
as the generator.1. Download a compatible client: Obtain the kRO or another client version compatible with rAthena.
2. Patch the client: Use NEMO
patcher to modify the client for your server.
3. Update client files: Modify the server address in clientinfo.xml
or similar file to match your server's IP and port.
In the compiled rAthena folder, launch each server component by running:
login-server.exe
char-server.exe
map-server.exe
Each component should start without errors if configured correctly.
Launch your patched Ragnarok Online client and connect to your server. If this is your first time, create a default admin account in MySQL with:
INSERT INTO login (account_id, userid, user_pass, sex) VALUES (2000000, 'admin', 'password', 'S');
Replace admin
and password
with your preferred credentials.
More related stuff : Ragnarok Online private servers, Ragnarok Online FAQs, Ragnarok Online emulators