Ragnarok Online Server Guide – Make own Ragnarok Online/Offline Server Guide 3
Change the basic connection guide
After we finished first step and second step is done successfully, we are ready to connect the fresh ragnarok server to the database (using XAMPP). Now, prepare yourself to follow these steps:
Create Database for Ragnarok Player Game Datas and Players Logs
- Make sure the Apache and MySQL are running.
- Open your favorite web browser, then open this page http://localhost/phpmyadmin
- Enter the correct username and password, default is root and password is empty.
- Click on “Database” menu.
- Create a new database for your ragnarok server, example yourragnarokdb.
- Then, click your ragnarok database –yourragnarokdb–
- Click the “Import” menu, you don’t need make the ragnarok tables manually. Every emulator provides the database for us on .sql file.
- So, click “Choose File”.
- Find the mail.sql file on trunk/sql-files.
- Click the main.sql file, then click “Open”.
- OK, you choosed the .sql file to imported, then click “GO”.
- If it done, you will get many tables like this.
- Afterthat, we need to import more some tables for ragnarok server logs. I suggest you to make new database. Click on Database menu > give the database name. Example yourragnaroklogsdb.
- With same way, click the database –yourragnaroklogsdb-.
- Click on “Import” menu to add ragnarok logs tables.
- The .sql of logs tables is same in trunk/sql-files. Select the logs.sqlfile, then click “Open”.
- Afterthat, click on “GO” button. And the tables are imported successfully.
- And the database will gets these tables for log datas.
Connecting Ragnarok Server to MySQL Server
And now, to make connection between MySQL server and ragnarok server, we need change some configuration files on trunk/conf. Well, follow these step-by-step guide to connecting your ragnarok server.
- Open “inter_athena.conf“, you can open this file with notepad. But, I give a recommendation to use Notepad++, you will get easy way to know the content line. On inter_athena.conf file, the most important things are, change the MySQL Connection for your database on MySQL Server. You must change the username, password, and database name.
- First, change the setting for login-server_sql. You must enter the correct username, password, and database. Username: root (default, super-user username), password: 123456 (I set it before, or keep it empty if you never change the password), and database, use yourragnarokdb.
- Then, change the configuration for map-server_sql and char-server_sql. Use same datas like above.
- For Log database, only change the database name, change it be yourragnaroklogsdb. Look at this image below, look the differences.
- Next, open “char_athena.conf” then edit it.
- Next, open “login_athena.conf” then edit it.
- Next, open “map_athena.conf” then edit it.
- After we decide userid and passwd for conf files, we must change the userid and user_pass on login table inside yourragnarokdb.
- Change the userid and user_pass be “YourRO”. And for user_pass, change the Function column be MD5. Click “GO” to finish the editing.
- This is the result.
- Now, your ragnarok offline server is ready, run it by clicking runserver-sql.bat on trunkfolder.
- Wait it until ready to use and your server ready to receives player.
Next Step 4:
Hello Pservero, i guess this guide is a little bit outdated,right?;) Crack i had a lot of problem looking for some of the files(lua,lub and so on) . Will you make a part 4 to this? (i mean, is there even a need for a fourth one? I saw above me a post that requested it :p).
Hi why im getting this error? any help? thanks
my error –> http://i.imgur.com/osiC57G.jpg
step 4?
sorry, I’ll finish make the 4th step this weekend.
Ok…next step? Jst run installed ragnarok.exe? i have iRO installed…thx 4 ur time
Did you follow the 2nd step?
yea you can use iRO to change kRO as client datas
Hi….i get this after i run runserver-sql.bat…all 3 server says d same
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server…. (Character Server)
[SQL]: Access denied for user ‘root’@’localhost’ (using password: YES)
[Debug]: at f:\users\pet\desktop\rathena\src\char\inter.c:771
Char-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.
1 more thing, i cannot find this:
2. First, change the setting for login-server_sql. You must enter the correct username, password, and database. Username: root (default, super-user username), password: 123456 (I set it before, or keep it empty if you never change the password), and database, use yourragnarokdb.
3. Then, change the configuration for map-server_sql and char-server_sql. Use same datas like above.
Where is login-server_sql, map-server_sql, char-server_sql? its not in the conf folder
1. It’s becausse the ragnarok server can’t found the database that needed.
2. & 3. Open your inter_athena.conf, look at picture on step no. 4 at this Connecting Ragnarok Server to MySQL Serversection.