After I updated my trunk to the latest rev.. My npc scripts starts showing errors..
menu error:
[Error]: Loading NPC file: npc/mynpc/quests/lvl2_wings/ifrit_wing.txt
script error on npc/mynpc/quests/lvl2_wings/ifrit_wing.txt line 34
need '('
31 : if($@iw_quest != 1) {
32 : mes @npcname$;
33 : mes "What do you want from me?!";
* 34 : menu "Tell me about Wing Transformation.",wingtransform,
"Transform my "+getitemname(.1stWingID)+" to "+getitemname(.2ndWingID)+"",transf
orm','"Nothing sir!",notnow;
35 : end;
other error:
[Error]: Loading NPC file: npc/mynpc/warps/gold_mine.txt
script error on npc/mynpc/warps/gold_mine.txt line 28
parse_simpleexpr: unmatched ')'
23 : mes @npcname$;
24 : mes "Warping fee costs 100,000z.";
25 : mes "Do you still want to be warped?";
26 : next;
27 : if(select("Yes:No")&2) { mes @npcname$; mes
"Alright, thanks anyways!"; close; }
* 28 : if (petstat '('PET_CLASS)) {
29 : mes @npcname$;
30 : mes "Pets are not allowed!";
31 : close;
32 : }
Anyone knows why and how to fix this? Thanks in advance!
Question
Lord Ganja
After I updated my trunk to the latest rev.. My npc scripts starts showing errors..
menu error:
other error:
Anyone knows why and how to fix this? Thanks in advance!
Link to comment
Share on other sites
2 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.