diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-03 03:35:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:12:49 +0300 |
commit | 365fb8f3accedaf1935b82fa1018d6df0161f683 (patch) | |
tree | 49c15a2df9197ff18e73a0faeaade58e4cfbe419 /src | |
parent | 800c453308b2f846d38e8142eb9061ee3e8828f2 (diff) | |
download | hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.gz hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.bz2 hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.xz hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.zip |
Fix version for packet 0x08b3 ZC_SHOWSCRIPT
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/packets.h | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 031959be2..db9224329 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17865,6 +17865,7 @@ void clif_partytickack(struct map_session_data* sd, bool flag) { void clif_ShowScript(struct block_list *bl, const char *message) { +#if PACKETVER >= 20110111 char buf[256]; int len; nullpo_retv(bl); @@ -17884,6 +17885,7 @@ void clif_ShowScript(struct block_list *bl, const char *message) WBUFL(buf,4) = bl->id; safestrncpy(WBUFP(buf,8),message,len); clif->send(buf,WBUFW(buf,2),bl,AREA); +#endif } void clif_status_change_end(struct block_list *bl, int tid, enum send_target target, int type) { diff --git a/src/map/packets.h b/src/map/packets.h index 27ad5c7a4..31ff03a16 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -1875,6 +1875,13 @@ packet(0x96e,-1,clif->ackmergeitems); packet(0x08b1,-1); // ZC_MCSTORE_NOTMOVEITEM_LIST #endif +// 2011-01-11aRagexe +#if PACKETVER >= 20110111 +// shuffle packets not added +// new packets + packet(0x08b3,-1); // ZC_SHOWSCRIPT +#endif + //2011-07-18aRagexe (Thanks to Yommy!) #if PACKETVER >= 20110718 packet(0x0844,2,clif->pCashShopOpen,2);/* tell server cashshop window is being open */ |