Jump to content
  • 0
ValiantRO

[pet_db.yml] parse_line: expected ';'

Question

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 : [email protected] = getpetinfo(PETINFO_INTIMATE);
  2115 : if( [email protected] >= 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 : [email protected] = getpetinfo(PETINFO_INTIMATE);
  2163 : if( [email protected] >= 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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.