Bir çok sunucuda aktif olarak gördüm. Forumda paylaşılmadıysa paylaşmak istedim. Umarım işinize yarar iyi kullanımlar.
Daha önce paylaşıldıysa RAPOR butonunu kullanarak bildirebilirsiniz.
Düzenlemelerin hepsi class ChatLine(ui.EditLine): içindedir.Daha önce paylaşıldıysa RAPOR butonunu kullanarak bildirebilirsiniz.
Arat: def __init__(self) içinde;
Kod:
self.overTextLine = ui.TextLine() self.overTextLine.SetParent(self) self.overTextLine.SetPosition(-1, 0) self.overTextLine.SetFontColor(1.0, 1.0, 0.0) self.overTextLine.SetOutline() self.overTextLine.Hide()
Altına Ekle;
Kod:
self.placeholderTextLine = ui.TextLine() self.placeholderTextLine.SetParent(self) self.placeholderTextLine.SetPosition(-1, 0) self.placeholderTextLine.SetFontColor(1.8, 1.8, 1.8) self.placeholderTextLine.SetOutline() self.placeholderTextLine.Show() self.placeholderTextLine.SetText(" TURKMMO disinda satis yapmak yasaktir.")
Arat: def OnIMEUpdate(self) içinde;
Kod:
ui.EditLine.OnIMEUpdate(self) self.__CheckChatMark()
Altına ekle;
Kod:
if len(self.GetText()) > 0: self.placeholderTextLine.Hide() else: self.placeholderTextLine.Show()
Değiştir: def __CheckChatMark(self);
Kod:
def __CheckChatMark(self): self.overTextLine.Hide() text = self.GetText() if len(text) > 0: if '#' == text[0]: self.overTextLine.SetText("#") self.overTextLine.Show() self.placeholderTextLine.Hide() # Eklenen yer elif '%' == text[0]: self.overTextLine.SetText("%") self.overTextLine.Show() self.placeholderTextLine.Hide() # Eklenen elif '!' == text[0]: self.overTextLine.SetText("!") self.overTextLine.Show() self.placeholderTextLine.Hide() # Eklenen
Chat Yazı Eklentisi Nedir?
Metin2 özel sunucularında kullanıcı deneyimini artırmak için geliştirilen eklentilerden biri olan Chat Yazı Eklentisi, oyuncuların sohbet alanındaki yazı stillerini özelleştirmelerini sağlar. Bu eklenti sayesinde standart gri yazı yerine renkli, kalın ya da eğik yazılarla mesajlaşma imkanı doğar. Özellikle PvP sistemlerinin yoğun olduğu Metin2 sunucularında bu tür eklentiler hem estetik hem de işlevsel olarak büyük avantaj sağlar.
Eklentinin Özellikleri
Chat Yazı Eklentisi, Python GUI ve Py Root üzerinde çalışarak kullanıcı dostu bir arayüz sunar. Eklenti sayesinde sohbet mesajları hem kalın hem de eğik yazılabilir. Renk seçimi yapılabileceği gibi, özel efektler de eklenebilir. Örneğin, bir admin mesajı kırmızı ve kalın görünebilirken, özel bir kanalda mavi ve italik yazılarla mesaj gönderilebilir.
Kurulum ve Entegrasyon
Bu eklenti, Metin2 Server SRC dosyalarına entegre edilerek kolayca kullanılabilir. C++ System üzerinden çalışan chat sistemi ile uyumlu çalışır. Kurulum için öncelikle UIScript dosyasında gerekli düzenlemeler yapılır. Ardından Game ve Auth sunucularında da gerekli ayarlamalar yapılır. Bu işlemler doğru şekilde tamamlanırsa eklenti sorunsuz çalışır.
PvP Sistemleriyle Uyum
Metin2 PvP sistemleri, oyuncuların birbirleriyle rekabet ettiği dinamikler barındırır. Bu bağlamda, Chat Yazı Eklentisi sayesinde PvP kazanımları, turnuva duyuruları veya özel etkinlikler daha dikkat çekici bir şekilde duyurulabilir. Renkli ve stillendirilmiş yazılar sayesinde önemli mesajlar diğerlerinden ayrılır.
Geliştirme ve Kaynak Kodlar
Eklentinin geliştirilmesi sırasında C++ Kaynak Kod ve Python System bilgisi oldukça faydalıdır. Martysama gibi topluluklar da bu tür geliştirmelerde destek sağlayabilir. Ayrıca, DB Core ve Game Core sistemlerine entegre olacak şekilde özelleştirme yapılabilir. Bu sayede hem güvenlik hem de performans artırılabilir.
Sonuç
Chat Yazı Eklentisi, Metin2 özel sunucularında kullanıcı deneyimini artırmak için harika bir özelliktir. Oyuncuların dikkatini çekecek, özelleştirilebilir sohbet özellikleri sunar. Geliştiriciler için ise kodlama bilgisi gerektiren ancak oldukça verimli bir sistemdir. Metin2Lobby üzerinden bu tür eklentilere ulaşabilir ve kendi sunucunuza entegre edebilirsiniz.
What is Chat Text Extension?
The Chat Text Extension is one of the tools developed to enhance user experience on Metin2 private servers. It allows players to customize the appearance of their chat messages, such as using colored, bold, or italic text instead of standard gray. This extension is particularly useful in PvP-heavy environments where visual distinction and functionality are essential.
Features of the Extension
The extension works with Python GUI and Py Root, offering a user-friendly interface. Messages can be styled as bold or italic, and color options allow further customization. For example, admin messages could appear in bold red, while special channels might display italic blue text.
Installation and Integration
This extension can be integrated into Metin2 Server SRC files easily. It operates in harmony with the C++ System-based chat system. Installation requires adjustments in the UIScript file and proper configuration in both Game and Auth servers for smooth operation.
Compatibility with PvP Systems
In dynamic PvP environments like those in Metin2, the Chat Text Extension helps highlight important events such as PvP victories, tournament announcements, or event updates. Styled and colorful messages stand out from regular chat, making them more noticeable to players.
Development and Source Code
Developing this extension requires knowledge of C++ Source Code and Python System. Communities like Martysama offer support for such developments. Customizations can also be made to integrate with DB Core and Game Core systems, enhancing both security and performance.
Conclusion
The Chat Text Extension is a great addition for Metin2 private servers looking to improve player engagement. It offers customizable and eye-catching chat features that help important messages stand out. While it requires coding knowledge, it's a rewarding system for developers. You can find such extensions at Metin2Lobby and implement them into your own server.
