From 36383ebd1423d2c8f6e0495046de27708160109c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 7 May 2013 19:02:38 -0300 Subject: 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 --- src/map/packets_struct.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/map/packets_struct.h') 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; -- cgit v1.2.3-60-g2f50