Jump to content

[ Tutorial ] Yet Another How to Create Offline RO Server - 2015 Client


Syzygy

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   11
  • Joined:  07/25/17
  • Last Seen:  

This guide shows you how to make your own test server using 2015 Client. Note that this is just a guide and if you follow this guide smoothly then you won't be having any problems. So please read carefully.

 

Required Files ( I suggest to check the whole guide first before installing anything that is required ) :

Server Side

- Xampp
- rAthena SVN
- Build Tools for Visual Studio 2017 

Client Side
- NEMO
- Latest kRO
- 2015 Client ( In this guide I'll be using 2015-11-04 Client )
- Translation


SETUP ( DATABASE )
1. Download and Install XAMPP
2. Launch XAMPP
3. Start Apache
     If Apache doesn't start, follow these steps :
3.1
- Click the config button for Apache
- Select Apache(httpd.conf)
- Modify Listen 80 to Listen 81
- Save
3.2
- Click the config button for Apache again
- Select Apache(httpd-ssl.conf)
- Modify Listen 443 to Listen 444
- Save

After this you should be able to start apache.

4. Start MySQL

 

INSTALLATION ( COMPILER )
1. Download Build Tools for Visual Studio 2017
2. Goto Individual Components and check the following :
- Static Analysis Tools
- VC++ 2017 v141 Toolset (x86,x64)
- Windows Universal CRT SDK
- Visual C++ Build Tools Core Features
- Windows 8.1 SDK
- Windows Universal C Runtime


After Installation, Stay at it is for now but we're gonna use it later.

 

SETUP ( SERVER SIDE )
1. Download and Extract rAthena SVN ( I prefer to extract it on desktop for easy access )
2. Setup Config
          2.1 - conf/char_athena.conf
                     - Change userid and passwd to ( User1 and Pass1 )
                     - Find " //login_ip and //char_ip " and remove the " // " on them.
                     - Save
          2.2 - conf/map_athena.conf
                     - Change userid and passwd to ( User1 and Pass1 )
                     - Find " //char_ip and //map_ip " and remove the " // " on them.
                     - Save
3. Download compile.bat and copy the file to your rAthena folder and run it.
Note : Make sure to install Build Tools for Visual Studio 2017 first.
4. After this there will be a console window and what you will see is the compilation output. When the process is finished, Close.
image.png.20e83ac06191031b1617b1f7ae936fed.png

 

SETUP ( MYSQL )
Note : Make sure that Apache and MySQL is Running on XAMPP
1. Open web browser, http://localhost/phpmyadmin/
2. Click User Accounts
3. Click Add User Accounts
4. Set username and password to ragnarok
5. Select hostname as local
6. Check Create database with same name and grant all priviledges
7. Click go

Executing SQL Scripts in rAthena :
1. in Phpmyadmin, click ragnarok database
2. Click Import
3. Open rAthena/sql-files
4. Select the .sql files one by one untill all files are executed

Create Account in Database :
1. in Phpmyadmin, click ragnarok database
2. Click the login table
3. on the first account with the id 1, change the userid and the user_pass to User1 and Pass1
4. Click copy on the first account id with 1, fill in the username, password and gender that you want.
5. Set the group_id to 99
6. Click go

Test rAthena Server :
1. goto your rAthena folder
2. run runserver.bat
Server should be running properly if you follow the guide smoothly.
Note : Make sure that Apache and MySQL is running on XAMPP before opening the runserver.bat


SETUP ( CLIENT SIDE )
1. Download Client ( 2015-11-04 ) and Extract on your desktop
2. Download and Extract NEMO
3. Open NEMO
4. Browse for the Input exe file and locate the Client that you downloaded on your desktop
5. Click Load Client
6. Click Select Recommended
7. Enter the name of the INI file should be DATA.INI, Click ok
8. Enter the new Iteminfo path should be System/iteminfo.lua, Click ok
9. Find User Ragnarok Icon and check
10. Find Read Data Folder First and check
11. Click Apply Selected

You should have now a patched exe file in the same location of the 2015-11-04 Client that you downloaded.

SETUP ( RAGNAROK SERVER FILES )
1. Create New Folder
2. Copy the following files from the kRO that you downloaded to the New Folder that you created :
• All the .dll files
• data.grf
• rdata.grf
• DATA.INI

• BGM Folder
• Setup.exe
• AI Folder ( including AI_sakray )
• Mp3dec.asi

3. Copy the patched exe client that you made earlier to the New Folder you created
4. Download Translation ( In this Guide I'll be using ROenglishRE )
Note :
- If you're gonna setup Renewal then you should download ROenglishRE.
- If you're gonna setup Pre - Renewal then you should download ROenglishRE and ROenglishPRE. ( Should set the server to Pre - Renewal Mode too )
5. Open the ROenglishRE-master that you downloaded and inside the zip is the ROenglishRE-master folder. Open it.
image.png.d32eeefe94aba63117626598c7b5b1d5.png
6. Extract all the files in the ROenglishRE-master folder to the New Folder you made.

Modifying Clientinfo :
- Open data/clientinfo.xml in the New Folder you created
- Address should be 127.0.0.1
- Version should be 46
- langtype should be 1

Modifying DATA.INI :
• Located at the New Folder you created
Should look like this
image.png.ac575cf805c5bf494a8cf0cce9b62f78.png

 

How to Start :
1. Open XAMPP , Start Apache and MySQL
2. Goto rAthena Folder and run runserver.bat
3. Launch the patched exe file
4. Login using the account you created earlier.

THIS GUIDE IS BASED ON HOW I MAKE MY OWN OFFLINE RAGNAROK SERVER.
ANY QUESTIONS ? FEEL FREE TO ASK AND I'LL TRY TO ANSWER IT AS LONG AS I CAN.

Edited by Syzygy
Added Note
  • Upvote 3
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

7 hours ago, Syzygy said:

- Windows 8.1 SDK

this part not needed, if you have

7 hours ago, Syzygy said:

- VC++ 2017 v141 Toolset (x86,x64)

Just need select one ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   11
  • Joined:  07/25/17
  • Last Seen:  

2 hours ago, Anacondaqq said:

this part not needed, if you have

Just need select one ^_^

Oh I see. Okayy ! Thank you. I learned it from yours tho in your Lite Compiler Guide :D

Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   2
  • Joined:  01/06/14
  • Last Seen:  

first off.. thnx for this guide but can you help me please. i have followed your instruction but im having problem with compiling.
installed the build tools you have provided but when i run the compile.bat, i get this message.
"MSBUILD : error MSB1009: Project file does not exist."
and when i try to open the .sln, the vs version selector is empty..
did i missed something??
any help would be appreciated.


found @Anacondaqq post about lightweight compiler and fixed my problem
again thnx for this guide and to @Anacondaqq for the compiler guide ^^

Edited by PaqnaN
  • Upvote 1
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  02/17/16
  • Last Seen:  

I'm getting this error on my Xampp

1:51:55 AM  [mysql]     Problem detected!
1:51:55 AM  [mysql]     Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MySQL57"!
1:51:55 AM  [mysql]     MySQL WILL NOT start without the configured ports free!
1:51:55 AM  [mysql]     You need to uninstall/disable/reconfigure the blocking application
1:51:55 AM  [mysql]     or reconfigure MySQL and the Control Panel to listen on a different port

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

@CrucifiedDeath

You already have MySQL Server installed. Either uninstall it before using Xampp or disable it so you can use Xampp's MySQL instead.

@Syzygy

DATA.INI should read rdata.grf before data.grf. Other than that, good tutorial.

Edited by Tyrfing
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  03/23/12
  • Last Seen:  

followed this guide but i got this...after i tried to run the server...any fix on this?

rAthena.png

Link to comment
Share on other sites

  • 3 months later...

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

what xampp version did you had?

 

have any idea for this sreenshot?

Screen Shot 12-22-18 at 01.50 PM.PNG

Edited by andreasadi
another problem
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
Reply to this topic...

×   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...