kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
farkmt2official 1
farkmt2official
Bvural41 1
Bvural41
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Hikaye Ekle

Cevaplandı Oto event ekledim ama drop atmıyor...

  • Konuyu başlatan Konuyu başlatan rain023
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 5
  • Görüntüleme Görüntüleme 332

Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!

quest oto_event begin
state start begin
when login with pc.is_gm() begin
clear_server_timer("oto_event")
server_loop_timer("oto_event",1)
end
when oto_event.server_timer begin
local saat = tonumber(os.date("%H"))
local time = os.date("%X")
local gun = tostring(os.date("%A"))
if gun == "Monday" then
if time == "21:00:00" then
if game.get_event_flag("ayisigi") == 0 then
game.set_event_flag("ayisigi",1)
notice_all("Ayisigi Define Sandığı eventi 2 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("ayisigi") == 1 then
game.set_event_flag("ayisigi",0)
notice_all("Ayisigi Define Sandığı eventi sona ermiştir.")
end
end
elseif gun == "Tuesday" then
if time == "21:00:00" then
if game.get_event_flag("event_altigen_drop") == 0 then
game.set_event_flag("event_altigen_drop",1)
notice_all("Altıgen Hediye Paketş eventi 2 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("event_altigen_drop") == 1 then
game.set_event_flag("event_altigen_drop",0)
notice_all("Altıgen Hediye Paketi eventi sona ermiştir.")
end
end
elseif gun == "Wednesday" then
if time == "18:59:50" then
if game.get_event_flag("sertifika_drop") == 0 then
game.set_event_flag("sertifika_drop",1)
notice_all("Sertifika eventi 2,5 saat süreyle başlamıştır.")
end
elseif time == "21:29:50" then
if game.get_event_flag("sertifika_drop") == 1 then
game.set_event_flag("sertifika_drop",0)
notice_all("Sertifika eventi sona ermiştir.")
end
end
elseif gun == "Thursday" then
if time == "21:00:00" then
if game.get_event_flag("col_firtinasi_drop") == 0 then
game.set_event_flag("col_firtinasi_drop",1)
notice_all("Çöl Fırtınası eventi 1 saat süreyle başlamıştır.")
end
elseif time == "22:00:00" then
if game.get_event_flag("col_firtinasi_drop") == 1 then
game.set_event_flag("col_firtinasi_drop",0)
notice_all("Çöl Fırtınası eventi sona ermiştir.")
end
end
elseif gun == "Friday" then
if time == "20:00:00" then
if game.get_event_flag("football_drop") == 0 then
game.set_event_flag("football_drop",1)
game.set_event_flag("new_football_2014_event",1)
notice_all("Dünya Kupası eventi 3 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("football_drop") == 1 then
game.set_event_flag("football_drop",0)
game.set_event_flag("new_football_2014_event",0)
notice_all("Dünya Kupası eventi sona ermiştir.")
end
end
elseif gun == "Saturday" then
if time == "01:05:00" then
if game.get_event_flag("sonsuz_kis_drop") == 0 then
game.set_event_flag("sonsuz_kis_drop",1)
notice_all("Sonsuz Kış Sandığı eventi 1 saat süreyle başlamıştır.")
end
elseif time == "01:06:00" then
if game.get_event_flag("sonsuz_kis_drop") == 1 then
game.set_event_flag("sonsuz_kis_drop",0)
notice_all("Sonsuz Kış Sandığı eventi sona ermiştir.")
end
end
elseif gun == "Sunday" then
if time == "19:00:00" then
if game.get_event_flag("cards_event") == 0 then
game.set_event_flag("cards_event",1)
notice_all("Okey Kart eventi 4 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("cards_event") == 1 then
game.set_event_flag("cards_event",0)
notice_all("Okey Kart eventi sona ermiştir.")
end
end
end
end
end
end


arkadaşlar bu form da paylasılan oto event guestini tanıladım başlatıp bitiriyor ama neden drop atmıyor...ve benim files da ki event_flagları nerden görebilirim
 
quest oto_event begin
state start begin
when login with pc.is_gm() begin
clear_server_timer("oto_event")
server_loop_timer("oto_event",1)
end
when oto_event.server_timer begin
local saat = tonumber(os.date("%H"))
local time = os.date("%X")
local gun = tostring(os.date("%A"))
if gun == "Monday" then
if time == "21:00:00" then
if game.get_event_flag("ayisigi") == 0 then
game.set_event_flag("ayisigi",1)
notice_all("Ayisigi Define Sandığı eventi 2 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("ayisigi") == 1 then
game.set_event_flag("ayisigi",0)
notice_all("Ayisigi Define Sandığı eventi sona ermiştir.")
end
end
elseif gun == "Tuesday" then
if time == "21:00:00" then
if game.get_event_flag("event_altigen_drop") == 0 then
game.set_event_flag("event_altigen_drop",1)
notice_all("Altıgen Hediye Paketş eventi 2 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("event_altigen_drop") == 1 then
game.set_event_flag("event_altigen_drop",0)
notice_all("Altıgen Hediye Paketi eventi sona ermiştir.")
end
end
elseif gun == "Wednesday" then
if time == "18:59:50" then
if game.get_event_flag("sertifika_drop") == 0 then
game.set_event_flag("sertifika_drop",1)
notice_all("Sertifika eventi 2,5 saat süreyle başlamıştır.")
end
elseif time == "21:29:50" then
if game.get_event_flag("sertifika_drop") == 1 then
game.set_event_flag("sertifika_drop",0)
notice_all("Sertifika eventi sona ermiştir.")
end
end
elseif gun == "Thursday" then
if time == "21:00:00" then
if game.get_event_flag("col_firtinasi_drop") == 0 then
game.set_event_flag("col_firtinasi_drop",1)
notice_all("Çöl Fırtınası eventi 1 saat süreyle başlamıştır.")
end
elseif time == "22:00:00" then
if game.get_event_flag("col_firtinasi_drop") == 1 then
game.set_event_flag("col_firtinasi_drop",0)
notice_all("Çöl Fırtınası eventi sona ermiştir.")
end
end
elseif gun == "Friday" then
if time == "20:00:00" then
if game.get_event_flag("football_drop") == 0 then
game.set_event_flag("football_drop",1)
game.set_event_flag("new_football_2014_event",1)
notice_all("Dünya Kupası eventi 3 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("football_drop") == 1 then
game.set_event_flag("football_drop",0)
game.set_event_flag("new_football_2014_event",0)
notice_all("Dünya Kupası eventi sona ermiştir.")
end
end
elseif gun == "Saturday" then
if time == "01:05:00" then
if game.get_event_flag("sonsuz_kis_drop") == 0 then
game.set_event_flag("sonsuz_kis_drop",1)
notice_all("Sonsuz Kış Sandığı eventi 1 saat süreyle başlamıştır.")
end
elseif time == "01:06:00" then
if game.get_event_flag("sonsuz_kis_drop") == 1 then
game.set_event_flag("sonsuz_kis_drop",0)
notice_all("Sonsuz Kış Sandığı eventi sona ermiştir.")
end
end
elseif gun == "Sunday" then
if time == "19:00:00" then
if game.get_event_flag("cards_event") == 0 then
game.set_event_flag("cards_event",1)
notice_all("Okey Kart eventi 4 saat süreyle başlamıştır.")
end
elseif time == "23:00:00" then
if game.get_event_flag("cards_event") == 1 then
game.set_event_flag("cards_event",0)
notice_all("Okey Kart eventi sona ermiştir.")
end
end
end
end
end
end


arkadaşlar bu form da paylasılan oto event guestini tanıladım başlatıp bitiriyor ama neden drop atmıyor...ve benim files da ki event_flagları nerden görebilirim
drop atmıyordan kastın nedir. bu oto event sistemi belirtilen eventleri başlatması için eğer başlatıyorsa ve drop atmıyorsa bu eventler sisteminde tanımlı değildir bunu şu şekilde öğrenebilirsin atıyorum card eventi /e cards_event 1 yazıp manuel şekilde başlatarak drop atıp atmadığına bak eğer böyle de atmıyorsa bu eventler sisteminde yoktur atıyorsa oto event başlatmıyordur dediğimi dene bir dönüş yaparsan yardımcı olayım bu arada arkadaşın etiketlediği konudaki linkler patlak quest olarak kullansanda bir sorun olmaz
 
drop atmıyordan kastın nedir. bu oto event sistemi belirtilen eventleri başlatması için eğer başlatıyorsa ve drop atmıyorsa bu eventler sisteminde tanımlı değildir bunu şu şekilde öğrenebilirsin atıyorum card eventi /e cards_event 1 yazıp manuel şekilde başlatarak drop atıp atmadığına bak eğer böyle de atmıyorsa bu eventler sisteminde yoktur atıyorsa oto event başlatmıyordur dediğimi dene bir dönüş yaparsan yardımcı olayım bu arada arkadaşın etiketlediği konudaki linkler patlak quest olarak kullansanda bir sorun olmaz
ay ısıgı mesela şu guestte drop düşmüyor ama bunun üzerinde biraz oynama yaptıgımda local s ve if 3 satırını sildigimde bu seferde mob başına bir ayısıgı kutusu atıyor anlamadım gitti.

quest ayeventi begin
state start begin
when kill with game.get_event_flag("ayisigi") == 1 and not npc.is_pc() begin
local s = number(1, 150) --Cikma Orani
if 3 == s then
game.drop_item_with_ownership("50011",1) --Ayisigi item kodu ve adeti
end
end
end
end
 
ay ısıgı mesela şu guestte drop düşmüyor ama bunun üzerinde biraz oynama yaptıgımda local s ve if 3 satırını sildigimde bu seferde mob başına bir ayısıgı kutusu atıyor anlamadım gitti.

quest ayeventi begin
state start begin
when kill with game.get_event_flag("ayisigi") == 1 and not npc.is_pc() begin
local s = number(1, 150) --Cikma Orani
if 3 == s then
game.drop_item_with_ownership("50011",1) --Ayisigi item kodu ve adeti
end
end
end
end
% kaç şansla atmasını istiyorsun yaz quest değiştirip sana atayım
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst