Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release]Robo Egg Hatcher

Newbie Spellweaver
Joined
Jul 3, 2008
Messages
32
Reaction score
0
Well, here it is. didnt take long.
It has images in the Quest. :)

Code:
//Robo Pet Hatcher
//By : Vietno from Ragezone+ OdinTeh Forums
importPackage(net.sf.odinms.client);
var status = 0;



function start() {
	status = -1;
	action(1, 0, 0);
}


function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (status >= 2 && mode == 0) {
			cm.sendOk("Tehehehe. :)");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
				cm.sendNext("Hello #h # from MapleFantasy. I will give you a Robo Baby if you give me \r\n#v5000047# 1 Robo Egg.   ");
			}
		else if (status == 1) {
			if (cm.haveItem(5000047, 1) && cm.haveItem(5000047, 1) && cm.haveItem(5000047, 1)) {
			cm.sendYesNo("I am so glad you have them! Here is the \r\n#v5000048# #bRobo Baby#k for you.");
			}
			else if (!cm.haveItem(5000047, 1)) {
			cm.sendOk("#h #, Hey! Your missing a Robo Egg. \r\n#v5000047#   ");
			cm.dispose();
			}


			
		}
		else if (status == 2) {
			cm.gainItem(5000047, -1);
			cm.gainItem(5000048, 1);
			
}
}
}

There is a screenshot in the attachment file.
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Aug 19, 2008
Messages
64
Reaction score
1
now you can go make a robo baby -> robo (grownup) npc that evolves them :3 unless i beat u too it. which i might not cause of algebra poop. -.-'
 
Junior Spellweaver
Joined
Aug 3, 2008
Messages
138
Reaction score
11
i used it for my server it was good now ppl can hatch their eggs thx vietno
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
You cant give commands to evolved pets when under level 15
 
Master Summoner
Loyal Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Code:
else if (status == 2) {
			cm.gainItem(5000047, -1);
			cm.gainItem(5000048, 1);
			[b]cm.dispose();[/b]
}
 
Newbie Spellweaver
Joined
Jul 18, 2008
Messages
32
Reaction score
0
@TS nice release

@alan just stop posting u stinks
 
Back
Top