[/FONT]
Videoda ayrıntılı olarak sistemin amacı anlatılıyor.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Videoda ayrıntılı olarak sistemin amacı anlatılıyor.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
[C++] - Silah Evrim Parşömenleri
Metin2 özel sunucularında oyun deneyimini artırmak için geliştirilen sistemlerden biri olan Silah Evrim Parşömenleri, oyuncuların silahlarını yükseltmelerine ve daha güçlü hale getirmelerine olanak tanır. Bu sistem, genellikle C++ tabanlı game server üzerinde çalışır ve server src ile entegre bir şekilde tasarlanır. Bu yazıda, C++ dilinde yazılmış bir silah evrim parşömen sisteminin nasıl geliştirileceği, hangi dosyaların değiştirilmesi gerektiği ve nasıl çalıştığı detaylı bir şekilde ele alınacaktır.
Sistem Hakkında Genel Bilgi
Silah Evrim Parşömen sistemi, oyuncuların sahip oldukları silahları belirli parşömenler kullanarak evriltebilmesini sağlar. Bu parşömenler, client src tarafında özel grafiklerle tanımlanır ve game server tarafında ise C++ ile yazılmış fonksiyonlarla işlenir. Sistem, item attribute sistemine entegre edilerek silahların evrim geçirdikçe farklı özellikler kazanması sağlanabilir. Martysama gibi gelişmiş sistemlerle uyumlu olması da önemlidir.
C++ ile Geliştirme
Bu sistemin temelinde C++ kodları yatar. Game server tarafında, silahın evrim geçirebilmesi için bir item kontrolü yapılır. Oyuncu belirli bir evrim parşömenini kullanırken, server src tarafından silahın mevcut seviyesi, parşömenin geçerli olup olmadığı ve evrimin başarılı olup olmadığı hesaplanır. Bu işlemler genellikle char_item.cpp veya benzeri dosyalarda tanımlanır. Ayrıca db core ile eşgüdüm sağlanarak evrim geçmişliği loglanabilir.
Item ID Tanımlamaları ve Client Entegrasyonu
Her parşömen ve evrim sonrası silah için item_proto dosyasına özel ID’ler tanımlanmalıdır. Bu ID’ler hem client src hem de game server tarafında tutarlı olmalıdır. Grafiksel olarak parşömen ve evrim sonrası silah, uiscript ile kullanıcı arayüzünde gösterilir. Py GUI kullanılarak özelleştirilmiş arayüzlerle bu sistem daha kullanıcı dostu hale getirilebilir.
Python ile Entegre Sistemler
C++ sistemle birlikte Python tabanlı scriptler de kullanılabilir. Örneğin, evrim sonrası silaha özel efektler veya bonus özellikler py root üzerinden atanabilir. Bu sayede hem performans hem de esneklik açısından büyük avantajlar sağlanır. Metin2Dev topluluklarında bu tür entegrasyonlar sıkça tartışılmaktadır.
Sonuç
Silah Evrim Parşömen sistemi, Metin2 özel sunucularında oyuncu sadakatini artırmak ve oyun içi ekonomiyi güçlendirmek için ideal bir özelliktir. C++ tabanlı source edit işlemleriyle birlikte, client ve server tarafında yapılan değişikliklerle özgün bir deneyim sunulabilir. Metin2Lobby olarak, bu tür gelişmiş sistemlerin doğru entegrasyonuna odaklanıyoruz.
[C++] - Weapon Evolution Scrolls
One of the systems developed to enhance the gameplay experience on Metin2 private servers is the Weapon Evolution Scrolls, which allows players to upgrade their weapons and make them stronger. This system typically runs on a C++ based game server and is designed to integrate seamlessly with the server src. In this article, we will detail how to develop a weapon evolution scroll system written in C++, which files need modification, and how the system works.
General Information About the System
The Weapon Evolution Scroll system allows players to evolve their weapons by using specific scrolls. These scrolls are defined with custom graphics in the client src and processed via C++ functions on the game server. The system can be integrated into the item attribute system, allowing evolved weapons to gain different properties. Compatibility with advanced systems like Martysama is also important.
Development with C++
At the heart of this system lies C++ code. On the game server, checks are performed to allow a weapon to evolve. When a player uses a specific evolution scroll, the current level of the weapon, whether the scroll is valid, and if the evolution succeeds are calculated by the server src. These operations are usually defined in files such as char_item.cpp. Additionally, coordination with the db core allows the evolution history to be logged.
Item ID Definitions and Client Integration
Each scroll and evolved weapon must have unique IDs defined in the item_proto file. These IDs must remain consistent on both the client src and game server sides. Graphically, the scroll and evolved weapon are displayed in the user interface through uiscript. Custom interfaces built with Py GUI can make this system more user-friendly.
Integrated Systems with Python
Alongside the C++ system, Python-based scripts can also be used. For example, special effects or bonus attributes for the evolved weapon can be assigned via py root. This provides significant advantages in terms of performance and flexibility. Such integrations are frequently discussed in Metin2Dev communities.
Conclusion
The Weapon Evolution Scroll system is an ideal feature to increase player loyalty and strengthen in-game economy in Metin2 private servers. Combined with C++ based source edit processes, modifications on both client and server sides can provide a unique experience. At Metin2Lobby, we focus on the correct integration of such advanced systems.
