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
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
1.quest error
2.quest error
Mijago help please