Register for your free account! | Forgot your password?

You last visited: Today at 03:49

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

Advertisement



Quest authors, visit here ? Please

Discussion on Quest authors, visit here ? Please within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 26
Received Thanks: 2
Quest authors, visit here ? Please

I wrote Car event quest. os.date function. I get an error when I took Qc.
Do you have friends that can help?

Automatic open quest ;

Code:
--------------------------------
-- Zamanlı Event Sistemi -------
-- Writed by Renaissance --------
--------------------------------

quest zamanli_event2 begin
	state start begin
	local datx = os.date("%H")
	if datx == "18" then
	time_event.event1()
			end
		end
	end
end
	
	function event1()
	notice_all("Girişler Açılmıştır ..")
	command("e event_map 1")
	end
Auto-launching of the monster Quest ;
Code:
--------------------------------
-- Zamanlı Event Sistemi -------
-- Coder by Renaissance --------
--------------------------------

quest zamanli_event begin
	state start begin
	when login begin 
	local datx = tonumber(os.date("%H")
    local datx2 = (os.date("%M")
	if datx==18 and datx2==00 then
	time_event.event_metin()
	if datx==18 and datx2==10 then
	time_event.event_boss()
	elseif datx==18 and datx2==20 then
	time_event.event_bitis()
			end
		end
	end
end
	
	function event_metin()
	notice_all("Saat : "..os.date("%H"):"..os.date("%M")")
	notice_all("Metin Eventi Başlamıştır ..")
	notice.d(" Başarılar "..pc.get_name() ")
	regen_in_map(1, "data/event/event_metin.txt")
	end
	
	function event_boss()
	notice_all("Saat : "..os.date("%H"):"..os.date("%M")")
	notice_all("Boss Eventi başlamıştır..")
	notice.d(" Başarılar "..pc.get_name() ")
	regen_in_map(1, "data/event/event_boss.txt")
	end
	
	function event_bitis()
	notice_all("Event sona ermiştir.")
	notice_all("İyi oyunlar")
	command("e event_map 0")
	wait()
	warp_all_to_village(1,0)
	end
. / qc got an error when I took
1.quest error


2.quest error



Mijago help please
TheRevoLveR is offline  
Old 06/17/2012, 15:53   #2
Hidden Moderator
 
xcuz's Avatar
 
elite*gold: 0
The Black Market: 138/0/0
Join Date: Jul 2011
Posts: 24,080
Received Thanks: 4,805
Hey,
Please use this thread:



Maybe there some one can help you.

#closerequest
xcuz is offline  
Thanks
1 User
Old 06/17/2012, 16:24   #3
 
MissUnderstoodOne's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 322
Received Thanks: 505
PHP Code:
local datx2 = (os.date("%M"
has to be
PHP Code:
local datx2 = (os.date("%M")) 
but I can't help you with the first quest, sry
MissUnderstoodOne is offline  
Thanks
1 User
Old 06/17/2012, 17:13   #4
 
elite*gold: 0
Join Date: Nov 2011
Posts: 26
Received Thanks: 2
thanks

up

Quote:
Originally Posted by MissUnderstoodOne View Post
PHP Code:
local datx2 = (os.date("%M"
has to be
PHP Code:
local datx2 = (os.date("%M")) 
but I can't help you with the first quest, sry
the problem continues . help please
TheRevoLveR is offline  
Old 06/17/2012, 18:36   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 213
Received Thanks: 29
Code:
--------------------------------
-- Zamanlı Event Sistemi -------
-- Writed by Renaissance --------
--------------------------------

quest zamanli_event2 begin
	state start begin
           when login or levelup or logout begin
	local datx = os.date("%H")
	if datx == "18" then
	time_event.event1()
			end
		end
	
	function event1()
	notice_all("Girişler Açılmıştır ..")
	command("e event_map 1")
	end
end
end
al panpa böyle olcak ama çalışmaz..
ben senin yapmaya çalıştığını anladım ama o iş olmuyo ben denedim çok. server_timer kullanarak yap. ilk emri sen ver. o 24 saatte 1 tekrarlasın.
yarka0000 is offline  
Old 06/17/2012, 18:50   #6
 
elite*gold: 0
Join Date: Nov 2011
Posts: 26
Received Thanks: 2
panpa bak benim anlatmak istediğim şu , vakit gelince otomatik yapıcak. os.time() koduyla denicem ve düzelttim questi mijago yardımıyla
TheRevoLveR is offline  
Old 06/17/2012, 23:56   #7

 
Jacques's Avatar
 
elite*gold: 1
The Black Market: 256/0/0
Join Date: Nov 2008
Posts: 7,183
Received Thanks: 3,007
@ FineExcuse

closed
Jacques is offline  
Closed Thread


Similar Threads Similar Threads
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



All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.