Herkes'e Merhabalar, Yabancı forumdan alıntıdır.
Bölümün %95inin Yapabileceğine inanıyorum.
Daha öncesinde
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
paylaşmıştı. Onun biraz farklısı...
Kod:
## game.py #### Antes de class GameWindow import time MESSENGER_LOGGINED = "" MESSENGER_STOPPING_TIME = 0 #### Agregar en def Open(self) #### antes de self.Show() self.__msgLoginBoard = ui.Board() self.__msgLoginBoard.SetParent(self) self.__msgLoginBoard.SetSize(200, 40) self.__msgLoginBoard.SetPosition(wndMgr.GetScreenWidth() - 210, wndMgr.GetScreenHeight() - 200) self.__msgLoginBoard.Hide() self.__msgLoginBoard.memberName = ui.TextLine() self.__msgLoginBoard.memberName.SetParent(self.__msgLoginBoard) self.__msgLoginBoard.memberName.SetText("None") self.__msgLoginBoard.memberName.SetWindowHorizontalAlignCenter() self.__msgLoginBoard.memberName.SetWindowVerticalAlignCenter() self.__msgLoginBoard.memberName.SetHorizontalAlignCenter() self.__msgLoginBoard.memberName.SetVerticalAlignCenter() self.__msgLoginBoard.memberName.Show() #### Agregar en def OnUpdate(self) global MESSENGER_LOGGINED, MESSENGER_STOPPING_TIME if MESSENGER_LOGGINED != "" and time.clock() < MESSENGER_STOPPING_TIME: self.__msgLoginBoard.memberName.SetText("%s esta online!" % MESSENGER_LOGGINED) self.__msgLoginBoard.Show() else: self.__msgLoginBoard.Hide() MESSENGER_LOGGINED = "" MESSENGER_STOPPING_TIME = 0 ## uiMessenger.py #### Agregar en def OnLogin import game, time game.MESSENGER_LOGGINED = name game.MESSENGER_STOPPING_TIME = time.clock() + 10.0
İyi kullanımlar.
İyi Forumlar dilerim.
Online Notification•HK [Python] Sistemi ile Metin2 Sunucularında Gelişmiş Bildirim Yönetimi
Metin2 özel sunucu geliştirme süreçlerinde, oyuncuların sunucudan uzakta oldukları zaman bile önemli gelişmelerden haberdar edilmesi büyük önem taşır. Bu bağlamda Online Notification•HK [Python], Metin2 sunucularında çalışan ve oyunculara gerçek zamanlı bildirim göndermeyi sağlayan güçlü bir Python tabanlı sistemdir. Bu sistem, özellikle PvP odaklı sunucularda oyuncuların dikkatini çekmek ve aktif kalmalarını sağlamak adına idealdir.
Online Notification•HK Nedir?
Online Notification•HK, Metin2 özel sunucularında kullanılan bir bildirim modülüdür. Oyun içi olaylar, turnuvalar, özel etkinlikler veya güvenlik uyarıları gibi durumlarda oyunculara Python tabanlı arka uç sistemi üzerinden bildirim gönderilmesini sağlar. Bu sayede oyuncular, oyun dışındayken dahi sunucuda yaşanan gelişmeler hakkında bilgi sahibi olabilirler.
Python ve Uygulama Entegrasyonu
Bu sistem genellikle Python GUI (Py GUI) teknolojisi ile entegre çalışır. Uygulama, Metin2 sunucu yapılandırmasına göre özelleştirilebilir. Python scriptleri sayesinde bildirimler anlık olarak gönderilir ve DB (veritabanı) ile senkronize çalışarak kullanıcıya özel mesajlaşma imkanı sunar. Sistem, Auth ve Game sunucularıyla uyumlu çalışacak şekilde tasarlanmıştır.
PvP Sistemleri İçin Kullanımı
Metin2 PvP sunucularında turnuva duyuruları, kanal savaşları, gank haberleri gibi olaylar oldukça önemlidir. Online Notification•HK bu tür gelişmeleri oyunculara hızlıca iletir. Özellikle kanal bazlı oyun mekaniklerinde, oyuncuların zamanında bilgilendirilmesi kazanma şansını artırabilir. Bu sistem, PvP sistemlerinde stratejik avantaj sağlar.
Teknik Yapı ve Kurulum
Sistem, genellikle PY Root ve Pack dosyaları içinde barındırılır. Uygulamanın kurulumu için Python script bilgisi ve C++ sistem anlayışı gerekir. Projenin temel bileşenleri arasında DB Core, Game Core ve Client SRC ile uyumlu yapılar yer alır. Kurulum sırasında Martysama gibi kaynaklar referans alınabilir.
Güvenlik ve Performans
Online Notification•HK, Metin2 özel sunucularında güvenliği artırmak için özel filtreler ve doğrulama kontrolleri içerir. Sistem, sunucu performansını etkilemeyecek şekilde optimize edilmiştir. Ancak yanlış yapılandırma durumunda Auth veya Game sunucularında aksaklıklara neden olabilir. Bu nedenle kurulum öncesi detaylı test yapılması önerilir.
Sonuç
Online Notification•HK [Python], Metin2 özel sunucularında modern ve kullanıcı dostu bir bildirim sistemi sunar. Geliştiriciler için esnek yapıya sahiptir ve PvP sistemleri başta olmak üzere birçok alanda etkili şekilde kullanılabilir. Bu sistem, oyuncu sadakati ve sunucu etkileşimini artırmak için ideal bir çözümdür.
Advanced Notification Management with Online Notification•HK [Python] on Metin2 Servers
In the process of developing Metin2 private servers, keeping players informed about important events even while they are away from the game is highly crucial. In this context, Online Notification•HK [Python] is a powerful Python-based system that enables sending real-time notifications to players on Metin2 servers. This system is ideal for attracting player attention and maintaining their activity, especially in PvP-oriented servers.
What is Online Notification•HK?
Online Notification•HK is a notification module used in Metin2 private servers. It allows sending notifications to players via a Python-based backend system during in-game events, tournaments, special activities, or security alerts. This way, players can stay updated about developments on the server even when not actively playing.
Python and Application Integration
The system typically works integrated with Python GUI (Py GUI) technology. The application can be customized according to the Metin2 server configuration. Thanks to Python scripts, notifications are sent instantly and operate synchronized with the database (DB), offering personalized messaging capabilities to users. The system is designed to work compatibly with Auth and Game servers.
Usage in PvP Systems
In Metin2 PvP servers, tournament announcements, channel wars, gank alerts, and similar events are very important. Online Notification•HK delivers such developments to players quickly. Especially in channel-based game mechanics, timely notifications to players may increase their chances of winning. This system provides strategic advantages in PvP environments.
Technical Structure and Installation
The system is generally stored within PY Root and Pack files. Installing the application requires knowledge of Python scripting and understanding of C++ systems. Key components of the project include structures compatible with DB Core, Game Core, and Client SRC. Resources like Martysama can be referenced during installation.
Security and Performance
Online Notification•HK includes custom filters and validation checks to enhance security on Metin2 private servers. The system has been optimized to not affect server performance. However, incorrect configurations might cause issues in Auth or Game servers. Therefore, thorough testing before installation is recommended.
Conclusion
Online Notification•HK [Python] offers a modern and user-friendly notification system for Metin2 private servers. It features a flexible structure for developers and can be effectively utilized in many areas, primarily PvP systems. This system is an ideal solution for increasing player loyalty and server engagement.
