Jump to content
  • 0

Disguise Event errors


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 0
Posted
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.. :(

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...