Jump to content
  • 0

Where should I add the ragexe packet with Rathena-master server 2017?


tathanngudong

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   3
  • Joined:  04/17/15
  • Last Seen:  

as above...

If compared to the old sever,inside new Sever change so much...
I don't know how to do it? Please help
( Sorry my bad english )

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Put it in here sir

rathena\src\map\clif_packetdb.h

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   3
  • Joined:  04/17/15
  • Last Seen:  

11 minutes ago, hendra814 said:

Put it in here sir

rathena\src\map\clif_packetdb.h

If okay ? Can you show me where i can add key of ragexe?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

For packet key put like this, sample using client 2017-05-17

#if PACKETVER >= 20170517
	parseable_packet(0x0ac0,26,clif_parse_Mail_refreshinbox,2,3);
	parseable_packet(0x0ac1,26,clif_parse_Mail_refreshinbox,2,3);
	parseable_packet(0x0364,8,clif_parse_dull,0);
	parseable_packet(0x0367,-1,clif_parse_ReqOpenBuyingStore,2,4,8,9,89);  // CZ_REQ_OPEN_BUYING_STORE
	parseable_packet(0x0437,7,clif_parse_ActionRequest,2,6);  // CZ_REQUEST_ACT
	parseable_packet(0x0802,18,clif_parse_PartyBookingRegisterReq,2,4,6);  // CZ_PARTY_BOOKING_REQ_REGISTER
	parseable_packet(0x0815,10,clif_parse_UseSkillToId,2,4,6);  // CZ_USE_SKILL
	parseable_packet(0x0817,10,clif_parse_UseSkillToPos,2,4,6,8);  // CZ_USE_SKILL_TOGROUND
	parseable_packet(0x0868,90,clif_parse_UseSkillToPosMoreInfo,2,4,6,8,10);  // CZ_USE_SKILL_TOGROUND_WITHTALKBOX
	parseable_packet(0x0875,2,clif_parse_SearchStoreInfoNextPage,0);  // CZ_SEARCH_STORE_INFO_NEXT_PAGE
	parseable_packet(0x087b,6,clif_parse_SolveCharName,2);  // CZ_REQNAME_BYGID
	parseable_packet(0x087d,-1,clif_parse_SearchStoreInfo,2,4,5,9,13,14,15);  // CZ_SEARCH_STORE_INFO
	parseable_packet(0x088c,8,clif_parse_MoveFromKafra,2,4);  // CZ_MOVE_ITEM_FROM_STORE_TO_BODY
	parseable_packet(0x088d,5,clif_parse_ChangeDir,2,4);  // CZ_CHANGE_DIRECTION
	parseable_packet(0x0894,6,clif_parse_GetCharNameRequest,2);  // CZ_REQNAME
	parseable_packet(0x0896,12,clif_parse_SearchStoreInfoListItemClick,2,6,10);  // CZ_SSILIST_ITEM_CLICK
	parseable_packet(0x0899,26,clif_parse_PartyInvite2,2);  // CZ_PARTY_JOIN_REQ
	parseable_packet(0x089e,4,clif_parse_dull,0);
	parseable_packet(0x089f,2,clif_parse_ReqCloseBuyingStore,0);  // CZ_REQ_CLOSE_BUYING_STORE
	parseable_packet(0x08a2,6,clif_parse_TickSend,2);  // CZ_REQUEST_TIME
	parseable_packet(0x08a8,5,clif_parse_WalkToXY,2);  // CZ_REQUEST_MOVE
	parseable_packet(0x08aa,8,clif_parse_MoveToKafra,2,4);  // CZ_MOVE_ITEM_FROM_BODY_TO_STORE
	parseable_packet(0x091b,-1,clif_parse_ReqTradeBuyingStore,2,4,8,12);  // CZ_REQ_TRADE_BUYING_STORE
	parseable_packet(0x0923,19,clif_parse_WantToConnection,2,6,10,14,18);  // CZ_ENTER
	parseable_packet(0x093b,6,clif_parse_DropItem,2,4);  // CZ_ITEM_THROW
	parseable_packet(0x0945,-1,clif_parse_ItemListWindowSelected,2,4,8,12);  // CZ_ITEMLISTWIN_RES
	parseable_packet(0x0946,6,clif_parse_ReqClickBuyingStore,2);  // CZ_REQ_CLICK_TO_BUYING_STORE
	parseable_packet(0x0947,36,clif_parse_StoragePassword,2,4,20);  // CZ_ACK_STORE_PASSWORD
	parseable_packet(0x0958,5,clif_parse_HomMenu,2,4);  // CZ_COMMAND_MER
	parseable_packet(0x0960,26,clif_parse_FriendsListAdd,2);  // CZ_ADD_FRIENDS
	parseable_packet(0x0964,6,clif_parse_TakeItem,2);  // CZ_ITEM_PICKUP
#endif

For client you want to use put it at rathena\src\config\packet.h

#ifndef PACKETVER
	#define PACKETVER 20151104 //replace into 20170517
#endif

#ifndef PACKETVER_RE
	/// From this point on only kRO RE clients are supported
	#if PACKETVER > 20151104
		#define PACKETVER_RE
	#endif
#endif

#if PACKETVER >= 20110817
	/// Comment to disable the official packet obfuscation support.
	/// This requires PACKETVER 2011-08-17 or newer.
	#ifndef PACKET_OBFUSCATION
		#define PACKET_OBFUSCATION //disable this if not using packet encryption

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

1 hour ago, tathanngudong said:

as above...

If compared to the old sever,inside new Sever change so much...
I don't know how to do it? Please help
( Sorry my bad english )

What client u want to use? RA has implement up to 2017-06-14 shuffle packet keys

And it is not to add in clif_packetdb.h

But it should be add in clif_shuffle.h

kindly please check this commit for example how to add shuffle packet keys for Ragexe / RagexeRE clients Git Hash: 2f453e7

for 2017-05-17 in \src\map\clif_packetdb.h, what is the point of adding those shuffle packet keys as they already have in src/map/clif_shuffle.h? such a duplicatation / redundancy maybe? and i think @hendra814 u need to rewording ur comment there. :P

https://github.com/rathena/rathena/blob/master/src/map/clif_shuffle.h

u can found shuffle packet keys for 2017-05-17 in this files.. so i guess, no noed to include them in src/map/clif_packetdb.h

i know u are following sadder1992 guide. but i think his guide is wrong. i already comment on that topic the correct way to include shuffle packet keys for Ragexe / RagexeRE clients. but, i guess he don't want to change it maybe? xD

 

Edited by Mikegyver
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

@Mikegyver

Sory i just give him guide with sample client 2017-05-17, not mention to add that's packet into clif_packetdb.h

because i don't know what client he want to use.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

Just now, hendra814 said:

@Mikegyver

Sory i just give him guide with sample client 2017-05-17, not mention to add that's packet into clif_packetdb.h

because i don't know what client he want to use.

the guide is from sadder1992 right? hahaha.. i know that.. that guy at the first place already give wrong guide.. xD

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

2 minutes ago, Mikegyver said:

the guide is from sadder1992 right? hahaha.. i know that.. that guy at the first place already give wrong guide.. xD

Yes, you're right again.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   3
  • Joined:  04/17/15
  • Last Seen:  

On 3/8/2017 at 4:26 PM, hendra814 said:

@Mikegyver

Sory i just give him guide with sample client 2017-05-17, not mention to add that's packet into clif_packetdb.h

because i don't know what client he want to use.

Thank you!! That's all i need!! :wub:

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/30/22
  • Last Seen:  

What's the difference beetween clif_packetdb.h and clif_shuffle.h?

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...