Jump to content
  • 9

[Tutorial] Video Edition - How to Setup rAthena and run Ragnarok Updated 2018-7-28


Earnestinence

Question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   1
  • Joined:  04/21/18
  • Last Seen:  

ok this happens and i dont know why...

serv.thumb.jpg.93823b8fa28c2e9f1a7041e7618dd3a7.jpg

it just stops there and thats it.. and after a while in charserv.bat this happens [Error]: make_connection: connection failed (socket #2, timeout after 10s)!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

Sorry, i was so busy the last 8 months, so i'll update/make guide again! 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  07/13/18
  • Last Seen:  

Hello good day i am new here and also new about this game i want to setup server and it is successfully aslo the client configuration is fine but every time i login the game or create account nothings happen only this screen show up and no security form how do i fix this issue... thanks and more power

image.thumb.png.bf07b3eaa9f7f906b22ca2076749900d.png

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

========================================================

As of 28-7-2018: the topic is fully updated and support MySQL 8.x 

========================================================

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

On 7/14/2018 at 5:34 AM, erlbinary said:

Hello good day i am new here and also new about this game i want to setup server and it is successfully aslo the client configuration is fine but every time i login the game or create account nothings happen only this screen show up and no security form how do i fix this issue... thanks and more power

image.thumb.png.bf07b3eaa9f7f906b22ca2076749900d.png

 

Click any slot to create a character

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

Good day, I have followed this guide, and got to start the client working. 

But, how can I start customizing my server? 

And btw, can you send me a discord link invite? 

Thank you.

Edited by rhoan57
Addition
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1183
  • Reputation:   160
  • Joined:  06/12/12
  • Last Seen:  

53 minutes ago, rhoan57 said:

Good day, I have followed this guide, and got to start the client working. 

But, how can I start customizing my server? 

And btw, can you send me a discord link invite? 

Thank you.

discord channel https://rathena.org/discord

what do you want to customize?

npc at npc folder edit npc_custom.conf

remove // if you want the npc available in the game.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

Im having trouble with changing the max base level, job level, and stats of my server? is there anyway I can talk to you personally? Thank you very much

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1183
  • Reputation:   160
  • Joined:  06/12/12
  • Last Seen:  

9 minutes ago, rhoan57 said:

Im having trouble with changing the max base level, job level, and stats of my server? is there anyway I can talk to you personally? Thank you very much

 

try this guide for changing max level https://gist.github.com/cydh/d82a06472f12c4ec7f38ab3de22fe86b

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

5 minutes ago, hendra814 said:

try this guide for changing max level https://gist.github.com/cydh/d82a06472f12c4ec7f38ab3de22fe86b

https://github.com/rathena/rathena/wiki/Max-Level I'll try this first, then I will try the link that you sent. I'll update you. Thank you.

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

After compiling my rAthena, i don't have to do anything with my kRO right? I jsut have to run the RAGEXE?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

I have fixed the max base level, and job level. Thank you.
How do I change the maximum stats?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

Hello @rhoan57

I am glad you managed to get the server working. 

@hendra814, thanks for being helpful, but, please this topic is for the tutorial related questions.

Thanks again.
- Earnestinence

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1183
  • Reputation:   160
  • Joined:  06/12/12
  • Last Seen:  

6 minutes ago, Earnestinence said:

Hello @rhoan57

I am glad you managed to get the server working. 

@hendra814, thanks for being helpful, but, please this topic is for the tutorial related questions.

Thanks again.
- Earnestinence

 

sorry, i will remind it

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

Hi! I got this error when doing the procedures. Sorry guys i have no clue how to fix this because i am fairly new to it all.

Please help! Much Appreciated!

mysql workbench.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

1 hour ago, Joseph Andrew Palma said:

Hi! I got this error when doing the procedures. Sorry guys i have no clue how to fix this because i am fairly new to it all.

Please help! Much Appreciated!

mysql workbench.png

Double click on rAthena to select it, it's all explained
Double click on rathena database/schema we've just created )

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

On 8/17/2018 at 9:55 AM, Earnestinence said:

Double click on rAthena to select it, it's all explained
Double click on rathena database/schema we've just created )

Thank you for your swift reply sir!

I am actually now trying to replicated the whole thing by downloading a new rathena.git file.

I want to reproduce the full thing as the video shows.

then Ive encountered an error.

Is it because of a specific download or update i need on visual basic?

or new files of rathena?

Please help thank you!

vbs.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

23 hours ago, Joseph Andrew Palma said:

Thank you for your swift reply sir!

I am actually now trying to replicated the whole thing by downloading a new rathena.git file.

I want to reproduce the full thing as the video shows.

then Ive encountered an error.

Is it because of a specific download or update i need on visual basic?

or new files of rathena?

Please help thank you!

vbs.png

First clean then build

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/20/18
  • Last Seen:  

Follow the guide from start to finish. Can login but cannot get past the server selection screen. When I select my server I get a "disconnected from server message". 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

11 hours ago, mooted said:

Follow the guide from start to finish. Can login but cannot get past the server selection screen. When I select my server I get a "disconnected from server message". 

Any errors on logs?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/20/18
  • Last Seen:  

8 hours ago, Earnestinence said:

Any errors on logs?

No errors in the logs, everything seems fine, seems that after i get past the login server nothing happens 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

2 hours ago, mooted said:

No errors in the logs, everything seems fine, seems that after i get past the login server nothing happens 

Please show me your clientinfo.xml and what options did you patch in nemo?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/23/18
  • Last Seen:  

On 7/12/2017 at 2:20 AM, Earnestinence said:

Hello rAthena Community 

I'm Earnestinence, and i'll be guiding you to setup rAthena and run Ragnarok

 

 

Programs you need to install before we start

Required Files: 

==========================================

Setting up rAthena Server-Side: See video time-line: 00:02

Step 1: Download/Clone rAthena Source

  • Open GitHub.

 

Step 2: Configuring rAthena See video time-line: 00:35

  • open rathena/conf/import-tmpl/char_conf.txt
    • Add these lines :
      • userid: username
      • passwd: password
      • login_ip: 127.0.0.1
      • char_ip: 127.0.0.1
    • [Optional] To change server name add this line :
      • server_name: YourDesiredServerName
    • Note: If you want to change anything in char_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
  • rathena/conf/import-tmpl/map_conf.txt
    • Add these lines:
      • userid: username
      • passwd: password
      • char_ip: 127.0.0.1
      • map_ip: 127.0.0.1
    • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
  • rathena/conf/import-tmpl/inter_conf.txt
    • Add these lines
      • login_server_db: rathena
      • ipban_db_db: rathena
      • char_server_db: rathena
      • map_server_db: rathena
      • log_db_db: rathena_logs
    • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
    • Note: I use rathena as my main database which contain all main tables (like: chars, login, guilds, etc... ). However, I like to separate my logs to rAthena_logs .

Step 3: Compiling rAthena See video time-line: 02:16

  • Locate  rathena/rAthena.sln
    • Locate and right click rAthena.sln open with > Microsoft Visual Studio 2017 ( or 2013 / 2015 )
    • Wait for the MVS to load the project, when it's ready select Solution 'rAthena' (8 projects) and then right click and Click 'Clean Solution' First when clean finish successfully click on 'build Solution'
    • Wait for it to finish, make sure the log below finish successfully 

 

Step 4: Setting SQL Database ( make sure MySQL installed and running ) See video time-line: 03:13

  • open MySQL Workbench
    • log in :
      • Using the username 'root 'and the password you set when you first install MySQL ( If you don't remember the password, you can reconfigure MySQL using MySQL installer )
    • once you logged in create new user account and grant Administrator Privileges: - See video time-line: 04:17
      1. In The Left Side click on Users and Privileges 
      2. At The Bottom click on Add account
      3. Set Login Name : ragnarok
      4. Set Password : ragnarok
      5. Set Confirm Password : ragnarok
      6. At The Top Menu Click Administrative Roles: and then check DBA
      7. Click Apply
      8. logout by clicking on X at the top of the current tap and then login using the new user account ragnarok with password ragnarok See video time-line: 05:00
    • Creating databases/schema : See video time-line: 05:26
      • Click on Screenshot_3.png  create new database/schema
      • Set the Name: rathena ( this will be our main database/schema )
      • Set Charset: utf8 ( Now this's is important you need to check this )
      • Click apply, apply and then finish
      • Now Click on Screenshot_3.png create new database/schema
      • Set the Name: rathena_logs ( this will be our logs database/schema )
      • Set Charset: utf8 ( Now this's is important you need to check this )
      • Click apply, apply and then finish
    • import rathena SQL files to rathena & rathena_logs databases: See video time-line: 06:16
      • Double click on rathena database/schema we've just created
      • Click on Screenshot_4.png 
      • locate rathena folder and go to rathena/sql-files and click on main.sql
      • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
      • Double click on rathena_logs database/schema we've just created
      • Click on Screenshot_4.png
      • locate rathena folder and go to rathena/sql-files and click on logs.sql
      • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
    • change the username and password of the server: See video time-line: 07:03
      • Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
      • Click on rathena database/schema > tables > locate login table..
      • now click on tables and locate login table then right click and click on select Rows - Limit 1000
      • Double click on s1 and change it to username then hit enter  ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files  ) 
      • Double click on p1 and change it to password then hit enter  ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files ) 
      • Click apply, apply and then finish

Step 5 ( running the server )

  • Running rAthena server See video time-line: 07:35
    • locate rathena folder rathena/ click on runserver
      •  ( less than 8 mins without any errors )

==================================================

 

 

Client Side Running & patch ragnarok online client 

 

  • open Official kRO Client/ 
    • Updating kRO Files:
      • Locate and run rsu-kro-rag-lite.exe and wait for it to finish and then rsu-kro-renewal-lite.exe and wait for it to finish updating ..
    • Adding translated system/data files 
      • Locate ROenglishRE or ROenglishPRE and copy Data & System folders , GuildTip  & Tipoftheday
      • and paste these files into the official kro client folder ( Replace the files when asked )
    • Setting up clientinfo.xml : 
      • locate official kRO client folder open folder data/ and edit file clientinfo.xml
        1. change the version to 55 <version>55</version>
        2. set the langtype you want i use 19 to be able to write in english and arabic <langtype>19</langtype> * use the forums search to find other langtype for other language *
        3. set admin sprite for any account you want, just put the account id 
          1. 
            <aid>
            	<admin>2000000</admin>
            </aid>
    • Copy and paste the setup file into the the official kRO client folder
    • Patching the Client 2015-11-04 
      • load the client and select recommended and click enter for data.ini and then CHANGE/EDIT system/iteminfo.lub to system/iteminfo.lua and check read data folder first, ignore missing palettes, ignore resource errors and then customize the client as you want
  • 
    Here's my additional patches:
    
    >>>
    Custom Window Title ( name you server )
    Disable Swear Filter
    Disconnect to Login Window
    Enable Title Bar Menu
    Read Data Folder First
    Show Cancel To Service Select
    Ignore Missing Palette Error
    Ignore Resource Errors
    Use Ragnarok Icon ( ragnarok icon for the client )
    <<<

    copy the new 2015-11-04aRagexe_patched and paste it your official kRO client folder

 

now the client is ready, just run the game using 2015-11-04aRagexe_patched and Enjoy

to create a male account just type ex: admin_f for female - admin_m for male 

and don't forget to set the account group id 99 to get full GM permissions 

========================================================

As of 28-7-2018: the topic is fully updated and support MySQL 8.x 

========================================================

For further questions or concerns regarding the tutorial, Do NOT hesitate to contact me in this topic, or discord: Sexual Thoughts#6969, which is the best way to reach me.

- Earnestinence

I get the following error when running Neo to modify exe.

Disable 1rag1 type parameters failed in step 1 - 1rag1 not found

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   2
  • Joined:  08/30/18
  • Last Seen:  

On 7/12/2017 at 2:20 PM, Earnestinence said:

change the username and password of the server: See video time-line: 07:03

  • Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
  • Click on rathena database/schema > tables > locate login table..
  • now click on tables and locate login table then right click and click on select Rows - Limit 1000
  • Double click on s1 and change it to username then hit enter  ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files  ) 
  • Double click on p1 and change it to password then hit enter  ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files ) 
  • Click apply, apply and then finish

i followed everything but this is the outcomeimage.thumb.png.349e168bb85d075396296b943226b2c6.png

kindly help me tia 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

@Steinhart Hi, Make sure you create User with the username and password 'ragnarok' and in your sql db

Feel free you contact me at disocrd: @sexual Thought#5337

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...