sipemula Posted August 21, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 71 Reputation: 0 Joined: 07/13/15 Last Seen: January 5, 2022 Share Posted August 21, 2017 (edited) Im use Fishing Script from My error Is : [Error]: Loading NPC file: npc/custom/events/FishingSimulation.txt script error on npc/custom/events/FishingSimulation.txt line 504 parse_line: expect command, missing function name or calling undeclared function 499 : sleep 1000; 500 : emotion E_OMG,1,getVariable(".charname"+strnpcinfo(3)+"$"); 501 : setnpcdisplay(strnpcinfo(3), getVariable(".npcname"+strnpcinfo(3)+"$"),723); 502 : .@gid = monster(.@map$,.@x,.@y,"--ja--",.@mob,1,"",2); 503 : if(is_function("aimode")){ * 504 : 'a'imode(.@gid,"aggro"); 505 : } 506 : }else if(.@mode$=="junkitem"){ 507 : emotion E_WAH,1,getVariable(".charname"+strnpcinfo(3)+"$"); 508 : showscript "I wonder who throw this...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$")); 509 : explode(.@itemlist$,.@idlist$,":"); [Error]: script error on npc/custom/events/FishingSimulation.txt line 574 parse_line: expect command, missing function name or calling undeclared function 569 : emotion E_LOUD,1; 570 : showscript "I got it!",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$")); 571 : specialeffect 6; 572 : soundeffectall "fish_reel03.wav",0; 573 : * 574 : 'F'ish_Reward_Func(); 575 : Fishing_End_Func(); 576 : 577 : OnHit: 578 : emotion E_SWT2; 579 : emotion E_SWT2,1; How Fix that ? Edited August 21, 2017 by sipemula Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted August 21, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Yesterday at 07:50 PM Share Posted August 21, 2017 @yuchinin Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted August 21, 2017 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted August 21, 2017 its a custom function in him common library you have to make sure his common library is installed as well Quote Link to comment Share on other sites More sharing options...
0 sipemula Posted August 21, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 71 Reputation: 0 Joined: 07/13/15 Last Seen: January 5, 2022 Author Share Posted August 21, 2017 (edited) how to install common libary ?, this my config at, custom_conf.txt npc: npc/custom/etc/common.txt Edited August 21, 2017 by sipemula Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted August 22, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Yesterday at 07:50 PM Share Posted August 22, 2017 im not sure but i think this Quote Link to comment Share on other sites More sharing options...
0 yuchinin Posted August 22, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 120 Reputation: 48 Joined: 07/23/13 Last Seen: August 27, 2021 Share Posted August 22, 2017 49 minutes ago, sader1992 said: im not sure but i think this @sipemula Yes this is the required library you need to download and load it before the fishing script. Example load order: npc: npc/custom/etc/common.txt <= Just incase this is loaded before the fishing script npc: npc/custom/etc/FishingSimulation.txt For error on line 504, it is ok to just comment it out since it is part of my Monster Controller Library and I still not think about release it yet. Quote Link to comment Share on other sites More sharing options...
0 sipemula Posted August 23, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 71 Reputation: 0 Joined: 07/13/15 Last Seen: January 5, 2022 Author Share Posted August 23, 2017 thank for your respon ^^ its very help Quote Link to comment Share on other sites More sharing options...
Question
sipemula
Im use Fishing Script from
My error Is :
[Error]: Loading NPC file: npc/custom/events/FishingSimulation.txt
script error on npc/custom/events/FishingSimulation.txt line 504
parse_line: expect command, missing function name or calling undeclared function
499 : sleep 1000;
500 : emotion E_OMG,1,getVariable(".charname"+strnpcinfo(3)+"$");
501 : setnpcdisplay(strnpcinfo(3), getVariable(".npcname"+strnpcinfo(3)+"$"),723);
502 : .@gid = monster(.@map$,.@x,.@y,"--ja--",.@mob,1,"",2);
503 : if(is_function("aimode")){
* 504 : 'a'imode(.@gid,"aggro");
505 : }
506 : }else if(.@mode$=="junkitem"){
507 : emotion E_WAH,1,getVariable(".charname"+strnpcinfo(3)+"$");
508 : showscript "I wonder who throw this...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
509 : explode(.@itemlist$,.@idlist$,":");
[Error]:
script error on npc/custom/events/FishingSimulation.txt line 574
parse_line: expect command, missing function name or calling undeclared function
569 : emotion E_LOUD,1;
570 : showscript "I got it!",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
571 : specialeffect 6;
572 : soundeffectall "fish_reel03.wav",0;
573 :
* 574 : 'F'ish_Reward_Func();
575 : Fishing_End_Func();
576 :
577 : OnHit:
578 : emotion E_SWT2;
579 : emotion E_SWT2,1;
How Fix that ?
Edited by sipemulaLink to comment
Share on other sites
6 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.