From 448dce82b996930e361038dd5c94dd94a6deffe7 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 19 Oct 2013 03:32:28 +0200 Subject: 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 --- db/cashshop_db.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'db') 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_, where +// is a valid tab index, as descripbed in 'enum +// CASH_SHOP_TABS' in clif.c (normally 0 through 7) //==================================================== cash_shop: ( -- cgit v1.2.3-70-g09d2