Jump to content
  • 0

[pet_db.yml] parse_line: expected ';'


ValiantRO

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/04/20
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/04/20
  • Last Seen:  

Problem SOLVED. Sorry for asking dumb question.

Syntaxs of those bonuses should be bonus2, since it has 2 parameters.

 

Link to comment
Share on other sites

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...