Issue information

Issue ID
#7417
Status
Fixed
Severity
Fair
Started
ernestfegarido
Jun 23, 2013 2:01
Last Post
Nameless2you
Jun 23, 2013 3:52
Confirmation
Yes (3)
No (0)

ernestfegarido - Jun 23, 2013 2:01

[Error]: db/re/skill_tree.conf:18 - syntax error
[Error]: can't read db/re/skill_tree.conf

This post has been edited by ernestfegarido on Jun 23, 2013 2:03

Samuel - Jun 23, 2013 2:50

because of this:
[quote]
//================ Structure Example =================
/*
Job_Name: { /* Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) */
inherit: ( "Other_Job_Name" ); /* Base job from which this job will inherit its skill tree. NV_TRICKDEAD inheritance is skipped for non-novices from the source */

skills: { /* SKILL_NAMEs come from the Name (16th column) value in db/re/skill_db.txt */
SKILL_NAME1: Max_Level /* Use this for skills that don't have other skill prerequisite; Max_Level is a numeric value that should match your client side files */
SKILL_NAME2: { /* Use this for skills which have other skills as prerequisites */
MaxLevel: Max_Level /* Max_Level is a numeric value that should match your client side files */
SKILL_NAME_PREREQUISITE: Level_Prerequisite /* The prerequisite skill and min level for having this skill available. Should also match your client side files */
SKILL_NAME_PREREQUISITE2: Level_Prerequisite2 /* You can add as many prerequisite skills as you want. Minimum of 1 if you add a skill this way */
}
}
*/
//====================================================[/quote]

should change the /* -- */ to [b]//[/b] each line instead

Via - Jun 23, 2013 3:27

Submitted fix at [url="https://github.com/ThinkIV/Hercules/commit/6b938576c9baf4cb72cbf03e24e7fd7cd469d92e"]6b93857[/url]

Nameless2you - Jun 23, 2013 3:52

Thank you for reporting it. Sorry noticed the pull request too late.
Fixed in [url="https://github.com/HerculesWS/Hercules/commit/b3c99c8c78e664b1350388e15fafb2f6db2dfe3b"]https://github.com/HerculesWS/Hercules/commit/b3c99c8c78e664b1350388e15fafb2f6db2dfe3b[/url] and [url="https://github.com/HerculesWS/Hercules/commit/a48f523555f02b4245cfc0313cb35f8a332cac50"]https://github.com/HerculesWS/Hercules/commit/a48f523555f02b4245cfc0313cb35f8a332cac50[/url]