Jump to content
  • 0

help Fishing Script Error


sipemula

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   0
  • Joined:  07/13/15
  • Last Seen:  

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 sipemula
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

its a custom function in him common library you have to make sure his common library is installed as well

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   0
  • Joined:  07/13/15
  • Last Seen:  

how to install common libary ?, this my config at, custom_conf.txt 
npc: npc/custom/etc/common.txt

Edited by sipemula
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

im not sure but i think this

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   0
  • Joined:  07/13/15
  • Last Seen:  

thank for your respon ^^ its very help

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