From b1ff96548eb781e71bf417eb0a5693a956f48163 Mon Sep 17 00:00:00 2001 From: protimus Date: Tue, 20 Dec 2011 04:29:37 +0000 Subject: * Added packet support to new 2011 clients. - Works on 2011-11-02 + - Need more tests, but so far nothing wrong was found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15173 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/packet_db.txt | 110 ++++++++++++++++++++++++++++++++++++------------------- src/map/clif.h | 4 +- 2 files changed, 75 insertions(+), 39 deletions(-) diff --git a/db/packet_db.txt b/db/packet_db.txt index 2be49523e..5b1872062 100644 --- a/db/packet_db.txt +++ b/db/packet_db.txt @@ -36,7 +36,7 @@ //packet_db_ver: 25 packet_db_ver: default - +//packet_db_ver: 23 packet_ver: 5 0x0064,55 0x0065,17 @@ -81,7 +81,7 @@ packet_ver: 5 0x008c,-1,globalmessage,2:4 0x008d,-1 0x008e,-1 -//0x008f,0 +//0x008f,-1 0x0090,7,npcclicked,2 0x0091,22 0x0092,28 @@ -111,7 +111,7 @@ packet_ver: 5 0x00aa,7 0x00ab,4,unequipitem,2 0x00ac,7 -//0x00ad,0 +//0x00ad,-1 0x00ae,-1 0x00af,6 0x00b0,8 @@ -328,7 +328,7 @@ packet_ver: 5 0x0183,10,guilddelalliance,2:6 0x0184,10 0x0185,34 -//0x0186,0 +//0x0186,-1 0x0187,6 0x0188,8 0x0189,4 @@ -396,7 +396,7 @@ packet_ver: 5 0x01c7,2 0x01c8,13 0x01c9,97 -//0x01ca,0 +//0x01ca,-1 0x01cb,9 0x01cc,9 0x01cd,30 @@ -461,8 +461,8 @@ packet_ver: 5 0x0208,11,friendslistreply,2:6:10 0x0209,36 0x020a,10 -//0x020b,0 -//0x020c,0 +//0x020b,-1 +//0x020c,-1 0x020d,-1 //2004-07-05aSakexe @@ -758,7 +758,7 @@ packet_ver: 17 0x0113,33,useskilltopos,12:15:18:31 0x0116,12,dropitem,3:10 0x0190,24,actionrequest,11:23 -0x0216,0 +0x0216,-1 0x023d,-1 0x023e,4 @@ -792,11 +792,11 @@ packet_ver: 18 0x0248,68 0x0249,3 0x024a,70 -0x024b,4,auctioncancelreg,2 -0x024c,8,auctionsetitem,2:4 +0x024b,4,auctioncancelreg,0 +0x024c,8,auctionsetitem,0 0x024d,14 -0x024e,6,auctioncancel,2 -0x024f,10,auctionbid,2:6 +0x024e,6,auctioncancel,0 +0x024f,10,auctionbid,0 0x0250,3 0x0251,2 0x0252,-1 @@ -824,7 +824,7 @@ packet_ver: 19 0x0251,4 //2005-08-08aSakexe -0x024d,12,auctionregister,2:6:10 +0x024d,12,auctionregister,0 0x024e,4 //2005-08-17aSakexe @@ -835,7 +835,7 @@ packet_ver: 19 0x0240,-1 0x0248,-1,mailsend,2:4:28:68 0x0255,5 -0x0256,0 +0x0256,-1 0x0257,8 //2005-09-12bSakexe @@ -851,11 +851,11 @@ packet_ver: 19 //2005-10-13aSakexe 0x007a,6 0x0251,32 -0x025c,4,auctionbuysell,2 +0x025c,4,auctionbuysell,0 //2005-10-17aSakexe 0x007a,58 -0x025d,6,auctionclose,2 +0x025d,6,auctionclose,0 0x025e,4 //2005-10-24aSakexe @@ -863,7 +863,8 @@ packet_ver: 19 0x0260,6 //2005-11-07aSakexe -0x0251,34,auctionsearch,2:4:8:32 +0x024e,6,auctioncancel,0 +0x0251,34,auctionsearch,0 //2006-01-09aSakexe 0x0261,11 @@ -934,7 +935,7 @@ packet_ver: 20 0x0285,6 0x0286,4 0x0287,-1 -0x0288,6,cashshopbuy,2:4 +0x0288,6 0x0289,8 0x028a,18 0x028b,-1 @@ -957,8 +958,8 @@ packet_ver: 20 0x029d,-1 0x029e,11 0x029f,3,mermenu,0 -0x02a0,0 -0x02a1,0 +0x02a0,-1 +0x02a1,-1 0x02a2,8 //2007-01-08aSakexe @@ -985,8 +986,8 @@ packet_ver: 21 //2007-01-29aSakexe 0x029b,72 -0x02a3,0 -0x02a4,0 +0x02a3,-1 +0x02a4,-1 0x02a5,8 // 2007-02-05aSakexe @@ -1106,8 +1107,8 @@ packet_ver: 22 0x02ef,8 //2008-03-18aSakexe -0x02bf,0 -0x02c0,0 +0x02bf,-1 +0x02c0,-1 0x02f0,10 0x02f1,2,progressbar,0 0x02f2,2 @@ -1291,7 +1292,7 @@ packet_ver: 23 //2008-12-10aSakexe 0x0442,-1 -0x0443,8 +0x0443,8,skillselectmenu,2:6 //2009-01-14aSakexe 0x043f,25 @@ -1409,15 +1410,15 @@ packet_ver: 25 //0x07e0,58 //2009-07-15aRagexeRE -//0x07e1,15 +0x07e1,15 //2009-08-05aRagexeRE -//0x07e2,8 +0x07e2,8 //2009-08-18aRagexeRE -//0x07e3,6 -//0x07e4,-1 -//0x07e6,8 +0x07e3,6 +0x07e4,-1,itemlistwindowselected,2:4:8 +0x07e6,8 //2009-08-25aRagexeRE //0x07e6,28 @@ -1425,14 +1426,14 @@ packet_ver: 25 //2009-09-22aRagexeRE 0x07e5,8 -//0x07e6,8 +0x07e6,8 0x07e7,32 0x07e8,-1 0x07e9,5 //2009-09-29aRagexeRE //0x07ea,2 -//0x07eb,0 +//0x07eb,-1 //0x07ec,6 //0x07ed,8 //0x07ee,6 @@ -1468,7 +1469,7 @@ packet_ver: 25 //2009-12-01aRagexeRE //0x07fc,10 //0x07fd,-1 -//0x07fe,26 +0x07fe,26 //0x07ff,-1 //2009-12-15aRagexeRE @@ -1532,8 +1533,8 @@ packet_ver: 25 //0x081A,4 //0x081B,4 //0x081C,6 -//0x081D,22 -//0x081E,8 +0x081d,22 +0x081e,8 //2010-03-23aRagexeRE //0x081F,-1 @@ -1543,7 +1544,7 @@ packet_ver: 25 //2010-04-13aRagexeRE //0x081A,10 -//0x0820,11 +0x0820,11 //0x0821,2 //0x0822,9 //0x0823,-1 @@ -1630,5 +1631,40 @@ packet_ver: 26 0x0858,-1 0x0859,-1 +//2011-10-05aRagexeRE +packet_ver: 27 +0x0364,5,walktoxy,2 +0x0817,6,ticksend,2 +0x0366,5,changedir,2:4 +0x0815,6,takeitem,2 +0x0885,6,dropitem,2:4 +0x0893,8,movetokafra,2:4 +0x0897,8,movefromkafra,2:4 +0x0369,10,useskilltopos,2:4:6:8 +0x08ad,90,useskilltoposinfo,2:4:6:8:10 +0x088a,6,getcharnamerequest,2 +0x0838,6,solvecharname,2 +0x0439,8,useitem,2:4 + +// 2011-11-02aRagexe +packet_ver: 28 +0x0436,26,friendslistadd,2 +0x0898,5,hommenu,4 +0x0281,36,storagepassword,0 +0x088d,26,partyinvite2,2 +0x083c,19,wanttoconnection,2:6:10:14:18 +0x08aa,7,actionrequest,2:6 +0x02c4,10,useskilltoid,2:4:6 +0x0811,-1,itemlistwindowselected,2:4:8 +0x890,8 +0x08a5,18,bookingregreq,2:4:6 +0x0835,-1,reqopenbuyingstore,2:4:8:9:89 +0x089b,2,reqclosebuyingstore,0 +0x08a1,6,reqclickbuyingstore,2 +0x089e,-1,reqtradebuyingstore,2:4:8:12 +0x08ab,-1,searchstoreinfo,2:4:5:9:13:14:15 +0x088b,2,searchstoreinfonextpage,0 +0x08a2,12,searchstoreinfolistitemclick,2:6:10 + //Add new packets here -//packet_ver: 27 +//packet_ver: 27 \ No newline at end of file diff --git a/src/map/clif.h b/src/map/clif.h index def1178fd..5217d3b63 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -31,8 +31,8 @@ struct party_booking_ad_info; enum {// packet DB - MAX_PACKET_DB = 0x900, - MAX_PACKET_VER = 26, + MAX_PACKET_DB = 0xA00, + MAX_PACKET_VER = 28, MAX_PACKET_POS = 20, }; -- cgit v1.2.3-70-g09d2