PDA

View Full Version : [GUIDE] How to setup (KRO) Ragnarok for host play.


Vince
09-18-2007, 05:48 PM
Updated: September 1st, 2008

The intentions of this guide is to show you how to setup and host play
KRO for fun and experimental purposes.

Downloads: Do not install anything yet.
Suggested PC specs for host play is 1GB of RAM and 2.5 or better CPU
1. The most recent KRO client. Don't post here asking for links where to
download it from. Just Google it!
2. I'm using the most recent Emulator (http://www.eathena.ws/board/index.php?showtopic=59143) of BowieBowie.
You will have to create a account here before you can view this topic but doing so is free.

This tutorial is based from the TXT version so download that one. At this time I'm using the Visual C++ 2005 - Native Win32 version eAthena SVN Stable Release - Revision 13153
Download both the -eAthena SVN TXT - and -Map Server TXT -

3. You will need a hexed.exe which will allow you to connect and play on the lan server. The tools can be found in THIS (http://www.eathena.ws/board/Client-Tools-f244.html) topic on eA.

If that tool seems to complicated for you, download a hexed.exe from the same page you downloaded the emulator from.
Look for:
-kROsakexe0813aB - B = Use BLACK Login Background. Support only eAthena SVN with [PACKETVER 9]
-kROsakexe0813aN - N = Use NEW Login Background. Support only eAthena SVN with [PACKETVER 9]
and download either one of those. I use the -kROsakexe0813aN - and it works just fine. Rename the one you download
to KRO Offline OR just be sure you remember which one you're supposed to be using.

4. Translation Pack for Korean Ragnarok Online. You can get it from HERE (http://mrmagoo.psiblade.net/translation/index.php)

Installing:

Install KRO to, C:\Gravity\RO
Make sure it's C:\Gravity\RO\a bunch of files and folders.
If you need help installing it, please ask.
If the install path did get messed up you do not have
to uninstall, re install just cut/paste, or move the folders.
Once you have it installed, install the Translation Pack.
Now navigate to your RO folder and launch sakray.exe, look
the screenshot for details.
=
=
http://vince.emuxhaven.net/krotut/1.gif
=
=
Patch both sakray.exe and Ragnarok.exe at least 1 time a week.
Whenever it stops patching that means they have released a new client.
You will then have to download and install the new client to patch, or find a work around. I always just download the new clients though.

Unzip the emulator you downloaded to C:\Gravity\eAthena-TXT-VERSION#
I always keep up with the version I'm using. I'll leave that up to you as that is just my preference. Also, I only download a newer version emulator only when dramatic updates have been implemented, new classes, fixed or new skills, and spells, etc etc.
Make sure the emulator is in C:\Gravity\eAthena-TXT-VERSION#\A bunch of files and folders
NOT C:\Gravity\eAthena-TXT-VERSION#\eAthena-TXT-VERSION#\A bunch of files and folders.

Configuration for Emulator and Client:
There a ton of files you can configure now, some you have to, others are optional.
Inside of the conf, folder open these files in notepad or preferably a text editor such as ultra-edit:
===============
char_athena.conf
login_athena.conf
map_athena.conf
GM_account.txt
grf-files.txt
===============
char_athena.conf
Change the top portion as shown:

userid: S3981
passwd: p3981
// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: You should not use spaces in the server name, or guild emblems won't work client-side!
server_name: KRO Offline
// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1
// Login Server Port
login_port: 6900
// Character Server IP
// The character server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
// char_ip:127.0.0.1
// Character Server Port
char_port: 6121

if you're using ultra edit or a text editor that shows lines it will be lines
8-39 that you will change. After you make the changes save and close the file.

login_athena.conf
Make sure bind_ip: 127.0.0.1
does not have // before it.
Look for admin_pass: justputrandomlettersandnumbershere
Look for gm_pass: justputrandomlettersandnumbershere
After you make the changes save and close the file.

map_athena.conf
Use this config:

userid: S3981
passwd: p3981
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The map server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
map_ip: 127.0.0.1
// Map Server Port
map_port: 5121

That's lines 25-49 that you change.

Now right quick before I forget lets edit a file, go back to main directory of
the emu, open the save, folder and then open the file account.txt
change lines 13-14 to:
0 S3981 p3981 2007-08-23 13:00:23 S 5 0 a@a.com - 0 127.0.0.1 - 0
2000001 %newid%
Save and close, lets go back to the conf folder now.

GM_account.txt
putting 2000001-2000005 99
will make the first 5 accounts a full blown GM.
But each account has 9 slots so I doubt you will make this many accounts.

grf-files.txt
If you're using the paths as I said in the tutorial change them to:
grf: C:\Gravity\RO\data.grf
grf: C:\Gravity\RO\sdata.grf
data_dir: C:\Gravity\RO
If you used you own paths be sure to map them correctly.
Now inside of the conf folder open the battle folder
You can pretty much edit any settings in any of those files, and it will impact
how the game plays. Some might look confusing to you while others are pretty much self explanatory. Most settings do have brief information about them.
Now go back to the main directory and open the db folder. There you will see 2 files.
exp.txt and exp2.txt if you want the max player and job levels to be default just leave them as is.
If you want to use custom player and job levels, rename exp.txt to exp.txtORIGINAL
then rename exp2.txt to exp.txt then you open exp.txt and edit levels as you so wish.
However it's best to leave all the Novice jobs at 10.
If you would like to use a exp.txt I have made that put max player level to 999 and puts higher job level as well you can grab it from HERE (http://vince.emuxhaven.net/krotut/exp.zip) You could also just type @skillall and not worry with job levels and points but some of you might want to play though the game some what normally.
Addon Scripts:
Here are two that I have made myself:
1. Super Waper (http://vince.emuxhaven.net/eA/downloads/scripts/super_warper.txt) <RIGHT Click>Save As>Txt
Installation\\
from the main dir of emu put this file in:
npc\custom\warper < overwrite when it ask.
then navigate back to the main dir of npc and open the file:
scripts_custom.conf
search for
npc: npc/custom/warper/warper.txt
make sure it's not:
//npc: npc/custom/warper/warper.txt
but rather:
npc: npc/custom/warper/warper.txt
save and close.
2. Teknos Super Shops .Tekno-Kanix is my other online name.
Installation\\
PLEASE DOWNLOAD IT BELOW, ITS ATTACHED TO THE BOARDS
extract the file, cut and paste p_prontera_reborn.txt to:
npc/custom/p_prontera_reborn.txt
open the scripts_custom.conf in main dir of npc.
add the line:
npc: npc/custom/p_prontera_reborn.txt
anywhere you like with no // in front of it.
save and close the file.
I haven't updated this script in a while.
But once you arive in prontera you will notice and npc lined up down the streets.
UPDATE:
I've fixed the scripts where they do not error upon loading with the latest SVN.

As of now Prontera is the only city with NPC present.

I still need to add much new gear and cards.

Maybe I'll get done with all of it soon.....just stay tuned.

Vince
09-18-2007, 05:49 PM
Final Steps:

Open RO\data and look for a file named sclientinfo.xml

and it should be in RO\data, NOT RO\data\data

open it with either notepad or a text editor and change it to THIS (http://vince.emuxhaven.net/krotut/sclientinfo.txt)


Save and close the file.
Navigate to main directory of where the emulator is.

Click these files in this order: NOTE IF ANY OF THESE CLOSE

REALLY FAST AFTER YOU DOUBLE CLICK YOU DID SOMETHING WRONG.


1. login-server.exe

a bunch of line should display with no errors, or nothing in RED.

Next start:

2. char-server.exe

a bunch of lines should go by with no errors.

Lastly start:

3. map-server.exe

On your 1st run it will take it a few seconds to load, longer than the other 2 anyway.

Once you see:

[Status]: Attempting to connect to Char Server. Please wait.

[Status]: Connecting to 127.0.0.1:6121

[Status]: Logging in to char server...

[Status]: Successfully logged on to Char Server (Connection: '4').

[Status]: Sending maps to char server...

[Status]: Event 'OnCharIfInit' executed with '0' NPCs.

[Status]: Event 'OnInterIfInit' executed with '0' NPCs.

[Status]: Event 'OnInterIfInitOnce' executed with '24' NPCs.

[Info]: From login-server: receiving information of '1' GM accounts.

[Status]: Map sending complete. Map Server is now online.

[Info]: Received Fame List of '0' characters.

at the bottom the server is ready.

You have to leave these windows open.

Now navigate to RO and launch the custom.exe you made
or the one I provided.


Choose KRO Offline,

create a account with:

NAME_M or NAME_F

password

create a player and login, Exit the game.


Now Shut down the emulator. Just right click and close each DOS window on your taskbar.
or click the X in upper right hand side.

Inside the main dir of the emu you will notice a file named
runserver.bat

Use that from now own to start the emulator.

Start KRO again using your custom.exe, login with pass and name you made leaving off the _M and _F part.

Once in the game just type @go

it will then give you the numbers for the locations.

@go 0 is where prontera is.

This should get you playing atleast.

I'm going to add more usefull information on

changing the config on some files soon.