Raikumi Posted July 19, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 06/28/12 Last Seen: 14 minutes ago Share 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 Link to comment Share on other sites More sharing options...
Eroces Posted July 19, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 135 Reputation: 5 Joined: 06/25/12 Last Seen: September 22, 2012 Share Posted July 19, 2012 Just use this script. Quote Link to comment Share on other sites More sharing options...
Raikumi Posted July 19, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 06/28/12 Last Seen: 14 minutes ago Author Share 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 Link to comment Share on other sites More sharing options...
Eroces Posted July 19, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 135 Reputation: 5 Joined: 06/25/12 Last Seen: September 22, 2012 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted July 19, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: April 20 Share Posted July 19, 2012 http://rathena.org/wiki/PCRE you need this,....to ensure those command work Quote Link to comment Share on other sites More sharing options...
PokemonRO Posted July 19, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 63 Reputation: 3 Joined: 07/12/12 Last Seen: December 30, 2013 Share 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 Link to comment Share on other sites More sharing options...
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 =\
Link to comment
Share on other sites
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.