ValiantRO Posted April 25, 2020 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/04/20 Last Seen: May 31, 2024 Share Posted April 25, 2020 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! Quote Link to comment Share on other sites More sharing options...
0 ValiantRO Posted April 25, 2020 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/04/20 Last Seen: May 31, 2024 Author Share Posted April 25, 2020 Problem SOLVED. Sorry for asking dumb question. Syntaxs of those bonuses should be bonus2, since it has 2 parameters. Quote Link to comment Share on other sites More sharing options...
Question
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!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.