SLM ARKADAŞLAR SİZE BU SEFER SADECE AT VEREN NPC VERCEM
BUNU BELKİ İLK BEN PAYLAŞIYORUM
İNŞ. BİRİLERİN İŞİNE YARAR
BU GUESTİ BEN HAZIRLADIM %100 ÇALIŞIYOR
AMA HATALI YAPARSANIZ ÇALIŞMAYA BİLİR ..
HEMEN ANLATIMA GİRİYORUM
ANLATIM:
1) İLK ÖNCE FİLEZİLAYI AÇIYORUZ
2) VERDİGİM GUEST İÇERİĞİNİ BİR GUEST HALİNE GETİRİYORUZ
3)BU GUESTİ FİLEZİLADAKİ BU DİZİNE ATIYORUZ
BUYRUN DİZİNEMİZ
:ka19:
/usr/game/share/locale/turkey/quest
BU DİZİNEYE ATIYORUZ
GUESTIMIZI VERELIM :l03:

----------------------------------------------
-- [IMP]SONSUZ-Quest
-- copyright by [IMP]SONSUZ
----------------------------------------------
quest atnpc begin
state start begin
when 20092.chat."Asker At Al" begin
say ( "Hoşgeldin" )
say ( "Sana 30 Lvl full P'Li At Vericem." )
say ( "" )
say ( "istermisin" )
local main_set = select ( "Evet" , "Hayir" )
if main_set == 2 then
return
end
horse . unride ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
command("setsk 131 10")
command("setsk 137 20")
command("setsk 138 20")
command("setsk 139 20")
command("setsk 140 20")
horse . ride ( )
setskin ( NOWINDOW )
end
end
end
-KIRMIZI İŞARETLİ 20092 KODU BENIM NPC KODUM SİZ İSTEDİGİNİZ NPC KODUNU ORAYA YAZABILIRSINIZ..
-HEPSİ BU YUKARDA VERDİGİM DİZİNEYE BU GUESTI ATIN VE OYUNA REBOOT ATIN ARTIK SEÇTİGİNİZ NPC AT NPC SI OLDU..

NOT = BU SADECE AT NPC SİDİR => ORTA DERECE PVPLER VE ZOR DERECE PVPLER İÇİN EVENT ETKİNLİGİ OLARAK KULANILABILIR ...
EMEGE SAYGI LÜTFEN BİR TEŞEKÜR YETER


ALINTI YAPANADA HAKIM HARAM OLSUN
AT NPCsi Ekleme: En Basit Şekilde Anlatım Herkes Yapabilir!
Metin2 sunucularında quest geliştirme sürecinde, oyuncuların belirli görevleri gerçekleştirmesi için AT (Automatic Task) sistemlerinden yararlanılır. Bu sistemler sayesinde, oyunculara otomatik olarak görevler verilir, görev tamamlandığında ödüller verilir ve oyun içi akış daha kontrollü bir şekilde yönetilir. Bu rehberde, AT NPCsi ekleme işlemini detaylı ve anlaşılır bir şekilde ele alacağız. Her seviyeden geliştiriciye hitap edecek olan bu anlatım, Metin2 quest sistemi üzerinde çalışanlar için oldukça faydalı olacaktır.
AT Nedir?
AT, yani Automatic Task sistemi, Metin2 oyun motorunda görev tabanlı etkileşimlerin otomatikleştirildiği bir yapıdır. Bu sistem sayesinde, oyunculara belli aralıklarla rastgele veya planlı görevler verilebilir. Örneğin, bir oyuncu belirli bir seviyeye ulaştığında AT sistemi devreye girerek ona haftalık, günlük ya da özel görevler atayabilir. AT sistemini kullanmak için genellikle Lua scriptlerine ihtiyaç duyulur.
AT NPCsi Oluşturma Adımları
AT sistemi ile görev veren NPC (Non-Player Character) ekleme işlemi, bazı temel adımlarla kolayca yapılabilir. Aşağıda bu işlemi adım adım anlatıyoruz:
1. Lua Dosyasının Hazırlanması
AT sisteminin çalışması için gerekli Lua scriptlerini hazırlamanız gerekir. Bu dosyalar genellikle 'quest' klasörü altındadır. Scriptte AT'nin ne zaman aktif olacağını, hangi görevleri sunacağını ve ödüllerin neler olacağını tanımlarsınız. Bu scriptlerde, quest trigger, timer, flag gibi kavramları kullanarak görevin işleyişini şekillendirirsiniz.
2. NPC Tanımı ve Görev Ataması[/BR]NPC'nin görev vermesi için, ilgili karakterin map üzerinde doğru koordinatlarda konumlandırılması ve quest sistemine entegre edilmesi gerekir. Bu işlem genellikle 'mob_proto', 'quest_proto' gibi dosyalarda yapılır. NPC'nin adı, ID'si, görevi ve verdiği questler burada belirlenir.
3. Quest Script Yazımı[/BR]Quest yazımı sırasında Lua dilini kullanarak, AT sisteminin nasıl çalışacağını belirleyen komutlar yazarsınız. Örneğin, bir oyuncu AT NPC ile konuşursa, 'begin' komutu ile quest başlatılır. Oyuncu görevi tamamladığında 'end' komutu ile görev sona erer ve ödül verilir. Bu süreçte quest reward, quest item, quest mob gibi farklı yapılar kullanılabilir.
Yaygın Hatalar ve Debug[/BR]AT quest sistemlerinde karşılaşılan en yaygın hatalardan biri, quest trigger'ların yanlış çalışmasıdır. Bu durumda debug komutlarını kullanarak,.quest dosyasında nerede hata olduğunu tespit edebilirsiniz. Ayrıca, flag ve state sistemlerinin doğru kullanılmaması da sorunlara yol açabilir.
Örnek AT Quest Kodu[/BR]
local at_npc = {['name'] = 'AT_Gorevci', ['id'] = 9001, ['quest_id'] = 101}
function start_at_quest()
-- Burada quest başlatma işlemleri yer alır
end
Metin2 Lobby'de Quest Geliştirme[/BR]
Metin2Lobby.com, quest geliştirme konusunda kapsamlı kaynaklara sahiptir..quest yazımı, debug işlemleri, özel sistemler ve örnek quest dosyaları gibi konulara dair bilgi edinmek için sitemizi ziyaret edebilirsiniz..quest sistemleri, Metin2 sunucularında en çok ilgi gören gelişmiş sistemlerden biridir ve doğru kullanıldığında oyuncu deneyimini ciddi anlamda artırır.
Sonuç[/BR]
AT NPCsi ekleme işlemi, Metin2 quest sistemine giriş yapmak isteyen geliştiriciler için harika bir başlangıçtır. Doğru yapılandırıldığında, oyunculara dinamik görevler sunarak oyun içi etkileşimi artırabilirsiniz. Bu rehber sayesinde, her seviyeden kullanıcı AT sistemiyle tanışabilir ve kendi quest sistemlerini geliştirebilir.
Adding AT NPC: Explained Simply So Everyone Can Do It!
In the process of developing quests for Metin2 servers, AT (Automatic Task) systems are used so that players can complete specific tasks. Thanks to these systems, quests are automatically assigned to players, rewards are given upon completion, and in-game flow is managed more systematically. In this guide, we will explain how to add an AT NPC in a detailed and comprehensible way. This explanation targets all levels of developers and will be highly useful for those working with the Metin2 quest system.
What Is AT?
AT, short for Automatic Task, is a structure in the Metin2 game engine where task-based interactions are automated. Through this system, random or planned quests can be assigned to players at certain intervals. For example, once a player reaches a specific level, the AT system can activate and assign them weekly, daily, or special quests. Usually, Lua scripts are required to use the AT system.
Steps to Create an AT NPC
Adding an NPC that gives quests through the AT system can be easily accomplished through some basic steps. Here’s how to do it step-by-step:
1. Preparing the Lua File[/BR]To make the AT system work, you need to prepare the necessary Lua scripts. These files are usually located in the 'quest' folder. In the script, you define when the AT will become active, which quests it will offer, and what rewards will be given. In these scripts, you can shape the operation of the quest by using concepts such as quest trigger, timer, and flag.
2. NPC Definition and Quest Assignment[/BR]For the NPC to give quests, the character must be correctly positioned on the map and integrated into the quest system. This is typically done in files like 'mob_proto' and 'quest_proto'. The NPC's name, ID, quest, and quests it offers are defined here.
3. Writing the Quest Script[/BR]When writing the quest, you write commands in the Lua language to determine how the AT system operates. For example, if a player speaks to the AT NPC, the quest starts with the 'begin' command. When the player completes the task, the 'end' command ends the quest and rewards are distributed. During this process, structures like quest reward, quest item, and quest mob can be used.
Common Errors and Debugging[/BR]One of the most common errors encountered in AT quest systems is incorrect functioning of quest triggers. In such cases, you can use debugging commands to identify where the error lies in the .quest file. Additionally, incorrect usage of flag and state systems can also cause issues.
Example AT Quest Code[/BR]
local at_npc = {['name'] = 'AT_Quester', ['id'] = 9001, ['quest_id'] = 101}
function start_at_quest()
-- Quest initiation processes go here
end
Developing Quests at Metin2 Lobby[/BR]
Metin2Lobby.com has comprehensive resources on quest development. You can visit our site to learn about topics such as quest writing, debugging procedures, custom systems, and sample quest files. Quest systems are among the most popular advanced features in Metin2 servers and can significantly enhance player experience when used correctly.
Conclusion[/BR]
Adding an AT NPC is an excellent starting point for developers looking to get into the Metin2 quest system. When properly configured, it allows for dynamic quests to be offered to players, increasing in-game interaction. With this guide, users of every level can familiarize themselves with the AT system and develop their own quest systems.
BUNU BELKİ İLK BEN PAYLAŞIYORUM
İNŞ. BİRİLERİN İŞİNE YARAR
BU GUESTİ BEN HAZIRLADIM %100 ÇALIŞIYOR
AMA HATALI YAPARSANIZ ÇALIŞMAYA BİLİR ..
HEMEN ANLATIMA GİRİYORUM
ANLATIM:
1) İLK ÖNCE FİLEZİLAYI AÇIYORUZ
2) VERDİGİM GUEST İÇERİĞİNİ BİR GUEST HALİNE GETİRİYORUZ
3)BU GUESTİ FİLEZİLADAKİ BU DİZİNE ATIYORUZ
BUYRUN DİZİNEMİZ
/usr/game/share/locale/turkey/quest
BU DİZİNEYE ATIYORUZ
GUESTIMIZI VERELIM :l03:
----------------------------------------------
-- [IMP]SONSUZ-Quest
-- copyright by [IMP]SONSUZ
----------------------------------------------
quest atnpc begin
state start begin
when 20092.chat."Asker At Al" begin
say ( "Hoşgeldin" )
say ( "Sana 30 Lvl full P'Li At Vericem." )
say ( "" )
say ( "istermisin" )
local main_set = select ( "Evet" , "Hayir" )
if main_set == 2 then
return
end
horse . unride ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
command("setsk 131 10")
command("setsk 137 20")
command("setsk 138 20")
command("setsk 139 20")
command("setsk 140 20")
horse . ride ( )
setskin ( NOWINDOW )
end
end
end
-KIRMIZI İŞARETLİ 20092 KODU BENIM NPC KODUM SİZ İSTEDİGİNİZ NPC KODUNU ORAYA YAZABILIRSINIZ..
-HEPSİ BU YUKARDA VERDİGİM DİZİNEYE BU GUESTI ATIN VE OYUNA REBOOT ATIN ARTIK SEÇTİGİNİZ NPC AT NPC SI OLDU..
NOT = BU SADECE AT NPC SİDİR => ORTA DERECE PVPLER VE ZOR DERECE PVPLER İÇİN EVENT ETKİNLİGİ OLARAK KULANILABILIR ...
EMEGE SAYGI LÜTFEN BİR TEŞEKÜR YETER
ALINTI YAPANADA HAKIM HARAM OLSUN
AT NPCsi Ekleme: En Basit Şekilde Anlatım Herkes Yapabilir!
Metin2 sunucularında quest geliştirme sürecinde, oyuncuların belirli görevleri gerçekleştirmesi için AT (Automatic Task) sistemlerinden yararlanılır. Bu sistemler sayesinde, oyunculara otomatik olarak görevler verilir, görev tamamlandığında ödüller verilir ve oyun içi akış daha kontrollü bir şekilde yönetilir. Bu rehberde, AT NPCsi ekleme işlemini detaylı ve anlaşılır bir şekilde ele alacağız. Her seviyeden geliştiriciye hitap edecek olan bu anlatım, Metin2 quest sistemi üzerinde çalışanlar için oldukça faydalı olacaktır.
AT Nedir?
AT, yani Automatic Task sistemi, Metin2 oyun motorunda görev tabanlı etkileşimlerin otomatikleştirildiği bir yapıdır. Bu sistem sayesinde, oyunculara belli aralıklarla rastgele veya planlı görevler verilebilir. Örneğin, bir oyuncu belirli bir seviyeye ulaştığında AT sistemi devreye girerek ona haftalık, günlük ya da özel görevler atayabilir. AT sistemini kullanmak için genellikle Lua scriptlerine ihtiyaç duyulur.
AT NPCsi Oluşturma Adımları
AT sistemi ile görev veren NPC (Non-Player Character) ekleme işlemi, bazı temel adımlarla kolayca yapılabilir. Aşağıda bu işlemi adım adım anlatıyoruz:
1. Lua Dosyasının Hazırlanması
AT sisteminin çalışması için gerekli Lua scriptlerini hazırlamanız gerekir. Bu dosyalar genellikle 'quest' klasörü altındadır. Scriptte AT'nin ne zaman aktif olacağını, hangi görevleri sunacağını ve ödüllerin neler olacağını tanımlarsınız. Bu scriptlerde, quest trigger, timer, flag gibi kavramları kullanarak görevin işleyişini şekillendirirsiniz.
2. NPC Tanımı ve Görev Ataması[/BR]NPC'nin görev vermesi için, ilgili karakterin map üzerinde doğru koordinatlarda konumlandırılması ve quest sistemine entegre edilmesi gerekir. Bu işlem genellikle 'mob_proto', 'quest_proto' gibi dosyalarda yapılır. NPC'nin adı, ID'si, görevi ve verdiği questler burada belirlenir.
3. Quest Script Yazımı[/BR]Quest yazımı sırasında Lua dilini kullanarak, AT sisteminin nasıl çalışacağını belirleyen komutlar yazarsınız. Örneğin, bir oyuncu AT NPC ile konuşursa, 'begin' komutu ile quest başlatılır. Oyuncu görevi tamamladığında 'end' komutu ile görev sona erer ve ödül verilir. Bu süreçte quest reward, quest item, quest mob gibi farklı yapılar kullanılabilir.
Yaygın Hatalar ve Debug[/BR]AT quest sistemlerinde karşılaşılan en yaygın hatalardan biri, quest trigger'ların yanlış çalışmasıdır. Bu durumda debug komutlarını kullanarak,.quest dosyasında nerede hata olduğunu tespit edebilirsiniz. Ayrıca, flag ve state sistemlerinin doğru kullanılmaması da sorunlara yol açabilir.
Örnek AT Quest Kodu[/BR]
local at_npc = {['name'] = 'AT_Gorevci', ['id'] = 9001, ['quest_id'] = 101}
function start_at_quest()
-- Burada quest başlatma işlemleri yer alır
end
Metin2 Lobby'de Quest Geliştirme[/BR]
Metin2Lobby.com, quest geliştirme konusunda kapsamlı kaynaklara sahiptir..quest yazımı, debug işlemleri, özel sistemler ve örnek quest dosyaları gibi konulara dair bilgi edinmek için sitemizi ziyaret edebilirsiniz..quest sistemleri, Metin2 sunucularında en çok ilgi gören gelişmiş sistemlerden biridir ve doğru kullanıldığında oyuncu deneyimini ciddi anlamda artırır.
Sonuç[/BR]
AT NPCsi ekleme işlemi, Metin2 quest sistemine giriş yapmak isteyen geliştiriciler için harika bir başlangıçtır. Doğru yapılandırıldığında, oyunculara dinamik görevler sunarak oyun içi etkileşimi artırabilirsiniz. Bu rehber sayesinde, her seviyeden kullanıcı AT sistemiyle tanışabilir ve kendi quest sistemlerini geliştirebilir.
Adding AT NPC: Explained Simply So Everyone Can Do It!
In the process of developing quests for Metin2 servers, AT (Automatic Task) systems are used so that players can complete specific tasks. Thanks to these systems, quests are automatically assigned to players, rewards are given upon completion, and in-game flow is managed more systematically. In this guide, we will explain how to add an AT NPC in a detailed and comprehensible way. This explanation targets all levels of developers and will be highly useful for those working with the Metin2 quest system.
What Is AT?
AT, short for Automatic Task, is a structure in the Metin2 game engine where task-based interactions are automated. Through this system, random or planned quests can be assigned to players at certain intervals. For example, once a player reaches a specific level, the AT system can activate and assign them weekly, daily, or special quests. Usually, Lua scripts are required to use the AT system.
Steps to Create an AT NPC
Adding an NPC that gives quests through the AT system can be easily accomplished through some basic steps. Here’s how to do it step-by-step:
1. Preparing the Lua File[/BR]To make the AT system work, you need to prepare the necessary Lua scripts. These files are usually located in the 'quest' folder. In the script, you define when the AT will become active, which quests it will offer, and what rewards will be given. In these scripts, you can shape the operation of the quest by using concepts such as quest trigger, timer, and flag.
2. NPC Definition and Quest Assignment[/BR]For the NPC to give quests, the character must be correctly positioned on the map and integrated into the quest system. This is typically done in files like 'mob_proto' and 'quest_proto'. The NPC's name, ID, quest, and quests it offers are defined here.
3. Writing the Quest Script[/BR]When writing the quest, you write commands in the Lua language to determine how the AT system operates. For example, if a player speaks to the AT NPC, the quest starts with the 'begin' command. When the player completes the task, the 'end' command ends the quest and rewards are distributed. During this process, structures like quest reward, quest item, and quest mob can be used.
Common Errors and Debugging[/BR]One of the most common errors encountered in AT quest systems is incorrect functioning of quest triggers. In such cases, you can use debugging commands to identify where the error lies in the .quest file. Additionally, incorrect usage of flag and state systems can also cause issues.
Example AT Quest Code[/BR]
local at_npc = {['name'] = 'AT_Quester', ['id'] = 9001, ['quest_id'] = 101}
function start_at_quest()
-- Quest initiation processes go here
end
Developing Quests at Metin2 Lobby[/BR]
Metin2Lobby.com has comprehensive resources on quest development. You can visit our site to learn about topics such as quest writing, debugging procedures, custom systems, and sample quest files. Quest systems are among the most popular advanced features in Metin2 servers and can significantly enhance player experience when used correctly.
Conclusion[/BR]
Adding an AT NPC is an excellent starting point for developers looking to get into the Metin2 quest system. When properly configured, it allows for dynamic quests to be offered to players, increasing in-game interaction. With this guide, users of every level can familiarize themselves with the AT system and develop their own quest systems.
