Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Share Posted January 8, 2017 I'm receiving these errors when loading the map server and I'm not sure what the problem is. script error on item_db line 1853 parse_callfunc: not enough arguments, expected ',' * 1853 : bonus3 bAddEff,Eff_Stun,500';' bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,"NPC_CRITICALWOUND",2,50; [Error]: script error on item_db line 1942 parse_line: expected ';' * 1942 : bonus bIgnoreMDefRace,RC_DemiHuman','20; bonus bIgnoreMDefRace,RC_Player,20; Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 Will you post those lines out of your item_db? Are those custom items? Quote Link to comment Share on other sites More sharing options...
0 Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Author Share Posted January 8, 2017 They are slightly modified cards 4276;"Lord_Of_Death_Card";"Lord of The Dead Card";6;20;0;10;0;0;0;0;0;0;0;2;0;0;0;0;"bonus3 bAddEff,Eff_Stun,500; bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,""NPC_CRITICALWOUND"",2,50;";"";"" 4365;"B_Katrinn_Card";"High Wizard Card";6;20;0;10;0;0;0;0;0;0;0;769;0;0;0;0;"bonus bIgnoreMDefRace,RC_DemiHuman,20; bonus bIgnoreMDefRace,RC_Player,20;";"";"" Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 (edited) wow you broke them good ;) please take note. // Structure of Database: // ID,AegisName,Name,Type,Buy,Sell,Weight,ATK[:MATK],DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV[:maxLevel],Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } // 4276,Lord_Of_Death_Card,Lord of The Dead Card,6,20,0,10,0,0,0,0,0,0,0,2,0,0,0,0,{ bonus3 bAddEff,Eff_Stun,500; bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,NPC_CRITICALWOUND,2,50; ),{},{} 4365,B_Katrinn_Card,High Wizard Card,6,20,0,10,0,0,0,0,0,0,0,769,0,0,0,0,{ bonus bIgnoreMDefRace,RC_DemiHuman,20; bonus bIgnoreMDefRace,RC_Player,20;},{},{} Edited January 8, 2017 by srhmike Quote Link to comment Share on other sites More sharing options...
0 Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Author Share Posted January 8, 2017 I'm pretty new to this. I just exported the sql db into a csv file and copied it over to show you, so the formatting might look weird. As far as I know, they look exactly as you've shown. bonus3 bAddEff,Eff_Stun,500; bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,"NPC_CRITICALWOUND",2,50; Error one expects a comma where the semicolon is after Eff_Stun,500 bonus bIgnoreMDefRace,RC_DemiHuman,20; bonus bIgnoreMDefRace,RC_Player,20; Error two expects a semicolon where the comma is after RC_DemiHuman I've changed quite a few card effects and item effects already, but only these two give me errors Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 (edited) bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,25; change the 5 to 20 for you custom. bonus2 bAddEff,Eff_Stun,500 Try those, the difference for the first one is bonus2 instead of bonus and the second one is bonus2 instead of 3. Thats just me copying off other items. Nevermind, I found other ones that matched. Could you show me the actual lines out of your item db? Edited January 8, 2017 by srhmike Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 script error on item_db line 1853 parse_callfunc: not enough arguments, expected ',' * 1853 : bonus3 bAddEff,Eff_Stun,500';' bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,"NPC_CRITICALWOUND",2,50; [Error]: script error on item_db line 1942 parse_line: expected ';' * 1942 : bonus bIgnoreMDefRace,RC_DemiHuman','20; bonus bIgnoreMDefRace,RC_Player,20; Thats stating it wants a " ; " after the 500 on Eff_Stun and it wants a " , " after demihuman I think it mixed up your errors, because even in the syntax highlighting, you can see where it wants it. check it out. Quote Link to comment Share on other sites More sharing options...
0 Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Author Share Posted January 8, 2017 (edited) That's why I'm confused. Those lines are correct. I have a ";" after the 500 and a "," after demihuman. I'm using mysql for the itemdb. Here are the two lines copied out of it. '4276', 'Lord_Of_Death_Card', 'Lord of The Dead Card', '6', '20', NULL, '10', NULL, NULL, NULL, '0', NULL, NULL, NULL, '2', NULL, NULL, NULL, NULL, 'bonus3 bAddEff,Eff_Stun,500; bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,\"NPC_CRITICALWOUND\",2,50;', NULL, NULL '4365', 'B_Katrinn_Card', 'High Wizard Card', '6', '20', NULL, '10', NULL, NULL, NULL, '0', NULL, NULL, NULL, '769', NULL, NULL, NULL, NULL, 'bonus bIgnoreMDefRace,RC_DemiHuman,20; bonus bIgnoreMDefRace,RC_Player,20;', NULL, NULL Edited January 8, 2017 by pikachue Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 Ok I think on the 2nd one, you need to add another null at the end instead of '' On the first, I'm not sure. Quote Link to comment Share on other sites More sharing options...
0 Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Author Share Posted January 8, 2017 (edited) Hm yes. I fixed that part of it. Still getting the same errors, though. Thanks for the help regardless! I figured out the error with the lord of the dead card. I'd removed all of the atf_short so it could be used with long range attacks as well, but it requires changing the bonus3 to bonus 2 in order to do so. Aaaand I know why I'm also getting the error on the high wizard card. For some reason I thought the script meant I could ignore a flat amount of mdef. It actually just completely ignores mdef so no number was needed. Edited January 8, 2017 by pikachue Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 (edited) (4365,'B_Katrinn_Card','High Wizard Card',6,20,NULL,10,NULL,NULL,NULL,0,NULL,NULL,NULL,769,NULL,NULL,NULL,NULL,'bonus bIgnoreMDefRace,RC_DemiHuman,20; bonus bIgnoreMDefRace,RC_Player,20;',NULL,NULL); (4276,'Lord_Of_Death_Card','Lord of The Dead Card',6,20,NULL,10,NULL,NULL,NULL,0,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,'bonus3 bAddEff,Eff_Stun,500; bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,\"NPC_CRITICALWOUND\",2,50;',NULL,NULL); Try those. If that doesnt fix it, then I have no clue. \"NPC_CRITICALWOUND\" I think thats weird. Like its commented out or something. Id try taking it out. Edited January 8, 2017 by srhmike Quote Link to comment Share on other sites More sharing options...
0 Blahguy Posted January 8, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 12/25/16 Last Seen: November 25, 2024 Author Share Posted January 8, 2017 I edited my previous comment explaining my blunder. It's all fixed now. Thank you! Quote Link to comment Share on other sites More sharing options...
0 srhmike Posted January 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 261 Reputation: 53 Joined: 11/11/16 Last Seen: February 8, 2024 Share Posted January 8, 2017 Well damn, that was hell of a process. Glad you figured it out. I didn't look that far into it to figure that out, glad you did. Quote Link to comment Share on other sites More sharing options...
Question
Blahguy
I'm receiving these errors when loading the map server and I'm not sure what the problem is.
script error on item_db line 1853
parse_callfunc: not enough arguments, expected ','
* 1853 : bonus3 bAddEff,Eff_Stun,500';' bonus3 bAddEff,Eff_Curse,500; bonus3 bAddEff,Eff_Silence,500; bonus3 bAddEff,Eff_Poison,500; bonus3 bAddEff,Eff_Bleeding,500; bonus3 bAutoSpell,"NPC_CRITICALWOUND",2,50;
[Error]:
script error on item_db line 1942
parse_line: expected ';'
* 1942 : bonus bIgnoreMDefRace,RC_DemiHuman','20; bonus bIgnoreMDefRace,RC_Player,20;
Link to comment
Share on other sites
12 answers 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.