Jump to content

[Tutorial] How to Create Ragnarok Offline 2015 client


Einjerin

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  08/19/16
  • Last Seen:  

Fixed

Edited by bash23
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   1
  • Joined:  09/08/16
  • Last Seen:  

hello and thanks for ur guide.....

i'm newbie in rathena
i've compile server and diff client from this topic

 

first >>> everything is error

but i try to solve my problem from our board for week

at last i can solve all problem

my server is work >>> ok no error

my client is work >>> ok no error

but ...

 

now i've new problem

my game still in Korean lang.

 

jpgbpi.jpg

TH9aTSm.jpg

 

 

287i6pz.jpg

 

like stupid... i don't know how to use translation... T-T
can anyone help please...
how can i translation my game T-T

Thank you

Edited by Bianca
Link to comment
Share on other sites


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

hello and thanks for ur guide.....

i'm newbie in rathena

i've compile server and diff client from this topic

 

first >>> everything is error

but i try to solve my problem from our board for week

at last i can solve all problem

my server is work >>> ok no error

my client is work >>> ok no error

but ...

 

now i've new problem

my game still in Korean lang.

 

jpgbpi.jpg

TH9aTSm.jpg

 

 

287i6pz.jpg

 

like stupid... i don't know how to use translation... T-T

can anyone help please...

how can i translation my game T-T

Thank you

 

download from here https://github.com/zackdreaver/ROenglishRE using tortoise.

put all this file into data folder or make your GRF.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   1
  • Joined:  09/08/16
  • Last Seen:  

 

hello and thanks for ur guide.....

i'm newbie in rathena

i've compile server and diff client from this topic

 

first >>> everything is error

but i try to solve my problem from our board for week

at last i can solve all problem

my server is work >>> ok no error

my client is work >>> ok no error

but ...

 

now i've new problem

my game still in Korean lang.

 

jpgbpi.jpg

TH9aTSm.jpg

 

 

287i6pz.jpg

 

like stupid... i don't know how to use translation... T-T

can anyone help please...

how can i translation my game T-T

Thank you

 

download from here https://github.com/zackdreaver/ROenglishRE using tortoise.

put all this file into data folder or make your GRF.

 

Thank You very much /thx

i'll try tonight.  /ok

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/18/14
  • Last Seen:  

Hi Guys,

 

Satanic Chain(Wings) & Gentleman's Pipe has error. might be lua/lub issue? but i cant fix it. Please help 

already change Renewal to Pre-renawal from server side might contribute to the error?

 

PS. already fixed missing sprites. Good tutorial

Edited by gmshampoo
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   3
  • Joined:  12/30/15
  • Last Seen:  

i just leave rAthena for a year then i got interested to do installation again from the scartch using this thread, then everythings going well, untill i run the "runserver.bat"

the pict look like this 

 

deabcc8edd.png

 

The problem it's said on "mapserver.bat" --> received '44' guild castles from char-server. while charserver stoped on guild 43

please help. i'm using all of your tools listed above except the client. i'm using the lastest client 2015-11-04aRagexe.

 

Ps. sorry bad english and already solved, actually it's no problem at all

Edited by rayhanalka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   1
  • Joined:  08/13/13
  • Last Seen:  

the tutorial works fine...i can run it with no problem...thanks...

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/07/16
  • Last Seen:  

whats wrong whit me? please help me

Untitled.png

Untitled2.png

Untitled3.png

Untitled4.png

Untitled5.png

Untitled6.png

Untitled7.png

Link to comment
Share on other sites

  • 1 month later...

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

Hello im using MySQL not Xammp can you help me build Offline Server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/20/16
  • Last Seen:  

worse tutorial ever,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

Use XAMM or WAMP SERVER for easy to setup coz its all in one... and make sure the PORT 80 is not in use by other program, because sometimes thats the problem. ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/25/16
  • Last Seen:  

Thanks for the guide! It helped tons in getting started. Can't wait to start learning

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  04/17/12
  • Last Seen:  

How to get the "  packet_db_ver "??

I can't find it anywhere... on the kro client...

Edit.: Found out, this post explains it well: 

 

Edited by Waker
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   3
  • Joined:  12/30/15
  • Last Seen:  

On 10/11/2016 at 11:00 PM, hervin said:

whats wrong whit me? please help me

Untitled.png

Untitled2.png

Untitled3.png

Untitled4.png

Untitled5.png

Untitled6.png

Untitled7.png

try to quitting your xampp->restart Apache and MySQL

then put the ragnarok database instead following my pict instead yours

Capture.PNG

Edited by rayhanalka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   3
  • Joined:  01/24/17
  • Last Seen:  

Thank you for this tutorial, it was really useful.

Note : based on your visual studio version, maybe it will be necessary to run another ."sln" file.

 

 version.JPG

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/30/17
  • Last Seen:  

Thank you
I am able to run my own server now
Nice guide.

Edited by senzodakaro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   6
  • Joined:  01/16/16
  • Last Seen:  

It's been a year since I made this post/guide. Nice to see that I have helped a lot of people creating their own private server.

Sorry to those who were not able to to do so. I tried my best to make the guide as simple and easy to understand/follow. The guide obviously still requires users some basic information on how the required software/programming app works. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   2
  • Joined:  02/09/17
  • Last Seen:  

This guide is very vague and confusing at times, I find it lazy to just point to the wiki when trying to explain something.

Though the guide is the most up to date and helpful for making an RO personal server I have gotten stuck at points, first when compiling the rathena with Visual Studios Community addition 2015, and as of currently, using Xampp instead of MySQL tools.

I was successful in making the client but server side is the most difficult especially when there are so many different guides out there, but most out of date.

with Xampp I cant get Apache to run even after modifying the conf

fixing the VS problem I found https://github.com/rathena/rathena/issues/769     where they had similar problem and fixed by changing clif.c, itemdb.c, and db.c (found in server/src/map) to https://github.com/rathena/rathena/commit/86d6113801db3c18d78d437f54ad623ccf5230df and compiling the rathena-15 to get VS to update programs that could compile it, but for me after doing so I had to put back the original files for it to work

(sorry in advance if these links don't work for you or no long become accessible in the future)

if your trying to make a guide pls consider that not everyone who comes here has much or any coding experience

Edit: Yeah....., as I read all the comments I can see that what I stated is true. If I find solutions to my own problems i'll try and post them as to help others in the future.

Edited by BlitzGregor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   2
  • Joined:  02/09/17
  • Last Seen:  

Ok I finally got a working setup and have come to share my solutions

This is for server side only, as it was what I had the most trouble on.

If you made it to where I also got suck with Xampp, instead I used MySQL server and tools and followed https://www.youtube.com/watch?v=jq1e6mHZqIo guide

(I know its hypocritical of me to just point at a guide instead of just explaining but this is the comment section and I'm trying to help improve upon this guide)

Don't forget that every time you make changes to the server files you have to recompile the rathena

If you want to change max character slots go to (server/src/common/mmo.h) and change #define MAX_CHARS 9

Edited by BlitzGregor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  02/12/17
  • Last Seen:  

Hey guys! 

Would very appreciate your help. 

My server is started normally (or it looks like it because there are no errors in server console apps) , i did it through MySql directly like it is said in rAthene repo

but seems there are problems with clients

i've done everything in the client section 

(

Quote

 

Setup Client Side

 

Diff Ragexe

1. Open NEMO

2. Browse for Input Exe File. Locate the Client Exe file you have downloaded

3. Click Load Client.

4. Click Select Recommended.

5. Just click OK to the Window that pops up

6. Check Disable Packet Encryption <-- if error occurs such as server disconnects you after character select, as per user iantoom, do not check. Enable Packet Obfuscation instead, refer to the configuring rathena above.

7. Check Use Ragnarok Icon

8. Check Read data folder first

9. Click Apply Selected

 

You should now have a patched exe file in the same folder location(of the exe you downloaded)

 

Placing all processed files in one folder

 

1. Create New Folder

2. Copy Data and System Folder from your downloaded RO Translation folder to your New Folder

3. Copy BGM and SaveData folder from your downloaded/installed kRo Folder to your New Folder

4. Copy data.grf from your downloaded/installed kRo Folder to your New Folder

5. Copy All dll files from your downloaded/installed kRo Folder to your New Folder

6. Copy Setup.exe  from your downloaded/installed kRo Folder to your New Folder

7. Copy patched exe file to your New Folder

 

Modify ClientInfo.xml

 

1. Open data/clientinfo.xml in your New Folder

2. Modify Address to 127.0.0.1

3. Modify Version to XX    where XX is the packet_db_ver

 

 

Launch patched exe file

 

)

with only one difference - there is no Setup.exe file on provided there client https://rathena.org/board/topic/102572-kro-full-client-last-update-10262016/

 

The problem is : when i launch client there is no GUI. Only process created in Task manager with high processor consumption (about 30%)

could new kro client be not compatible ?

What i can do to run client? Can someone share his working client folder example or give any clues how to fix or diag this?

I'm running on Windows 10 if this info is important (my server is running on x86 Win 7 in the Lan)

Thank you in advance!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  02/12/17
  • Last Seen:  

UPD. Managed to fix it. Reason was in Setup.exe (downloaded it from another place)

connected to server and there are troubles as well((

krDqe08FYNjPmp.jpg

i see black screen and cannot move. Someone encountered fimiliar behaviour? It looks like map was not loaded, could it be something connected to mapserver? But it is running

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   2
  • Joined:  02/09/17
  • Last Seen:  

On 2/11/2017 at 5:55 PM, Ezergil said:

UPD. Managed to fix it. Reason was in Setup.exe (downloaded it from another place)

connected to server and there are troubles as well((

krDqe08FYNjPmp.jpg

i see black screen and cannot move. Someone encountered fimiliar behaviour? It looks like map was not loaded, could it be something connected to mapserver? But it is running

Thats just a bug for the start area, just type @go 0 or @warp <city> <x> <y> to leave that place

I fixed by creating an npc to just get players to prontera, or find a way to change starting area.

screenrAthena001.thumb.jpg.7f6352bc036208b6aef7bf0470c5d2a9.jpg

here's the example npc

start.txt

(If you want to add custom npc's go to server/npc/custom and drag and drop, then update scripts_custom and add where the file is located ex. npc: npc/custom/start.txt)

[this link might only be accessible by rathena logged in accounts ]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  354
  • Reputation:   108
  • Joined:  01/30/13
  • Last Seen:  

On 11/02/2017 at 11:55 PM, Ezergil said:

UPD. Managed to fix it. Reason was in Setup.exe (downloaded it from another place)

connected to server and there are troubles as well((

krDqe08FYNjPmp.jpg

i see black screen and cannot move. Someone encountered fimiliar behaviour? It looks like map was not loaded, could it be something connected to mapserver? But it is running

This happen because kRO made changes in starting area but the emulator did not made the necessary changes try to do a @jump, you'll be transported to a random location of this map (is a replica of sunken ship island), take the coordinates then change the start point in conf folder (I don't remember the exact file but is one of these 3 char, map or login confs), you can take the start npcs and the warp and change they location too.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  07/11/13
  • Last Seen:  

Hello,

Thank you for the guide but I have a problem.

Whenever I open the patched file, setup.exe starts in loop. Any idea what may be wrong please ?

 

Here is my patch log:

6 Force Send Client Hash Packet
8 Custom Window Title
9 Disable 1rag1 type parameters (Recommended)
13 Disable Ragexe Filename Check (Recommended)
19 Enable Title Bar Menu
20 Extend Chat Box
21 Extend Chat Room Box
22 Extend PM Box
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
27 HKLM To HKCU
28 Increase Headgear ViewID
29 Disable Game Guard (Recommended)
31 Increase Zoom Out 75%
33 Always Call SelectKoreaClientInfo() (Recommended)
34 Enable /showname (Recommended)
36 Read msgstringtable.txt (Recommended)
37 Read questid2display.txt (Recommended)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
40 Restore Login Window (Recommended)
41 Disable Nagle Algorithm (Recommended)
44 Translate Client (Recommended)
46 Use Normal Guild Brackets (Recommended)
47 Use Ragnarok Icon
48 Use Plain Text Descriptions (Recommended)
49 Enable Multiple GRFs (Recommended)
51 Always Show License Screen
53 Use Ascii on All LangTypes (Recommended)
64 @ Bug Fix (Recommended)
68 Enable 64k Hairstyle
69 Extend Npc Dialog Box
73 Remove Hourly Announce (Recommended)
77 Enable Custom 3D Bones
84 Remove Serial Display (Recommended)
88 Allow space in guild name
90 Enable DNS Support (Recommended)
104 Increase Hair Style & Color Limits
204 Increase Attack Display
205 Enable Monster Tables
213 Disable Help Message on Login (Recommended)
215 Increase Map Quality
218 Show Exp Numbers
225 Show Register Button

 

Thanks for the help

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  03/05/17
  • Last Seen:  

help how to know what version of my kRO for packet_db?

 

 

 

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