Hi. Thank you for reply. The error is quite long. Here it is:
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 86
parse_line: expect command, missing function name or calling undeclared function
81 : disablenpc instance_npcname("Box#171_box_" + .@i);
82 : }
83 : disablenpc instance_npcname("Rebellion#171_box_4");
84 : enablenpc instance_npcname("Elena Volkova#171_cmd_1");
85 : mapannounce 'map$,"Elena Volkova : Awesome, she came out! I've sent the signal, come to my location!",bc_map,0xFFFF99;
* 86 : 'v'iewpointmap 'map$,1,172,223,5,0xFFFFFF;
87 : viewpointmap 'map$,2,140,79,1,0xFFFFFF;
88 : viewpointmap 'map$,2,160,119,2,0xFFFFFF;
89 : viewpointmap 'map$,2,220,170,3,0xFFFFFF;
90 : viewpointmap 'map$,2,222,236,4,0xFFFFFF;
91 : end;
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 151
parse_line: expect command, missing function name or calling undeclared function
146 : mes "[Rebellion]";
147 : mes "Something seems to have exploded over there. The flames have risen from the front!";
148 : next;
149 : mes "[Rebellion]";
150 : mes "There are 4 identified locations these explosion came from! I have ^FF0000shown them on your minimap.^000000";
* 151 : 'v'iewpointmap 'map$,1,140,79,1,0xFFFFFF;
152 : viewpointmap 'map$,1,160,119,2,0xFFFFFF;
153 : viewpointmap 'map$,1,220,170,3,0xFFFFFF;
154 : viewpointmap 'map$,1,222,236,4,0xFFFFFF;
155 : next;
156 : mes "[Elena Volkova]";
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 283
parse_line: expect command, missing function name or calling undeclared function
278 : mes "[Elyumina]";
279 : mes "Hahaha! Yes. Let's work hard. Gather more battle data for me!";
280 : npctalk "Elyumina : Hahaha! Yes. Let's work hard. Gather more battle data for me!";
281 : close2;
282 : cutin "",255;
* 283 : 'v'iewpointmap 'map$,2,172,223,5,0xFFFFFF;
284 : if ('step == 1) {
285 : 'step = 2;
286 : donpcevent instance_npcname("#171_cor_control") + "::OnDaily03";
287 : }
288 : end;
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 330
parse_line: expect command, missing function name or calling undeclared function
325 : mes "It looks like you've found something interesting here. You should check out the other teams!";
326 : close2;
327 : completequest 16355;
328 : disablenpc();
329 : disablenpc instance_npcname("Box#" + strnpcinfo(2));
* 330 : 'v'iewpointmap 'map$,2,224,236,4,0xFFFFFF;
331 : if (isbegin_quest(16355) == 2 && isbegin_quest(16356) == 2 && 'step == 1) {
332 : 'step = 2;
333 : doevent instance_npcname("#171_cor_control") + "::OnStory02";
334 : }
335 : }
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 487
parse_line: expect command, missing function name or calling undeclared function
482 : mes "[Rebellion]";
483 : mes "So, it looks like this is over, I'll go join another team! You should too.";
484 : close2;
485 : disablenpc();
486 : disablenpc instance_npcname("Box#" + strnpcinfo(2));
* 487 : 'v'iewpointmap 'map$,2,220,170,3,0xFFFFFF;
488 : completequest 16356;
489 : if (isbegin_quest(16355) == 2 && isbegin_quest(16356) == 2 && 'step == 1) {
490 : 'step = 2;
491 : doevent instance_npcname("#171_cor_control") + "::OnStory02";
492 : }
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 607
parse_line: expect command, missing function name or calling undeclared function
602 : next;
603 : mes "[Rebellion]";
604 : mes "*Nods, nods*";
605 : next;
606 : mes "- Let's go support another team. -";
* 607 : 'v'iewpointmap 'map$,2,160,119,2,0xFFFFFF;
608 : close2;
609 : disablenpc();
610 : disablenpc instance_npcname("Rebellion#" + strnpcinfo(2));
611 : end;
612 : }
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 645
parse_line: expect command, missing function name or calling undeclared function
640 : mes "[Rebellion]";
641 : mes "These machines uses chemical poison, be careful.";
642 : next;
643 : mes "[Rebellion]";
644 : mes "We will now conduct our search, until the signal comes. Adventurer, be careful!";
* 645 : 'v'iewpointmap 'map$,2,140,79,1,0xFFFFFF;
646 : close2;
647 : disablenpc();
648 : disablenpc instance_npcname("Rebellion#171_box_3");
649 : disablenpc instance_npcname("Rebellion#171_box_4");
650 : end;
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 689
parse_line: expect command, missing function name or calling undeclared function
684 : cutin "162elena_02",2;
685 : mes "[Elena Volkova]";
686 : mes "Okay, watch out! I opened the portal so that you can go in. It's a one way entry, so make sure you're prepared!";
687 : close2;
688 : cutin "",255;
* 689 : 'v'iewpointmap 'map$,2,172,223,5,0xFFFFFF;
690 : if ('step == 2) {
691 : 'step = 3;
692 : donpcevent instance_npcname("#171_cor_control") + "::OnStory03";
693 : }
694 : end;
[Error]:
script error on npc/eps17_1/instances/CorOperation.txt line 1009
parse_line: expect command, missing function name or calling undeclared function
1004 : disablenpc instance_npcname("Reinforced Energy#171_trap_" + .@id);
1005 : } else
1006 : .@npc$ = "Chemical Poison#";
1007 : switch (.@id) {
1008 : case 0:
* 1009 : 'v'iewpointmap 'map$,2,222,236,4,0xFFFFFF;
1010 : .@npc$ = "Biological Battery#";
1011 : break;
1012 : case 1:
1013 : viewpointmap 'map$,2,220,170,3,0xFFFFFF;
1014 : .@npc$ = "Chemical Poison#";
and BTW it says in the console that some quests are not in database, although when I check they're all there. I downloaded the quest_db.yml from rathena github and pasted it into my folder, replacing the old one which didn't have any of the quests. I'm not sure what I did wrong here, please guide me. Thank you.