Jump to content
  • 0

Quest Board + Ice Necklace Quest


Radian

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Hi everyone.. I just want to report this problem maybe someone can help me out why is it that the quest board didn't record for killing Ktullanux mob.

 

ice_dun03,1,174,3	script	ice_boss#on	-1,{
OnStart:
	monster "ice_dun03",150,135,"Ktullanux",1779,1,"ice_boss#on::OnMyMobDead";
	end;

OnStartTimer:
	Initnpctimer;
	end;

OnStopTimer:
	stopnpctimer;
	end;

OnMyMobDead:
	mapannounce "ice_dun03","Oh, Odin! Please protect this place from Thor's fierce fire!",bc_map,0xFF6633;
	mapannounce "ice_dun03","Pzzzzz...Pzzzz...",bc_map,0x33FFFF;
	donpcevent "ice_boss#on::OnStartTimer";
	donpcevent "#ice_sec::OnStart";
	end;

OnTimer7200000:
	stopnpctimer;
	set $@ktullanux_summon,0;
	hideoffnpc "Blazing Fire#ice1";
	hideoffnpc "Blazing Fire#ice2";
	hideoffnpc "Blazing Fire#ice3";
	hideoffnpc "Blazing Fire#ice4";
	end;
}

 

Is it because of this?

"ice_boss#on::OnMyMobDead"

Oh by the way I am using tr0n's quest board. which is this one

//===== rAthena Script =======================================
//= tr0n's Questboard
//===== By: ==================================================
//= tr0n
//===== Current Version: =====================================
//= 1.6.5
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Easily add collection and hunting quests.
//===== Additional Comments: =================================
// 1.0.0 Release
// 1.1.0 Added zeny reward
// 1.2.0 Rewrote checkmob and killcounter
// 1.3.1 Added level restriction
// 1.3.4 Added Reward Item Amount
// 1.4.4 Added Quest delay
// 1.5.4 Added repeatable Quests
// 1.6.4 Added party support
// 1.6.5 Bug fixes for party support
//============================================================
trin_in,239,68,5	script	Mission Antagonist#2	833,{

	if(c_run==1){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "^0000FF"+getd("." + currentquest$ + "_collectionname$")+"^000000";
		mes "--------------------------------";
		for( set .@j, 0; .@j < getarraysize(getd("."+ currentquest$ + "_collectionitem")); set .@j,.@j+2){
			mes "^FF0000"+getitemname(getd("."+currentquest$+"_collectionitem["+.@j+"]"))+" - "+countitem(getd("."+currentquest$+"_collectionitem["+.@j+"]"))+"/"+getd("."+currentquest$+"_collectionitem["+(.@j+1)+"]")+" ea.^000000";
		}
		mes "--------------------------------";
		mes "[Reward]";
		mes "Item: ^0000FF"+((getd("." +currentquest$+"_collectionprize"))?getitemname(getd("." +currentquest$+"_collectionprize"))+" - "+getd("." +currentquest$+"_collectionamount")+" ea.^000000":"Nothing^000000");
		mes "Zeny: ^0000FF"+getd("." +currentquest$+"_collectionzeny")+"^000000";
		mes "Base EXP: ^0000FF"+getd("." +currentquest$+"_collectionexp["+0+"]")+"^000000";
		mes "Job EXP: ^0000FF"+getd("." +currentquest$+"_collectionexp["+1+"]")+"^000000";
		next;
		if(select("Finish:Abort") == 2){
			mes "[^FF7700 Mission Antagonist ^000000]";
			mes "Quest aborted.";
			set currentquest$, "";
			set c_run, 0;
			close;
		}
		goto L_checkitems;
	}
	
	if(h_run==1){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "^0000FF"+getd("." + currentquest$ + "_huntingname$")+"^000000";
		mes "--------------------------------";
		for( set .@j, 0; .@j < getarraysize(getd("."+ currentquest$ + "_huntingmob")); set .@j,.@j+2){
			set .@currentmob, getd("."+currentquest$+"_huntingmob["+(.@j)+"]");
			mes "^FF0000"+strmobinfo(1,getd("."+currentquest$+"_huntingmob["+.@j+"]"))+" - "+getd(currentquest$+"_"+.@currentmob+"_"+(.@j+1)+"_killcount")+"/"+getd("."+currentquest$+"_huntingmob["+(.@j+1)+"]")+" ea.^000000";
		}
		mes "--------------------------------";
		mes "[Reward]";
		mes "Item: ^0000FF"+((getd("." +currentquest$+"_huntingprize"))?getitemname(getd("." +currentquest$+"_huntingprize"))+" - "+getd("." +currentquest$+"_huntingamount")+" ea.^000000":"Nothing^000000");
		mes "Zeny: ^0000FF"+getd("." +currentquest$+"_huntingzeny")+"^000000";
		mes "Base EXP: ^0000FF"+getd("." +currentquest$+"_huntingexp["+0+"]")+"^000000";
		mes "Job EXP: ^0000FF"+getd("." +currentquest$+"_huntingexp["+1+"]")+"^000000";
		next;
		if(select("Finish:Abort") == 2){
			mes "[^FF7700 Mission Antagonist ^000000]";
			mes "Quest aborted.";
			for(set .@x, 1; .@x < getarraysize(getd("."+currentquest$+"_huntingmob")); set .@x,.@x+2){
				set .@currentmob, getd("."+currentquest$+"_huntingmob["+(.@x-1)+"]");
				setd(currentquest$+"_"+.@currentmob+"_"+.@x+"_killcount", 0);
			}
			set currentquest$, "";
			set h_run, 0;
			close;
		}
		goto L_checkmobs;
	}

	mes "[^FF7700 Mission Antagonist ^000000]";
	mes "Hello "+strcharinfo(0)+", Welcome.";
	if(BaseLevel < 254) {
	mes "You cant access this npc if your base level is lower than 254 come back when you got enough experience.";
	close;
	}
	next;
	
	switch(select((.collection)?"Collection Quests":"",
				  (.hunting)?"~ Apply for a Mission.":"",
				  "~ Leave.")) {

case 1:
	set .@collectmenu$, "";
	for( set .@i,0; .@i < .collectionquestcount; set .@i,.@i+1){
		if (.@i) set .@collectmenu$,.@collectmenu$+":";
		set .@collectmenu$, .@collectmenu$ + "[" + getd("." +(.@i+1)+"_collectionmin") + " - " + getd("." +(.@i+1)+"_collectionmax") + "] " + getd("." + (.@i+1) + "_collectionname$");
	}
	set .@selection,select(.@collectmenu$);
	if(.quest_repeat == 1){
		if(gettimetick(2) < getd(.@selection + "_collection_delay")){
			set .@time_left, getd(.@selection + "_collection_delay")-gettimetick(2);
			mes "[^FF7700 Mission Antagonist ^000000]";
			if(.@time_left < 60) mes "You have to wait ^0000FF"+.@time_left+" seconds^000000 to do this quest again.";
			if(.@time_left < 3600) mes "You have to wait ^0000FF"+.@time_left/60+" minutes^000000 to do this quest again.";
			mes "You have to wait ^0000FF"+.@time_left/60/60+" hours^000000 to do this quest again.";
			close;
		}
	}
	else{
		if(getd(.@selection + "_collection_repeat") == 1){
			mes "[^FF7700 Mission Antagonist ^000000]";
			mes "You already did this quest.";
			mes "Please choose another one.";
			close;
		}
	}
	mes "[^FF7700 Mission Antagonist ^000000]";
	mes "^0000FF"+getd("." + .@selection + "_collectionname$")+"^000000";
	mes "--------------------------------";
	for( set .@j, 0; .@j < getarraysize(getd("."+ .@selection + "_collectionitem")); set .@j,.@j+2){
		mes "^FF0000"+getitemname(getd("."+.@selection+"_collectionitem["+.@j+"]"))+" - "+getd("."+.@selection+"_collectionitem["+(.@j+1)+"]")+" ea.^000000";
	}
	mes "--------------------------------";
	mes "[Reward]";
	mes "Item: ^0000FF"+((getd("." +.@selection+"_collectionprize"))?getitemname(getd("." +.@selection+"_collectionprize"))+" - "+getd("." +.@selection+"_collectionamount")+" ea.^000000":"Nothing^000000");
	mes "Zeny: ^0000FF"+getd("." +.@selection+"_collectionzeny")+"^000000";
	mes "Base EXP: ^0000FF"+getd("." +.@selection+"_collectionexp["+0+"]")+"^000000";
	mes "Job EXP: ^0000FF"+getd("." +.@selection+"_collectionexp["+1+"]")+"^000000";
	next;
	if(select("Accept:Decline") == 2){
		close;
	}
	if(BaseLevel >= getd("." +.@selection+"_collectionmin") && BaseLevel <= getd("." +.@selection+"_collectionmax")){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "Quest accepted.";
		set c_run, 1;
		set currentquest$, .@selection;
		close;
	}
	else{
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "You don't have the required";
		mes "level to do this quest.";
		close;
	}
	
case 2:
	set .@huntmenu$, "";
	for( set .@i,0; .@i < .huntingquestcount; set .@i,.@i+1){
		if (.@i) set .@huntmenu$,.@huntmenu$+":";
		set .@huntmenu$, .@huntmenu$ + "[" + getd("." +(.@i+1)+"_huntingmin") + " - " + getd("." +(.@i+1)+"_huntingmax") + "] " + getd("." + (.@i+1) + "_huntingname$");
	}
	set .@selection,select(.@huntmenu$);
	if(.quest_repeat == 1){
		if(gettimetick(2) < getd(.@selection + "_hunting_delay")){
			set .@time_left, getd(.@selection + "_hunting_delay")-gettimetick(2);
			mes "[^FF7700 Mission Antagonist ^000000]";
			if(.@time_left < 60) mes "You have to wait ^0000FF"+.@time_left+" seconds^000000 to do this quest again.";
			if(.@time_left < 3600) mes "You have to wait ^0000FF"+.@time_left/60+" minutes^000000 to do this quest again.";
			mes "You have to wait ^0000FF"+.@time_left/60/60+" hours^000000 to do this quest again.";
			close;
		}
	}
	else{
		if(getd(.@selection + "_hunting_repeat") == 1){
			mes "[^FF7700 Mission Antagonist ^000000]";
			mes "You already did this quest.";
			mes "Please choose another one.";
			close;
		}
	}
	mes "[^FF7700 Mission Antagonist ^000000]";
	mes "^0000FF"+getd("." + .@selection + "_huntingname$")+"^000000";
	mes "--------------------------------";
	for( set .@j, 0; .@j < getarraysize(getd("."+ .@selection + "_huntingmob")); set .@j,.@j+2){
		mes "^FF0000"+strmobinfo(1,getd("."+.@selection+"_huntingmob["+.@j+"]"))+" - "+getd("."+.@selection+"_huntingmob["+(.@j+1)+"]")+" ea.^000000";
	}
	mes "--------------------------------";
	mes "[Reward]";
	mes "Item: ^0000FF"+((getd("." +.@selection+"_huntingprize"))?getitemname(getd("." +.@selection+"_huntingprize"))+" - "+getd("." +.@selection+"_huntingamount")+" ea.^000000":"Nothing^000000");
	mes "Zeny: ^0000FF"+getd("." +.@selection+"_huntingzeny")+"^000000";
	mes "Base EXP: ^0000FF"+getd("." +.@selection+"_huntingexp["+0+"]")+"^000000";
	mes "Job EXP: ^0000FF"+getd("." +.@selection+"_huntingexp["+1+"]")+"^000000";
	next;
	if(select("Accept:Decline") == 2){
		close;
	}
	if(BaseLevel >= getd("." +.@selection+"_huntingmin") && BaseLevel <= getd("." +.@selection+"_huntingmax")){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "Quest accepted.";
		set h_run, 1;
		set currentquest$, .@selection;
		close;
	}
	else{
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "You don't have the required";
		mes "level to do this quest.";
		close;
	}
	
case 3:
	close;
	}
	
L_checkitems:
	for( set .@k,0; .@k < getarraysize(getd("."+currentquest$+"_collectionitem")); set .@k,.@k+2){
		if(countitem(getd("."+currentquest$+"_collectionitem["+.@k+"]"))>=getd("."+currentquest$+"_collectionitem["+(.@k+1)+"]")){
			set .@checkitem,.@checkitem+2;
		}
	}
	if(.@checkitem<getarraysize(getd("."+currentquest$+"_collectionitem"))){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "You don't have everything.";
		close;
	}
	for( set .@delcount,0; .@delcount < getarraysize(getd("."+currentquest$+"_collectionitem")); set .@delcount,.@delcount+2){
		delitem getd("."+currentquest$+"_collectionitem["+.@delcount+"]"),getd("."+currentquest$+"_collectionitem["+(.@delcount+1)+"]");
	}
	mes "[^FF7700 Mission Antagonist ^000000]";
	mes "Congratulation! Here is your Reward.";
	announce "Mission Antagonist: " + strcharinfo(0) + " has finished the [ " + getd("." + .@selection + "_huntingname$") + " ] You can start your own Mission just go in the upper part of trinity city. and look for Mission Antagonist!",bc_all,0xD16AF7,FW_NORMAL,16;
	if(getd("." +currentquest$+"_collectionprize")!=0) getitem(getd("." +currentquest$+"_collectionprize"),getd("." +currentquest$+"_collectionamount"));
	set Zeny,Zeny+getd("." +currentquest$+"_collectionzeny");
	getexp getd("." +currentquest$+"_collectionexp["+0+"]"),getd("." +currentquest$+"_collectionexp["+1+"]");
	setd(currentquest$ + "_collection_delay"),gettimetick(2)+.quest_delay;
	setd(currentquest$ + "_collection_repeat"),1;
	set currentquest$, "";
	set c_run, 0;
	close;
	
L_checkmobs:
	set .@goal, (getarraysize(getd("."+currentquest$+"_huntingmob"))/2);
	for(set .@i, 1; .@i < getarraysize(getd("."+currentquest$+"_huntingmob")); set .@i,.@i+2){
		set .@currentmob, getd("."+currentquest$+"_huntingmob["+(.@i-1)+"]");
		if(getd(currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")==getd("."+currentquest$+"_huntingmob["+.@i+"]")){
			set .@checkmonster, .@checkmonster+1;
			if(.@checkmonster==.@goal){
				goto L_checkmobs2;
			}
			continue;
		}
		goto L_checkmobs2;
	}
	
L_checkmobs2:
	if(.@checkmonster<.@goal){
		mes "[^FF7700 Mission Antagonist ^000000]";
		mes "You didn't kill everything.";
		close;
	}
	mes "[^FF7700 Mission Antagonist ^000000]";
	mes "Congratulation! Here is your Reward.";
	announce "Mission Antagonist: " + strcharinfo(0) + " has finished the [ "+getd("." + currentquest$ + "_huntingname$")+" ] You can start your own Mission just go in the upper part of trinity city. and look for Mission Antagonist!",bc_all,0xD16AF7,FW_NORMAL,16;
	for(set .@x, 1; .@x < getarraysize(getd("."+currentquest$+"_huntingmob")); set .@x,.@x+2){
		set .@currentmob, getd("."+currentquest$+"_huntingmob["+(.@x-1)+"]");
		setd(currentquest$+"_"+.@currentmob+"_"+.@x+"_killcount", 0);
	}
	if(getd("." +currentquest$+"_huntingprize")!=0) getitem(getd("." +currentquest$+"_huntingprize"),getd("." +currentquest$+"_huntingamount"));
	set Zeny, Zeny+getd("." +currentquest$+"_huntingzeny");
	getexp getd("." +currentquest$+"_huntingexp["+0+"]"),getd("." +currentquest$+"_huntingexp["+1+"]");
	setd(currentquest$ + "_hunting_delay"),gettimetick(2)+.quest_delay;
	setd(currentquest$ + "_hunting_repeat"),1;
	set currentquest$, "";
	set h_run, 0;
	close;

OnNPCKillEvent:
	if(h_run!=1) end;
	for(set .@i, 1; .@i < getarraysize(getd("."+currentquest$+"_huntingmob")); set .@i,.@i+2){
		if(killedrid==getd("."+currentquest$+"_huntingmob["+(.@i-1)+"]")){
			set .@currentmob, getd("."+currentquest$+"_huntingmob["+(.@i-1)+"]");
			if(getd(currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")>=getd("."+currentquest$+"_huntingmob["+.@i+"]")) end;
			setd(currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount", getd(currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")+1);
			dispbottom getd("."+currentquest$+"_huntingname$")+": ["+strmobinfo(1,.@currentmob)+"] ("+ getd(currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")+"/"+getd("."+currentquest$+"_huntingmob["+.@i+"]")+")";
			if(getcharid(1) != 0 && .party_support == 1){
				getmapxy(.@map1$,.@x1,.@y1,0);
				set .@killerid, getcharid(3);
				set .@currentquest$, currentquest$;
				getpartymember getcharid(1),1;
				getpartymember getcharid(1),2;
				for(set .@j, 0; .@j < $@partymembercount; .@j++){
					if(isloggedin($@partymemberaid[.@j], $@partymembercid[.@j])){
						if(attachrid($@partymemberaid[.@j])){
							if(h_run==1 && getcharid(3) != .@killerid && .@currentquest$ == currentquest$ && HP > 0){
								getmapxy(.@map2$,.@x2,.@y2,0);
								if(.@map1$ == .@map2$ && distance(.@x1,.@y1,.@x2,.@y2) < .party_range){
									if(getd(.@currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")<getd("."+.@currentquest$+"_huntingmob["+.@i+"]"))
									{
										setd(.@currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount", getd(.@currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")+1);
										dispbottom getd("."+.@currentquest$+"_huntingname$")+": ["+strmobinfo(1,.@currentmob)+"] ("+ getd(.@currentquest$+"_"+.@currentmob+"_"+.@i+"_killcount")+"/"+getd("."+.@currentquest$+"_huntingmob["+.@i+"]")+")";
									}
								}
							}
						}
					}
				}
				attachrid(.@killerid);
			}
		}
		continue;
	}
	end;
	
OnInit:

	function AddCollection;
	function AddHunting;

	//Activate/Deactivate quest categories (1 - activated, 0 - deactivated)
	set .collection, 0;
	set .hunting, 1;
	
	//Quest Delay (seconds)
	//24 hours = 86400 seconds
	set .quest_delay, 86400;
	
	//Activate/Deactivate repeatable quests (1 - activated, 0 - deactivated)
	set .quest_repeat, 0;
	
	//Activate/Deactivate party support(1 - activated, 0 - deactivated)
	set .party_support, 0;
	
	//Max range for party support (+- x & y coordinations)
	set .party_range, 25;
	
	//Checks if quests are loaded (prevents out of index)
	if(.questsloaded==1) end;
	set .questsloaded, 1;
	
	//Add Collection Quests here (You can add as many required items as you want)
	//AddCollection("<Quest Name>",<Min Lvl>,<Max Lvl>,<Reward|Item ID>,<Reward|Item Amount>,<Zeny Reward>,<Base EXP>,<Job EXP>,<Item ID>,<Item Amount>,...);
	//AddCollection("













	
	//Add Hunting Quests here (You can add as many required mobs as you want)
	//AddHunting("<Quest Name>",<Min Lvl>,<Max Lvl>,<Reward|Item ID>,<Reward|Item Amount>,<Zeny Reward>,<Base EXP>,<Job EXP>,<Monster ID>,<Monster Amount>,...);
	AddHunting("Golden Thief Bug Mission",200,255,813,20,2500000,100,100,1086,5);
	AddHunting("Eddga Mission",200,255,813,25,2500000,100,100,1115,6);
	AddHunting("Moonlight Flower Mission",200,255,813,20,2500000,100,100,1150,5);
	AddHunting("Phreeoni Mission",200,255,813,20,2500000,100,100,1159,4);
	AddHunting("Drake Mission",200,255,813,20,2500000,100,100,1112,4);
	AddHunting("Tao Gunka Mission",200,255,813,20,2500000,100,100,1583,2);
	AddHunting("Incantation Samurai Mission",200,255,813,25,2500000,100,100,1492,5);
	AddHunting("Doppelganger Mission",200,255,813,15,2500000,100,100,1046,4);
	AddHunting("Garm Mission",200,255,813,20,2500000,100,100,1252,4);
	AddHunting("Evil Snake Lord Mission",200,255,813,25,2500000,100,100,1418,4);
	AddHunting("Mistress Mission",200,255,813,25,2500000,100,100,1059,4);
	// 10 Original Coins
	AddHunting("Orc Lord Mission",200,255,813,20,2500000,100,100,1190,3);
	AddHunting("Orc Hero Mission",200,255,813,20,2500000,100,100,1087,5);
	AddHunting("Knight of Windstorm Mission",200,255,813,10,2500000,100,100,1251,1);
	AddHunting("Osiris Mission",200,255,813,20,2500000,100,100,1038,5);
	AddHunting("Ygnizem Mission",200,255,813,20,2500000,100,100,1658,4);
	AddHunting("Dark Lord Mission",200,255,813,25,2500000,100,100,1272,5);
	AddHunting("Fallen Bishop Mission",200,255,813,20,2500000,100,100,1871,3);
	AddHunting("Baphomet Mission",200,255,813,20,2500000,100,100,1039,3);
	AddHunting("Maya Mission",200,255,813,20,2500000,100,100,1147,5);
	AddHunting("Atroce Mission",200,255,813,25,2500000,100,100,1785,4);
	AddHunting("Dracula Mission",200,255,813,20,2500000,100,100,1389,5);
	AddHunting("Bacsojin Mission",200,255,813,30,2500000,100,100,1630,5);
	AddHunting("RSX 0806 Mission",200,255,813,20,2500000,100,100,1623,4);
	AddHunting("Amon Ra Mission",200,255,813,30,2500000,100,100,1511,5);
	AddHunting("Lady Tanee Mission",200,255,813,20,2500000,100,100,1688,2);
	AddHunting("Gloom Under Night Mission",200,255,813,25,2500000,100,100,1768,2);
	AddHunting("Detale Mission",200,255,813,20,2500000,100,100,1719,3);
	AddHunting("Kiel D-01 Mission",200,255,813,20,2500000,100,100,1734,4);
	AddHunting("Pharaoh Mission",200,255,813,20,2500000,100,100,1157,5);
	AddHunting("Turtle General Mission",200,255,813,20,2500000,100,100,1312,4);
	AddHunting("Stormy Knight Mission",200,255,813,25,2500000,100,100,1251,5);
	AddHunting("Vesper Mission",200,255,813,20,2500000,100,100,1685,3);
	// Special MvP's 20 Original Coins
	AddHunting("Rare Thanatos Mission",200,255,813,25,2500000,100,100,1708,1);
	AddHunting("Rare Valkyrie Randgris Mission",200,255,813,25,2500000,100,100,1751,1);
	AddHunting("Rare Ifrit Mission",200,255,813,25,2500000,100,100,1832,1);
	AddHunting("Rare Ktullanux Mission",200,255,813,25,2500000,100,100,1779,1);
	AddHunting("Rare Lord of Death Mission",200,255,813,25,2500000,100,100,1373,2);
	AddHunting("Rare Nidhoggr's Mission",200,255,813,25,2500000,100,100,2022,1);
	AddHunting("Rare Assassin Cross Mission",200,255,813,25,2500000,100,100,1647,1);
	AddHunting("Rare High Priest Mission",200,255,813,20,2500000,100,100,1649,1);
	AddHunting("Rare High Wizard Mission",200,255,813,25,2500000,100,100,1651,1);
	AddHunting("Rare Lord Knight Mission",200,255,813,25,2500000,100,100,1646,1);
	AddHunting("Rare Sniper Mission",200,255,813,25,2500000,100,100,1650,1);
	AddHunting("Rare White Smith Mission",200,255,813,25,2500000,100,100,1648,1);
	AddHunting("Rare Satan Morocc Mission",200,255,813,25,2500000,100,100,1917,1);
	end;
	

function AddCollection{
	set .collectionquestcount,.collectionquestcount+1;
	setd ("." +.collectionquestcount+"_collectionname$", getarg(0));
	setd ("." +.collectionquestcount+"_collectionmin", getarg(1));
	setd ("." +.collectionquestcount+"_collectionmax", getarg(2));
	setd ("." +.collectionquestcount+"_collectionprize", getarg(3));
	setd ("." +.collectionquestcount+"_collectionamount", getarg(4));
	setd ("." +.collectionquestcount+"_collectionzeny", getarg(5));
	set .@argcount, 6;
	set .@size, getarraysize(getd("."+ .collectionquestcount + "_collectionexp"));
	setd ("." +.collectionquestcount+"_collectionexp["+.@size+"]",getarg(.@argcount)); 
	setd ("." +.collectionquestcount+"_collectionexp["+(.@size+1)+"]",getarg(.@argcount+1)); 
	set .@argcount, .@argcount+2;
	while(getarg(.@argcount,-1)!=-1 && getarg(.@argcount+1,-1)!=-1){
		set .@size, getarraysize(getd("."+ .collectionquestcount + "_collectionitem"));
		setd ("."+.collectionquestcount+"_collectionitem["+.@size+"]",getarg(.@argcount)); 
		setd ("."+.collectionquestcount+"_collectionitem["+(.@size+1)+"]",getarg(.@argcount+1));
		set .@argcount,.@argcount+2;
	}
	return;
}

function AddHunting{
	set .huntingquestcount,.huntingquestcount+1;
	setd ("." +.huntingquestcount+"_huntingname$", getarg(0));
	setd ("." +.huntingquestcount+"_huntingmin", getarg(1));
	setd ("." +.huntingquestcount+"_huntingmax", getarg(2));
	setd ("." +.huntingquestcount+"_huntingprize", getarg(3));
	setd ("." +.huntingquestcount+"_huntingamount", getarg(4));
	setd ("." +.huntingquestcount+"_huntingzeny", getarg(5));
	set .@size, getarraysize(getd("."+ .huntingquestcount + "_huntingexp"));
	set .@argcount, 6;
	setd ("." +.huntingquestcount+"_huntingexp["+.@size+"]",getarg(.@argcount));
	setd ("." +.huntingquestcount+"_huntingexp["+(.@size+1)+"]",getarg(.@argcount+1)); 
	set .@argcount, .@argcount+2;
	while(getarg(.@argcount,-1)!=-1 && getarg(.@argcount+1,-1)!=-1){
		set .@size, getarraysize(getd("."+ .huntingquestcount + "_huntingmob"));
		setd ("."+.huntingquestcount+"_huntingmob["+.@size+"]",getarg(.@argcount)); 
		setd ("."+.huntingquestcount+"_huntingmob["+(.@size+1)+"]",getarg(.@argcount+1));
		set .@argcount, .@argcount+2;
		}
	return;
	}
}
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  547
  • Reputation:   270
  • Joined:  11/08/11
  • Last Seen:  

Each mob can only have one event label. If it has none it will trigger OnNPCDie or however it is exactly called.

 

Might be because of this that you are having troubles.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Each mob can only have one event label. If it has none it will trigger OnNPCDie or however it is exactly called.

 

Might be because of this that you are having troubles.

 

There is no other way to fix this one right? all i need to do is to make change it to any other MvP that dont work with event label?

Link to comment
Share on other sites

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.

×
×
  • Create New...