Jump to content
  • 1

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


cassiel

Question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

3:15 in the morning now x.x sorry for late respond.. busy with my final exam /panic

 

@mrlongshen i've found something about character screen selection problem you have but i haven't try it yet. in your src/common/mmo.h what value you put on this line 

#define MAX_CHARS
 

i've found if you changed this, you must hex your ragexe (i'm not expert at hexing client so i'm sorry can't answer it).

 

@mhagz i saw your screenshot about your loki.ini and i found that something wrong because there are 2 line about the rageexe location. do not add the line i put on my tutorial, you must change the 'ragexe.exe' into the name of your patched ragexe which is mine is '2013-07-03aRagexe_patched.exe'

; Must be on same dir of Loki
Exe = "ragexe.exe" <----this one you change into your patched ragexe name.

 

don't add this line into your loki.ini

Into

; Must be on same dir of Loki

Exe = "2013-07-03aRagexe_patched.exe" (I change into 2013-07-03aRagexe_patched.exe because I patched my
2013-07-03aRagexe.exe. if you use another ragexe please changed into yours)
 

@tifaro glad you've success create your own ragnarok offline server and sorry for unclear words i made, because english isn't my 1st language, i'll change it now. and for your question here is the answer:

 

1. you run rsu-kro-rag-lite.exe

2. 'rename luatolub.bat.txt into luatolub.bat and double click (to run) it.' yes you are right about it, will add this line to my tutorial.

3. I couldn’t find DATA.ini so I created it by notepad, with the information above. correct. i forgot to add this too, although in step 6 i put note about clientinfo.xml same with this.

4. I created new folder ‘trunk’ inside folder ‘Server’. no you don't need to. seems like i put directly link into trunk but now i fix it.

5. my Subnet Mask is 255.255.255.0 so I changed the subnet: 255.0.0.0:127.0.0.1:127.0.0.1 into subnet:255.255.255.0:127.0.0.1:127.0.0.1 ,right? since it offline it's ok to fill it with that. seems like the step i write is for online server hahahaha mybad.

6. I didn't repeat step 12 like you said. Instead, I double clicked on ‘logs’ schema instead of ‘rathena’ schema,
then click ‘file’ and choose ‘Open SQL Script’ and go to rAthena\trunk\sql-files and open 'logs.sql' click OPEN and click the
'Lightning button’. I waited until its done and close my MySQL Workbench and Open it again to refresh.
it's ok. i write to repeat step 12 just in case the reader unexpectly closed the MySQL Workbench.

7. After this step, can I close MySQL workbench or just leave it there? you can close it.

8. I found this:
#define PACKETVER 20120410
//#define PACKETVER 20130320
//#define PACKETVER 20111116
I only change the first line #define PACKETVER 20120410 into #define PACKETVER 20130703, do I need to change all three lines?
just change the first line the second and the third is '//' so it won't be necessary.

9. When I open it with Visual Express, the program ask me to update some components in rAthena-10.sln from Visual 2010 to Visual 2012, I must agree otherwise I can’t ‘build selection’,is it ok? well if you find no problem then it's ok.. because i never found this case before.. i think because you are using visual 2012.

10. Is ‘Block’ means ‘select’? After doing this step, can I close the Visual Studio? yes 'block' means 'select' and yes you can cloas after you succesfully build your server.

11. You mean Server\trunk\db? Lol, mybad to write 'rAthena\trunk\db' that's my folder.. and yes it should be 'Server\trunk\db'

Besides, before adding, I found this at the end of ‘packet_db.txt’:

Is it ok to add the line your said? I used 2013-07-03aRagexe_patched.exe and 2013-07-03aRagexe_patched.xdiff sure it is ok since the packet i put in there is for that ragexe date.

 

@jimwest you can find it in here i already put the link on first post in 10 things you need to download, point number 10.

edited adding this packet because read your post at shakto thread hahaha... i guess you need vpn to access pastebin.

//2013-07-03 Ragexe
packet_ver: 38
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0437,5,walktoxy,2
0x035F,6,ticksend,2
0x0930,5,changedir,2:4
0x07E4,6,takeitem,2
0x0362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x0364,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x096A,6,getcharnamerequest,2
0x0368,6,solvecharname,2
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0835,2,searchstoreinfonextpage,0
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0202,6,reqclickbuyingstore,2
0x0817,2,reqclosebuyingstore,0
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0365,18,bookingregreq,2:4:6
// 0x0363,8 CZ_JOIN_BATTLE_FIELD
0x0281,-1,itemlistwindowselected,2:4:8:12
0x022D,19,wanttoconnection,2:6:10:14:18
0x0802,26,partyinvite2,2
// 0x0436,4 CZ_GANGSI_RANK
0x0360,26,friendslistadd,2
0x094A,5,hommenu,2:4
0x0873,36,storagepassword,2:4:20
 
Edited by cassiel
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

thanks cassiel, i did what u said, but i think that was not the problem, coz  when i open loki the same problem pops up, cant find the directory, * note i already did what u advice... dont mind the pic coz i just copy pasted it, but the problem is the cant find the directory of RO =(

 

246a05l.png



i tried using other .exe (from another website but changed the client info same as you did.)  it worked and i can continue up to entering my user and password seeing rathena (0) , but i cant log in, it is always Connection failed.. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@mhagz what date your .exe file?

Link to comment
Share on other sites

  • 0

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

need some help this is as close as i have come to getting client server running now im only getting errored out from client

jy5q.jpg

Uploaded with ImageShack.us

Edited by bonten
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

@cassiel when i tried the 2013-07-03 it doesnt work , but i tried a .exe from ratemyserver the RMS i think its 2012-09-30.. but the real problem i have was that i cant seem to locate the ragexe from my file when i click loki, it keeps on popping a message that it cannot find my ro folder. 

 

your help would be very much appreciated

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@bonten and mhagz have you follow step 1 to 5 correctly? you need to put the patched ragexe in the same directory as loki launcher.

the ragexe you pacth with xdiffpacther must from this link http://http://k3dt.eu/Ragexe/unpacked/

 

if you think you follow the step correctly.

try to put your kRO client folder in C:\ not in C:\Users\user\download\RO

 

for mhagz if you using 2012-09-30 you must change your packet data on Server\trunk\src\common\mmo.h and  version in clientinfo.xml.

i can't help you with any other exe except from this link http://http://k3dt.eu/Ragexe/unpacked/ because the packet data for that exe you found may not be available.

Edited by cassiel
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

i ll follow your advice to put the directory on C:\ and hope it works have a nice day =)

 

 

@cassiel, still no luck =(

 

 

I tried making the KRo set up again and this time i can play my RO offline,thanks alot =) i know the problem now why i cant locate the directory.. my bad i accidentally deleted the line after the ragexe which is the .bmp now i can play...

 

btw do i have to enter the password evertime i log in my character? the 4 digit password 

Edited by mhagz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

how to change xp rate for base level and job. and make a gm account 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

how to change xp rate for base level and job. and make a gm account 

 

open your mysql, browse the table, find the login, u will see your ID there, then find group_id table, edit it to 99.

for the exp rate, go to conf/battle/ ok 

Link to comment
Share on other sites

  • 0

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

Hello there, first of all, I would like to thank you very much for this great guide you made, I was able to make my server without bigger problems.

For incredible it might look, the only trouble I am having is that I am not able to put the Game on Fullscreen! It is stuck on the small resolution and the Opensetup detects my videocard, but the resolution options shows Untitled.pngas all blank spaces. I tried to run it on compatibility mode, administrator, but still nothing. Any tips?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@mhagz you can disable those 4 digit password in Server\trunk\conf\char_athena.conf (open with notepad)

find this line

pincode_enabled: yes 

change to 'no'

 

second answer you may change on this Server\trunk\conf\battle\exp.conf (open with notepad)

// Rate at which exp. is given. (Note 2)
base_exp_rate: 100

// Rate at which job exp. is given. (Note 2)
job_exp_rate: 100 

Note: Value is in percents (100 means 100%) you can change thos 100 into whatever you want.

 

as for GM account open you mySQL workbench, choose 'rathena' and right klik 'login' select rows and change the group id to '99' for gm account.

untitled.png

 

 

@tutzz try to copy the optioninfo.lua in your kRO\system into your kRO\savedata

Edited by cassiel
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

thanks to those who helped me, another question i can play but this error pops out and i cant seem to use the opensetup because it reverts to its default 

 

i1hcts.png

Link to comment
Share on other sites

  • 0

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

@cassiel I have done that, and when I try to change the setup, the info changes in the archive, but unfortunately, as soon as I open Loki, it resets to the small screen resolution

 

@mhagz I am having this problem too, probably that's why I can't use opensetup either.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

and btw i cant see the custom npc at prontera like job changer etc, im sure i saw it in my server folder

 

any help would be very much appreciated ..

 

 

-solved already 

Edited by mhagz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@mhagz and tutzz sorry for late respond.. for setup problem, i found that some file is missing in kRO client\system\lua514\ that file name is optioninfo.lub

you may download from here and put on that folder.

Edited by cassiel
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  07/15/13
  • Last Seen:  

@cassiel thank you very much =) can play w/o hassle 

 

 

--

 

just a suggestion it would be great if there will be additional custom items =)

Edited by mhagz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/25/13
  • Last Seen:  

;

Edited by smoothone1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

cassiel

Please update fixed error of all comment to #1

Edited by zhaosin
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

cassiel

Please update fixed error of all comment to #1

 

Updated 2 most famous issue regarding to this tutorial.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

cassiel

Please update fixed error of all comment to #1

 

Updated 2 most famous issue regarding to this tutorial.

 

Thanks you so much!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  418
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Hello there, first of all, I would like to thank you very much for this great guide you made, I was able to make my server without bigger problems.

For incredible it might look, the only trouble I am having is that I am not able to put the Game on Fullscreen! It is stuck on the small resolution and the Opensetup detects my videocard, but the resolution options shows Untitled.pngas all blank spaces. I tried to run it on compatibility mode, administrator, but still nothing. Any tips?

Administrator and compatibility mode have no effect on OpenSetup. Try the lastest version. If it still cannot detect your video modes, please post a screenshot of the display tab in "dxdiag" (start via Win+R).
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  172
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

Why i did all step but still can't connect to server ( step choose server )

 

xtp.jpg

ytp.jpg

ztp.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@zhaosin please post your

char_athena.conf

map_athena.conf

subnet_athena.conf

clientinfo.xml

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

I have this error when I talk to an npc or try to pick an item:

 

error04.jpg

 

I already updated the packet_db.txt and clientinfo as you said, what is the problem?

 

thanks

sir i have the same problem :(

 

how to fix it?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@melv0 do you use rathena server or hercules?

 

if you use rathena server what date is your ragexe client?

have you done this step?

 

18. Go to your Server\trunk\db and open file ‘packet_db.txt’ with notepad and add this line in bottom

//2013-07-03 Ragexe
packet_ver: 38
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0437,5,walktoxy,2
0x035F,6,ticksend,2
0x0930,5,changedir,2:4
0x07E4,6,takeitem,2
0x0362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x0364,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x096A,6,getcharnamerequest,2
0x0368,6,solvecharname,2
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0835,2,searchstoreinfonextpage,0
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0202,6,reqclickbuyingstore,2
0x0817,2,reqclosebuyingstore,0
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0365,18,bookingregreq,2:4:6
// 0x0363,8 CZ_JOIN_BATTLE_FIELD
0x0281,-1,itemlistwindowselected,2:4:8:12
0x022D,19,wanttoconnection,2:6:10:14:18
0x0802,26,partyinvite2,2
// 0x0436,4 CZ_GANGSI_RANK
0x0360,26,friendslistadd,2
0x094A,5,hommenu,2:4
0x0873,36,storagepassword,2:4:20 

If you choose another date of your ragexe you can find your ‘packet’ in this link

Just copy and paste it to your ‘packet_db.txt’ like I did.


 

Edited by cassiel
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...