100 Kişi Öldür Görevi Quest Halinde Sizlerle...

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 235

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Arkadaşlar...

Bu Questte görevimiz 100 kişiyi öldürmek.

Detaylı anlatmaya gerek yok zaten rakamların yanındakı kodları okuyunca anayabılırsınız ne oldugunu önceki konularımda anlatmıstım genellıkle quest uzerınde paylasım yapıyorum.


100 kişi öldürme Görevi.



Kod:
quest oldur begin    state start begin         when login with pc.level >= 90 begin             set_state(player_kill1)         end     end     state player_kill1 begin         when letter begin             send_letter("100 Kisi Öldürme")         end         when button or info begin             say("Merhaba")             say("Sana bir Görev Verecegim.")             say("Görevin 100 Kisiyi Öldürmek Olucak")             say("Bu Zorlu Mucadeleyi Cabuk Bitirmen Gerek")             say("")             say_reward("Kabul: Hayir.")             say("")             pc.setqf("state", 100)             q.set_counter("kills", 100)             set_state (kill)         end     end              state kill begin         when letter begin             send_letter("100 Kisi Öldürme")         end                when button or info begin             say("Öldürmek Için ".." "..pc.getqf("state").." Adam var.")             say("")         end         when kill begin             if npc.is_pc() and pc.level >= 80 and pc.level <= 150 then             local count = pc.getqf("state") - 1             if count <= 100 then                 pc.setqf("state", count)                 q.set_counter("kills", -count)             end             if count == 0 then                 say("Tebrik Ederim Dostum")                 say("Bu Zorlu Mücadeleyi Kazandin.")                 say("Iste Ödülün:")                 say_reward("20.000.000 Yang")                 say_reward("80.000.000 EXP")                 pc . give_item2 ( "279" , 1 )                 pc . give_item2 ( "11299" , 1 )                 notice_all("".. pc.get_name() .." 100 Kisiyi Öldürerek Rakip'lerine Meydan Okudu.!")                 clear_letter()                 set_state(__COMPLETE__)             end         end     end     end     state __COMPLETE__ begin     end end

100 Kişi Öldür Görevi Quest Halinde Sizlerle...

Metin2 oyununda görev sistemleri, oyuncuların oyun içi deneyimlerini zenginleştirmek ve aktif kalmalarını sağlamak için oldukça önemlidir. Bu doğrultuda hazırladığımız 100 Kişi Öldür Görevi, Metin2 sunucularında kullanılmak üzere tasarlanmış özgün ve etkileyici bir quest örneğidir. Bu yazıda, bu questin nasıl çalıştığını, hangi yapılarla entegre olduğunu ve nasıl özelleştirilebileceğini detaylıca ele alacağız.

Metin2 Quest Sistemi Nedir?

Metin2'de quest sistemi, oyuncuların belirli görevleri tamamlayarak ödüller kazanmalarını sağlayan bir yapıdır. Questler, genellikle Lua diliyle yazılmaktadır. Metin2 quest script dosyaları, sunucu tarafında çalışarak oyuncuların etkileşim kurduğu dinamik içerikler sunar. Quest sistemleri, günlük görevlerden özel etkinliklere kadar birçok farklı amaca hizmet edebilir.

100 Kişi Öldür Görevi Özellikleri

Bu quest, oyuncudan belirli bir sayıda düşman karakteri öldürmesini ister. Görevin adından da anlaşılacağı gibi, oyuncu toplam 100 adet monster öldürerek görevi tamamlayabilir. Görev, NPC üzerinden başlatılır ve quest tamamlandığında oyuncuya belirlenen ödüller verilir.

Questin temel özellikleri:
- Görevin başlatılması için özel bir NPC gerekir.
- Oyuncu öldürülen her mob için sayaçta bir artış görür.
- Görev tamamlandığında otomatik olarak ödül verilir.
- Görevin durumu quest state yapısı ile takip edilir.

Lua Script Yapısı

Metin2 quest lua[/BR][/BR]dosyalarında, bu görev aşağıdaki gibi bir yapıyla tanımlanabilir:

quest kill_100_monsters begin
state start begin
when login with pc.level >= 30 begin
say_title('Görev Verici')
say('Sana özel bir görevim var.')
if select('Göreve Başla', 'Reddet') == 1 then
set_state(accept)
end
end
end

state accept begin
when kill with npc.is_pc() == 0 begin
local current = getfellow('kill_count') or 0
current = current + 1
setfellow('kill_count', current)
if current >= 100 then
clear_letter()
say_reward('Tebrikler! Görevi tamamladın.')
give_item('gold', 1000000)
give_item('special_item', 1)
set_state(__end__)
else
syschat('Geriye '..(100 - current)..' düşman kaldı.')
end
end
end
end

Quest Geliştirme ve Debugging

Quest yazarken karşılaşılan hatalar, Metin2 quest hata çözümlemesi gerektirebilir. Hata ayıklama (debug[/BR][/BR]) işlemleri, log kayıtlarının incelenmesiyle yapılır. Quest dosyalarında eksik komut veya yanlış sözdizimi gibi sorunlar, görevin düzgün çalışmamasına neden olabilir.

Özel Görevler ve Sunucu Entegrasyonu

Sunucuya özel görevler (custom quest[/BR][/BR]) geliştirmek, oyuncuların daha fazla ilgisini çekebilir. Metin2Lobby, bu tarz özgün içeriklerin paylaşılmasında öncü bir platformdur. Quest sistemleri, özel NPC'lerle, item sistemleriyle ve hatta event sistemleriyle entegre çalışabilir.

Sonuç

100 Kişi Öldür Görevi, Metin2'de aktif olan oyuncular için eğlenceli ve ödüllendirici bir etkinliktir. Metin2 quest geliştirme konusunda deneyim kazanmak isteyen geliştiriciler, bu örneği temel alarak daha karmaşık görevler yaratabilir. Bu tarz görevler, hem oyuncu sadakatini artırır hem de sunucunuzun rekabet avantajını güçlendirir.


The Kill 100 Players Quest Is Now Available!

In the game Metin2, quest systems are essential for enriching player experience and keeping them engaged. In this direction, our Kill 100 Players Quest is an original and impressive quest example designed for use on Metin2 servers. In this article, we will examine how this quest works, which structures it integrates with, and how it can be customized.

What is the Metin2 Quest System?

In Metin2, the quest system allows players to earn rewards by completing specific tasks. These quests are usually written in the Lua language. Metin2 quest scripts provide dynamic content that players interact with on the server side. Quests serve various purposes, from daily tasks to special events.

Features of the Kill 100 Players Quest

This quest requires the player to kill a certain number of enemy characters. As its name suggests, the player can complete the quest by killing a total of 100 monsters. The quest starts via an NPC and awards the player with predetermined rewards upon completion.

Key features of the quest:
- Requires a special NPC to initiate the quest.
- The player sees a counter increase with each mob killed.
- Rewards are automatically given upon completion.
- The quest status is tracked through the quest state structure.

Lua Script Structure

In Metin2 quest lua files, this quest can be defined with the following structure:

quest kill_100_monsters begin
state start begin
when login with pc.level >= 30 begin
say_title('Quest Giver')
say('I have a special task for you.')
if select('Start Quest', 'Decline') == 1 then
set_state(accept)
end
end
end

state accept begin
when kill with npc.is_pc() == 0 begin
local current = getfellow('kill_count') or 0
current = current + 1
setfellow('kill_count', current)
if current >= 100 then
clear_letter()
say_reward('Congratulations! You completed the quest.')
give_item('gold', 1000000)
give_item('special_item', 1)
set_state(__end__)
else
syschat('There are '..(100 - current)..' enemies left.')
end
end
end
end

Quest Development and Debugging

Errors encountered while writing quests may require Metin2 quest error troubleshooting. Debugging processes involve reviewing log records. Issues like missing commands or incorrect syntax in quest files can prevent the quest from functioning properly.

Custom Quests and Server Integration

Developing custom quests (custom quest) can attract more player interest. Metin2Lobby is a leading platform for sharing such original content. Quest systems can work integrated with custom NPCs, item systems, and even event systems.

Conclusion

The Kill 100 Players Quest is an entertaining and rewarding activity for active players in Metin2. Developers looking to gain experience in Metin2 quest development can create more complex quests based on this example. Such quests not only increase player loyalty but also strengthen your server's competitive advantage.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Geri
Üst Alt