Daha önce paylaşmış olduğum
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
ne uyumlu Metin ve Boss kestikçe özellik veren item bir sistem yazdım onu paylaşıyorum.
İndir;
Kod:
SYSERR: Oct 16 18:39:23 :: EquipTo: EquipTo: invalid wear cell (this: #21550 Beyaz Şebnem +50 wearflag: 8388608 cell: 32)
Uyarı2;
Eğer common/ittem_length.h içindeki enum EItemWearableFlag 'ın içi 32 yi aşarsa 32 ve sonrasındakileri aşağıdaki gibi düzenleyin.(
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
'e teşekkürler)
Kod:
WEARABLE_DENEME = (1 << 29), WEARABLE_DENEME2 = (1 << 30), WEARABLE_DENEME3 = (1 << 31), WEARABLE_DENEME4 = ((uint64_t)1 << 32), WEARABLE_DENEME5 = ((uint64_t)1 << 33), WEARABLE_DENEME6 = ((uint64_t)1 << 34),
GÜNCELLEME;
char_battle.cpp
Kod:
#ifdef METIN_BOSS_HUNTER if (pkKiller && pkKiller->IsPC() && IsStone()) { LPITEM item = pkKiller->GetWear(WEAR_COSTUME_HUNTER_METIN); if (item != NULL) { BYTE Hunter_Level = item->GetSocket(HUNTER_LEVEL_SOCKET); if (Hunter_Level < 8)//yeni seviye eklerseniz 8 i arttırın { if (0 < Hunter_Level && Hunter_Level <= 7)//yeni seviye eklerseniz 7 yi arttırın { item->SetSocket(KILLED_NUMBER_SOCKET, item->GetSocket(KILLED_NUMBER_SOCKET) + 1); if (item->GetSocket(KILLED_NUMBER_SOCKET) == item->GetSocket(HUNTER_LEVEL_LIMIT_SOCKET)) { item->ClearAttribute(); item->SetForceAttribute( 0, APPLY_ATTBONUS_METIN, GetHunterLevelBonusInfo(Hunter_Level)); item->SetSocket(HUNTER_LEVEL_SOCKET, Hunter_Level + 1); item->SetSocket(KILLED_NUMBER_SOCKET, 0); item->SetSocket(HUNTER_LEVEL_LIMIT_SOCKET, GetHunterLevelInfo(Hunter_Level + 1)); } } else if (0 == Hunter_Level) { item->ClearAttribute(); item->SetForceAttribute( 0, APPLY_ATTBONUS_METIN, GetHunterLevelBonusInfo(Hunter_Level)); item->SetSocket(HUNTER_LEVEL_SOCKET, Hunter_Level + 1); item->SetSocket(KILLED_NUMBER_SOCKET, 0); item->SetSocket(HUNTER_LEVEL_LIMIT_SOCKET, GetHunterLevelInfo(Hunter_Level + 1)); } } } } if (pkKiller && pkKiller->IsPC() && IsBoss()) { LPITEM item = pkKiller->GetWear(WEAR_COSTUME_HUNTER_BOSS); if (item != NULL) { BYTE Hunter_Level = item->GetSocket(HUNTER_LEVEL_SOCKET); if (Hunter_Level < 8)//yeni seviye eklerseniz 8 i arttırın { if (0 < Hunter_Level && Hunter_Level <= 7)//yeni seviye eklerseniz 7 yi arttırın { item->SetSocket(KILLED_NUMBER_SOCKET, item->GetSocket(KILLED_NUMBER_SOCKET) + 1); if (item->GetSocket(KILLED_NUMBER_SOCKET) == item->GetSocket(HUNTER_LEVEL_LIMIT_SOCKET)) { item->ClearAttribute(); item->SetForceAttribute( 0, APPLY_ATTBONUS_BOSS, GetHunterLevelBonusInfo(Hunter_Level)); item->SetSocket(HUNTER_LEVEL_SOCKET, Hunter_Level + 1); item->SetSocket(KILLED_NUMBER_SOCKET, 0); item->SetSocket(HUNTER_LEVEL_LIMIT_SOCKET, GetHunterLevelInfo(Hunter_Level + 1)); } } else if (0 == Hunter_Level) { item->ClearAttribute(); item->SetForceAttribute( 0, APPLY_ATTBONUS_BOSS, GetHunterLevelBonusInfo(Hunter_Level)); item->SetSocket(HUNTER_LEVEL_SOCKET, Hunter_Level + 1); item->SetSocket(KILLED_NUMBER_SOCKET, 0); item->SetSocket(HUNTER_LEVEL_LIMIT_SOCKET, GetHunterLevelInfo(Hunter_Level + 1)); } } } } #endif
Metin & Boss Hunter System (Metin ve Boss Kestikçe Özellik Veren Item)
Metin2 özel sunucularında benzersiz bir deneyim yaratmak isteyen geliştiriciler için, Metin & Boss Hunter System, oyuncuların boss düşmanları ya da belirli NPC'leri öldürmesiyle otomatik olarak bonus özellikler kazanmasını sağlayan gelişmiş bir sistemdir. Bu sistem sayesinde, oyuncuların başarılarını ödüllendiren dinamik bir mekanik entegre edilir. Sistem, hem C++ tabanlı sunucu tarafında hem de Python[/COORD] arayüzleriyle kolayca entegre edilebilir. Bu yazıda, bu sistemin nasıl çalıştığını, nasıl kurulduğunu ve Metin2 özel sunucularında nasıl kullanılacağını detaylıca inceleyeceğiz.
Sistem Nedir ve Nasıl Çalışır?
Boss Hunter System, oyuncuların belirli NPC'leri veya boss karakterleri öldürmesiyle birlikte, otomatik olarak özellik artışı yapan bir sistemdir. Bu özellikler, can, güç, zeka[/OCR], defans gibi karakteristik değerler olabilir. Sistem, Metin2 server source kodlarına entegre edilerek, olay tabanlı bir yapıyla çalışır. Öldürülen her boss veya NPC, belirlenen kurallara göre bonus puanlar verir ve bu puanlar doğrudan karakterin istatistiklerine eklenir.
Kurulum ve Yapılandırma
Sistemi kurarken, önce game server üzerinde gerekli değişikliklerin yapılması gerekir. Bu değişiklikler genellikle C++ kodları üzerinden yapılır. Sunucu tarafında NPC öldürme event’leri yakalanır ve bu eventlere özel fonksiyonlar tanımlanır. Ayrıca, DB tarafında da kullanıcıya özel bonus değerlerin tutulması için tablolar oluşturulmalıdır. Geliştiriciler, Martysama gibi kaynaklardan örnek sistemlerden ilham alabilir. Sistem, py root ile de desteklenebilir. Python GUI arayüzü ile kolayca yapılandırma dosyaları yönetilebilir ve geliştiriciler, bonus verilecek özellikleri, miktarları ve hangi NPC’lerden verileceğini ayarlayabilirler.
Faydaları ve Oyun Deneyimine Katkısı
Boss Hunter System, oyuncuların tekrarlayan görevleri değil, aktif mücadele ve PvP aktivitelerini ödüllendirir. Bu sayede, oyuncuların sunucuya olan bağlılığı artar. Aynı zamanda, rekabet ortamı daha da güçlenir çünkü her boss öldürme, karakteri güçlendirir. Sistem, Metin2 PvP sistemleri ile de uyumlu çalışarak, güçlü karakterlerin daha da güçlenmesini sağlar. Bu, PvP savaşlarında daha heyecanlı ve dengesiz olmayan mücadeleler yaratır.
Teknik Detaylar ve Geliştirme Süreci
Sistem, Metin2'nin source edit süreçlerine uygun olarak geliştirilmiştir. Geliştiriciler, server src dosyalarında gerekli hook[/OCR] ve event[/OCR] tanımlamalarını yaparak sistemi entegre edebilirler. Py GUI ile yapılan yapılandırmalar, compile işleminden sonra sunucuda aktif hale gelir. Sistem, uiscript[/COORD] ile de arayüz desteği alabilir, böylece oyuncular bonusları görsel olarak takip edebilir. Game core ile entegrasyonu sayesinde, sistem stabil ve yüksek performanslı çalışır.
Sonuç
Metin & Boss Hunter System, Metin2 özel sunucularında benzersiz bir oynanış deneyimi yaratmak isteyen geliştiriciler için ideal bir çözümdür. Hem oyuncu sadakati[/OCR] hem de sunucu etkinliği[/OCR] açısından büyük faydalar sunar. Sistem, Metin2 development[/COORD] dünyasında yenilikçi bir yaklaşım sunar ve PvP sistemleriyle harmanlandığında gerçek anlamıyla oyun değiştirici olur. Eğer Metin2 Lobby[/COORD] olarak bizimle yola çıkmak istersen, bu sistem gibi birçok gelişmiş modülü kendi özel sunucuna entegre edebilirsin.
Metin & Boss Hunter System (Item That Gives Stats When Killing Metins and Bosses)
For developers seeking to create a unique experience on Metin2 private servers, the Metin & Boss Hunter System is an advanced mechanism that automatically grants bonus stats to players upon defeating boss enemies or specific NPCs. With this system, a dynamic rewarding mechanism is integrated based on player achievements. The system can be easily implemented into both C++-based server-side code and Python interfaces. In this article, we will examine how this system works, how it is installed, and its usage within Metin2 private servers in detail.
What Is the System and How Does It Work?
The Boss Hunter System is designed so that whenever players kill certain NPCs or boss characters, they automatically receive stat bonuses. These stats may include HP, strength, intelligence, defense, and other character attributes. The system operates by integrating into Metin2 server source code and functioning through event-based triggers. Each boss or NPC kill awards bonus points according to predefined rules, which are then directly added to the character's stats.
Installation and Configuration
To install the system, necessary modifications must first be made to the game server. These changes are usually done through C++ code. On the server side, NPC death events[/OCR] are captured and custom functions are defined for these events. Additionally, tables must be created in the DB to store user-specific bonus values. Developers can take inspiration from examples found in sources like Martysama. The system can also be supported via py root. With a Python GUI interface, configuration files can be managed easily, allowing developers to set which stats, amounts, and which NPCs grant bonuses.
Benefits and Impact on Gameplay Experience
The Boss Hunter System rewards active combat and PvP activities instead of repetitive tasks. This increases player retention on the server. Moreover, the competitive environment becomes more intense as each boss kill strengthens the character. Compatible with Metin2 PvP systems[/COORD], the system enables stronger characters to become even more powerful, creating more exciting and balanced battles during PvP matches.
Technical Details and Development Process
The system has been developed according to Metin2's source edit processes. Developers can integrate the system by making necessary hook[/OCR] and event[/OCR] definitions within the server src[/COORD] files. Configurations made through Py GUI[/COORD] become active after the compile process. The system can also support UI through uiscript[/COORD], allowing players to visually track their bonuses. Thanks to its integration with the game core, the system runs stably and efficiently.
Conclusion
The Metin & Boss Hunter System is an ideal solution for developers aiming to provide a unique gameplay experience on Metin2 private servers. It offers significant benefits in terms of both player loyalty[/OCR] and server activity[/OCR]. The system introduces an innovative approach in the world of Metin2 development[/COORD] and becomes truly game-changing when combined with PvP systems. If you wish to embark on this journey with us as Metin2 Lobby[/COORD], you can integrate systems like this one into your own private server.
