Jump to content
  • 0

Why wont this disguise event start?


Question

5 answers to this question

Recommended Posts

Posted

Will do .

Btw this came up for the original script.

m[status]
m: Loading NPC file: npc/custom/events/disguise.txtK
m[Error]
m: 
script error on npc/custom/events/disguise.txt line 162
   parse_line: expect command, missing function name or calling undeclared function
  157 :  while (.@guessrepeat);
  158 :  setnpctimer 0;
  159 :  initnpctimer;
  160 :  setnpcdisplay "Disguise NPC",$monster;
  161 :  set $MonsterName$, strmobinfo(1,$monster);
*  162 :  'a'ctivatepset 1;
  163 :  npctalk "What's my name?";
  164 :  sleep 3000;
  165 :  npcwalkto 102,103;
  166 :  sleep 2000;
  167 :  npcwalkto 102,99;
m[Error]
m: npc_parsesrcfile: Unable to parse, probably a missing or extra TAB in file 'npc/custom/events/disguise.txt', line '387'. Skipping line...
* w1=ama_test
* w2=pvp
* w3=off
* w4=

I would still like a solution.

=========

For the script Eroces gave me I get this error:

m[Error]
m: 
script error on npc/custom/events/disguise.txt line 40
   parse_line: expect command, missing function name or calling undeclared function
   35 :	 if(select("Yes:No")==2) close;
   36 :	 if ($@EventON) {
   37 :	  set $@EventON,0; set $@Timer,0;
   38 :	  setnpctimer 0; stopnpctimer;
   39 :	  announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue;
*   40 :	  'd'eletepset 1;
   41 :	  setnpcdisplay "Disguise Event",795;
   42 :	  close; }
   43 :	 set $@EventON,1; set $@Timer,1; setnpctimer 0; initnpctimer;
   44 :	 set $@ResetCounter,$@ResetCounter+1;
   45 :	 announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue;

Posted (edited)

Are you using rAthena? I'm not having any problems with the script.

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

This comes up when a function you are trying to call doesn't exist.

Edited by Eroces

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