Jump to content

TifaRO

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by TifaRO

  1. Thank you, cassiel! Now I have a working Ragnarok offline server! But there is some steps in your guide are unclarified to me and I must follow my instinct. I don't know if I made any mistake. So I will list them here, please correct me! (the red texts are what I did or unclear):

     

     

    After you install all of that, let’s prepare the client:

    1. Open your kRO client and update it until completed.
     

    by running rsu-kro-rag-lite.exe and rsu-kro-renewal-lite.exe ,right?
     

    8. Now change all lua extension to lub extension in your data translation folder you've download
    place this script in your data translation folder data/luafiles514 folder And run it.

     

    rename luatolub.bat.txt into luatolub.bat and double click (to run) it.

     

    9. Edit your DATA.ini in your kRO client folder into this:

    [Data]
    0=rathena.grf
    1=data.grf
    2=rdata.grf

     

    I couldn’t find DATA.ini so I created it by notepad, with the information above.
     

    Now for the Server

    1. Create new folder and name it ‘Server’

     

    I created new folder ‘trunk’ inside folder ‘Server’.

     
    8. Still in Server Server\trunk\conf now you open file ‘subnet_athena.conf’ with notepad and change this:
    subnet: 255.0.0.0:127.0.0.1:127.0.0.1

     

    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?

     

    12. Enter again to you ‘Local instance MySQL’ just like the step 9 and double click on ‘rathena’ to select it, and then click ‘file’
    and choose ‘Open SQL Script’ and go to rAthena\trunk\sql-files and open ‘main.sql’ click OPEN and click the ‘Lightning button’ on picture below. Wait until its done and close your MySQL Workbench and Open it again to refresh.

     

    repeat step 12 but now you 'Open SQL Script’ and go to rAthena\trunk\sql-files open 'logs.sql' click OPEN and click the ‘Lightning button’ on picture below. Wait until its done and close your MySQL Workbench and Open it again to refresh.

     

    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.

     

    14. Change the ‘s1’ and ‘p1’ on the right table to ‘username’ and ‘password’ by double click on each of them and type it. Just like the

    picture below, when you done click ‘apply’ then ‘apply’ and ‘finish’

     

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

     

    15. Now Open folder Server\trunk\src\common and right-click mmo.h choose edit and search this line
    #define PACKETVER YYYYMMDD

     

    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?

     

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

     

    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? This is the changelog after updating:
    ------ Update VC++ projects started -------
    Updating project 'char-server_sql'...
    Configuration 'Debug|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Configuration 'Release|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Updating project 'login-server_sql'...
    Configuration 'Debug|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Configuration 'Release|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Updating project 'map-server_sql'...
    Configuration 'Debug|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Configuration 'Release|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Updating project 'mapcache'...
    Configuration 'Debug|Win32': changing Platform Toolset to 'v110' (was 'v100').
    Configuration 'Release|Win32': changing Platform Toolset to 'v110' (was 'v100').

    ========== Update VC++ projects: 4 succeeded, 0 failed, 0 up-to-date ==========
     

    17. Block char-server.sql, login-server.sql, map-server.sql, mapcache and then right click and choose ‘build selection’ like in the picture below:

     

    Is ‘Block’ means ‘select’? After doing this step, can I close the Visual Studio?

     

    18. Go to your rAthena\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

     

    You mean Server\trunk\db? Besides, before adding, I found this at the end of ‘packet_db.txt’:

     

    //2013-06-05 Ragexe (Shakto)
    packet_ver: 39
    0x0369,7,actionrequest,2:6
    0x083C,10,useskilltoid,2:4:6
    0x0437,5,walktoxy,2
    0x035F,6,ticksend,2
    0x087E,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
    0x0360,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
    0x0919,19,wanttoconnection,2:6:10:14:18
    0x0802,26,partyinvite2,2
    // 0x0436,4 CZ_GANGSI_RANK
    0x0940,26,friendslistadd,2
    0x093A,5,hommenu,2:4
    0x0964,36,storagepassword,2:4:20

     

    Is it ok to add the line your said? I used 2013-07-03aRagexe_patched.exe and 2013-07-03aRagexe_patched.xdiff

     

    I have similar problem with Luftmore about resolution, but I solved it. Here is the solution:
    • Make a new folder, right click, choose SVN Checkout.. , copy this link http://svn6.assembla.com/svn/ClientSide/Lua_Project/System/ into ‘URL of repository’. Click OK then wait until everything is downloaded.
    • Copy all items inside this folder.
    • Paste them in kRO Client Folder\System\ ,choose option “Move and replace” for every file.
    Done.

     

    I hope this can help.
     

×
×
  • Create New...