PM FLOOD SPAM c++

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Pm'den spam yapılarak Bazı fileslerde Crash yaşanıyor.
ve client tamamen kapandıgından sysser.txt dosyası boş geliyor.

Buna böyle bir engel attım. sizde serverinizi korumak isterseni bu yöntem kulanabilirsiniz.

HEADER_GC_WHISPER Packet Daima komut gönderildiğinden. ve Sürekli Spam yapıldıgında. Discconnect
sistemi devreye girer ve spam yapan oyuncu oyundan hattı kesilir.

Kod:
input_main.cpp açılır ve aratılır     if(pkDesc)

Kod:
Üstüne eklenir.     if (ch->IncreaseChatCounter() >= 10)     {         if (ch->GetChatCounter() == 10)         {             sys_log(0, "CHAT_WHISPER: %s", ch->GetName());             ch->GetDesc()->DelayedDisconnect(1);         }         return iExtraLen;     }
166959_f77a6255bdef86a47fc30173c1a25e64.gif

PM FLOOD SPAM C++ Sistemi ile Metin2 Sunucularında Spam Koruması

Metin2 özel sunucularında kullanıcı deneyimini artırmak ve istenmeyen spam mesajları engellemek için geliştirilen PM FLOOD SPAM C++ sistemi, sunucu güvenliği ve oyuncu memnuniyeti açısından büyük önem taşımaktadır. Bu sistem sayesinde, oyuncuların birbirlerine gönderdiği özel mesajlar kontrol altına alınarak, flood (taşkınlık) veya spam saldırılarına karşı koruma sağlanabilir.

PM FLOOD SPAM Nedir?
PM Flood Spam, bir oyuncunun başka bir oyuncuya ya da birden fazla oyuncuya kısa sürede çok sayıda özel mesaj göndererek rahatsız etmesi anlamına gelir. Bu tür davranışlar, hem sunucu performansını düşürebilir hem de diğer oyuncuların oyun içi deneyimini olumsuz etkileyebilir. Bu nedenle, Metin2 özel sunucularında etkili bir flood kontrol sistemi entegre edilmesi büyük bir ihtiyaçtır.

C++ ile PM FLOOD SPAM Sistemi Geliştirme
Metin2 sunucu geliştirme sürecinde, C++ dili en çok tercih edilen programlama dilidir. Game Core ve Auth sunucuları gibi temel yapılar C++ tabanlıdır. Bu nedenle, PM FLOOD SPAM sistemi de C++ ile geliştirilmelidir. Sistem, mesaj gönderme işlemi sırasında belirli süre aralıklarında kontrol yaparak, spam olasılığını engeller.

Neden C++ Kullanılır?
C++, yüksek performans ve düşük seviyeli kontrol imkanı sunduğu için Metin2 sunucu geliştirme süreçlerinde tercih edilir. Source Edit işlemleri sırasında, C++ ile yazılmış modüller kolayca entegre edilebilir ve optimize edilebilir. Ayrıca, Martysama gibi popüler geliştirici sistemleri de C++ tabanlıdır. Bu sayede, PM FLOOD SPAM gibi güvenlik sistemleri daha etkin bir şekilde entegre edilir.

Sistem Nasıl Çalışır?
PM FLOOD SPAM sistemi, bir oyuncu özel mesaj gönderdiğinde devreye girer. Belirlenen sürede (örneğin 3 saniye) birden fazla mesaj gönderilirse, sistem kullanıcıyı geçici olarak özel mesaj gönderiminden uzaklaştırabilir. Bu işlem, DB Core üzerinden loglanarak, adminlerin daha sonra incelemesine olanak sağlar. Ayrıca, Py Root veya Py GUI gibi Python tabanlı sistemlerle de entegrasyon yapılabilir.

Python Entegrasyonu ve GUI Kullanımı
Bazı durumlarda, flood koruma sistemine erişim sağlayan bir Python GUI geliştirilebilir. Bu sayede, adminler oyun içi verileri daha kolay takip edebilir ve gerekirse manuel müdahalelerde bulunabilir. UIScript ile entegre bir arayüz tasarımı, kullanıcı dostu bir yönetim paneli sunabilir.

Koruma Seviyesi ve Ayarlar
PM FLOOD SPAM sistemi, sunucu sahiplerinin ihtiyaçlarına göre özelleştirilebilir. Örneğin, mesaj gönderme limiti, bekleme süresi gibi parametreler ayarlanabilir. Bu ayarlar, Server SRC üzerinde yapılandırılır ve Compile işlemi sonrası aktif hale gelir. Metin2 Development sürecinde bu tür sistemlerin test edilmesi, sunucu güvenliğini artırır.

Sonuç
PM FLOOD SPAM C++ sistemi, Metin2 özel sunucularında kullanıcıların spam mesajlardan korunmasını sağlar. Oyun içi deneyimi artıran bu sistem, aynı zamanda sunucu performansını da korur. C++ tabanlı geliştirme, Core sistemlerle uyumlu çalışarak, güçlü bir koruma mekanizması sunar. Metin2Lobby olarak, bu tür gelişmiş sistemlerin geliştirilmesine destek vermeye devam ediyoruz.


PM FLOOD SPAM C++ System for Spam Protection on Metin2 Servers

The PM FLOOD SPAM C++ system, developed to enhance user experience and prevent unwanted spam messages on Metin2 private servers, plays a crucial role in server security and player satisfaction. This system allows for better control over private messages sent between players, protecting against flood or spam attacks.

What is PM FLOOD SPAM?
PM Flood Spam refers to a player sending multiple private messages to another player or several players within a short period, causing disturbance. Such behaviors can reduce server performance and negatively affect other players' in-game experiences. Therefore, integrating an effective flood control system into Metin2 private servers is essential.

Developing PM FLOOD SPAM System with C++
In Metin2 server development, C++ is the most commonly used programming language. Fundamental structures like Game Core and Auth servers are based on C++. Therefore, the PM FLOOD SPAM system must also be developed using C++. The system works by checking message-sending intervals to prevent potential spamming behavior.

Why Use C++?
C++ is preferred in Metin2 server development due to its high performance and low-level control capabilities. During Source Edit processes, modules written in C++ can be easily integrated and optimized. Additionally, popular developer systems like Martysama are also C++ based, allowing security systems like PM FLOOD SPAM to be integrated more effectively.

How Does the System Work?
The PM FLOOD SPAM system activates whenever a player sends a private message. If more than one message is sent within a defined timeframe (e.g., 3 seconds), the system may temporarily block the player from sending further messages. This action is logged via DB Core for later review by admins. Integration with Python-based systems such as Py Root or Py GUI is also possible.

Python Integration and GUI Usage
In some cases, a Python GUI can be developed to access the flood protection system. Admins can then monitor in-game data more easily and take manual actions if needed. An interface designed with UIScript can provide a user-friendly management panel.

Protection Levels and Settings
The PM FLOOD SPAM system can be customized according to server owners' needs. Parameters such as message limits and cooldown times can be configured in the Server SRC and activated after a Compile operation. Testing such systems during Metin2 Development increases overall server security.

Conclusion
The PM FLOOD SPAM C++ system protects users on Metin2 private servers from spam messages while enhancing the in-game experience. This system also helps maintain server performance. Being C++ based, it integrates seamlessly with Core systems, providing robust protection mechanisms. At Metin2Lobby, we continue to support the development of such advanced systems.
 

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

Geri
Üst Alt