Pages

Tuesday, January 22, 2013

Setting up Ragnarok Private Server

Basically, you don't really need to be an IT or CS or whatever computer literate course in able for you to have your own Ragnarok Private Server.
All you need to have are
☺Common sense
☺Good Understanding
☺Dedication
☺and most important -> Personal Computer/Laptop

well, if you think you have that, let's start.

I've been handling my own Ragnarok Online Private Server for more than a year and I want to share this to you guys. so keep on reading.

♦ Setup eAthena Server(Offline)  ♦
1. For now, we will be using my configured server files.
This is a 3rd Job Class Modification rev. 682 (as far as I remember, it was released last October 29, 2012 by eAthena).
Download HERE!

2. Extract server.rar anywhere in your computer hard disk except in desktop.
Since this server file was already configured,
we are done in this part.

3. Let's proceed in installing MySql Database for our server.
Download MySql Essential for Windows Xp, Windows 7, Windows 8.
mysql-essential-5.0.88 for 32bit
or
mysql-essential-5.0.88 for 64bit

4. Install mysql-essential-5.0.88
> Click Next
> Choose Typical and click Next
> Click Install
> Choose Skip-Sign Up
> When It's finished, just click Finish and don't uncheck the Configure the MySQL Server now.
> Now, you can either choose Detailed Configuration or Standard Configuration, which is up to you but if you are unsure, just choose Standard Configuration and click Next.
> In Service Name:, pick MySQL5 and click Next.
> Just enter the password you wish for root and it's important to remember cause we need it later. Click Next.
> 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..

5. Install MySQL GUI Tools 5.0-r17. We only need MySQL Administrator and MySQL Query Browser but just install everything.
Download MySql GUI TOOLS 5.0-r17

6. Start MySQL Administrator and it will prompt up a window. Fill in Host Name, Username and Password and leave other field as it is but to make sure everything is correct, it should look like this:

Stored Connection: (just leave it empty)
Server Host: localhost
Username: root
Password: (enter the password we created before for root)
Port: 3306


7. Click OK and you should be in MySQL Administrator now.Go to User Administration and Click New User and enter this:

MySQL User: ragnarok
Password: ragnarok
Confirm Password: ragnarok


When you are done, then just click Apply changes and exit MySQL Administrator.

8. Start MySQL Query Browser and it will prompt up a window that look like MySQL Administrator except there is a new field call Default Scheme. It should look like this:

Stored Connection: (just leave it empty)
Server Host: localhost
Username: root
Password: (enter the password we created before for root)
Default Schema: ragnarok
Port: 3306


9. 
> 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 and logs.sql, so look for the main.sql, which should be in sql-files folder in our server folder and other .sql files.
> Pick main.sql and click Open and Execute.
> 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. (or simply TRIPLE CLICK)
> Click once on Edit so, we can edit the cells. This icon should be in bottom.
> Change userid and user_pass located in the table. Default values of those are s1 and p1.

change into
userid: myserver
user_pass: pwserver

> Create your own GM account in the next row.

account_id: 20000000
userid: admin
user_pass: admin
sex: M or F
level: 99

> When you are done editing, just click the Apply Changes that is next to the Edit icon.

NOTE: userid: and user_pass: must be same in login table, char_athena.conf and map_athena.conf.
(char_athena.conf and map_athena.conf are located in server\conf\)

10.
> In menu, click Tools and choose MySQL Administrator.
> Go to User Administration and click ragnarok user.
> Now, go to Schema Privileges and Click once on ragnarok database/schema and 
Click this button << and then click Apply changes. Do the same with log database/schema.

11. Open server folder and double click the runserver-sql.bat 
( or right-click "Run as Administrator" if you are using win7 OS )

You should see a result like this.


== WE ARE NOW DONE IN SERVER SIDE. ==


♦ Download Client Side  ♦

1. You must have kRO Client or any updated full client of Ragnarok Online that was basically installed in  C:\Program Files\Gravity
If you do not have yet. download the 10-01-2012 kRO Client Folder HERE!
Make sure to download at least 2012 KRO Client or LESS than that to be able to work with 2011-11-22aRagexeRE.exe.patched.exe

2. Download my Client Folder I made for you.
Link HERE!

3. Extract Client Folder.rar in your desktop, copy the files inside of it and paste it in your kRO directory or Ragnarok Online directory. (eg. C:\Program Files\Gravity )

4. You may now login your account that we created a while ago using the client
2011-11-22aRagexeRE.exe.patched.exe
UPDATE Download Latest 2011-11-22aRagexeRE.exe.patched.exe Client.

NOTE: The runserver-sql.bat must running before you login.
Comment below if you have question/suggestion or anything under the sun.


I would also like to post soon
♥ How to Setup Ragnarok Online Control Panel using FluxCP.
How to Setup Simple Client Patchet using Thor Patcher.

GOODLUCK :)
~ SB

92 comments:

  1. it works for me..thanks!
    really interesting even if I play by myself.

    Anyway, how can I change the max level and job level into 500?

    ReplyDelete
  2. Help!, only problem that i encounter is when i do character the server says character creation Denied

    ReplyDelete
  3. When i double click the patcher it say the patcher has stopped wirking

    ReplyDelete
  4. If u dont mind pm me your free time and teamview the bug :D

    ReplyDelete
  5. Hai I'm Unable to Download Client Folder.rar from mediafire...
    Please Provide a working Link...
    Thank You

    ReplyDelete
  6. How do I allow others to join my server? Please reply!

    ReplyDelete
  7. Hi i have a problem on your server means that character eathena refused? how is it done? i just follow your guide properly but always on that problem. hope of your reply thank you!

    ReplyDelete
    Replies
    1. we have the same problem after i open runserver-sql.bat one of the cmd says connection of the char-server 'eAthena' REFUSED
      please reply with our comments so that we can fix this error :(

      Delete
  8. i cant seem to find ragnarok database below schemata can anyone help me please?

    ReplyDelete
  9. i cant seem to find this part please help

    > We need to execute main..sql and logs.sql, so look for the main.sql, which should be in sql-files folder in our server folder and other .sql files.
    > Pick main.sql and click Open and Execute.

    ReplyDelete
    Replies
    1. you need to create the database "ragnarok" first (Create schema)

      Delete
  10. for LemonDD >> Im pretty sure that the patcher that includes in the client folder is not working.. because it is CONFIGURED in my previous server.


    for raj >> I tried to download and it works for me!


    for Martin Moloney >> this guide is for offline only and if you want to make your server online.. you have to avail hosting package to support your server online. you can use GOOGLE SEARCH anytime.



    for marjhone Casas and micko cancino >> please be sure in step 7 onwards. or you can try if you are using Windows 7/8 OS. Make it run as Administrator



    for ChrisD >> you forgot to read this "When you are in MySQL Query Browser, click once on ragnarok database that is below Schemata." So it means you must be in MySQL Query Browser then you can see in your RIGHT SIDE all the database including "ragnarok" and "log"


    for ALL >> please follow the guide properly and im sure you will not get any error.

    ReplyDelete
    Replies
    1. sir im using windows 7 after i try to run as administrator there's nothing in the cmd its like you just open 3 cmd there nothing on it but if didn't use the run as admin i can see a lot of codings like in the picture but i says REFUSED. and one more thing when im in the step 9 and i pick the main.sql and execute after i execute i have 1062 error?it is in the ErrorNr. what am i gonna do next? :( can i get your yahoo messenger,skype or something so that we can just chat?i really want to fix this as soon as possible please :(

      Delete
    2. IT WORKS! ! ! ! !:) THANK YOU SB.PRO :) thank you so much!:) hehe one last thing can i connect this server to hamachi?and let my friends play with me?

      Delete
    3. yes that would be possible, but you need to set some configuration so that your friends can connect to your server.

      Delete
  11. you can screenshot your error and upload it to your favorite file hosting site then share with me

    please report if there is any broken link.

    ReplyDelete
    Replies
    1. sir when my clone royal guard use shield press my server crashes wat should i do? please help tnx ^^

      Delete
  12. sir i already made it...but my problem is when im starting to use royal guard...and make a clone when i made them fight and when they use some skill. my map server sql will stop working??

    btw thanks for this ^^

    ReplyDelete
  13. sir in mySQL browser, i execute the main.sql,but it stop in 62.11%,do i need to w8 up to 100% before i execute the log.sql?

    ReplyDelete
  14. you forget to put the item number in item_db2 and the description

    ReplyDelete
  15. Problem I'm having is just with the screen size once running the client. Setup.exe doesn't seem to help, at all.

    ReplyDelete
  16. ya how do I get the client to run in full screen / change its window name or do i have to make a new diff patch for it?

    ReplyDelete
    Replies
    1. yes. you need to have another diff patch for it.

      Delete
  17. how can i fix this?

    http://postimg.org/image/50h421hh3/

    ReplyDelete
    Replies
    1. same problem . huhuu . i need help please :(

      Delete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Testing..

    Sir I can't change the window mode resolution T_T

    ReplyDelete
    Replies
    1. Add me in facebook sir..

      www.facebook.com/denceljames05

      I need help in screen resolution.. I can't change it

      Delete
  20. How will I update this server? ( to include the lhz_dun04, brasilis, etc)

    ReplyDelete
  21. Hi SB.Pro, I'm at the launching the Client part (step 4) and I'm getting "2011-11-22aRagexeRE.exe.patched.exe has stopped working" - Close the program or Check Online for a solution and close the program... Help please sir I really appreciate it!

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: 2011-11-22aRagexeRE.exe.patched.exe
    Application Version: 0.0.0.0
    Application Timestamp: 4ecb50c0
    Fault Module Name: 2011-11-22aRagexeRE.exe.patched.exe
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4ecb50c0
    Exception Code: c0000005
    Exception Offset: 001848b0
    OS Version: 6.1.7600.2.0.0.256.48
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

    ReplyDelete
  22. im having a hard time where to put the

    > Change userid and user_pass located in the table. Default values of those are s1 and p1.

    change into
    userid: myserver
    user_pass: pwserver

    > Create your own GM account in the next row.

    account_id: 20000000
    userid: admin
    user_pass: admin
    sex: M or F
    level: 99

    > When you are done editing, just click the Apply Changes that is next to the Edit icon.

    on main.sql
    Script line: 419 Unknown column 'userid' in 'field list'


    and when i click execute on logs.sql
    Script line: 8 Table 'picklog' already exists

    thanks

    ReplyDelete
  23. how do you change the resolution?

    ReplyDelete
    Replies
    1. and btw.. im using the most recent kRO from RMS.. setup doesn't make any changes.

      Delete
  24. hi sir can ask you how can i add or edit my items ??
    by the way sir thanks for this tutorial ..

    ReplyDelete
  25. sir, log says eathena refused, though i already run sql as admin...

    tried to login my account on RO, it says: SERVER CLOSED..

    what will i do?

    ReplyDelete
  26. got in the SERVER part eAthena,, however, when i log in the 2 accounts; myserver and a GM account, it says, REJECTED FROM THE SERVER

    ReplyDelete
  27. i got everything, but when I tried to log in it says "failed to connect to server" what should I do?

    ReplyDelete
  28. no item list in item_db2 for the custom items

    ReplyDelete
  29. why is it failed to connect to server men? but all server is ready

    ReplyDelete
  30. when i run the logserv-sql i got this " logserv-sql.ba' is not recognized as an internal or external command, operable program or batch file.

    ReplyDelete
  31. Im looking forward on how to make this online :D can you do another step by step tutorial for this? btw your blog really helped a lot i wish all people can make this kind of tut in other games.. FAST and EASY :D cheers!

    ReplyDelete
    Replies
    1. Cool! you need to send your server files to your selected ragnarok hosting service and they will configure it for you

      Delete
    2. ofcourse. you need to pay for their monthly hosting service.

      Delete
  32. BTW where is the location of the custom NPC?? i cant find it

    ReplyDelete
    Replies
    1. i think it has.. i forgot the exact location but it's on quiz02 / quiz_02 not sure.

      Delete
  33. My server runs smooth but i cant set it to fullscreen mode and i have no clue how to update the kro because i have the latest kro client. Is there any solution for the fullscreen problem?

    ReplyDelete
    Replies
    1. you need to find/replace your setup.exe in order to make it work

      Delete
  34. why ragnarok.exe not working?

    ReplyDelete
  35. Hi there,
    I've followed your instructions, and really worked for me
    thanks in advance :D
    Now I can play this game on Windows 8,
    but sadly the game screen was too small, 640 x 480 , can't make it on a bigger size :/

    ReplyDelete
    Replies
    1. you need to find/replace your setup.exe in order to make it work

      Delete
  36. mm... I want to ask something about in-game option
    There's shortcut configuration that always "Not Assigned"
    Every time I assigned all and click "Ok" button, always had an error message box like " error ... #1 'bad file' " , but the shortcut is still ok to use.

    And every time I quit and close all "...-server.exe" , then restart and play again, the Shortcut Configuration always back to "Not Assigned" again ,,, anyone can solve it?

    ReplyDelete
    Replies
    1. i think there's conflicting files in your data folder

      Delete
  37. how can i play full screen... setup doesnt work... thanks

    ReplyDelete
    Replies
    1. you need to find/replace your setup.exe in order to make it work

      Delete
  38. How do I make other people connect to my server? I know I have to forward my ports and so on but how do I change client settings to connect to my IP?

    ReplyDelete
  39. 2011-11-22aRagexeRE.exe.patched.exe Client not working . i need help :(

    ReplyDelete
  40. The 'Client Folder' link will not work for me. Any suggestions?

    ReplyDelete
  41. I have a question.. how can i change the resolution of the patcher. its a little bit smaller. pls help me. thanks in advance

    ReplyDelete
  42. Hey,

    Thanks this work super fine except the resolution issues.

    btw what happened if i use another patch?
    ur patch 2011-11-22aRagexeRE.exe.patched.exe is working fine but my OCD wanted me to get a 2014 patch here http://k3dt.eu/Ragexe/unpacked/

    i tried download and put in in KRO and it didnt start (error) so i wonder if that patch of urs is bind to the server?

    ReplyDelete
    Replies
    1. hey man did u try it with another client patch? how did it go?

      Delete
  43. Hey again so i have solved the small resolution issue.

    Do this
    1. download this http://www.sendspace.com/file/ypjyo4
    its two .ini file that are missing in ur RO folder
    2.extract it into ur kRO folder.
    3.enjoy :D

    ReplyDelete
  44. More read on how to solve ur resolution issue + some awesome tweaks.

    http://forum.ratemyserver.net/ro-graphic-coding-media/roext-mouse-freedom-and-some-tweaks/

    ReplyDelete
  45. cant seems to make my cliet work, server side finished, anybody can help me on this?

    ReplyDelete
  46. two accounts rejected from server anyone knows how to solve this?

    Thanks

    ReplyDelete
  47. agapito

    Id = admin
    pass = admin

    try it.

    ReplyDelete
  48. the server denied my char. pls fix!!!

    ReplyDelete
  49. Is there a way to use the client here on my wife's computer so she can connect to the server that is on my computer?

    ReplyDelete
  50. SB.PRO can you help me? I know this server is yours but i hope you can help me to change "Login Background","Loading Screen" and your server (StifWilderZ) on top of game screen. i tried looking online about these but theres some folders/files that i cant find so prettymuch it doesnt help... so since ur the one made these... maybe you can?

    thanks! ill be checking back.

    ReplyDelete
  51. Hi there I the link to the client folder is not working can you give me a working link? Plus how do you allow some one in the same house join your server, just making one for my me and my brothers. Thanks so much for really helpful tutorial.

    ReplyDelete
  52. sir got a problem im stock here
    ---------------------------------------------
    > Double click ragnarok database to expand to see all tables.
    > Look for login table and double click and double click again. (or simply TRIPLE CLICK)
    > Click once on Edit so, we can edit the cells. This icon should be in bottom.
    > Change userid and user_pass located in the table. Default values of those are s1 and p1.

    change into
    userid: myserver
    user_pass: pwserver

    > Create your own GM account in the next row.

    account_id: 20000000
    userid: admin
    user_pass: admin
    sex: M or F
    level: 99
    ---------------------------------------------
    please help.. i cant figure how to find the login table also i cant figure how to creat a admin acount... please explain more.. T_T sorry for this

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  53. Server run smoothly. Only the ragexe file stopped working when attempting to start. here a pic how its look. http://postimg.org/image/nj7gzv9rj/

    ReplyDelete
  54. since the latest kRO does not use sakray anymore, what specific update should we use because they do not use rag.exe anymore

    ReplyDelete
  55. Guys
    2011-11-22aRagexeRE.exe.patched.exe
    is not working please help

    ReplyDelete
  56. Hi All,

    Please make sure to download at least 2012 KRO Client or LESS than that to be able to work with 2011-11-22aRagexeRE.exe.patched.exe
    Since rag.exe has never been support to higher version of KRO.

    ReplyDelete
  57. Link as follows:

    10-01-2012 kRO Client Folder : http://ratemyserver.net/index.php?page=download_kROLinks

    ReplyDelete
  58. i cant find the severfolder from the 11th step can you help me?

    ReplyDelete
  59. hi SB Pro,

    am stuck at connection error code 100061

    please help

    ReplyDelete
  60. dude...how make fullscreen my (StifWilderZ)ROflline and i have used your thread please help me n reply dude... :{

    ReplyDelete
  61. help after making it it says server closed (1)

    ReplyDelete
  62. SB pro how can you change the GM suit into normal .. i made a non gm account but my suit still like the GM

    btw thanks for this tutorial

    ReplyDelete