Jump to content
  • 1

[Tutorial] How to Create Ragnarok Offline 2013 client [Tutorial]


Question

Recommended Posts

  • 0
Posted

Wow really? My guess is work? lol

Didn't try it yet because it'll be big job to changes all .lub to .lua. (OK, I can write some batch script :P)

 

For packet ver. number, search for file 'packet_db.txt' in server's trunk (rathena's trunk folder) you'll see something like this.

-----

//2004-07-26aSakexe
packet_ver: 8

-----

***Search for your y/m/d and use that packet_ver, don't forget to setting matched 'packet_db_ver: ...' in this file too.

 

...

Can I ask you for more precise info? Now you don't get Lua Files\StateIcon\StateIconInfo error.. is it?? Just packet_ver error?

**And please tell me if it's all work well (You can play).**

 

In fact, I think after include all step that I guess (about .lua, etc) it'll work but I'm very tired with other tutorial yesterday. So I get some sleep, lol

Most of them teach half-way, only about how  to change and open server side. I do all the server but I can't open the game. I repeatly try many tut and their provided client (if they upload)

Only this tutorial teach how to make client.

But one think I'm curious about is that why we must even recompile server, can't rathena do something easier by just read data in external file so we just edit file data.

Just a suggestion :P ..I try eathena before and it just require changing data in the file but tutorial's not include packet ver edit/client patch so it may just be skipped.

  • 0
Posted (edited)

Yep, do take note on step 4. 

the files found on System (https://subversion.a...de-translation/) are in .lua format. I really didn't change it to lub before loading them to the System(my RO directory). I've checked the behavior if those .lua files weren't found on my System folder (RO directory) and as expected, I got an error. so yeah.

 

Regarding the packet version. There were already an existing packet ver for 2013-07-03 on packetdb.txt. It was 42. so no need to copy the packet version 38 on the first topic. So far, I haven't any encountered any errors anymore.

 

EDIT: 

Speaking of no errors. The skills aren't translated. weird. checking again. 

Edited by fictionworld
  • Upvote 1
  • 0
Posted (edited)

^This mean you can play now? Good.

Thx for response, I'll try mine.

 

Edit:

I think skill translation isn't a lot problem. We can wiki for them and used to its usage after that. But if I found any solution I will tell you.

Edited by Ryuu
  • 0
Posted (edited)

yep, already playable. translations are a separate concern. Let me know if you have finished doing the steps. Thanks!

 

EDIT:

Hi, all,

 

asking for your help on this. Are there any additional steps needed in order for the skill tree to be translated? seems that it isn't being translated at all. The client version I'm using is the 2013-08-07. Please help. Thanks!


 

Hello everyone,
to start I apologize I use google translation.
when I run my problemen "runserver-sql.bat" all the time well so that phrase "[status] Conecting to 127.0.0.1:6121
[Error] make_connection: connect failed (socked # 2 10061 error: unknown error)
(note the warning in yellow)
 
 
 
                                                              I delete the images to avoid congestion
 
 
 
Thank
 
 
 
My problem was resolut I forget a letter in the word char_server_pw password: root
 
the warning is it important?
 
I told you before I would probably need help  /heh


215311cmd4.png

 

help me for the errors please :)

 

 

Hi,

 

for this one, I think you haven't created the log schema yet. Take note that there are two schemas that are needed  to be created. One for the main db of ragnarok and one for the db for logs.

Edited by fictionworld
  • Upvote 1
  • 0
Posted

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

  • Upvote 1
  • 0
Posted (edited)

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

you need to move your database on the new computer if you are just playing LAN. or if not, make your computer accessible publicly, just like you're playing on the official servers.

 

i cant even know what is the version of my Ragexe , Where could i find the version?

where did you download the Ragexe? Also, are you encountering any errors?

Edited by fictionworld
  • Upvote 1
  • 0
Posted

 

you need to move your database on the new computer if you are just playing LAN. or if not, make your computer accessible publicly, just like you're playing on the official servers.

 

where can l find my database? sorry newbie here..

  • Upvote 1
  • 0
Posted

 

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

you need to move your database on the new computer if you are just playing LAN. or if not, make your computer accessible publicly, just like you're playing on the official servers.

 

i cant even know what is the version of my Ragexe , Where could i find the version?

where did you download the Ragexe? Also, are you encountering any errors?

 

hmmm here http://www.nickyzai.com/?p=kro 2013-12-01 , i dont know what diff file version will i use to my rag.exe

  • Upvote 1
  • 0
Posted

 

 

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

you need to move your database on the new computer if you are just playing LAN. or if not, make your computer accessible publicly, just like you're playing on the official servers.

 

i cant even know what is the version of my Ragexe , Where could i find the version?

where did you download the Ragexe? Also, are you encountering any errors?

 

hmmm here http://www.nickyzai.com/?p=kro 2013-12-01 , i dont know what diff file version will i use to my rag.exe

 

 

I'm not sure where to find that latest diff. but the link should be http://k3dt.eu/Ragexe/unpacked/Diffs/ for the other 2013 clients. Hope someone can help you with that one.

  • Upvote 1
  • 0
Posted (edited)

I was able to resolve issues with the lua and lub thanks to Fictionworld but now, whenever I open the client, it just stops responding.

Any idea what to do?

 

EDIT: I must have done something wrong before.

Re-did all the steps and followed fictionworld's notes.

Also updated all my lua and lub files.

I am now able to play without any problems :)

Edited by Assu
  • Upvote 1
  • 0
Posted

Is it possible to play this RO Offline via hamachi with some friends? :)

 

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

Depending on who's hosting the server you can play from any pc since the server saves everything in mySQL.

 

I you are hosting the server and you want to play on a different pc without being in the same network.

You need to install wamp, and use that as MySQL - back up all your existing sql databases and remove MySQL. Check rathena's wiki on how to remove sql in the right way.

So now run the installer.

Click on wamp in the system tray and run phpmyadmin.

Login is root no password

Now import all sql files from the rathena folder as you did when you installed MySQL

Now import your back up files. - this wil restore all your data

Go to your wamp folder and find the apache folder, locate the httpd document and open it with a text editor.

Find deny from all and change it into allow from all.

Now open port 80,5121,6121,6900 in your router and connect it to the machine running the server.

 

Now find your ro folder and open clientinfo.xml.

<Address>127.0.0.1</address> needs to be replaced with your WAN something like <adress>67.123.34.78</address>

Now go to your rathena folder/conf and open map and char.conf

change the 1st localhost/127.0.01 to your WAN and the 3rd to your LAN

 

Finding out your WAN, go to google and type in myIP press enter

Finding out your LAN, in windows, go to your search/command window and type in cmd

on the next screen type in ipconfig

IPv4............................. whatever numbers and dots are filled in here is your LAN

  • Upvote 1
  • 0
Posted

 

Is it possible to play this RO Offline via hamachi with some friends? :)

 

how do l transfer my character to another computer? is it possible because l don't want to start all over again just want to continue my save game on another computer

Depending on who's hosting the server you can play from any pc since the server saves everything in mySQL.

 

I you are hosting the server and you want to play on a different pc without being in the same network.

You need to install wamp, and use that as MySQL - back up all your existing sql databases and remove MySQL. Check rathena's wiki on how to remove sql in the right way.

So now run the installer.

Click on wamp in the system tray and run phpmyadmin.

Login is root no password

Now import all sql files from the rathena folder as you did when you installed MySQL

Now import your back up files. - this wil restore all your data

Go to your wamp folder and find the apache folder, locate the httpd document and open it with a text editor.

Find deny from all and change it into allow from all.

Now open port 80,5121,6121,6900 in your router and connect it to the machine running the server.

 

Now find your ro folder and open clientinfo.xml.

<Address>127.0.0.1</address> needs to be replaced with your WAN something like <adress>67.123.34.78</address>

Now go to your rathena folder/conf and open map and char.conf

change the 1st localhost/127.0.01 to your WAN and the 3rd to your LAN

 

Finding out your WAN, go to google and type in myIP press enter

Finding out your LAN, in windows, go to your search/command window and type in cmd

on the next screen type in ipconfig

IPv4............................. whatever numbers and dots are filled in here is your LAN

 

all right i'm gonna try that :) thank you.

  • Upvote 1
  • 0
Posted (edited)

@themon

 

Hello,

 

     I tried using one of your ready made files and was able to make it work smoothly. .But then there's this one problem bugging me and can't seem to fix. .I can't seem to change the experience and drop rates or better yet settings on the .conf files in the conf/battle  folder and no matter how many times I change the value/variable, It doesn't seem to reflect and change anything ingame . .I hope you or anyone could enlighten me with this. .

Edited by jman99
  • Upvote 1
  • 0
Posted (edited)

Yes I'm using the one which has the 2013-08-14 client. .

 

Ok, went there and did "select rows - Limit 1000" on it. .After that I saw everything written is account_id, bank_vault, base_exp, base_drop, base_death and everything is written null. .I tried changing the values(like 1 - 100) and nothing seems to work even if I go to the exp.conf file and edit there also. .and then an idea struck me because the rates ingame always show values from 1x - 1.50x. .So I disabled the floating rates script and now changing the exp and drop rates in the conf files works and it shows it shows ingame when I type @rates. .

 

My only other problem is how to edit "show_mob_info" in the "monster.conf" file as changing its values to 1,2, or 4 doesn't change anything and still only shows monster name ingame. .Also changing the Max base level and job level because changing in the "client.conf" file doesn't work. and still remains base level 150/job level 50 ingame. .and lastly is how to change character sprite of a GM char because he/she always wear the same outfit no matter the class/job. .If you or anyone have the time, please guide me and Thank You.

Edited by jman99
  • Upvote 1
  • 0
Posted

im stock in STEP : 15. Now let’s recompile your server, open Server\trunk\ right-click ‘rAthena-10.sln’ open with Microsoft Visual c++

i dont know how to open my rAthena-10.sln into Microsoft Visual C++

please help me :(

  • Upvote 1
  • 0
Posted

im stock in STEP : 15. Now let’s recompile your server, open Server\trunk\ right-click ‘rAthena-10.sln’ open with Microsoft Visual c++

i dont know how to open my rAthena-10.sln into Microsoft Visual C++

please help me :(

Just right click the file, and "open with > Microsoft Visual C++ 2010 Express"

If you don't have Visual C++ 2010 but another version installed, best follow the instructions here: http://rathena.org/wiki/Compiling#Using_Visual_Studio

 

Best of luck!

  • Upvote 2
  • 0
Posted (edited)

sir this is my first error !
2ilirh4.jpg

 

so i change my conf/battle/feature.conf into this

axywpy.jpg
 

i change the requires: into my 2013-07-03aRageexe.exe
and i change the on into off.

so the error: conf/battle/feature.conf  is gone!

like this

 

2qszabt.jpg

 

but i have another error

: Access denied for user 'root'@'localhost' <using password: YES>
also in
[Debug]: at ..\src\login\loginlog_sql.c:110



Please help me
Edited by xfafeng1
  • Upvote 1
  • 0
Posted

Well... i run Loki.exe as administrator.. and nothing happen.. i w8 for anything to load or pop up for minute and nothing happen... no error no nothing.. just nothing.. now what did i do wrong here..

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...