summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emap/itemdb.c3
-rwxr-xr-xtools/vars.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c
index e60783b..03c632b 100644
--- a/src/emap/itemdb.c
+++ b/src/emap/itemdb.c
@@ -148,6 +148,9 @@ void eitemdb_readdb_additional_fields_pre(int *itemid,
while ((it2 = libconfig->setting_get_elem(group, idx ++)))
{
const char *name = config_setting_name(it2);
+ // TODO: [5000, 5010]: 1
+ // Allow the range to work, and restrict to 1 card in whole range
+ // via allowedRange->{min,max,amount}
if (name && strncmp(name, "id", 2) && strncmp(name, "Id", 2))
{
ShowWarning("Unknown field AllowCards for item %s\n", item->name);
diff --git a/tools/vars.sh b/tools/vars.sh
index c99599f..0f6507d 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -12,5 +12,5 @@
# can be used for custom skill id: 10016 - 10036+20
-export VARS=" -DMAX_LEVEL=200 -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_CART=25 -DMAX_AMOUNT=32500 -DMAX_SKILL_DB=1660 -DMAX_SKILL_ID=20150 -DMAX_EVOL_SKILLS=150 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=200 -DMAX_HOMUNSKILL=63 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531 -DTCP_THIN_DUPACK=1 -DTCP_THIN_LINEAR_TIMEOUTS=1 -DPYTHON_LOGS=1"
+export VARS=" -DMAX_LEVEL=200 -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_CART=25 -DMAX_AMOUNT=32500 -DMAX_SKILL_DB=1660 -DMAX_SKILL_ID=20150 -DMAX_EVOL_SKILLS=150 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=200 -DMAX_HOMUNSKILL=63 -DSC_MAX=658 -DSI_MAX=991 -DMAX_PETLOOT_STACK_WEIGHT=10000 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531 -DTCP_THIN_DUPACK=1 -DTCP_THIN_LINEAR_TIMEOUTS=1 -DPYTHON_LOGS=1"
export CPPFLAGS="${VARS}"