summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-08 00:11:28 -0300
committershennetsind <ind@henn.et>2013-04-08 00:11:28 -0300
commit81ad44467d7f0d4f0d63637ef2996012b9c81a9a (patch)
tree8bf9b897ac8f802e1cd764c22df36219b3172c02 /src/map/clif.c
parente742e8cf1a8356f9b70ab3ad9ecdc1051976ef72 (diff)
downloadhercules-81ad44467d7f0d4f0d63637ef2996012b9c81a9a.tar.gz
hercules-81ad44467d7f0d4f0d63637ef2996012b9c81a9a.tar.bz2
hercules-81ad44467d7f0d4f0d63637ef2996012b9c81a9a.tar.xz
hercules-81ad44467d7f0d4f0d63637ef2996012b9c81a9a.zip
Minimum Cash Shop Support
So that opening it on new clients won't get you kicked by the server. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4d2373f17..df0fd1077 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -16284,6 +16284,18 @@ void __attribute__ ((unused)) clif_parse_dull(int fd,struct map_session_data *sd
return;
}
+void clif_parse_CashShopOpen(int fd, struct map_session_data *sd) {
+ WFIFOHEAD(fd, 10);
+ WFIFOW(fd, 0) = 0x845;
+ WFIFOL(fd, 2) = 0;
+ WFIFOL(fd, 6) = 0;
+ WFIFOSET(fd, 10);
+}
+
+void clif_parse_CashShopClose(int fd, struct map_session_data *sd) {
+
+}
+
/*==========================================
* Main client packet processing function
*------------------------------------------*/
@@ -17142,4 +17154,7 @@ void clif_defaults(void) {
clif->pSkillSelectMenu = clif_parse_SkillSelectMenu;
clif->pMoveItem = clif_parse_MoveItem;
clif->pDull = clif_parse_dull;
+ /* RagExe Cash Shop [Ind/Hercules] */
+ clif->pCashShopOpen = clif_parse_CashShopOpen;
+ clif->pCashShopClose = clif_parse_CashShopClose;
}