- Katılım
- 6 Mayıs 2022
- Konular
- 48,291
- Mesajlar
- 48,601
- Tepkime puanı
- 75
- M2 Yaşı
- 3 yıl 11 ay 10 gün
- Trophy Puan
- 48
- M2 Yang
- 488,879
Konu kapatılabilir.
Bu forum da lüzumsuz insanlar oldukça hiç bir paylaşım yapmayacağım.
Paylaşımları forumda ki "İNSANLAR" yararlansın diye yapıyorum.
Fakat yararlanan ve hakaret eden her zaman "" oluyor nedense...
EmirhaN.
Bu forum da lüzumsuz insanlar oldukça hiç bir paylaşım yapmayacağım.
Paylaşımları forumda ki "İNSANLAR" yararlansın diye yapıyorum.
Fakat yararlanan ve hakaret eden her zaman "" oluyor nedense...
EmirhaN.
PM'de Görüldü Sistemi Nedir?
Metin2 özel sunucularında kullanıcı deneyimini artırmak ve özel mesajlaşma süreçlerini daha kontrollü hale getirmek için geliştirilen PM'de Görüldü sistemi, oyuncuların gönderdikleri özel mesajların karşı tarafça okunup okunmadığını takip edebilmelerini sağlar. Bu sistem, genellikle C++ tabanlı sunucu tarafında geliştirilir ve veritabanı (DB) üzerinde mesaj durumları ile ilgili kayıt tutulur. Bu sayede, bir oyuncu mesaj gönderdiğinde, alıcı tarafından mesaj açıldığında sistem otomatik olarak 'görüldü' durumu oluşturur.
Sistem Nasıl Çalışır?
PM'de görüldü sistemi, Metin2 özel sunucularında genellikle game server üzerinde çalışır. Sunucu tarafında mesajlaşma işlemleri sırasında, mesaj gönderildiğinde veritabanına gönderilir. Oyuncu mesajı açtığında, ilgili mesajın ID'si üzerinden veritabanında güncelleme yapılır ve 'okundu' olarak işaretlenir. Bu işlem genellikle C++ ile yazılmış olan sunucu kaynak koduna entegre edilir. Bu tür sistemlerde, genellikle martysama gibi geliştirici dostu yapılar da kullanılabilir. Ayrıca, Python GUI tabanlı yönetim panelleri ile mesaj durumları izlenebilir veya test edilebilir.
TEST Aşaması ve Uygulamalar
PM'de görüldü sistemi geliştirildikten sonra, test aşaması kritik öneme sahiptir. Test sırasında mesaj gönderimi, mesaj alımı ve 'görüldü' durumu kontrol edilerek sistemin doğru çalışıp çalışmadığı test edilir. Bu testler genellikle farklı istemciler (client) üzerinde yapılır. Eğer sistemde bir hata varsa, bu hata genellikle DB veya game sunucusunda meydana gelir. Bu nedenle hem auth hem de game sunucularında test yapılmalıdır. Ayrıca, Python tabanlı araçlarla da test süreci desteklenebilir.
C++ ve Python Kullanımı
PM'de görüldü sistemi, genellikle C++ ile geliştirilir çünkü Metin2 sunucu yapısı C++ tabanlıdır. Ancak bazı yönetim veya test süreçlerinde Python[/COORD] kullanılır. Örneğin, bir GUI arayüzü ile mesaj durumlarını izlemek isterseniz Python GUI kullanabilirsiniz. Bu tür sistemlerde uiscript ve py root dosyaları da önemli rol oynar. Bu yapılar, hem geliştirme hem de test süreçlerinde büyük kolaylık sağlar.
Veritabanı Entegrasyonu
PM'de görüldü sisteminin temelini veritabanı oluşturur. Her mesaj gönderildiğinde, DB üzerinde yeni bir kayıt oluşturulur. Bu kayıtta mesaj ID, gönderen, alıcı, tarih ve 'okundu' durumu gibi bilgiler yer alır. Mesaj açıldığında ise bu kayıt güncellenir. Bu tür işlemlerde genellikle db core yapıları kullanılır. Doğru bir veritabanı tasarımı, sistemin stabil ve hızlı çalışmasını sağlar.
Neden Gereklidir?
Oyuncuların mesajlarının karşı tarafça okunup okunmadığını bilmesi, özel sunucularda iletişim kalitesini artırır. Özellikle turnuvalar, ekip kurulması veya stratejik planlama gibi alanlarda bu sistem büyük önem taşır. Ayrıca, admin ve moderatörlerin mesajlarına yanıt verilip verilmediğini kontrol etmesi de bu sayede kolaylaşır. Bu sistem sayesinde, Metin2 özel sunucularında daha etkili iletişim süreçleri kurulabilir.
What is the PM Seen System?
The PM Seen system, developed for Metin2 private servers to enhance user experience and make private messaging more controllable, allows players to track whether their sent messages have been read by the recipient. This system typically runs on the C++ based server side and stores message status records in the database (DB). Thus, when a player sends a message and the receiver opens it, the system automatically creates a 'seen' status.
How Does the System Work?
The PM seen system operates on the Metin2 private server’s game server. When messaging occurs on the server side, the sent message is stored in the database. When the player opens the message, the database record related to that message ID is updated and marked as 'read'. This process is usually integrated into the server source code written in C++. Such systems often utilize developer-friendly structures like martysama. Additionally, Python-based GUI management panels can be used to monitor or test message statuses.
Testing Phase and Applications
After developing the PM seen system, the testing phase becomes critical. During testing, message sending, receiving, and 'seen' status are checked to ensure the system functions correctly. These tests are typically performed across different clients. If there is an error, it generally occurs in either the DB or the game server. Therefore, tests should be conducted on both auth and game servers. Furthermore, the test process can be supported with Python-based tools.
Using C++ and Python
The PM seen system is usually developed using C++ because Metin2 server architecture is based on C++. However, Python is used in some management or testing processes. For example, if you want to monitor message statuses through a GUI interface, you can use Python GUI. In such systems, uiscript and py root files also play an important role, providing great convenience during both development and testing stages.
Database Integration
The database forms the foundation of the PM seen system. Every time a message is sent, a new record is created in the DB. This record contains information like message ID, sender, receiver, date, and 'read' status. When the message is opened, this record is updated. Such operations typically involve db core structures. Proper database design ensures stable and fast operation of the system.
Why Is It Necessary?
Knowing whether messages have been read by recipients enhances communication quality in private servers. Particularly in tournaments, team formations, or strategic planning, this system holds significant importance. Moreover, it makes it easier for admins and moderators to check whether responses have been given to their messages. Thanks to this system, more effective communication processes can be established in Metin2 private servers.
