summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-10-19 03:32:28 +0200
committerHaru <haru@dotalux.com>2013-10-19 03:32:28 +0200
commit448dce82b996930e361038dd5c94dd94a6deffe7 (patch)
tree7ab0f1adb3546d4597199a9e0159ffd219d6d945 /db
parent4139f240fa26ae214599774fd551d3de03ffe7be (diff)
downloadhercules-448dce82b996930e361038dd5c94dd94a6deffe7.tar.gz
hercules-448dce82b996930e361038dd5c94dd94a6deffe7.tar.bz2
hercules-448dce82b996930e361038dd5c94dd94a6deffe7.tar.xz
hercules-448dce82b996930e361038dd5c94dd94a6deffe7.zip
Added support for missing or empty categories in cashshop_db.conf
- If a category in cashshop_db.conf is empty or missing, it will no longer show an error and/or insert an apple (dummy item). - Corrected a mapserver startup crash in case cashshop_db is missing elements. - Special thanks to Ind for providing official server/client info to handle the case of empty categories. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db')
-rw-r--r--db/cashshop_db.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/cashshop_db.conf b/db/cashshop_db.conf
index 8273b133e..7f1d4f5d6 100644
--- a/db/cashshop_db.conf
+++ b/db/cashshop_db.conf
@@ -14,6 +14,10 @@
// add in any amount of items you like within each category.
// Please keep in mind that the Cashshop does not work
// with ragexere clients.
+// Categories can be empty or even missing, but, if
+// present, their names must be kept as cat_<n>, where
+// <n> is a valid tab index, as descripbed in 'enum
+// CASH_SHOP_TABS' in clif.c (normally 0 through 7)
//====================================================
cash_shop: (