Register for your free account! | Forgot your password?

You last visited: Today at 15:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Quest with time

Discussion on Quest with time within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 21
Received Thanks: 0
Quest with time

Hi guys, I have a problem with a timed quest, the quest is filled in correctly but when I start the mission it gives me time out, is there any error?

HTML Code:
	quest prova2 begin
 
	state start begin when login or levelup with pc.level >= 100 or pc.setqf("time_limit", get_time() + 30 * 60) begin 
		set_state("sicomincia")
	end 
end 
	state sicomincia begin 
	when letter begin 
		send_letter("Parla con il comandante") 
	end
	
	when button or info begin
		say_title("Missione:")
		say("Ehi avventuriero![ENTER]Il comandante ti cerca,[ENTER]sembra che tu sia stato selezionato per una missione importante!") 
	end 
	
	when 20355.chat."Sono pronto a uccidere." begin
		say_title("Comandante") 
		say("Salve avventuriero, uccidi 50 player e sarai degno della mia maxi ricompensa.")
		set_state("killa") 
	end 
end 

	state killa begin
	when letter begin
		send_letter("Uccidi 50 giocatori!")
		q.set_clock("time_left", pc.getqf("time_limit") - get_time())
	end 

	when button or info begin
	say_title("Missione:")
	say("Uccidi 50 pg!")
	say("finora hai ucciso " .. pc.getqf("time_limit")) 
	say("Sbrigati!") 
end 
	
	when 102.kill begin 
		if pc.getf("prova2","limit_time") >= get_time() then 
			chat("Hai ucciso tutti i pg!") 
			chat("Ritorna!") 
			set_state("ritorna") 
		end 
	end 
end	
	state ritorna begin 
	
	when 20355.chat."Grazie Mille" begin 
		say_title("Comandante") 
		say("Grazie avventuriero![ENTER]Ecco a te un forziere della morte![ENTER]Ecco a te 1.000.000.000 di yang![ENTER]Ecco a te 1.000.000.000 di exp!") 
		say_reward("Hai ricevuto 1000000000 yang!") 
		pc.changegold(1000000000)
		if pc.job == 0 then
		pc.give_item2(50082, 1)
		elseif pc.job == 1 then
		pc.give_item2(50082, 1) 
		elseif pc.job == 2 then
		pc.give_item2(50082, 1) 
		elseif pc.job == 3 then
		pc.give_item2(50082, 1) 
	end 
		pc.give_exp2(1000000000) 
		pc.delqf("time_limit") 
		
		set_state("__COMPLETE__") 
	end 
end 
		state __COMPLETE__ begin 
	end 
end
Scorpion945 is offline  
Old 04/15/2021, 15:07   #2
 
Endless.'s Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 2,047
Received Thanks: 744
Try:
Code:
pc.setqf("time_limit", 0)
where you set after chat with 20355


€:
Here is a Part from my Bio Quest. The "duration" Quest Flag works same like yours.
Code:
					pc.setqf("collect_count",0)
					pc.setqf("drink_drug",0)  
					pc.setqf("duration",0)

With Best Regards, Endless
Endless. is offline  
Reply


Similar Threads Similar Threads
[SPECIAL TEAM_WARP QUEST]'nd Metin2 Sweet Time Quest's Icons and News
01/27/2013 - Metin2 PServer Guides & Strategies - 22 Replies
deleted!
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
Removed Time on TIME QUEST.
01/09/2008 - 9Dragons - 4 Replies
Like the title said, if you have a quest that required time to pass the QUEST will you can do this.. Ex. If you are Demon the GC8 is the very difficult quest if no healer helping on you. If you deside to get that quest, will after you talk to WU YUNYAN he will tele you to the DEMON CLAN Place. then you will see some Animation, after that you are now Near to the DMEON BULL and he says that you will get schimeraHORN, it is very difficult to get 5 BloodChimeraHorn in 5mins. This...



All times are GMT +1. The time now is 15:37.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.