Jump to content
  • 0

Script quest cronus tools


Question

Posted

 

Help me with a npc ta foda look I want to put a type in a menu in 1 npc are full of quests I already know how to do it more when I choose 1 and I do not have the items she moves to another quest when she should close

topico.txt

10 answers to this question

Recommended Posts

  • 0
Posted
8 minutes ago, isaque1 said:

 

Help me with a npc ta foda look I want to put a type in a menu in 1 npc are full of quests I already know how to do it more when I choose 1 and I do not have the items she moves to another quest when she should close

topico.txt

 

Can you explain to me clearly what is exactly you want on the quests?

  • 0
Posted (edited)
4 hours ago, Kaze said:

Can you explain to me clearly what is exactly you want on the quests?

 

Yes friend I want it when I click yes to do the quest if it does not have the items it closes more instead of it it continues down what does not happen and that the chosen quest does not close it continues down that has nothing to do with alias My script is like this 
Like I click on yes She goes to the quest from down there Cliko on Yes she keeps going down until when she arrives on the last date

Missaos.txt

Edited by isaque1
fix
  • 0
Posted (edited)
4 minutes ago, Exmas said:

lol XDD

 

4 minutes ago, Exmas said:

lol XDD

 

Give a help and the npc with menu is bugged type I put TWO quest I click on the first one I click on yes more I do not have the items out of nothing he moves on to the other quest if I put Ten he goes one by one until he comes in Ten

 

 

meu script npc

Missaos.txt

Edited by isaque1
fix
  • 0
Posted (edited)

 

 

50 minutes ago, isaque1 said:

 

 

Give a help and the npc with menu is bugged type I put TWO quest I click on the first one I click on yes more I do not have the items out of nothing he moves on to the other quest if I put Ten he goes one by one until he comes in Ten

 

 

meu script npc

Missaos.txt

 
 
 

Please change the following items i put as test purposed.
I tested ingame and it works :)
 

hu_fild03, 136, 304, 4	script	Mission Rank S	4_M_KHMAN,{

	mes "[ Mission Rank S ]";
	mes "Hello! I have some interesting items here, do you want to take a look?";
	next;
	if( select("- Accept:- Leave") == 2 ) {
		mes "[ Mission Rank S ]";
		mes "All right, I'll be here if you change your mind.";
		close;
	}
	mes "[ Mission Rank S ]";
	mes "Well, these are the items.";
	mes "Which one do you want to know more about?";
	next;
	switch(select(
	"- Certified Rank S",
	"- Test Mission",
	"- Leave"
	)) {
	case 1:
		mes "[ Certified Rank S ]";
		mes "Reward:";
		mes "1x "+getitemname(607);
		mes " ";
		mes "Requirments:";
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1x "+getitemname(608);
		mes "80000000 Zenys";
		next;
		mes "[ Mission Rank S ]";
		mes "Do you want to do this quest?";
		next;
		if( select("- Yes:- No") == 2 ) {
			mes "[ Mission Rank S ]";
			mes "It's okay, see you!";
			close;
		}
		if(countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && Zeny >= 500000000) {
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			set Zeny,Zeny-500000000;
			getitem 608,1;
			mes "[ Mission Rank S ]";
			mes "Congratulations! Here it is!";
			announce "Congratulations to Shinobi "+strcharinfo (0)+" fez a quest do "+getitemname (608)+".",bc_yellow;
			close;
		}
	case 2:
		mes "[ Test Mission ]";
		mes "Reward:";
		mes "1x "+getitemname(607);
		mes " ";
		mes "Requirments:";
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1800x "+getitemname(501);
		mes "1x "+getitemname(608);
		mes "80000000 Zenys";
		next;
		mes "[ Test Mission ]";
		mes "Do you want to do this quest?";
		next;
		if( select("- Yes:- No") == 2 ) {
			mes "[ Test Mission ]";
			mes "It's okay, see you!";
			close;
		}
		if(countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && countitem(501) >= 1 && Zeny >= 500000000) {
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			delitem 501,1;
			set Zeny,Zeny-500000000;
			getitem 608,1;
			mes "[ Test Mission ]";
			mes "Congratulations! Here it is!";
			announce "Congratulations to Shinobi "+strcharinfo (0)+" fez a quest do "+getitemname (608)+".",bc_yellow;
			close;
		}
	}
	mes "[ Mission Rank S ]";
	mes "I'm sorry, but you do not have all the items needed for this quest.";
	mes "Come back when you have all the items!";
	close;
}

 

Attachement: Mission_BR.txt

Edited by Kaze
  • 0
Posted
12 hours ago, Kaze said:

Weird, if the map console says missing curly just add }

 

I solved the case And put the curly

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...