[Release] Dalair Scripted Quests

Joined
Jul 28, 2009
Messages
339
Reaction score
200
Code:
/*	
	Author : Generic (http://cronusemu.net)
	NPC Name: 		Dalair
	Map(s): 		Every Town
	Description: 		Quest - Title Challenge - PQ Mania!
	Quest ID : 		29400
*/
var status = -1;
function start(mode, type, selection) {
	if (mode == -1) {
		qm.sendNext("Come back when you're ready.");
		qm.dispose();
	} else {
		if (mode > 0)
			status++;
		else
			status--;
		if (status == 0) {
			qm.sendAcceptDecline("#v1142004# #e#b#t1142004##k\r\n - Time Limit 30 Days \r\n - Hunt ****000Monsters \r\n#n *Only monsters that are at your level or higher are approved\r\n   (A character that is level 120 or higher will only count monsters that are level 120 or higher) \r\n \r\nDo you want to test your skills to see if you're worthy of this title?");
		} else if (status == 1) {
			qm.sendNext("Current Ranking\r\n \r\n 1. #blRichaDK#k : #r116,725#k monsters \r\n \r\nDon't forget that the record resets at the beginning of each month."); // TODO Info.
		} else if (status == 2) {
			qm.sendNextPrev("I'll give you 30 days to reach your hunting goal.  Once you are finished, come back and see me.  Remember that you have to come back and see me within the time limit in order for it to be approved.  Also, unless you complete this challenge or quit first, you can't try out for another title.");
		}

	}
	
}

Code:
/*	
	Author : Generic (http://cronusemu.net)
	NPC Name: 		Dalair
	Map(s): 		Every town
	Description: 		Quest - Title Challenge - Celebrity!
	Quest ID : 		29002
*/
var status = -1;
function start(mode, type, selection) {
	if (mode == -1) {
		qm.sendNext("Come back when you're ready.");
		qm.dispose();
	} else {
		if (mode > 0)
			status++;
		else
			status--;
		if (status == 0) {
			// Picture of Celebrity Medal(+blue text "Celebrity Medal"
			qm.sendAcceptDecline("#v1142003# #e#b#t1142003##k \r\n- Time Limit 30 Days \r\n- Popularity 1000Increase \r\n#nDo you want to test your skills to see if you're worthy of this title?");
		} else if (status == 1) {
			qm.sendNext("I'll give you 30 days to reach your goal.  Once you're finished, come back and see me.  Remember that you have to come back and see me within the time limit in order for it to be approved.  Also, unless you complete this challenge or quit first, you can't try out for another title.");
			qm.forceStartQuest();
		}

	}
	
}

These quests will be really ineffective, and nearly useless since the time limit won't work unless you code it (which i am almost done. xd next rev of cronus), hint: look at the quest inside of Act.img.xml
 
Last edited:
Haha!
Jay i'm licking ur ass & Thanking every post of urs :)
You made my suggestion going trough :D
 
I had this already, i just don't have the timed ****. Why do you sendNext at
Code:
qm.sendNext("Come back when you're ready.");
Isn't it sendOk?
 
Last edited:
There is no "timed ****" in here good sir.

And to let you know, he can use sendNext.

Your such a faggot, even on MSN you talk like an idiot. Get your head out of your ass and listen.

There is timed **** because you have xx amount of days to achieve that, if not then there's no check for when your xx amount of days and you can have the quest forever and simply finish it to your desire.

I never said he couldn't use sendNext, i was simply stating why he used it.
 
Your such a faggot, even on MSN you talk like an idiot. Get your head out of your ass and listen.

There is timed **** because you have xx amount of days to achieve that, if not then there's no check for when your xx amount of days and you can have the quest forever and simply finish it to your desire.

I never said he couldn't use sendNext, i was simply stating why he used it.

My good friend.

derpefails said:
I had this already, i just don't have the timed ****.

Saying that, means that this have the "timed ****", which is not in here. According to my bad English learned so far.

About the MSN part, according to what you said, I may assume you're Mr.Blue, which I deleted in a good form.
 
Last edited:
Back