Jump to content
  • 0

Requesting Basic Quest NPC


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

A Quest NPC that can do this kind of Method

 

 

Player 1 did the quest for Normal Valkyrie Helm, now Player 1 finish the quest but still he can improve the effect of this VH.

 

Example :

 

Normal Valkyrie Helm = Improve lvl 1 Black Valkyrie Helm 

Black Valkyrie Helm = Improve lvl 2 Brown Valkyrie Helm

Brown Valkyrie Helm = Improve lvl 3 Cyan Valkyrie Helm

 

 

 

Until it reached Level 12, but on each level required items will be different.

 

Thanks! i hope i explain it well..  /ic 

Edited by Yoona
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

All you hve to do is duplicate "quest npcs" released by euphy.

Set requirement from

Normal to black

Black to brown

Brown to cyan.

If you want to change the names of the colored valkyries and their descriptions, you can edit them in your client files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   2
  • Joined:  06/09/12
  • Last Seen:  

nameless_n,241,62,6	script	Valkyrie Helms	404,{
// Variables
set	@name$,"[Valkyrie Helms]";	//NPC Name

// Quest Script
	mes @name$;
	mes "Hello, ^5555FF" + strcharinfo(0) + "^000000!...";
	mes "Select your quest";
	menu "Valkyrie Helm",QUEST1,"Black Valkyrie Helm",QUEST2,"Brown Valkyrie Helm",QUEST3,"White Valkyrie Helm",QUEST4;
	
QUEST1:
	next;
	mes "Description:";
	mes "1 edit";
	mes "20 Black Dyestuff";
	mes "100 Dark Crystal Fragment";
	mes "100 Cursed Seal";
	mes "1 Valkyrie Randgris Card";
	next;
	if(countitem(edit)<1)goto missing;
	if(countitem(983)<20)goto missing;
	if(countitem(7315)<100)goto missing;
	if(countitem(7442)<100)goto missing;
	if(countitem(4407)<1)goto missing;
	next;
	mes "Ok, you have all items take this";
	next;
	delitem edit,1;
	delitem 983,20;
	delitem 7315,100;
	delitem 7442,100;
	delitem 4407,1;
	getitem 2357,1;
	close;
	npctalk "~ Congratulations ^^ ~";
	
QUEST2:
	next;
	mes "Description:";
	mes "1 Valkyrie Helm";
	mes "20 Black Dyestuff";
	mes "100 Dark Crystal Fragment";
	mes "100 Cursed Seal";
	mes "1 Valkyrie Randgris Card";
	next;
	if(countitem(2357)<1)goto missing;
	if(countitem(983)<20)goto missing;
	if(countitem(7315)<100)goto missing;
	if(countitem(7442)<100)goto missing;
	if(countitem(4407)<1)goto missing;
	next;
	mes "Ok, you have all items take this";
	next;
	delitem 2357,1;
	delitem 983,20;
	delitem 7315,100;
	delitem 7442,100;
	delitem 4407,1;
	getitem edit,1;
	close;
	npctalk "~ Congratulations ^^ ~";
	
QUEST3:
	next;
	mes "Description:";
	mes "1 Black Valkyrie Helm";
	mes "20 Black Dyestuff";
	mes "100 Dark Crystal Fragment";
	mes "100 Cursed Seal";
	mes "1 Valkyrie Randgris Card";
	next;
	if(countitem(edit)<1)goto missing;
	if(countitem(983)<20)goto missing;
	if(countitem(7315)<100)goto missing;
	if(countitem(7442)<100)goto missing;
	if(countitem(4407)<1)goto missing;
	next;
	mes "Ok, you have all items take this";
	next;
	delitem edit,1;
	delitem 983,20;
	delitem 7315,100;
	delitem 7442,100;
	delitem 4407,1;
	getitem edit,1;
	close;
	npctalk "~ Congratulations ^^ ~";
	
QUEST4:
	next;
	mes "Description:";
	mes "1 Brown Valkyrie Helm";
	mes "20 Black Dyestuff";
	mes "100 Dark Crystal Fragment";
	mes "100 Cursed Seal";
	mes "2 Valkyrie Randgris Card";
	next;
	if(countitem(edit)<1)goto missing;
	if(countitem(983)<20)goto missing;
	if(countitem(7315)<100)goto missing;
	if(countitem(7442)<100)goto missing;
	if(countitem(4407)<1)goto missing;
	next;
	mes "Ok, you have all items take this";
	next;
	delitem edit,1;
	delitem 983,20;
	delitem 7315,100;
	delitem 7442,100;
	delitem 4407,1;
	getitem edit,1;
	close;
	npctalk "~ Congratulations ^^ ~";

	
missing:
	mes "Still do not have the necessary back when you have..";
	close;
	npctalk "~ Congratulations ^^ ~";
OnInit:
delwaitingroom;
	waitingroom "¡Valkyrie Helms!",0;
}

something?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@Fresh Prince thanks for the reply but i prefer 1 NPC at all. to prevent over flowing NPC's :)

 

 

 

@Terrorsoul your's was good but the my idea is the NPC should automatically detect if he/she has the requirements for the items. but im still searching close to my request thanks! 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

... 2 dimension array ...

[paste=ouq7701xd60]

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@Annieruru wow thanks but there's something wrong with the last level of valkyrie or its just me that don't get it.?

 

Script:

OnInit:
	setarray .valkyrie_lv1, 24001, 501,1, 502,2, 503,3, 504,4, 505,5;
	setarray .valkyrie_lv2, 24002, 512,4, 513,5, 514,1;
	setarray .valkyrie_lv3, 24003, 531,5, 532,3, 533,1, 534,2;
	setarray .valkyrie_lv4, 24004;
	setarray .valkyrie_lv5, 24005;
	setarray .valkyrie_lv6, 24006;
	setarray .valkyrie_lv7, 24007;
	setarray .valkyrie_lv8, 24008;
	setarray .valkyrie_lv9, 24009;
	setarray .valkyrie_lv10, 24010;
	setarray .valkyrie_lv11, 24011;
	setarray .valkyrie_lv12, 24012, 501,1, 502,2, 503,3;

Error: ( white testing the script )

[Error]: buildin_getitem: Nonexistant item 0 requested.
[Debug]: Source (NPC): Valkyrie Quest at lunashop (59,73)

Edited by Yoona
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

omg, my original script has .max_lv-- at the last line

dunno why I removed it

[paste=2q3r9q4clfme]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

omg, my original script has .max_lv-- at the last line

dunno why I removed it

[paste=2q3r9q4clfme]

 

You're the best of all the best annie :) why? what's with your signature? leaving rAthena?

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