Jump to content
  • 0

having an error


version03

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  03/26/13
  • Last Seen:  

im using svn 16815
this error shows up..
 
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/kafras/functions_kafras.txt', line '73'. Stopping...
 * w1=function        script  F_Kafra {
 * w2=
 * w3=
 * w4=
 
 and then i try logging in on my server and try to save at prontera but this second error show

[Error]: script:callfunc: function not found! [F_Kafra]
 
how come that this error shows up?
 
i have here

@ npc folder

cool_event_corp.txt
dts_warper.txt
functions_kafras.txt
kafras.txt
kafras_alb.txt
kafras_alde.txt
kafras_com.txt
kafras_dungeons.txt
kafras_gef.txt
kafras_izl.txt
kafras_mor.txt
kafras_mosk.txt
kafras_new.txt
kafras_pay.txt
kafras_pron.txt
kafras_yun.txt

same at re folder

i dont know what is the problem?
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

First of all why are you using such an old revision? Not using the latest one can be wise because of bugs in the trunk but using too old revision can cause problems such as unfixed bugs with skills, npcs and so on. But anyway if this is your only error and you haven't modified the functions_kafras.txt then the file might just be crapped. Just redownload it from the SVN and replace it:

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/kafras/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  182
  • Reputation:   36
  • Joined:  01/26/12
  • Last Seen:  

Anyways, try to modify that line to be similar with this structure (replace any %TAB% with a tabulation space):

function%TAB%script%TAB%<function name>%TAB%{<code>}

Your file 'npc/kafras/functions_kafras.txt' on the line '73' should remain like this:

function	script	F_Kafra	{

 

It's mandatory to use tabularion spaces instead of regular spaces there. Anyways, even if this works or not, I'd suggest to update revisions for the same reasons Bahmut said.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  03/26/13
  • Last Seen:  

thanks for helping guys.. it worked..

[sOLVED]

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