diff options
author | shennetsind <ind@henn.et> | 2014-02-26 15:34:26 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-26 15:34:26 -0300 |
commit | 37953d04a35040206961bbad582209a35328fed7 (patch) | |
tree | aa843276fa9ff8275facb5be43ce386216a900ae /src/map/packets_struct.h | |
parent | 4bd9c3040926f35b14e3eab523620c9d20fe4d6b (diff) | |
download | hercules-37953d04a35040206961bbad582209a35328fed7.tar.gz hercules-37953d04a35040206961bbad582209a35328fed7.tar.bz2 hercules-37953d04a35040206961bbad582209a35328fed7.tar.xz hercules-37953d04a35040206961bbad582209a35328fed7.zip |
Whisper fix, and support for 2013-12-18 Ragexe and 2013-12-30 Ragexe
From Pull Request 255 (Thanks to Kiu, ossi0110, Yommy)
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index a150ef6e2..0e99c36e3 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -203,6 +203,11 @@ enum packet_headers { maptypeproperty2Type = 0x99b, npcmarketresultackType = 0x9d7, npcmarketopenType = 0x9d5, +#if PACKETVER >= 20131223 + wisendType = 0x9df, +#else + wisendType = 0x98, +#endif }; #if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute @@ -941,6 +946,15 @@ struct packet_npc_market_open { } list[1000];/* TODO: whats the actual max of this? */ } __attribute__((packed)); +struct packet_wis_end { + short PacketType; + char result; +#if PACKETVER >= 20131223 + unsigned int unknown;/* maybe AID, not sure what for (works sending as 0) */ +#endif +} __attribute__((packed)); + + #if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute #pragma pack(pop) #endif // not NetBSD < 6 / Solaris |