Buff Information Show System

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Buff Info Show System

Kod:
service.h add #define ENABLE_BUFF_INFO_SHOW_SYSTEM char_affect.cpp >search void SendAffectRemovePacket(LPDESC d, DWORD pid, DWORD type, BYTE point) >add above #ifdef ENABLE_BUFF_INFO_SHOW_SYSTEM static DWORD s_BuffSkillList[*] = {     SKILL_HOSIN,     SKILL_GICHEON,     SKILL_REFLECT, }; const char* GetBuffSkillName(DWORD dwType, BYTE locale = LOCALE_DEFAULT) {     for (auto buffVnum : s_BuffSkillList)     {         if (buffVnum == dwType)         {             auto it = localeSkill[locale].find(dwType);             if (it != localeSkill[locale].end())                 return it->second.c_str();             return "";         }     }     return nullptr; } #endif >search bool CHARACTER::AddAffect(DWORD dwType, BYTE bApplyOn, long lApplyValue, DWORD dwFlag, long lDuration, long lSPCost, bool bOverride, bool IsCube ) >add #ifdef ENABLE_BUFF_INFO_SHOW_SYSTEM         const char* szBuffName = GetBuffSkillName(dwType);             if (szBuffName && *szBuffName)         {             ChatPacket(CHAT_TYPE_INFO,                 LC_TEXT("[Buff] %s You received the: +%ld%%"),                 szBuffName, lApplyValue);         } #endif locale_service.h >search const std::string& LocaleService_GetQuestPath(); >add under #ifdef ENABLE_BUFF_INFO_SHOW_SYSTEM extern std::map<DWORD, std::string> localeSkill[LOCALE_MAX_NUM]; #endif

Proof;

0830_022139.jpg

Buff Information Show System Nedir?
Metin2 özel sunucularında oyun deneyimini artırmak için geliştirilen sistemlerden biri olan Buff Information Show System, oyuncuların sahip oldukları buff efektlerinin detaylı bilgilerini daha net şekilde görmelerini sağlar. Bu sistem sayesinde, oyuncular savaş sırasında veya belirli durumlarda hangi buffların aktif olduğunu kolayca takip edebilir. Bu da stratejik oyun planlaması yapmalarına yardımcı olur.

Sistemin Amacı ve Özellikleri
Buff Information Show System, Metin2 client tarafında geliştirilen bir özelliktir. Oyuncu bir buff alındığında, ekran üzerinde o buff ile ilgili detaylı bilgi görüntülenir. Örneğin, Canavar Kanı buff'u alındığında ne kadar süre aktif kalacağı, hangi bonusları sağladığı gibi bilgiler kullanıcıya gösterilir. Bu sistem genellikle Python GUI ile entegre edilerek geliştirilir ve uiscript dosyalarında gerekli düzenlemeler yapılır.

Neden Kullanılır?
Metin2 PvP sunucularında oyuncuların buff yönetimleri çok önemlidir. Özellikle büyük savaşlarda doğru zamanda doğru buff'ı kullanabilmek, galibiyetin anahtarı olabilir. Bu sistem sayesinde, oyuncular buff süresi bitmeden yeni bir planlama yapabilir veya rakip buff durumunu analiz edebilir. Sistem aynı zamanda C++ tabanlı game server tarafında da geliştirilebilir. Böylece client ile server arasında senkronizasyon sağlanır ve oyun içi hatalar minimize edilir.

Kurulum ve Entegrasyon
Bu sistemi Metin2 özel sunucularına entegre etmek için bazı adımlar izlenmelidir:
- py root klasöründe gerekli Python dosyalarının düzenlenmesi
- uiscript dosyasında buff bilgi panelinin tasarımı
- client src üzerinde gerekli değişikliklerin yapılması
- Game Core ve DB Core ile senkronizasyonun sağlanması
Bu süreçte Martysama gibi bilindik sistemler de referans alınabilir.

Dikkat Edilmesi Gerekenler
Sistem geliştirilirken hem client hem de server tarafında dikkatli hareket etmek gerekir. Yanlış bir entegrasyon, oyun içinde hatalara neden olabilir. Ayrıca, bu tür sistemlerin performans etkisi göz ardı edilmemelidir. Özellikle yüksek trafikli sunucularda, buff bilgilerinin gerçek zamanlı olarak güncellenmesi sistem yükünü artırabilir. Bu yüzden, source edit sırasında optimize edilmiş kodlama yapılmalıdır.

Sonuç
Buff Information Show System, Metin2 özel sunucularında kullanıcı deneyimini ciddi anlamda artıran gelişmiş bir özelliktir. Oyuncuların buff yönetimini kolaylaştırması, stratejik avantaj sağlaması ve PvP odaklı oyunlarda daha verimli kullanım sunması sebebiyle popülerdir. Doğru kurulum ve entegrasyon ile bu sistem, sunucunuzun rekabet gücünü artıracaktır.


What is Buff Information Show System?
The Buff Information Show System, one of the systems developed to enhance the gaming experience on Metin2 private servers, allows players to view detailed information about their active buffs more clearly. Thanks to this system, players can easily track which buffs are active during combat or other situations. This helps them make strategic decisions during gameplay.

Purpose and Features of the System
The Buff Information Show System is a feature developed on the Metin2 client side. When a player acquires a buff, detailed information regarding that buff appears on the screen. For example, when the Blood of Monster buff is obtained, its duration and bonuses will be displayed to the user. This system is usually integrated using Python GUI, with necessary adjustments made within the uiscript files.

Why is it Used?
Buff management is critical in PvP-oriented Metin2 servers. Especially in large-scale battles, applying the right buff at the right time could be key to victory. With this system, players can make new plans before a buff expires or analyze enemy buff statuses. The system can also be developed on the C++-based game server side, ensuring synchronization between client and server and minimizing in-game errors.

Installation and Integration
To integrate this system into Metin2 private servers, the following steps should be followed:
- Editing required Python files in the py root directory
- Designing the buff information panel in the uiscript file
- Making necessary modifications on client src
- Ensuring synchronization with Game Core and DB Core
During this process, known systems such as Martysama can be referenced.

Important Considerations
Attention must be paid on both the client and server sides during development. Incorrect integration may cause in-game errors. Additionally, performance impacts of such systems should not be overlooked. In high-traffic servers, real-time updates of buff information might increase system load. Therefore, optimized coding practices should be applied during source edit.

Conclusion
The Buff Information Show System is an advanced feature that significantly improves the user experience in Metin2 private servers. It is popular due to its ability to simplify buff management for players, provide strategic advantages, and offer efficient usage in PvP-focused games. Proper setup and integration ensure that this system enhances your server's competitive edge.
 

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

Geri
Üst Alt