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!

Dragon Stone Quest

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jun 15, 2008
Messages
99
Reaction score
0
For the people who can't change some ID's around in my old Quest here it is.

Simon- 9201033


PureLock - Dragon Stone Quest - RaGEZONE Forums


PHP:
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("Rawr!?");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
				cm.sendNext("#h #,do you happen to have 3 Event Tickets? I will give you 1 #rDragon Stone#k 

for your #bEvent Tickets#k.");
			}
		else if (status == 1) {
			if (cm.haveItem(5220001, 3)) {
			cm.sendYesNo("I am glad you want to help! Now let me find your #rDragon Stone#.");
			}
			else if (!cm.haveItem(5220001, 3)) {
			cm.sendOk("#h ##, You need to bring me the 3 Event Tickets from #rHorned Tail# in #bLeafre#!!");
			cm.dispose();
			}
			
		}
		else if (status == 2) {
			cm.gainItem(5220001, -3);
			cm.gainItem(2041200, 1);
			
}
}
}

FOGOT::::::: Run this is MySQL!!!!

Code:
INSERT INTO `monsterdrops` VALUES ('', '8810008', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810009', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810006', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810007', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810005', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810004', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810003', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810002', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810001', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810000', '5220001', '1000');

I put it in PHP code because to me the
Code:
 tags glitch and it shows it all in one line. Please tell me if PHP effects it at all.[/I]
 
Last edited:
Experienced Elementalist
Joined
Jun 15, 2008
Messages
299
Reaction score
0
Re: [Release] Dragon Stone Quest

cool
 
Experienced Elementalist
Joined
Jun 15, 2008
Messages
299
Reaction score
0
Re: [Release] Dragon Stone Quest

hm some how it dosent work when i click on the npc
 
Master Summoner
Loyal Member
Joined
Apr 27, 2008
Messages
596
Reaction score
0
Re: [Release] Dragon Stone Quest

Nice, might add to OMS.
 
Newbie Spellweaver
Joined
Jul 13, 2008
Messages
5
Reaction score
0
Re: [Release] Dragon Stone Quest

For the people who can't change some ID's around in my old Quest here it is.

Simon- 9201033


PureLock - Dragon Stone Quest - RaGEZONE Forums


PHP:
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("Rawr!?");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
				cm.sendNext("#h #,do you happen to have 3 Event Tickets? I will give you 1 #rDragon Stone#k 

for your #bEvent Tickets#k.");
			}
		else if (status == 1) {
			if (cm.haveItem(5220001, 3)) {
			cm.sendYesNo("I am glad you want to help! Now let me find your #rDragon Stone#.");
			}
			else if (!cm.haveItem(5220001, 3)) {
			cm.sendOk("#h ##, You need to bring me the 3 Event Tickets from #rHorned Tail# in #bLeafre#!!");
			cm.dispose();
			}
			
		}
		else if (status == 2) {
			cm.gainItem(5220001, -3);
			cm.gainItem(2041200, 1);
			
}
}
}

I put it in PHP code because to me the
Code:
 tags glitch and it shows it all in one line. Please tell me if PHP effects it at all.[/I][/QUOTE]

I have a Question, i didnt find your quest, can you plz sent the link here?
I hope you understand becuase i can enlish only a litlle bit
 
Newbie Spellweaver
Joined
Jun 15, 2008
Messages
99
Reaction score
0
Re: [Release] Dragon Stone Quest

Sorry for the double post but this is important.

UPDATE* Run the MySQL Script.
 
Junior Spellweaver
Joined
Jun 27, 2008
Messages
148
Reaction score
0
Re: [Release] Dragon Stone Quest

Code:
INSERT INTO `monsterdrops` VALUES ('', '8810008', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810009', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810006', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810007', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810005', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810004', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810003', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810002', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810001', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810000', '5220001', '1000');
Its better to use that to use the next open ID, instead of a set ID.
 
Newbie Spellweaver
Joined
Jun 15, 2008
Messages
99
Reaction score
0
Re: [Release] Dragon Stone Quest

Code:
INSERT INTO `monsterdrops` VALUES ('', '8810008', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810009', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810006', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810007', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810005', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810004', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810003', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810002', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810001', '5220001', '1000');
INSERT INTO `monsterdrops` VALUES ('', '8810000', '5220001', '1000');
Its better to use that to use the next open ID, instead of a set ID.

k im going to use that.
 
Legendary Battlemage
Loyal Member
Joined
Dec 7, 2007
Messages
622
Reaction score
11
Re: [Release] Dragon Stone Quest

wont work for me i made a js file renamed it to simon's id and i tryed talking nothin happen i also copy and pasted all lines in the php lines on ur post
 
Status
Not open for further replies.
Back
Top