Boss kesince Duyuru yapsın

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

Admin

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

[TABLE=full][TR][TD]quest ejder begin state start begin
when 2493.kill begin
local isim = pc.get_name()
local mobisim = mob_name(2493)
notice_all(" Çöl'de "..isim.." "..mobisim.." Öldürdü. ")
end
end
end[/TD][/TR][/TABLE] [TBODY] [/TBODY]1 - when 2492.kill begin yazan yere istediğiniz mob kodunu yazıyorsunuz
2 - local mobisim = mob_name(2492) yazan yere aynı mob kodunu yazıyorsunuz

3 - Not defterinde düzenledikten sonra kayıt edip ismini ejder.quest olarak kayıt ediyorsunuz
4 - ejder.quest dosyanızı /usr/game/share/locale/turkey/quest atıyorsunuz
5 - Başka bir not defteri açıyorsunuz ve bunu yapıştırıp
[TABLE=full][TR][TD]local isim = pc . get_name ( )
local mobisim = mob_name ( 2493 )
notice_all ( " Çöl'de " .. isim .. " " .. mobisim .. " Öldürdü. " )
[/TD][/TR][/TABLE] [TBODY] [/TBODY]ismini ejder.start yapıyorsunuz.
6 - Bunu da /usr/game/share/locale/turkey/quest/object/2493/kill dosyasına atıyorsunuz.

7 - Putty' e giriş yapıp cd /usr/game/share/locale/turkey/quest yazdıktan sonra!
8 - ./qc ejder.quest yazıp enter' a basın ve reboot atın.
Ve kesilen mob duyurusu hazırlandı...!
Not: Ejder.quest ve Ejder.start sadece ismidir değiştirmenize gerek yok!
Her slot ve boss için başka isim koyup aynı işlemi yapınız!

Verdiğim sıralamaya bakarak yaparsanız hiçbir sorun olmaz. Eksik bi durum yoktur!
+Beğeni+

Boss Kesince Duyuru Yapsın Sistemi - Metin2

Metin2 sunucularında oyun deneyimini artırmak ve oyuncuların dikkatini çekmek için çeşitli sistemler geliştirilir. Bunlardan birisi de boss kesildiğinde otomatik duyuru yapılmasıdır. Bu sistem sayesinde sunucuda büyük bir boss öldürüldüğünde tüm oyuncular haberdar edilir ve bu da heyecanı artırır. Özellikle quest sistemleriyle entegre çalışabilen bu tür sistemler, sunucu yöneticileri tarafından sıklıkla tercih edilir.

Boss Kesince Duyuru Yapmanın Amacı

Sunucuda güçlü bir boss karakteri öldürüldüğünde, bu olayı diğer oyuncularla paylaşmak önemlidir. Bu sayede hem oyuncu etkileşimi artar hem de güçlü düşmanlar hakkında bilgi yayılır. Özellikle lua tabanlı quest sistemleriyle entegre çalışan bu yapılar, Metin2 sunucularında oldukça yaygın bir şekilde kullanılır.

Boss Kill Event sistemleri, genellikle server side scripting ile yapılır. Oyuncu bir boss öldürdüğünde, sunucu tarafında çalışan bir lua betiği çalıştırılır. Bu betik, kill event ile tetiklenir ve sunucu genelinde bir duyuru mesajı yayınlar.

Lua Script Kullanımı

Quest sistemleri genellikle lua dilinde yazılmaktadır. Bu betikler, sunucu tarafında çalışarak oyun içindeki olaylara müdahale eder. Örneğin bir boss öldürüldüğünde, quest sistemi bu olayı algılar ve bir duyuru mesajı gönderir.

Örnek bir lua kod parçası şu şekilde olabilir:

Kod:
if monster.vnum == BOSS_VNUM then[BR][/BR]    server_notice('Oha! ' .. pc.get_name() .. ' adlı oyuncu ' .. item_name .. ' bossu kesti!')[BR][/BR]end


Duyuru Mesajları Nasıl Hazırlanır?

Duyuru mesajları, server_notice fonksiyonu ile gönderilir. Bu mesajlar, tüm oyunculara ekranda belirir. Oyuncu adı, boss ismi gibi dinamik veriler, lua script içinde alınarak duyuruya eklenir. Böylece her boss öldürme anında özelleştirilmiş duyurular yapılır.

Entegrasyon ve Güvenilirlik

Bu tür sistemlerin doğru çalışması için quest dosyalarının iyi test edilmesi gerekir. Hatalı kodlar, sunucuda çökmelere veya istenmeyen durumlara yol açabilir. Debug işlemleri bu yüzden önemlidir. Ayrıca flag ve state gibi kavramlar kullanılarak, quest’in akışı kontrol altına alınmalıdır.

Metin2 Sunucularında Popülerlik

Boss kill duyuruları, özellikle custom server yapısına sahip Metin2 sunucularında popülerdir. Oyuncuların rekabet duygusunu artıran bu sistemler, daily quest gibi etkinliklerle birleştirildiğinde daha da etkili olur. Martysama veya Metin2Dev gibi topluluklarda bu tür scriptler sıklıkla paylaşılmaktadır.

Sonuç

Boss kesince duyuru yapma sistemi, Metin2 sunucularında kullanıcı deneyimini artıran küçük ama etkili sistemlerden biridir. Doğru uygulandığında, oyuncuların dikkatini çekebilir ve sunucu etkileşimini artırabilir. Lua tabanlı quest sistemleriyle entegre bir şekilde çalışması, bu sistemin daha da değerli hale gelmesini sağlar.


Boss Kill Announcements System - Metin2

In order to enhance the gaming experience on Metin2 servers and attract players' attention, various systems are developed. One of these is the automatic announcement system triggered when a boss is killed. This system allows all players to be notified whenever a powerful boss is defeated, increasing excitement. Such systems, which can integrate with quest systems, are frequently preferred by server administrators.

Purpose of Boss Kill Announcements

When a powerful boss character is defeated on the server, it is important to share this event with other players. This increases player interaction and spreads awareness about powerful enemies. Systems like this, often working integrated with lua-based quest systems, are widely used on Metin2 servers.

Boss Kill Event systems are generally implemented through server side scripting. When a player kills a boss, a lua script runs on the server side. This script is triggered by the kill event and broadcasts an announcement across the entire server.

Using Lua Scripts

Quest systems are usually written in lua. These scripts run on the server side and intervene in in-game events. For example, when a boss is killed, the quest system detects the event and sends out an announcement.

An example lua code snippet could look like this:

Kod:
if monster.vnum == BOSS_VNUM then[BR][/BR]    server_notice('Wow! Player ' .. pc.get_name() .. ' has defeated the ' .. item_name .. ' boss!')[BR][/BR]end


How Are Announcement Messages Prepared?

Announcement messages are sent via the server_notice function. These messages appear on all players' screens. Dynamic data such as player names and boss names are retrieved within the lua script and added to the announcement. This allows for customized announcements each time a boss is defeated.

Integration and Reliability

For such systems to work correctly, quest files must be thoroughly tested. Faulty codes may cause crashes or unexpected situations on the server. Therefore, debug operations are crucial. Additionally, concepts like flag and state should be used to keep the flow of the quest under control.

Popularity on Metin2 Servers

Boss kill announcements are popular especially on Metin2 servers with custom server structures. These systems, which boost competition among players, become even more effective when combined with events like daily quest. Such scripts are frequently shared in communities like Martysama or Metin2Dev.

Conclusion

The boss kill announcement system is one of the small but impactful features that enhances user experience on Metin2 servers. When applied correctly, it can capture players' attention and increase server engagement. Its integration with lua-based quest systems makes it even more valuable.
 

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

Benzer konular

Geri
Üst Alt