From 84675f75d60f807ebbe932d7c591c8b1d59cfaf1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Nov 2016 04:41:22 +0300 Subject: Fix version for packet 0x0a28 ZC_ACK_OPENSTORE2 --- src/map/clif.c | 6 +++--- src/map/packets.h | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 424d94205..beec3c008 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6418,12 +6418,12 @@ void clif_openvending(struct map_session_data* sd, int id, struct s_vending* ven } WFIFOSET(fd,WFIFOW(fd,2)); -#if PACKETVER >= 20141022 +#if PACKETVER >= 20140625 /** should go elsewhere perhaps? it has to be bundled with this however. **/ - WFIFOHEAD(fd, 3); + WFIFOHEAD(fd, packet_len(0xa28)); WFIFOW(fd, 0) = 0xa28; WFIFOB(fd, 2) = 0;/** 1 is failure. our current responses to failure are working so not yet implemented **/ - WFIFOSET(fd, 3); + WFIFOSET(fd, packet_len(0xa28)); #endif } diff --git a/src/map/packets.h b/src/map/packets.h index 3dfd00b97..ef4acae95 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -2793,9 +2793,16 @@ packet(0x96e,-1,clif->ackmergeitems); #endif #if PACKETVER >= 20140613 +// no shuffle packets packet(0x0a0e,14); #endif +// 2014-06-25aRagexeRE +#if PACKETVER >= 20140625 +// no shuffle packets + packet(0x0a28,3); // ZC_ACK_OPENSTORE2 +#endif + // 2014-10-16aRagexe - YomRawr #if PACKETVER >= 20141016 packet(0x0369,7,clif->pActionRequest,2,6); -- cgit v1.2.3-70-g09d2