Setting up the server

Setting up the server
Before you can actually start playing you still need to get that server running. By now you should have installed all the basics to get this done. Surprisingly it is not that hard to play your server offline. On line is a different story. So I will cover them seperatly

Server for offline use.
By now you should have installed all the basics to get this done. Surprisingly it is not that hard to play your server offline.

Step 1.

 * 1) Go to your rAthena folder and find rAthena-13
 * 2) Double click it
 * 3) Wait for visual studio to load
 * 4) Locate the green arrowhead (play sign)
 * 5) In the white box to its right select Release instead of debug
 * 6) Locate the Solution explorer, pretty much the entire right side of the window.
 * 7) Right click on Solution 'rAthena-13'(4 projects)
 * 8) Select build solution
 * 9) If you update the rAthena folder after doing this you will have to repeat this step!

Step 2.

 * 1) Go to your rAthena folder
 * 2) Locate runserver-sql and double click
 * 3) You will now see 3 cmd windows open up
 * 4) Check for the following warnings
 * 5) [Warning]: Using the defaulth user/password s1/p1 is NOT RECOMMENDED.
 * 6) [Warning]: Not all IP adresses in XXX_athena.conf configured.
 * 7) [Warning]: Log table log_db_db does not excist
 * 8) If you have something that looks like warning 3 you need to edit, a file otherwise your done.
 * 9) Locate the conf folder inside you rAthena folder (rAthena -> conf)
 * 10) Open inter_athena with a simple text editor and look for //MySQL Log SQL Database
 * 11) Change the line log_db_db: ragnarok to log_db_db: log
 * 12) Restart your server

Step 3.
#define PACKETVER 20130807 //#define PACKETVER 20120618''' //#define PACKETVER 20130807 #define PACKETVER 20120618'''
 * 1) Now go to your rAthena folder and open src/common/
 * 2) Inside the common folder find    mmo.h    and open it in either visual studio or a text editor.
 * 3) Look for''' #ifndef PACKETVER
 * 1) Change it into '''#ifndef PACKETVER
 * 1) Repeat Step 1.
 * 2) You can now log into the server and play the game.