Raikumi Posted July 19, 2012 Posted July 19, 2012 http://upaste.me/raw/4915664e741f742 Everything works. I can start the event with the event CP, then the portal opens in caspen, then players are sent to ama_test. The disguise NPC is there, but when the portal closes, the event never starts. Please help =\ Quote
Raikumi Posted July 19, 2012 Author Posted July 19, 2012 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; Quote
Eroces Posted July 19, 2012 Posted July 19, 2012 (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 July 19, 2012 by Eroces Quote
Emistry Posted July 19, 2012 Posted July 19, 2012 http://rathena.org/wiki/PCRE you need this,....to ensure those command work Quote
PokemonRO Posted July 19, 2012 Posted July 19, 2012 I had this problem in the past too, if your revision is older it doesn't recognize it. I had to update my revision Quote
Question
Raikumi
http://upaste.me/raw/4915664e741f742
Everything works. I can start the event with the event CP, then the portal opens in caspen, then players are sent to ama_test. The disguise NPC is there, but when the portal closes, the event never starts.
Please help =\
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.