OK we will do this from the beginning.
For this example I will use the client 2011-09-06.
http://www.supportmii.com/ro1/Clients/2011-09-06aRagexeRE.exe (careful this client can´t be used with the data folder diff)
Now go into the rAthena\src\map folder.
Open clif.h
look for
MAX_PACKET_VER =
and edit this into:
MAX_PACKET_VER = 40
Save and exit clif.h
Now go to rAthena\src\common
open mmo.h
go to
#ifndef PACKETVER
#define PACKETVER
and edit this to
#ifndef PACKETVER
#define PACKETVER 20110906
save and exit.
Recompile rathena.
Now go to rAthena\db
Open packet_db.txt
Scroll a bit and edit
packet_db_ver: default
to
packet_db_ver: 31
Scroll to the end of the file.
You should find
//Add new packets here
//packet_ver: 31
Now you need to insert your packets after these lines.
Since we took 20110906 we also need the packets that are compatible with 20110906.
For packets we search here: http://svn6.assembla.com/svn/ClientSide/Packets/Packet_db/
Take the one from http://svn6.assembla.com/svn/ClientSide/Packets/Packet_db/packets_2011-09-06aRagexeRE.txt
Copy Paste the content after
//Add new packets here
//packet_ver: 31
and edit the insert
packet_ver: 31
into the second line.
Now it should look like this:
//Add new packets here (you may delete this line)
//packet_ver: 31 (and this one aswell)
//2011-09-06aRagexeRE
packet_ver: 31
0x01FD,15,repairitem,2
0x0438,26,friendslistadd,2
0x08A4,5,hommenu,2:4
0x0886,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x0802,26,partyinvite2,2
0x022D,19,wanttoconnection,2:6:10:14:18
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x0281,-1,itemlistwindowselected,2:4:8
0x0365,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0817,2,reqclosebuyingstore,0
0x0360,6,reqclickbuyingstore,2
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0835,2,searchstoreinfonextpage,0
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0437,5,walktoxy,2
0x035F,6,ticksend,2
0x0893,5,changedir,2:4
0x07E4,6,takeitem,2
0x0362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x0364,8,movefromkafra,2:4
0x0202,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x08AD,6,getcharnamerequest,2
0x0368,6,solvecharname,2
Save and exit.
Start the Server and have fun.