summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-02 04:41:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-03 17:12:48 +0300
commit84675f75d60f807ebbe932d7c591c8b1d59cfaf1 (patch)
tree8fe1cc02e0d68ceab016f29e3463f0749e89792e /src
parent6a8ac00d930e726181800d93b59ad8c513727aea (diff)
downloadhercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.gz
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.bz2
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.xz
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.zip
Fix version for packet 0x0a28 ZC_ACK_OPENSTORE2
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c6
-rw-r--r--src/map/packets.h7
2 files changed, 10 insertions, 3 deletions
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);