Jump to content
  • 0

not enough argument


minijoe

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  11/14/15
  • Last Seen:  

item db:
 

5988,New_Item,Old Resting Swan,4,20,,0,,12,,0,0x00080000,56,0,256,,100,1,635,{ bonus2 bSubRace,RC_DemiHuman,5+5*(getrefine()>=7)+2*(getrefine()>=9); skill "BA_MUSICALLESSON",getskilllv("DC_DANCINGLESSON"); bonus2 bSkillAtk,"WM_REVERBERATION",10+30*(getrefine()>=7)+20*(getrefine()>=9); bonus bAllStats,getrefine(); if ((getrefine()>=7) && ((getskilllv("DC_FORTUNEKISS")>=1) && (getiteminfo(getequipid(EQI_HAND_R),11)==13 || getiteminfo(getequipid(EQI_HAND_R),11)==14))) { skill "BA_POEMBRAGI",getskilllv("DC_FORTUNEKISS"); } if (getrefine()>=9) { bonus4 bAutoSpellOnSkill,"WM_GLOOMYDAY","NPC_WIDESTONE",4,1000; } if (getrefine()>=10) { autobonus "{ bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",100; }",5,5000,BF_WEAPON; } bonus bUnbreakableHelm,1; },{},{}

 
map-server:
 

[Error]:
script error on db/re/item_db.txt line 4034
    parse_callfunc: not enough arguments, expected ','
* 4034 : { bonus2 bSubRace,RC_DemiHuman,5+5*(getrefine()>=7)+2*(getrefine()>=9);
 skill "BA_MUSICALLESSON",getskilllv("DC_DANCINGLESSON"); bonus2 bSkillAtk,"WM_R
EVERBERATION",10+30*(getrefine()>=7)+20*(getrefine()>=9); bonus bAllStats,getref
ine(); if ((getrefine()>=7) && ((getskilllv("DC_FORTUNEKISS")>=1) && (getiteminf
o(getequipid(EQI_HAND_R),11)==13 || getiteminfo(getequipid(EQI_HAND_R),11)==14))
) { skill "BA_POEMBRAGI",getskilllv("DC_FORTUNEKISS"); } if (getrefine()>=9) { b
onus4 bAutoSpellOnSkill,"WM_GLOOMYDAY","NPC_WIDESTONE",4,1000; } if (getrefine()
>=10) { autobonus "{ bonus2 bSkillAtk,"'W'M_SEVERE_RAINSTORM",100; }",5,5000,BF_
WEAPON; } bonus bUnbreakableHelm,1; }

 
Then the server report not enough argument. However, I have check all the parameters. I can't find anything missing.

So who can help me with this problem. Thank you very much:)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

The problem (at least what is giving you the error) is on the:

autobonus "{ bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",100; }",5,5000,BF_WEAPON;

You just put quotes inside quotes, canceling them, must be:

autobonus "{ bonus2 bSkillAtk,\"WM_SEVERE_RAINSTORM\",100; }",5,5000,BF_WEAPON;

But, I guess there's more wrong things on your code.
Test it.

Edited by Haziel
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  11/14/15
  • Last Seen:  

Thanks for your reminding.

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