Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Ragnarok Online > Ragnarok Online PServer Hosting
You last visited: Today at 22:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide]How to setup a Ragnarok Online(Server Side Only)

Discussion on [Guide]How to setup a Ragnarok Online(Server Side Only) within the Ragnarok Online PServer Hosting forum part of the Ragnarok Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1
Received Thanks: 0
[Guide]How to setup a Ragnarok Online(Server Side Only)

Download these files first:





Download Compiled SVN (I suggest to use trunk)

When you're done downloading those files, follow these steps:

==========// SVN Files Setup //==========

1) Goto your downloaded svn and extract it.

2) Goto conf folder and look for char_athena.txt, inter_athena.txt, map_athena.txt and subnet_athena.txt

3) Open char_athena.txt, and map_athena.txt and look for this:

Code:
// Server Communication username and password.
userid: s1
passwd: p1
and change that into

Code:
// Server Communication username and password.
userid: ragnarok
passwd: ragnarok
2) Open your char_athena.txt again and look for this:

Code:
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//login_ip: 127.0.0.1

// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Login Server Port
login_port: 6900

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
//char_ip: 127.0.0.1
remove the "//" in login_ip and char_ip. It will look like this:

Code:
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1

// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1


// Login Server Port
login_port: 6900

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 127.0.0.1
3) Open your inter_athena.txt and look for this:

Code:
// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: ragnarok
sql.db_password: ragnarok
sql.db_database: ragnarok
sql.codepage:

// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok
char_server_pw:ragnarok
char_server_db: ragnarok

// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok
map_server_pw: ragnarok
map_server_db: ragnarok

// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok
log_db_pw: ragnarok
log_db_db: log
log_codepage:
if you're using my guide that is a given and you don't need to edit them. But if you're planning to change any of here like the user password or what, you need to change this too.

4) Open your map_athena.txt and look for this:


Code:
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//char_ip: 127.0.0.1


// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Character Server Port
char_port: 6121


// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
//map_ip: 127.0.0.1

// Map Server Port
map_port: 5121
remove "//" in char_ip, and map_ip, it will look like this:

Code:
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 127.0.0.1
// Map Server Port
map_port: 5121
5) Open you subnet_athena.txt and you'll see this:

Code:
subnet: 255.0.0.0:127.0.0.1:127.0.0.1
If you changed the ips in char_athena.txt, inter_athena.txt and map_athena.txt, you should consider to put them here too.

for example, the ip is 125.60.252.169
Code:
subnet: 255.0.0.0:125.60.252.169:125.60.252.169
==========// MySQL Setup //==========

1) Install MySQL Gui Tools

2) Install MySQL Essentials. Choose MySQL 501. Enter "ragnarok" for the password for "root"(remember you can change this later on, this is just a basic one). Just click the Execute and when done, just click Finish. Go to Task Manager and check if mysqld-nt.exe is running in processes although it's not necessary if no error occured during installation.

3) Start MySQL Query nd it will prompt up a window. Fill in

Code:
Stored Connection: (leave it blank)
Server Host: localhost Port: 3306
Username: root
Password: (remember the password you made when you're installing MySQL Essentials?put it here)
Default Schema: ragnarok(you can change this afterwards, this is just a basic name)
and leave other field as it is but to make sure everything is correct. Then press enter.

4) *When you are in MySQL Query Browser, click once on ragnarok database that is below Schemata.
*Go to menu, click File and choose Open Script...
*We need to execute main.sql, mail.sql and log.sql (execute upgrade_svn* .sql files, too, if require) so, look for the main.sql, which should be in sql-files folder in eAthena Server and other .sql files.
*Pick main.sql and click Open.
*Click the Green Execute Icon to the upper right to execute. Do the same with mail.sql now and execute it.
*When you are done, we need to create log database by right-click somewhere within the table where the databases are and choose Create New Schema and type in log and click OK.
*Double-click on log database, go to menu, click File, choose Open Script..., open logs.sql and Execute.
*Double click ragnarok database to expand to see all tables.
*Look for login table and double click and double click again.
*Click once on Edit so, we can edit the cells. This icon should be in bottom.
*For userid: and user_pass:, type in the name that you used in char_athena.conf and map_athena.conf.
*When you are done editing, just click the Apply Changes that is next to the Edit icon.

5) Goto MySQL Administrator. Login there.

Code:
Stored Connection: (leave it blank)
Server Host: localhost Port: 3306
Username: root
Password: (remember the password you made when you're installing MySQL Essentials?put it here)
Then Enter.

6) And you're inside the MySQL Administrator now. Go to User Administration and Click New User and enter this:

Code:
MySQL User: ragnarok
Password: ragnarok
Confirm Password: ragnarok
then click "Apply Changes".

After that, Click the ragnarok user and goto schema priviledges(right-side of user information). Click ragnarok and log database and click "<<", then click "Apply Changes"

And we're done


Original Thread:

Other Available Guides:

Server Side Setup Guide(For linux - This is commonly used OS in VPS Host):

Adding Custom Items Guide:

Downloading the newest trunk here in rAthena you'll need these:


If you're using 2012Clients adding custom items you will use lub not lua, so here:


If you want to add custom maps in your server:



If you want some basic scr modifications to be done:


Well if you don't know how to recompile or compile your svn:
diconfrost13 is offline  
Reply


Similar Threads Similar Threads
[Guide] Zero Online Server Setup
05/16/2015 - Zero - 8 Replies
I know there have been many post for a guide on how to set up a server, but i have a few friends that it does not work for them. So please allow me to make my only guide on making a server. First you will need these few things: 1.) You will need the server files. Link Here 2.) Client v1002 (sadly since MegaUploads take down i do not have a link.) 3.) Navicat SQL Manager. Link Here 4.) Wamp 5.0 Link Here Okay now lets get started...
LF [[Guide]] Setup Online Server
04/18/2013 - SRO Private Server - 19 Replies
Hello, everyone. I'm new in this thing. i have checking out for some video how to setup a server and stuff and sreaching for guide. but all guide i found was only for hamachi or lan played. Simple ] if anyone could guide me how to setup a silkroad private server it would be great i can think pay some cash for helping me out... ] An Full Guide "How to setup a silkroad private server without any error for vsro server on public (Online)" not using hamachi and stuff just like other...
[Guide] Zero Online Server Setup
01/23/2012 - Zero - 1 Replies
DELETE THIS TOPIC!!!!!!



All times are GMT +2. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.