Jump to content
  • 0

npc:event Error


yehboyy

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  05/02/12
  • Last Seen:  

Well i have a problem, when i kill the porings that spawn, it gives the error :

[Error]: npc_event: event not found [summon Guide::L_PoringKilled]

If anyone could help, that would be great.

new_1-1,50,114,5	script	Leveling Guide	442,{
if (LevelA == 0) {
	mes "[Leveling Guide]";
	mes "Hello " + strcharinfo(0) + "";
	mes "I can see you're new here and are";
	mes "in need of some assistance.";
	next;
	switch(select("Sure","No I'm fine")) {
	case 1:
		mes "[Leveling Guide]";
		mes "Alright I'd like you to help me kill 15 porings";
		next;
		mes "[Leveling Guide]";
		mes "Let me take you to somewhere special";
		mes "When you have killed 15 porings";
		mes "you will be warped back";
		mes "";
		mes "";
		mes "^0000FFReward^000000";
		mes "Base EXP: +70000";
		mes "Job EXP: +50000";
		next;
		warp "quiz_02",363,346;
	case 2:
		mes "Leveling Guide]";
		mes "Alright then, have a nice day";
		close;
		end;}}}

quiz_02,369,351,5	script	Summon Guide	442,{
if (LevelA == 0) {
	mes "[summon Man]";
	mes "Want to start the kill?";
	next;
	menu "Yes",L_Yes,"No",-;
	mes "[summon Man]";
	mes "Alright talk to me when you're ready";
	close;
	L_Yes:
	monster "quiz_02",362,347,"Quest Poring",1002,15,"Summon Guide::L_PoringKilled";
	mes "[summon Man]";
	mes "Now go and kill all the Poring I summoned";
	close;
	L_PoringKilled:
	set $PoringKilled,$PoringKilled+1;
	if ($PoringKilled==15) goto L_AllDead;
	end;
	L_AllDead:
	set $PoringKilled,0;
	end;
	set LevelA,1;
	warp "new_1-1",53,111;
	end; 
}
}

Edited by Brian
use [codebox] for scripts longer than 10 lines
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


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

try change

L_PoringKilled

into

OnPoringKilled

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  05/02/12
  • Last Seen:  

Thanks bro, fixed.

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