Jump to content
  • 0

Disguise Event errors


amauni

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  02/25/13
  • Last Seen:  

So i was trying to install Disguise Event npc script on my server. But I got some errors even though this is the basic script in rAthena database...please help me to figure it out :(

Quote

[Error]:  Loading NPC file: npc/custom/events/disguise.txt
script error on npc/custom/events/disguise.txt line 45
    parse_line: expect command, missing function name or calling undeclared function
    40 :                        if(select("Yes:No")==2) close;
    41 :                        if (.EventON) {
    42 :                                set .EventON,0; set .Timer,0;
    43 :                                setnpctimer 0; stopnpctimer;
    44 :                                announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue;
*   45 :                                'd'eletepset 1;
    46 :                                setnpcdisplay "Disguise Event",795;
    47 :                                close;
    48 :                        }
    49 :                        set .EventON,1; set .Timer,1; setnpctimer 0; initnpctimer;
    50 :                        set .ResetCounter,.ResetCounter+1;

 

 

aaa.jpg

Edited by amauni
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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

I think you disable the PCRE support in your emulator.

change the setting in PCRE and recompile 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  02/25/13
  • Last Seen:  

1 minute ago, Emistry said:

I think you disable the PCRE support in your emulator.

change the setting in PCRE and recompile 

Thanks for the fast reply. Where to look in the folders for PCRE? Im sorry asking this, I'm noob in scripting.. :(

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