Jump to content
  • 0

Please Help NPC Headgear Custom Quest


kingnielz

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  06/16/12
  • Last Seen:  

Well , this is my first thread :D I'm sorry if I did some mistakes

Please help me to fix and solve this problem ...

I want to make a NPC Headgear custom Quest .. that the NPC could also preview the item on the user / player.

Anybody could help me ?? :(

this script also still error .. the NPC is stuck and didn't show any messages / notice when I clicked it .

please help me A.S.A.P ...

thanks :)

//===== Description: =========================================
//= Makes geadgears when brought the required items.
//============================================================

mid_camp,264,288,6	script	Hat Maker#h1-1::Valkyrie	403,{
mes "[Valkyrie]";  
mes "messages,";
mes "messages.";
goto H_top;
H_top:
menu "Custom",H_01,"Cancel",H_cancel;
//_____________Hat List_______________//
H_01:
menu
"Animated Angel Wings",I_animated,
"Arch Angel",I_angel,	  
"Arch Demon Wings",I_demon,		
"Aura of Porings",I_porings,	
"Bright Blue Wings",I_bright,  
"Calypso Wings",I_calypso,	
"Kakashi Headprotector",I_kakashi,
"Crystal Wing",I_crystal,  
"Cygnus Helm",I_cygnus,  
"Dark Angel",I_dark,		  
"Dragon Flame Aura",I_dragon,	
"Elemental Wings",I_elemental,	  
"Return to Menu",H_top;


//_____________Item requirements_______________//

//________model___________//
//I_:
//	  next;
//	  mes "";
//	  menu "Make",M_,"Return to Menu",H_top;

I_animated:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_animated,"Return to Menu",H_top;

I_angel:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_angel,"Return to Menu",H_top;

  I_demon:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_demon,"Return to Menu",H_top;

I_porings:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_porings,"Return to Menu",H_top;

I_bright:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_bright,"Return to Menu",H_top;

I_calypso:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_calypso,"Return to Menu",H_top;

I_kakashi:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_kakashi,"Return to Menu",H_top;

I_crystal:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_crystal,"Return to Menu",H_top;

I_cygnus:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_cygnus,"Return to Menu",H_top;

I_dark:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_dark,"Return to Menu",H_top;

I_dragon:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_dragon,"Return to Menu",H_top;

I_elemental:
		next;
		mes "50 Poring Coins";
		mes "100 Crow Wing";
		mes "150 Gold";
		mes "15.000.000 zeny";
		menu "Make",M_elemental,"Return to Menu",H_top;


//_____________deletion and creation of items_______________//

//____________model______________//
//M_:
//	  if(countitem()< || countitem()< || Zeny < )
//	  goto M_insufficient;
//	  delitem ,;
//	  delitem ,;
//	  set zeny,zeny-;
//	  getitem ,;
//	  close;

M_animated:
		if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20200,1;
		close;

M_angel:
		if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20201,1;
		close;

M_demon:
		if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20202,1;
		close;

M_porings:
		if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20203,1;
		close;

M_bright:
		if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20204,1;
		close;

M_calypso:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20205,1;
		close;

M_kakashi:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20215,1;
		close;

M_crystal:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20207,1;
		close;;

M_cygnus:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20208,1;
		close;;

M_dark:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20209,1;
		close;e;

M_dragon:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20210,1;
		close;e;

M_elemental:
		 if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
		goto M_insufficient;
		delitem 7539,50;
		delitem 7309,100;
		delitem 969,150;
		set zeny,zeny-15000000;
		getitem 20211,1;
		close;e;




//________not enough or not the correct items________

M_insufficient:
		next;
		mes "[Valkyrie]";
		mes "messages.";
		mes "messages...";
		menu "Return to Main Menu",H_top,"Leave",H_cancel;
		close;

H_cancel:
		close;
}

that's the script .. ..I'm sorry the actual files is using my country language :D

/oops

Edited by Arcenciel
Codeboxed
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:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

what error show it..

otherwise you can try other script..

check script release section there are some script that give the same way to do a quest...

i think Tr0n or Euphy has done a similar type a quest npc also..try check their topic there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

M_crystal:
if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
goto M_insufficient;
delitem 7539,50;
delitem 7309,100;
delitem 969,150;
set zeny,zeny-15000000;
getitem 20207,1;
close;; // << Change it to close;

M_cygnus:
if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
goto M_insufficient;
delitem 7539,50;
delitem 7309,100;
delitem 969,150;
set zeny,zeny-15000000;
getitem 20208,1;
close;; // << Change it to close;

M_dark:
if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
goto M_insufficient;
delitem 7539,50;
delitem 7309,100;
delitem 969,150;
set zeny,zeny-15000000;
getitem 20209,1;
close;e; // << Change it to close;
M_dragon:
if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
goto M_insufficient;
delitem 7539,50;
delitem 7309,100;
delitem 969,150;
set zeny,zeny-15000000;
getitem 20210,1;
close;e; // << Change it to close;
M_elemental:
if(countitem(7539)<50 || countitem(7309)<100 || countitem(969)<150 || Zeny <15000000)
goto M_insufficient;
delitem 7539,50;
delitem 7309,100;
delitem 969,150;
set zeny,zeny-15000000;
getitem 20211,1;
close;e; // << Change it to close;

npc will read it as errors and would not response even u click it a hundred times -_-"

I_animated:

next;

atcommand "@changelook 000";

mes "50 Poring Coins";

mes "100 Crow Wing";

mes "150 Gold";

mes "15.000.000 zeny";

menu "Make",M_animated,"Return to Menu",H_top;

22125,Fury_Tail,Fury Tail,5,20,,100,,0,,0,0xFFFFFFFF,7,2,1,,0,0,1598,{},{},{} // << 1598 is changelook number

change it fit with your custom item changelook

i dunno if u can understand coz my english is very bad...

Edited by Chickz
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...