Kod:
quest caditimer begin state start begin when 1192.kill begin notice_all("CH "..pc.get_channel_id()..": "..pc.get_name().." Buz Cadısı'nı öldürdü!") notice_all("YENİDEN DİRİLİŞ SÜRESİ 1 SAAT") game.set_event_flag("time_1"..pc.get_channel_id().."",get_time() + 5*60) clear_server_timer("cadı_kes"..pc.get_channel_id().."",get_server_timer_arg()) server_timer("cadi_dog"..pc.get_channel_id().."",60*60, pc.get_map_index()) ---300 olcak end when cadi_dog1.server_timer begin notice_all("CH 1: SÜRGÜN MAĞRASI 1 KAT SONU") notice_all("CH 1: CADI GERİ DÖNDÜ!") clear_server_timer("cadı_kes1",get_server_timer_arg()) end when cadi_dog2.server_timer begin notice_all("CH 2: SÜRGÜN MAĞRASI 1 KAT SONU") notice_all("CH 2: CADI GERİ DÖNDÜ!") clear_server_timer("cadı_kes2",get_server_timer_arg()) end when cadi_dog3.server_timer begin notice_all("CH 3: SÜRGÜN MAĞRASI 1 KAT SONU") notice_all("CH 3: CADI GERİ DÖNDÜ!") clear_server_timer("cadı_kes3",get_server_timer_arg()) end when cadi_dog4.server_timer begin notice_all("CH 4: SÜRGÜN MAĞRASI 1 KAT SONU") notice_all("CH 4: CADI GERİ DÖNDÜ!") clear_server_timer("cadı_kes4",get_server_timer_arg()) end end end
Cadı kesildikten sonra timer başlar geri döndüğünde notice geçer mantık basit sourcesi olmayan kişiler için güzel bir içeriktir başarılar
Boss Geri Dönüş Bildirme Quest
Metin2 Quest Sistemi içerisinde önemli bir yere sahip olan Boss Geri Dönüş Bildirme Quest, oyuncuların sunucuda aktif olarak dönen boss karakterlerin yeniden doğduğunu takip edebilmeleri için geliştirilmiş özel bir görev sistemidir. Bu quest sayesinde oyuncular, boss karakterin tekrar savaşa hazır olduğunu bildiren mesajları alabilir ve gerekli hazırlıkları yaparak boss'a saldırmaya hazırlanabilirler. Bu yazıda, boss geri dönüş bildirimi içeren quest'in nasıl çalıştığını, hangi sistemlere dayandığını ve lua quest olarak nasıl yapılandırıldığını detaylı şekilde ele alacağız.
Boss Geri Dönüş Bildirme Quest Nedir?
Metin2 dünyasında boss karakterler, belirli aralıklarla respawn olurlar. Oyuncular bu bosslara saldırmak ve güçlü ekipmanlar kazanmak için beklerler. Ancak bossların respawn zamanlarını takip etmek her zaman kolay olmayabilir. İşte tam bu noktada devreye boss geri dönüş bildirme quest girer. Bu quest, boss öldürüldüğünde sayaç başlatır ve respawn zamanı geldiğinde oyunculara otomatik bildirim gönderir. Bu şekilde hem daha fazla oyuncu bossa katılabiliyor hem de oyun deneyimi artırılıyor.
Quest Nasıl Çalışır?
Bu quest genellikle Metin2 Lua dili kullanılarak geliştirilir. Quest başlatıldığında, sistem boss'un öldürüldüğü anı yakalar. Bu anı takiben bir sayaç başlatılır. Sayaç tamamlandığında, sunucu içindeki tüm oyunculara ya da quest'i aktif eden oyunculara bir mesaj gönderilir. Bu mesaj, boss'un respawn olduğunu ve savaşmaya hazır olduğunu belirtir. Quest hata durumlarında debug işlemleri ile sayaç ve mesaj gönderimleri kontrol edilir.
Geliştirme ve Yapılandırma
Bu tarz bir quest geliştirmek için öncelikle boss karakterin ID numarası, respawn süresi gibi bilgilere ihtiyaç vardır. Ardından quest script yazılır. Script, boss öldürüldüğünde bir flag veya state değiştirir ve sayaç başlatır. Timer fonksiyonu ile sayaç kontrol edilir ve süre dolunca mesaj gönderilir. Ayrıca trigger mekanizması ile boss öldürülmesi anı yakalanmalıdır.
Özel Özellikler ve Avantajlar
Bu quest sistemi sayesinde:
- Oyuncular bossun respawn zamanını takip edebilir.
- Sunucu aktivitesi artar.
- Oyuncular arasında rekabet ve koordinasyon gelişir.
- Güçlü ekipmanların dağıtımı daha adil olur.
Sorun Giderme ve Debug
Quest hata[/COORD] durumlarında, sayaç başlatılmazsa ya da mesaj gelmezse, loglar incelenmeli ve quest debug işlemleri yapılmalıdır. Genellikle timer fonksiyonu, flag ayarlaması veya NPC spawn zamanlamalarında sorunlar yaşanabilir. Quest edit yaparak bu hatalar düzeltilmelidir.
Sonuç
Boss Geri Dönüş Bildirme Quest, Metin2 sunucularında oyun içi deneyimi zenginleştiren, oyuncuların aktif kalmasını sağlayan önemli bir özelliktir. Metin2 Quest Sistemi ve Lua Quest bilgisi olan geliştiriciler için oldukça değerli bir araçtır.
Boss Return Notification Quest
The Metin2 Quest System includes an important feature known as the Boss Return Notification Quest. This quest allows players to track when active bosses respawn on the server. Through this quest, players can receive notifications when a boss is ready for battle again, allowing them to prepare accordingly. In this article, we will explain how this boss return notification quest works, what systems it relies on, and how it is structured as a lua quest.
What Is the Boss Return Notification Quest?
In the world of Metin2, boss characters respawn at certain intervals. Players wait for these bosses to fight and obtain powerful equipment. However, tracking their respawn times isn’t always easy. This is where the boss return notification quest comes into play. When a boss is killed, the quest starts a countdown and sends a message to players when the respawn time arrives. This ensures more players can participate in the battle and enhances the overall gaming experience.
How Does the Quest Work?
This quest is typically developed using the Metin2 Lua scripting language. When the quest starts, it detects when the boss is killed. It then begins a countdown. Once the countdown ends, a message is sent to all players on the server or those who have activated the quest, notifying them that the boss has respawned and is ready for combat. In case of quest errors, debugging procedures are used to check timers and message deliveries.
Development and Configuration
To develop such a quest, information like the boss's ID number and respawn duration is needed. Then, a quest script is written. The script changes a flag or state when the boss is killed and starts a timer. The timer function checks the countdown, and once complete, sends a message. A trigger mechanism must be set up to detect the moment the boss is defeated.
Features and Advantages
Thanks to this quest system:
- Players can track respawn times of bosses.
- Server activity increases.
- Competition and coordination among players improve.
- Distribution of high-tier items becomes more balanced.
Troubleshooting and Debugging
In case of quest errors, such as if the timer doesn't start or no messages arrive, logs should be reviewed and quest debug processes should be performed. Common issues may arise in timer functions, flag settings, or NPC spawn timings. These errors must be corrected via quest editing.
Conclusion
The Boss Return Notification Quest is a valuable feature in Metin2 servers that enriches the in-game experience and keeps players engaged. It is an essential tool for developers familiar with the Metin2 Quest System and Lua Quest scripting.
