summaryrefslogtreecommitdiff
path: root/src/login/loginlog_sql.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-03 03:45:30 +0100
committerHaru <haru@dotalux.com>2016-01-03 21:46:15 +0100
commit818acc5866707b9e294a87d2dd902aebb670707f (patch)
tree1d507deb7d066ab066bdab2cf7bd4f549c471278 /src/login/loginlog_sql.c
parent87476b17df574f4c1cb1ef46c3c8e47419ea5a08 (diff)
downloadhercules-818acc5866707b9e294a87d2dd902aebb670707f.tar.gz
hercules-818acc5866707b9e294a87d2dd902aebb670707f.tar.bz2
hercules-818acc5866707b9e294a87d2dd902aebb670707f.tar.xz
hercules-818acc5866707b9e294a87d2dd902aebb670707f.zip
Rewritten skill_tree parser in a more robust way
- Fixes an issue that prevented skills with more than 4 pre-requisites or more than 3 pre-requisites and a minimum level from being parsed correctly (and without any warning or error messages). - Removes the limit on 5 pre-requisites (replaced a fixed size array with a VECTOR) - Reduces memory usage of skill_tree from 794kB to 440kB (32 bit) or 523kB (64 bit). - Fixes an issue that prevented multiple inheritance from working correctly in rare cases (incorrect definition order), without any warning or error messages. Now a warning is displayed if a job is inherited before being defined. - Fixes an issue that prevented skills inherited from being correctly merged with the skills defined for the current job. - Prevents a job from inheriting itself by accident. - Correctly detects skills defined twice for the same job. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/login/loginlog_sql.c')
0 files changed, 0 insertions, 0 deletions