Przeglądaj źródła

Added dummy parsing for 0xbdd (#9194)

Fixes #9172

Thanks to @brynner23
Lemongrass3110 1 miesiąc temu
rodzic
commit
a9f1e69742
2 zmienionych plików z 10 dodań i 0 usunięć
  1. 4 0
      src/map/clif_packetdb.hpp
  2. 6 0
      src/map/packets.hpp

+ 4 - 0
src/map/clif_packetdb.hpp

@@ -2033,6 +2033,10 @@
 	parseable_packet( HEADER_CZ_RESET_SKILL, sizeof( struct PACKET_CZ_RESET_SKILL ), clif_parse_reset_skill, 0 );
 #endif
 
+#if PACKETVER_MAIN_NUM >= 20230607
+	parseable_packet( HEADER_CZ_ALLY_CHAT, -1, clif_parse_dull, 0 );
+#endif
+
 #if PACKETVER_MAIN_NUM >= 20230705
 	parseable_packet( HEADER_CZ_REQ_EMOTION_EXPANSION, sizeof( struct PACKET_CZ_REQ_EMOTION_EXPANSION ), clif_parse_dull, 0 );
 #endif

+ 6 - 0
src/map/packets.hpp

@@ -2019,6 +2019,12 @@ struct PACKET_ZC_WHISPER_LIST{
 } __attribute__((packed));
 DEFINE_PACKET_HEADER(ZC_WHISPER_LIST, 0xd4);
 
+struct PACKET_CZ_ALLY_CHAT{
+	int16 packetType;
+	int16 packetLength;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_ALLY_CHAT, 0xbdd);
+
 // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
 #if !defined( sun ) && ( !defined( __NETBSD__ ) || __NetBSD_Version__ >= 600000000 )
 	#pragma pack( pop )