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!

Pet Quest - OdinMs

Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
So one time i was bored... and i came up with this

Since pets have been released i see that servers give them away like nothing..
Which is gay and boring hense why i made this.
Its basically a quest where you EARN a PET. Its not hard and its ont coded as a Quest. But it is a quest since you go on a lil adventure and retrieve something and exchange it for a PET.

REQUIREMENTS
Brain
Working Pets
Working !item -for pets-
A Server
A Sack Of Nuts

Included NPC's
NANA(orbis)
Mia
Tia

Firstly Open Up your server files. Go to
wz > map.wz > map > map1
Download this :
theres 2 files in there, place them both in the map1 folder.

WHEN not IF, WHEN it asks to replace say yes, if your a noob and are scared of failure then make a back up of the files before you replace. Its a standard file unless you've already edited it so its easy to find. And if you have edited it then you know how to edit it again, just add what ever NPC is in the XML to this XML and your done.

If you did not understand the above, then just accept the 'replace' or die

After that
Download :
Open up wz > map.wz > map > map8
Place the file in the second download in there. Once again press yes to replace.

After that...gawd
Download :
Open up wz > map.wz > map > map9
Place the file in that folder once again accepting to replace..

Thats your maps set.

Now an explanation of what you just did above.

Basically..The first download was XML map for FM Entrance.
NANA(orbis) is placed to the left side of the portal

Second download was Event Maps.
First event map was the JumpQuest NANA warps you to after talking to her.
Second was the map which you go to after completing the first Jumpquest.
The second map holds 'Tia' Who congradulates you and gives you a 'Event Ticket.'

Problem: Mia is also in Henesys meaning players can use Mia in henesys to get event tickets without doing the Jumpquest..
Actually not a problem. The Script is coded to not react to a player in Henesys.

if (cm.getChar().getMapId() == 102000000
cm.dispose();
YAY FOR JAVA

Then warps you to
'Download 3' Aka Map9
Map9= Zipangu Spa map, the one with the bains. That map warps to to a spawn point directly on Tia who with exchange you event ticket for a pet of your choice. If you have no Event ticket (which is impossible since you can ONLY go there if you complete the Jumpquest, over entrances are locked off) Tia Will not give you a pet and you will be stuck. If this is the case you are either stupid / a hacker since you cant go there any other way. Dont tell me 'if didnt give me a ticket' coz if it didnt you failed, and did something wrong
After recieving a pet. Tia warps you back to FM. You can do this over n over.
Have Fun

NPC's You'll Need.

NANA(Orbis)
Code:
/* Made by Fusion
*/
var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 1) {
			cm.sendOk("You are a #gliar!#k #bYour#k #rname#k is #b#h ##k");
			cm.dispose();
			return;
		} else if (mode == 0 && status > 1 && status < 4) {
			cm.sendOk("Fine.. \r I see that your soul is weak..");
			cm.dispose();
			return;
		} else if (mode == 0 && status == 4) {
			cm.sendOk("What A Shame... \r I thought that you had the #rpower#k #bWithin#k");
			cm.dispose();
			return;
                }
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendYesNo("Your name is #b#h ##k Am i Correct? \r Thought So, anyway, Pets are #bwonderful#k #rcreatures#k wich guide the average Mapler through many #dmysteries.#k \r They are also things that are #ra#bt#rt#br#ra#bc#rt#bi#rv#be#k and are fun to play with.");
		} else if (status == 1) {
			cm.sendYesNo("Firstly. \r Your Name Is #b#h ##k isit not?");
		} else if (status == 2) {
			cm.sendYesNo("So You #gBelieve#k You Have What It Takes To #bControl#k A #rPet?#k ");
		} else if (status == 3) {
			cm.sendYesNo("So I see... \r Well You Must Proove Yourself First Young One. Are you Willing To Accept Any Challenge I Throw At You?");
		} else if (status == 4) {
			cm.sendSimple("#e So. \r Press #e#rYes#k To Continue And Enter The Challenge.  \r Or \r #n#eNo#k If You Are a Cowardly Scum \r\n#L0#Yes#l\r\n#L1#No#l");
		} else if (status == 5) {
			if (selection == 0) {
				cm.sendOk("Ok Then Let #bF#ru#bs#ri#bo#rn#k Be With you");
			} else if (selection == 1) {
				cm.sendOk("Coward. \r You Are A Disgrace To #e#rDreaMs!#k");
				cm.dispose();
			}
		} else if (status == 6) {
			cm.warp(109040002, 0);
			cm.sendOk("You Are The true #b Warrior #k Of #e#rDreaMs!#k")
			cm.dispose();	
		}
	}	
}

Mia
Code:
//made by Fusion & RMZero213
var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (cm.getChar().getMapId() == 100000000 || cm.getChar().getMapId() == 211000000) {
			cm.dispose();
		}
		if (mode == 0) {
			cm.sendOk("Oh ok, see you next time.");
			cm.dispose();
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0 && cm.getChar().getMapId() != 100000000 && cm.getChar().getMapId() != 211000000) {
			cm.sendYesNo("#rCongratulations!#k \r\n You have passed the Jump Quest Stage for the Pet Quest");
		} else if (status == 1) {
                        cm.sendYesNo("Would you like to recieve your prize in order to get a #bP#rE#gT?#k"); 
		} else if (status == 2) {
			cm.gainItem(5220001, 1);
			cm.warp(800020400, 0);
			cm.dispose();
		}
	}
}

Tia
Code:
// made by Fusion and RMZero213
var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (cm.getChar().getMapId() == 102000000) {
			cm.dispose();
		}
		if (mode == 0) {
			cm.sendOk("Ow Wow.. Ok Lol Bye :D");
			cm.dispose();
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0 && cm.getChar().getMapId() != 102000000) {
			if (cm.haveItem(5220001, 1)) {
				cm.sendSimple("Great! Please Choose A Pet You Would Like To Have \r\n#L0#Brown Puppy#l \r\n#L1#Pink Bunny#l \r\n#L2#Mini Kargo#l \r\n#L3#White Bunny#l \r\n#L4#Husky#l \r\n#L5#White Tiger#l \r\n#L6#SnowMan#l \r\n#L7#Black Dragon#l \r\n#L8#Red Dragon#l \r\n#L9#Mini Yeti#l \r\n#L10#Penguin#l \r\n#L11#Jr.Balrog#l \r\n#L12#Golden Pig#l \r\n#L13#Monkey#l \r\n#L14#Dino Boy#l \r\n#L15#Dino Girl#l \r\n#L16#Panda#l \r\n#L17#Black Pig#l \r\n#L18#Elephant#l \r\n#L19#Rudolph#l \r\n#L20ss#Dasher#l \r\n#L21#Robot#l \r\n#L22#Turkey#l \r\n#L23#Jr.Reaper#l \r\n#L24#Porcupine#l \r\n#L25#Skunk#l \r\n#L26#Orange Tiger#l");
			} else {
				cm.sendOk("I don't have anything to do with you.");
				cm.dispose();
			}
		} else if (status == 1) {
			if (selection == 0) {
				cm.gainItem(5220001, -1);				
				cm.gainItem(5000001, 1);
				cm.warp(910000000, 0);	
			} else if (selection == 1) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000002, 1);
				cm.warp(910000000, 0);
			} else if (selection == 2) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000003, 1);
				cm.warp(910000000, 0);
			} else if (selection == 3) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000005, 1);
				cm.warp(910000000, 0);
			} else if (selection == 4) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000006, 1);
				cm.warp(910000000, 0);
			} else if (selection == 5) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000012, 1);
				cm.warp(910000000, 0);
			} else if (selection == 6) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000041, 1);
				cm.warp(910000000, 0);
			} else if (selection == 7) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000033, 1);
				cm.warp(910000000, 0);
			} else if (selection == 8) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000031, 1);
				cm.warp(910000000, 0);
			} else if (selection == 9) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000020, 1);
				cm.warp(910000000, 0);	
			} else if (selection == 10) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000023, 1);
				cm.warp(910000000, 0);	
			} else if (selection == 11) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000024, 1);
				cm.warp(910000000, 0);
			} else if (selection == 12) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000025, 1);
				cm.warp(910000000, 0);
			} else if (selection == 13) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000011, 1);
				cm.warp(910000000, 0);
			} else if (selection == 14) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000009, 1);
				cm.warp(910000000, 0);
			} else if (selection == 15) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000010, 1);
				cm.warp(910000000, 0);
			} else if (selection == 16) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000008, 1);
				cm.warp(910000000, 0);
			} else if (selection == 17) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000007, 1);
				cm.warp(910000000, 0);
			} else if (selection == 18) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000013, 1);
				cm.warp(910000000, 0);
			} else if (selection == 19) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000014, 1);
				cm.warp(910000000, 0);
			} else if (selection == 20) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000015, 1);
				cm.warp(910000000, 0);
			} else if (selection == 21) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000017, 1);
				cm.warp(910000000, 0);
			} else if (selection == 22) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000022, 1);
				cm.warp(910000000, 0);
			} else if (selection == 23) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000036, 1);
				cm.warp(910000000, 0);
			} else if (selection == 24) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000039, 1);
				cm.warp(910000000, 0);
			} else if (selection == 25) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000045, 1);
				cm.warp(910000000, 0);
			} else if (selection == 26) {
				cm.gainItem(5220001, -1);
				cm.gainItem(5000044, 1);
				cm.warp(910000000, 0);
			}
			cm.dispose();
		} else {
			cm.dispose();
		}
	}
}

If you are
Code:
Mr Fail
And cannot add them your selves then use this link.
Download NPC .js's

Credits To DreaMs Staff
In this case just Myself Fusion and RmZero213


PICTURES BELOW

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums

DrFusion - Pet Quest - OdinMs - RaGEZONE Forums


New WanWan Hell Spa XML - Portal blocked.
 
Last edited:
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: [Release]Pet Quest

No credits for me huh? I see..
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest

Code:
Credits To DreaMs Staff
In this case just Myself Fusion and RmZero213
f3
 
Junior Spellweaver
Joined
Jun 26, 2008
Messages
145
Reaction score
0
Re: [Release]Pet Quest

You should make a guide on how to place NPC's in places, because idk how to find all the coordinates.
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest

this already has the npc's places in places...
EDIT
Added working pictures
 
Master Summoner
Loyal Member
Joined
Apr 27, 2008
Messages
596
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Great Quest, <3
I'm going to test this out. This is FANTASTIC.
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: [Release]Pet Quest - OdinMs

They could just walk to WanWan Spa of Hell from Zipangu..
 
Master Summoner
Loyal Member
Joined
Apr 27, 2008
Messages
596
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Can you enter WanWan Spa then?
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Can you enter WanWan Spa then?

yea. But you cant do a thing without an event ticket.
-Sigh-

ill upload a XML where you cant go in if you wish

EDIT: New XML added under pictures
Pictures arranged properly
 
Junior Spellweaver
Joined
Apr 18, 2008
Messages
109
Reaction score
0
Re: [Release]Pet Quest - OdinMs

GREAT RELEASE! Will Definately use this instead of giving out free Pets.
BEAUTIFUL!
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Thnx glad you liked it
Lemme know if you get any errors
I'll Fix em
 
Initiate Mage
Joined
Jul 27, 2008
Messages
1
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Wow this Release is so pro and very helpful rele makes a difference instead of players getting things fed by the hand, they can work for it really nice, keep up the good work DrFusion. ~
 
Newbie Spellweaver
Joined
Jul 13, 2008
Messages
81
Reaction score
0
Re: [Release]Pet Quest - OdinMs

oh wow

10/10 thank you, nice release!
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest - OdinMs

Np glad you liked me
 
Junior Spellweaver
Joined
Apr 4, 2008
Messages
157
Reaction score
11
Re: [Release]Pet Quest - OdinMs

I'd much rather have the pets sold in CS lol.
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release]Pet Quest - OdinMs

well this is an alternative
 
Back
Top