ValiantRO
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by ValiantRO
-
-
Hi guys,
I am trying to add some custom pets to my server. After reloading servers, this error pop up of nowhere:
[Error]: Loading [99/114] entries from 'db/pre-re/pet_db.yml' script error on db/pre-re/pet_db.yml line 2116 parse_line: expected ';' 2114 : .@i = getpetinfo(PETINFO_INTIMATE); 2115 : if( .@i >= PET_INTIMATE_LOYAL ){ * 2116 : bonus bHpDrainRate,50','5; 2117 : bonus bSPDrainRate,50,5; 2118 : }
I thought it was because of the bonus bHPDrainRate, but that is not the only error:
[Error]: Loading [102/114] entries from 'db/pre-re/pet_db.yml' script error on db/pre-re/pet_db.yml line 2164 parse_line: expected ';' 2162 : .@i = getpetinfo(PETINFO_INTIMATE); 2163 : if( .@i >= PET_INTIMATE_LOYAL ){ * 2164 : bonus bSubEle,Ele_Fire','3; 2165 : bonus bSubEle,Ele_Holy,3; 2166 : }
I don't really understand where should I put the expected ";" in?
Thank you so much!
[pet_db.yml] parse_line: expected ';'
in Database Support
Posted
Problem SOLVED. Sorry for asking dumb question.
Syntaxs of those bonuses should be bonus2, since it has 2 parameters.