Jump to content
  • 0
Sign in to follow this  
olg

NPC Error

Question

Dear All,

I have a Custom NPC script but it has errors on map-server. All other NPC customs are working btw. Please see attached code error and screenshot:
 

[Error]: script error in file 'npc/custom/fakeplayercommand.txt' line 57 column 27
    parse_line: need ';'
    54: input .@dye;
    55: next;
    56: //Job,Sex,hairstyle,haircolor,weapon,shield,headtop,headmid,headbot,clothcolor
*   57: .@monster_gid = fakeplayer( .@map$, .@1st, .@2nd, .@Input$, .@job, .@sex, .@hairstyle, .@haircolor, .@weapon, .@shield, .@tophead, .@midhead, .@lowhead, .@dye, 0 );
        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
    58: message strcharinfo(0), "Congratulations! Your customize Fake Player "+.@Input$+" has been created.";
    59: close;
    60:
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/fp.txt', line '7'. Stopping...
 * w1=BUILDIN_FUNC(fakeplayer)
 * w2=
 * w3=
 * w4=
[Error]: script error in file 'npc/custom/daily.txt' line 67 column 18
    parse_simpleexpr: unmatched ')'
    64:         sleep2 1000;
    65:         for(.@k = 0; .@k < 2; .@k++){
    66:                 if(!.@k){
*   67:                         if(!vip_status(VIP_STATUS_ACTIVE) && .VIPRewards$[#VIPRewardCon + 1] != ""){
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    68:                                 //message strcharinfo(0),"[Daily Rewards]: Become a VIP for more rewards.";
    69:                                 continue;
    70:                         } else if(#VIPRewardCon >= .@VIPSize){

THANK YOU! :)

NPC Error.png

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.