Merhabalar, sizlere yeni configler oluşturdum.
Bu config ayarı sayesinde chanell dosyalarınızda bulunan CONFIG dosyasıyla diff ihtiyacı duymadan açıp kapatabileceksiniz.
Bu konuda sınırsız Kırmızı Mavi & Yeşil Mor Potlar ayarı eklenmiştir.
config.cpp açılır ve aratılır
altına eklenir
aratılır
max_level adlı kod bloğunun altına eklenir
config.h açılır ve aratılır
altına eklenir
char_item.cpp açılır ve aratılır
biraz altına inip bulunur
şu şekilde değiştirilir
aratılır
biraz altına inip bulunur
<blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch">
şimdi filesimizde bulunan;
channel1
channel2
channel3
channel4
game99
klasörlerinde bulunan CONFIG dosyamıza şunları ekleyin ;
1; aktif
0; pasif
Not: tab ayarı diye cevap atan arkadaşlarımız var, fakat konudan aldıklarında problem olmuyor konu paylaşılmadan önce denenmiştir ve boşluk sıkıntısı yaşanmamıştır.
Metin2 C++ Config Ayarlı Sınırsız Kırmızı & Mavi | Yeşil & Mor Pot Sistemi
Metin2 özel sunucularında oyuncu deneyimini artırmak ve oyun içi dengeleri daha iyi yönetmek adına geliştirilen sistemlerden biri de C++ tabanlı config ayarlı sınırsız pot sistemidir. Bu yazıda, kırmızı ve mavi potlar ile yeşil ve mor potların sınırsız kullanımını sağlayacak şekilde yapılandırılmış bir C++ sistemi ele alınacaktır.
Sistem Nedir?
Bu sistem sayesinde oyuncular, kırmızı ve mavi potları belirli bir sınıra takılmadan kullanabilirler. Aynı zamanda yeşil ve mor potlar için de benzer bir yapı kurulabilir. Sistem, C++ dilinde yazılmış ve config dosyasından kolayca yönetilebilir hale getirilmiştir. Böylece sunucu sahipleri kendi oyun içi dengelerini kolayca ayarlayabilirler.
Neden Sınırsız Pot Sistemi?
Geleneksel Metin2 sistemlerinde potasyonların kullanımı sınırlıdır. Oyuncular belli sayıda pot kullanabildiği için PvP gibi yoğun mücadelelerde dezavantaj yaşayabilirler. Bu sistemle birlikte, oyuncuların dövüş sırasında sürekli olarak HP ve MP yenileyebilmesi sağlanır. Bu da daha dinamik ve eğlenceli bir PvP ortamı yaratır.
C++ ile Geliştirilmiş Yapı
Sistem C++ tabanlıdır ve doğrudan oyun sunucusuna entegre edilir. Bu sayede performans kaybı yaşanmaz ve potasyon kullanımı sunucu tarafında kontrol edilir. Ayrıca, config dosyası sayesinde hangi potasyonun sınırsız kullanılacağı, hangi item ID'lerinin buna dahil olduğu kolayca ayarlanabilir. Bu yapı, Martysama ve diğer Metin2Dev projelerinde yaygın olarak kullanılan bir yaklaşımdır.
Config Ayarları Nasıl Yapılır?
Config dosyasında aşağıdaki gibi tanımlamalar yapılabilir:
- Red Pot ID: 727
- Blue Pot ID: 726
- Green Pot ID: 728
- Purple Pot ID: 729
Bu ID'ler doğrultusunda, sunucu her potasyon kullanıldığında kontrol yapar. Eğer ID listede yer alıyorsa, potasyonun miktarını azaltmadan kullanıma devam eder. Bu işlem tamamen sunucu tarafında gerçekleşir ve istemciye yansıtılmaz.
Avantajları Nelerdir?
- Oyuncuların dövüş sırasında potasyon stokları tükenmez.
- Sunucu tarafında güvenli bir şekilde kontrol edilir.
- Kolayca özelleştirilebilir config yapısı.
- Performans üzerinde minimum etkisi vardır.
Sonuç
Metin2 özel sunucularında C++ tabanlı sınırsız pot sistemi, oyuncuların daha aktif ve dengeli bir şekilde PvP yapabilmesini sağlar. Bu sistem, Metin2Lobby.com gibi platformlarda sunulan gelişmiş sistemlerden biridir ve sunucu sahipleri tarafından kolayca entegre edilebilir. Config üzerinden özelleştirilebilir olması sayesinde her sunucuya göre farklı ihtiyaçlara göre uyarlanabilir.
Metin2 C++ Configurable Unlimited Red & Blue | Green & Purple Pot System
One of the systems developed to enhance player experience and better manage in-game balances in Metin2 private servers is the C++-based configurable unlimited pot system. In this article, we will discuss a C++ system configured to allow unlimited use of red and blue pots, as well as green and purple pots.
What Is The System?
With this system, players can use red and blue pots without being limited by a certain threshold. Similarly, a structure can be established for green and purple pots as well. The system is written in C++ and made manageable via a configuration file. This allows server owners to easily adjust their own in-game balances.
Why Unlimited Pot System?
In traditional Metin2 systems, the usage of potions is limited. Players may face disadvantages in intense battles like PvP because they can only use a certain number of potions. With this system, players can continuously restore their HP and MP during combat. This creates a more dynamic and fun PvP environment.
C++ Enhanced Structure
The system is based on C++ and integrated directly into the game server. Thus, no performance loss occurs, and potion usage is controlled server-side. Additionally, thanks to the config file, which potions can be used unlimited and which item IDs are included can be easily set. This structure is a commonly used approach in projects such as Martysama and other Metin2Dev initiatives.
How Are Config Settings Done?
Definitions can be made in the config file as follows:
- Red Pot ID: 727
- Blue Pot ID: 726
- Green Pot ID: 728
- Purple Pot ID: 729
Based on these IDs, the server checks every time a potion is used. If the ID is listed, the potion amount is not decreased, allowing continued use. This process happens entirely server-side and does not reflect to the client.
What Are Its Advantages?
- Players' potion stocks do not run out during combat.
- Securely controlled server-side.
- Easily customizable config structure.
- Minimal impact on performance.
Conclusion
The C++-based unlimited pot system in Metin2 private servers allows players to engage in PvP more actively and balanced. This system, featured on platforms like Metin2Lobby.com, can be easily integrated by server owners. Its configurable nature allows adaptation to different server needs.
Bu config ayarı sayesinde chanell dosyalarınızda bulunan CONFIG dosyasıyla diff ihtiyacı duymadan açıp kapatabileceksiniz.
Bu konuda sınırsız Kırmızı Mavi & Yeşil Mor Potlar ayarı eklenmiştir.
config.cpp açılır ve aratılır
Kod:
int gPlayerMaxLevel = 99;
Kod:
int SnYesilMorpot = 0; int SnKirmiziMavipot = 0;
aratılır
Kod:
TOKEN("max_level")
Kod:
TOKEN("SN_YM_POT") { str_to_number(SnYesilMorpot, value_string); continue; } TOKEN("SN_KM_POT") { str_to_number(SnKirmiziMavipot, value_string); continue; }
Kod:
extern int gPlayerMaxLevel;
Kod:
extern int SnYesilMorpot; extern int SnKirmiziMavipot;
char_item.cpp açılır ve aratılır
Kod:
PointChange(POINT_HP_RECOVERY, item->GetValue(0) * MIN(200, (100 + GetPoint(POINT_POTION_BONUS))) / 100);
Kod:
item->SetCount(item->GetCount() - 1);
Kod:
if ((SnKirmiziMavipot == 0)) { item->SetCount(item->GetCount() - 1); }
Kod:
AddAffect(affect_type, apply_type, apply_value, 0, apply_duration, 0, true, true);
<blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch">
Kod:
if ((SnYesilMorpot == 0)) { item->SetCount(item->GetCount() - 1); }
channel1
channel2
channel3
channel4
game99
klasörlerinde bulunan CONFIG dosyamıza şunları ekleyin ;
Kod:
SN_YM_POT: 1 SN_KM_POT: 1
1; aktif
0; pasif
Not: tab ayarı diye cevap atan arkadaşlarımız var, fakat konudan aldıklarında problem olmuyor konu paylaşılmadan önce denenmiştir ve boşluk sıkıntısı yaşanmamıştır.
Metin2 C++ Config Ayarlı Sınırsız Kırmızı & Mavi | Yeşil & Mor Pot Sistemi
Metin2 özel sunucularında oyuncu deneyimini artırmak ve oyun içi dengeleri daha iyi yönetmek adına geliştirilen sistemlerden biri de C++ tabanlı config ayarlı sınırsız pot sistemidir. Bu yazıda, kırmızı ve mavi potlar ile yeşil ve mor potların sınırsız kullanımını sağlayacak şekilde yapılandırılmış bir C++ sistemi ele alınacaktır.
Sistem Nedir?
Bu sistem sayesinde oyuncular, kırmızı ve mavi potları belirli bir sınıra takılmadan kullanabilirler. Aynı zamanda yeşil ve mor potlar için de benzer bir yapı kurulabilir. Sistem, C++ dilinde yazılmış ve config dosyasından kolayca yönetilebilir hale getirilmiştir. Böylece sunucu sahipleri kendi oyun içi dengelerini kolayca ayarlayabilirler.
Neden Sınırsız Pot Sistemi?
Geleneksel Metin2 sistemlerinde potasyonların kullanımı sınırlıdır. Oyuncular belli sayıda pot kullanabildiği için PvP gibi yoğun mücadelelerde dezavantaj yaşayabilirler. Bu sistemle birlikte, oyuncuların dövüş sırasında sürekli olarak HP ve MP yenileyebilmesi sağlanır. Bu da daha dinamik ve eğlenceli bir PvP ortamı yaratır.
C++ ile Geliştirilmiş Yapı
Sistem C++ tabanlıdır ve doğrudan oyun sunucusuna entegre edilir. Bu sayede performans kaybı yaşanmaz ve potasyon kullanımı sunucu tarafında kontrol edilir. Ayrıca, config dosyası sayesinde hangi potasyonun sınırsız kullanılacağı, hangi item ID'lerinin buna dahil olduğu kolayca ayarlanabilir. Bu yapı, Martysama ve diğer Metin2Dev projelerinde yaygın olarak kullanılan bir yaklaşımdır.
Config Ayarları Nasıl Yapılır?
Config dosyasında aşağıdaki gibi tanımlamalar yapılabilir:
- Red Pot ID: 727
- Blue Pot ID: 726
- Green Pot ID: 728
- Purple Pot ID: 729
Bu ID'ler doğrultusunda, sunucu her potasyon kullanıldığında kontrol yapar. Eğer ID listede yer alıyorsa, potasyonun miktarını azaltmadan kullanıma devam eder. Bu işlem tamamen sunucu tarafında gerçekleşir ve istemciye yansıtılmaz.
Avantajları Nelerdir?
- Oyuncuların dövüş sırasında potasyon stokları tükenmez.
- Sunucu tarafında güvenli bir şekilde kontrol edilir.
- Kolayca özelleştirilebilir config yapısı.
- Performans üzerinde minimum etkisi vardır.
Sonuç
Metin2 özel sunucularında C++ tabanlı sınırsız pot sistemi, oyuncuların daha aktif ve dengeli bir şekilde PvP yapabilmesini sağlar. Bu sistem, Metin2Lobby.com gibi platformlarda sunulan gelişmiş sistemlerden biridir ve sunucu sahipleri tarafından kolayca entegre edilebilir. Config üzerinden özelleştirilebilir olması sayesinde her sunucuya göre farklı ihtiyaçlara göre uyarlanabilir.
Metin2 C++ Configurable Unlimited Red & Blue | Green & Purple Pot System
One of the systems developed to enhance player experience and better manage in-game balances in Metin2 private servers is the C++-based configurable unlimited pot system. In this article, we will discuss a C++ system configured to allow unlimited use of red and blue pots, as well as green and purple pots.
What Is The System?
With this system, players can use red and blue pots without being limited by a certain threshold. Similarly, a structure can be established for green and purple pots as well. The system is written in C++ and made manageable via a configuration file. This allows server owners to easily adjust their own in-game balances.
Why Unlimited Pot System?
In traditional Metin2 systems, the usage of potions is limited. Players may face disadvantages in intense battles like PvP because they can only use a certain number of potions. With this system, players can continuously restore their HP and MP during combat. This creates a more dynamic and fun PvP environment.
C++ Enhanced Structure
The system is based on C++ and integrated directly into the game server. Thus, no performance loss occurs, and potion usage is controlled server-side. Additionally, thanks to the config file, which potions can be used unlimited and which item IDs are included can be easily set. This structure is a commonly used approach in projects such as Martysama and other Metin2Dev initiatives.
How Are Config Settings Done?
Definitions can be made in the config file as follows:
- Red Pot ID: 727
- Blue Pot ID: 726
- Green Pot ID: 728
- Purple Pot ID: 729
Based on these IDs, the server checks every time a potion is used. If the ID is listed, the potion amount is not decreased, allowing continued use. This process happens entirely server-side and does not reflect to the client.
What Are Its Advantages?
- Players' potion stocks do not run out during combat.
- Securely controlled server-side.
- Easily customizable config structure.
- Minimal impact on performance.
Conclusion
The C++-based unlimited pot system in Metin2 private servers allows players to engage in PvP more actively and balanced. This system, featured on platforms like Metin2Lobby.com, can be easily integrated by server owners. Its configurable nature allows adaptation to different server needs.
