summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-08 19:40:57 +0000
committerJesusaves <cpntb1@ymail.com>2020-01-08 19:40:57 +0000
commit7aa4532888ab010b843c365f45d3044220fee9ea (patch)
treef95d90dc4484563f4d02dd260edb278bd1cb1b6e
parentcd6c1e97e8c51186301d9a1bd26157cbe852473a (diff)
downloadplugin-7aa4532888ab010b843c365f45d3044220fee9ea.tar.gz
plugin-7aa4532888ab010b843c365f45d3044220fee9ea.tar.bz2
plugin-7aa4532888ab010b843c365f45d3044220fee9ea.tar.xz
plugin-7aa4532888ab010b843c365f45d3044220fee9ea.zip
Maximum Guild Size: 100
An ADM can make that value go up to 160 if needed using GD_EXTENSION skill (steps of 6)
-rw-r--r--src/ecommon/init.c1
-rwxr-xr-xtools/vars.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c
index c58de23..9185ee1 100644
--- a/src/ecommon/init.c
+++ b/src/ecommon/init.c
@@ -52,4 +52,5 @@ void common_online(void)
checkVar(MAX_EVOL_SKILLS, 22);
checkVar(EVOL_FIRST_SKILL, 20000);
checkVar(MAX_SKILL_TREE, 110);
+ checkVar(BASE_GUILD_SIZE, 100);
}
diff --git a/tools/vars.sh b/tools/vars.sh
index 42a507e..f232eca 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -11,5 +11,5 @@
# can be used for custom skill id: 10016 - 10036
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL_DB=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=971 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
+export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL_DB=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=971 -DBASE_GUILD_SIZE=100 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
export CPPFLAGS="${VARS}"