summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-07 19:02:38 -0300
committershennetsind <ind@henn.et>2013-05-07 19:02:38 -0300
commit36383ebd1423d2c8f6e0495046de27708160109c (patch)
tree677058ef25197255ccf131e531382b697cc15f2f /src/map/packets_struct.h
parentd95d6891713747e058b2cedf7e5811a6918f71d4 (diff)
downloadhercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.gz
hercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.bz2
hercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.xz
hercules-36383ebd1423d2c8f6e0495046de27708160109c.zip
Cart Fix
cart 'items' button no longer remains visible after the cart has been removed. -- Special Thanks to Wolfed. Improved status change end, now only sends the termination packet to those that matter, as opposed to always sending to those nearby, and made it smaller. Made possible thanks to super awesome Yommy :3 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 1ab296d40..c873d3ad3 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -51,6 +51,7 @@ enum packet_headers {
status_changeType = sc_notickType,/* 0x196 */
#endif
status_change2Type = 0x43f,
+ status_change_endType = 0x196,
#if PACKETVER < 4
spawn_unitType = 0x79,
#elif PACKETVER < 7
@@ -353,6 +354,13 @@ struct packet_status_change {
#endif
} __attribute__((packed));
+struct packet_status_change_end {
+ short PacketType;
+ short index;
+ unsigned int AID;
+ unsigned char state;
+} __attribute__((packed));
+
struct packet_status_change2 {
short PacketType;
short index;