2013 Ragexe and Diff (Up to date 2013-08-07)

I got from time to time this error at my server console:

[Warning]: clif_parse: Received unsupported packet (packet 0x0000 (0x0000), 19 bytes received), disconnecting session #32.
and

[Warning]: clif_parse: Received unsupported packet (packet 0x3703 (0x3703), 3 bytes received), disconnecting session #25.

Cant say what the player is doing to get this dissconnect. How can i solove this problem?

 
Last edited by a moderator:
can anyone tell me how to fix this?

launchZC_USE_SKILL
or am I the only one who got this? I've been searching and only found a few questions about it and never answered

 
can someone just give me a tip or help on how to fix the anti WPE, I have a 2013-08-07 and used this packet keys 

3d807d80 - 5e805580 - 7e241de0
and put this on my packets.h

//2013-08-07Ragexe (Shakto)#if PACKETVER >= 20130807 packet(0x0369,7,clif->pActionRequest,2,6); packet(0x083C,10,clif->pUseSkillToId,2,4,6); packet(0x0437,5,clif->pWalkToXY,2); packet(0x035F,6,clif->pTickSend,2); packet(0x0202,5,clif->pChangeDir,2,4); packet(0x07E4,6,clif->pTakeItem,2); packet(0x0362,6,clif->pDropItem,2,4); packet(0x07EC,8,clif->pMoveToKafra,2,4); packet(0x0364,8,clif->pMoveFromKafra,2,4); packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8); packet(0x0366,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10); packet(0x096A,6,clif->pGetCharNameRequest,2); packet(0x0368,6,clif->pSolveCharName,2); packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10); packet(0x0835,2,clif->pSearchStoreInfoNextPage,0); packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15); packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12); packet(0x0360,6,clif->pReqClickBuyingStore,2); packet(0x0817,2,clif->pReqCloseBuyingStore,0); packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89);#ifdef PACKETVER_RE packet(0x0365,41,clif->pPartyRecruitRegisterReq,2,4);#else // not PACKETVER_RE packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4);#endif // PACKETVER_RE // packet(0x0363,8); // CZ_JOIN_BATTLE_FIELD packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8); packet(0x022D,19,clif->pWantToConnection,2,6,10,14,18); packet(0x0802,26,clif->pPartyInvite2,2); // packet(0x0436,4); // CZ_GANGSI_RANK packet(0x023B,26,clif->pFriendsListAdd,2); packet(0x0361,5,clif->pHomMenu,2,4); packet(0x0887,36,clif->pStoragePassword,0);#endif

thanks in advance I've been away on hercules for a long time and I find it more interesting than other community developing ragnarok

 
can someone just give me a tip or help on how to fix the anti WPE, I have a 2013-08-07 and used this packet keys 

3d807d80 - 5e805580 - 7e241de0
and put this on my packets.h

//2013-08-07Ragexe (Shakto)#if PACKETVER >= 20130807 packet(0x0369,7,clif->pActionRequest,2,6); packet(0x083C,10,clif->pUseSkillToId,2,4,6); packet(0x0437,5,clif->pWalkToXY,2); packet(0x035F,6,clif->pTickSend,2); packet(0x0202,5,clif->pChangeDir,2,4); packet(0x07E4,6,clif->pTakeItem,2); packet(0x0362,6,clif->pDropItem,2,4); packet(0x07EC,8,clif->pMoveToKafra,2,4); packet(0x0364,8,clif->pMoveFromKafra,2,4); packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8); packet(0x0366,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10); packet(0x096A,6,clif->pGetCharNameRequest,2); packet(0x0368,6,clif->pSolveCharName,2); packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10); packet(0x0835,2,clif->pSearchStoreInfoNextPage,0); packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15); packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12); packet(0x0360,6,clif->pReqClickBuyingStore,2); packet(0x0817,2,clif->pReqCloseBuyingStore,0); packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89);#ifdef PACKETVER_RE packet(0x0365,41,clif->pPartyRecruitRegisterReq,2,4);#else // not PACKETVER_RE packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4);#endif // PACKETVER_RE // packet(0x0363,8); // CZ_JOIN_BATTLE_FIELD packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8); packet(0x022D,19,clif->pWantToConnection,2,6,10,14,18); packet(0x0802,26,clif->pPartyInvite2,2); // packet(0x0436,4); // CZ_GANGSI_RANK packet(0x023B,26,clif->pFriendsListAdd,2); packet(0x0361,5,clif->pHomMenu,2,4); packet(0x0887,36,clif->pStoragePassword,0);#endif

thanks in advance I've been away on hercules for a long time and I find it more interesting than other community developing ragnarok
Looking for the same thing
default_sad.png


 
Havent this answered by haru and others many a times,

20130807 needs packet keys to change, so just diff your client with nemo and choose a hard key (must be in hex in 8 char), I.e any word of 4 char and just convert that 4 char word to hex by

http://www.string-functions.com/string-hex.aspx

And enter those in packet encryption in nemo

Note, All 3 keys should be different so that wpe can't be bypasssed.

Or simply choose keys from previous time and enter those on nemo.

Lastly change the packet keys at packets.h with the selected keys.

 
Havent this answered by haru and others many a times,

20130807 needs packet keys to change, so just diff your client with nemo and choose a hard key (must be in hex in 8 char), I.e any word of 4 char and just convert that 4 char word to hex by

http://www.string-functions.com/string-hex.aspx

And enter those in packet encryption in nemo

Note, All 3 keys should be different so that wpe can't be bypasssed.

Or simply choose keys from previous time and enter those on nemo.

Lastly change the packet keys at packets.h with the selected keys.
Thank you! Can you please elaborate the last sentence? "Lastly change the packet keys at packets.h with the selected keys. " 

I have the new Hex keys how to apply on server side? I can't seem to find it in packets.h

 
Last edited by a moderator:
Open packets.h(src/map/packets.h)(if using hercules, other emu dont have packet enc.) , locate

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3); #endif That should be last packetkey, I.e at end of file.Add before it the following

#define OBFUSCATIONKEY1 KEYSELECTED1#define OBFUSCATIONKEY2 KEYSELECTED2#define OBFUSCATIONKEY3 KEYSELECTED3Then recompile.
Note key format should start with 0x followed by hexcode.

Example, 0x12121212

Replace KEYSELECTED1, 2, 3 with the key you selected while diffing your client.

 
Last edited by a moderator:
Open packets.h(src/map/packets.h)(if using hercules, other emu dont have packet enc.) , locate

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3); #endifThat should be last packetkey, I.e at end of file.Add before it the following

#define OBFUSCATIONKEY1 KEYSELECTED1#define OBFUSCATIONKEY2 KEYSELECTED2#define OBFUSCATIONKEY3 KEYSELECTED3Then recompile.
Note key format should start with 0x followed by hexcode.

Example, 0x12121212

Replace KEYSELECTED1, 2, 3 with the key you selected while diffing your client.
Thank you for the tutorial I really appreciate it.

I follow exactly what you've said.

Copying this and change the value of hex with 0x format.

#define OBFUSCATIONKEY1 0x12345678

#define OBFUSCATIONKEY2 0x12345678

#define OBFUSCATIONKEY3 0x12345678

Before 

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)

PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3);

#endif

Also did commented the following lines, (I thinks it will cause a conflict. Dunno if that correct)

//#if PACKETVER >= 20130807
// packetKeys(0x7E241DE0,0x5E805580,0x3D807D80); /* Thanks to Shakto */
//#endif
I recompile without errors. Client Diff is all ok 1st,2nd,3rd packets are in place. 

But when I login I got disconnected after character select.
default_sad.png


 
There's no need to comment those 3 lines, since the last packetKeys() are only read by the source.

Any error on char/map-server?

 
Last edited by a moderator:
Here's map error when selecting a character:

Received unsupported packet (packet 0x789a (0x0c80), 19 bytes received), disconnecting session #3

 
Open packets.h(src/map/packets.h)(if using hercules, other emu dont have packet enc.) , locate

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3); #endifThat should be last packetkey, I.e at end of file.Add before it the following

#define OBFUSCATIONKEY1 KEYSELECTED1#define OBFUSCATIONKEY2 KEYSELECTED2#define OBFUSCATIONKEY3 KEYSELECTED3Then recompile.
Note key format should start with 0x followed by hexcode.

Example, 0x12121212

Replace KEYSELECTED1, 2, 3 with the key you selected while diffing your client.
Thank you for the tutorial I really appreciate it.

I follow exactly what you've said.

Copying this and change the value of hex with 0x format.

#define OBFUSCATIONKEY1 0x12345678

#define OBFUSCATIONKEY2 0x12345678

#define OBFUSCATIONKEY3 0x12345678

Before 

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)

PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3);

#endif

Also did commented the following lines, (I thinks it will cause a conflict. Dunno if that correct)

//#if PACKETVER >= 20130807
// packetKeys(0x7E241DE0,0x5E805580,0x3D807D80); /* Thanks to Shakto */
//#endif
I recompile without errors. Client Diff is all ok 1st,2nd,3rd packets are in place. 

But when I login I got disconnected after character select.
default_sad.png
you used 0x12345678 for all 3? currently the order is reversed in NEMO. I have fixed it in local and will soon be deployed.

 
i tho we had some inpur error and such but so the new client is 100% working ? tho i saw they will update it even more soon ?
default_biggrin.png


 
Hello, i am having some problems with 2013-08-07 exe, everything works fine, theo nply problem is with weapon sprites, i cant see any weapon sprite i mean official and custom. Any idea?

 
2013 client is now using iteminfo.lub, kindly check your System/iteminfo.lub if ClassNum is set properly,

example

[1201] = { unidentifiedDisplayName = "Dagger", unidentifiedResourceName = "³ªÀÌÇÁ", unidentifiedDescriptionName = { "Unknown Item, can be identified by [Magnifier]", "Weight: ^77777740^000000", }, identifiedDisplayName = "Knife", identifiedResourceName = "³ªÀÌÇÁ", identifiedDescriptionName = { "A simple knife.", "Class: ^777777Dagger^000000", "Attack: ^77777717^000000", "Weight: ^77777740^000000", "Weapon Level: ^7777771^000000", "Required Level: ^777777NA^000000", "Jobs: ^777777Novice, Swordman, Mage, Archer, Merchant,", "Thief Classes, Soul Linker, and Ninja^000000" }, slotCount = 3, ClassNum = 1 //<-- 1 mean Knife },
Useful links: Custom Items, Custom weapons

 
Mhalicot Thanks for your answer, but the iteminfo.lua its fine, 

here is mine dagger 

 
[1201] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "³ªÀÌÇÁ",
unidentifiedDescriptionName = {
"Unidentified item, can be identified with [Magnifier].",
},
identifiedDisplayName = "Knife",
identifiedResourceName = "³ªÀÌÇÁ",
identifiedDescriptionName = {
"A simple knife.",
"Class :^777777 Dagger^000000",
"Attack :^777777 17^000000",
"Weight :^777777 40^000000",
"Weapon Level :^777777 1^000000",
"Applicable Job :^777777 Novice, Swordman Class, Mage Class, Archer Class, Merchant Class, Thief Class, Soul Linker, Ninja^000000",
},
slotCount = 3,
ClassNum = 1
},
 
i cant see any weapon, i dont have problem with other custom items or oficial item sprites, only weapons.
 
can you take a look in your lua files? search for weapontable.lub and compare

Code:
Weapon_IDs = {  WEAPONTYPE_NONE = 0,  WEAPONTYPE_SHORTSWORD = 1,  WEAPONTYPE_SWORD = 2,  WEAPONTYPE_TWOHANDSWORD = 3,  WEAPONTYPE_SPEAR = 4,  WEAPONTYPE_TWOHANDSPEAR = 5,  WEAPONTYPE_AXE = 6,  WEAPONTYPE_TWOHANDAXE = 7,  WEAPONTYPE_MACE = 8,  WEAPONTYPE_TWOHANDMACE = 9,  WEAPONTYPE_ROD = 10,  WEAPONTYPE_BOW = 11,  WEAPONTYPE_KNUKLE = 12,  WEAPONTYPE_INSTRUMENT = 13,  WEAPONTYPE_WHIP = 14,  WEAPONTYPE_BOOK = 15,  WEAPONTYPE_CATARRH = 16,  WPCLASS_GUN_HANDGUN = 17,  WPCLASS_GUN_RIFLE = 18,  WPCLASS_GUN_GATLING = 19,  WPCLASS_GUN_SHOTGUN = 20,  WPCLASS_GUN_GRANADE = 21,  WPCLASS_SYURIKEN = 22,  WPCLASS_TWOHANDROD = 23,  WPCLASS_LAST = 24,
 
Mhalicot, its the same. Just another question i was readint another topic and i saw something bout weaponnametable.lua wich one uses? weaponnametable.lua or weapontable.lua because i have only weapontable.lua. the same as yours.

 
Last edited by a moderator:
Back
Top