Jump to content
  • 0

Error


none

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   1
  • Joined:  11/14/11
  • Last Seen:  

Hi,

I've an error:

parse_line: expect command, missing function name or calling undeclared function

*  384 : 'p'cblockmove getcharid(3),0;

 

it's a script in callfunction.
how to attach player ?

Thx a lot

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

oh I see, I've been trough in something like this, the possible solution is to return back to the script and going back by making a 2nd function after that instruction. Something like this:

-<tab>script<tab>OriginalScript<tab>{ //The one where the function is called
        callfunc("F_function1");
        pcblockmove getcharid(3),0;  // This is where the function will return
        callfunc("F_function2");  // And this will go to the 2nd function
}
 
function<tab>script<tab>F_function1<tab>{
       //Instructions
      return; // Will go back to the original script
 
}
 
function<tab>script<tab>F_function2<tab>{
       //Instructions
}

It will work, but you need to be sure there is not something like an if { } between these 2 functions, because it will not work, if you provide me the full scripts, I can tell you what to add/change.

Edited by eKoh
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

probably you're not using rAthena ??

 

what emulator you're using

 

this script command exist since very long ago in *Athena, pcblockmove

 

unless you removed it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/24/12
  • Last Seen:  

let me guess ... you are using  eamod right?

 

pcblock ,0,1;

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