Sınırsız Otopot ve Pelerin

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Kırmızı ve Mavi Pot sınırsız yapıcağız işlem çok basit

char_item.cpp dosyası içerisinde aratılır
Kod:
void CHARACTER::AutoRecoveryItemProcess(const EAffectTypes type)

kod bloğu komple değiştirilir;
Kod:
void CHARACTER::AutoRecoveryItemProcess(const EAffectTypes type) {    if ((true == IsDead()) || (true == IsStun()) || (false == IsPC()) || (AFFECT_AUTO_HP_RECOVERY != type && AFFECT_AUTO_SP_RECOVERY != type) || (NULL != FindAffect(AFFECT_STUN)))        return;    {        const DWORD stunSkills[*] = { SKILL_TANHWAN, SKILL_GEOMPUNG, SKILL_BYEURAK, SKILL_GIGUNG };        for (size_t i=0 ; i < sizeof(stunSkills)/sizeof(DWORD) ; ++i)        {            const CAffect* p = FindAffect(stunSkills[i]);            if (NULL != p && AFF_STUN == p->dwFlag)                return;        }    }    const CAffect* pAffect = FindAffect(type);    if (NULL != pAffect)    {        LPITEM pItem = FindItemByID(pAffect->dwFlag);        if (NULL != pItem && true == pItem->GetSocket(0))        {            if (false == CArenaManager::instance().IsArenaMap(GetMapIndex()))            {                int32_t gelendeger = 0;                if (AFFECT_AUTO_HP_RECOVERY == type)                {                    gelendeger = GetMaxHP() - (GetHP() + GetPoint(POINT_HP_RECOVERY));                }                else if (AFFECT_AUTO_SP_RECOVERY == type)                {                    gelendeger = GetMaxSP() - (GetSP() + GetPoint(POINT_SP_RECOVERY));                }                if (gelendeger > 0)                {                    if (AFFECT_AUTO_HP_RECOVERY == type)                    {                        PointChange(POINT_HP_RECOVERY,gelendeger);                        EffectPacket(SE_AUTO_HPUP);                    }                    else if (AFFECT_AUTO_SP_RECOVERY == type)                    {                        PointChange(POINT_SP_RECOVERY,gelendeger);                        EffectPacket(SE_AUTO_SPUP);                    }                }            }            else            {                pItem->Lock(false);                pItem->SetSocket(0, false);                RemoveAffect( const_cast<CAffect*>(pAffect) );            }        }        else        {            RemoveAffect( const_cast<CAffect*>(pAffect) );        }    } }

İtem üzerinde "Kalan miktar" yazısını kaldırmak için;
root > uitooltip.py dosyasında aratıp silinir.
Kod:
self.AppendTextLine(localeInfo.TOOLTIP_AUTO_POTION_REST % (100.0 - ((usedAmount / totalAmount) * 100.0)), self.POSITIVE_COLOR)


Cesaret Pelerini ise

char_item.cpp açılır . ve aratılır
Kod:
case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE:

eklenir
Kod:
//item->SetCount(item->GetCount()-1);

Sınırsız Otopot ve Pelerin Sistemi


Metin2 özel sunucularında oyun deneyimini artırmak ve oyuncuların karakterlerini daha güçlü hale getirmek için birçok sistem geliştirilmektedir. Bu sistemlerden ikisi olan Otopot ve Pelerin sistemleri, oyuncuların dikkatini çeken ve oyun içi gelişmelerini destekleyen önemli mekaniklerdir. Bu yazıda, sınırsız otopot ve pelerin sistemlerinin nasıl çalıştığını, ne gibi avantajlar sunduğunu ve Metin2 özel sunucularında nasıl uygulanabileceğini detaylı olarak ele alacağız.

Otopot Nedir?
Otopot, Metin2 oyununda karakterin belirli aralıklarla otomatik olarak iksir kullandığı bir sistemdir. Bu sistem sayesinde oyuncular dövüş sırasında veya uzun süreli maceralarda iksir tüketiminden kurtulurlar. Geleneksel olarak sınırlı sayıda otopot hakkı verilir, ancak sınırsız otopot sistemiyle bu sınırlama ortadan kaldırılır. Bu, oyuncuların sürekli savaşabilecekleri ve HP/SP seviyelerini koruyabilecekleri anlamına gelir.

Pelerin Nedir?
Pelerin sistemi ise karakterin giydiği özel ekipmanlardır. Bu pelerinler genellikle bonus özellikler sunar ve bazı özel sunucularda geliştirilmiş versiyonları ile sınırsız güçlendirme (potansiyel) alınabilir. Sınırsız pelerin sistemi ile oyuncular, pelerinlerini daha fazla geliştirip, karakterlerini daha güçlü hale getirebilirler. Bu sistem, PvP ve PvE içeriklerinde ciddi bir avantaj sağlar.

Neden Sınırsız Sistemler Kullanılır?
Otopot ve pelerin sistemlerinin sınırsız versiyonlarının kullanılmasının temel amacı, oyuncuların oyun içi deneyimini kolaylaştırmak ve daha keyifli hale getirmektir. Özellikle Metin2 özel sunucularında bu sistemler, oyuncuların daha fazla oynamasını teşvik eder. Sınırsız otopot sayesinde oyuncular, dövüşlerde sık sık iksir almak zorunda kalmazlar. Aynı şekilde sınırsız pelerin ile karakterlerin güçlenmesi sınırsız hale gelir.

C++ ve Python ile Uygulama
Metin2 özel sunucularında sınırsız otopot ve pelerin sistemleri genellikle C++ ve Python dilleri ile geliştirilir. Sunucu tarafında C++ ile yazılmış game server dosyalarında bu sistemlerin mantığı yer alırken, istemci tarafında Python tabanlı uiscript ve py root dosyalarıyla kullanıcı arayüzüne entegre edilir. Martysama gibi sistemlerle birlikte geliştirilen bu modüller, source edit süreciyle sunucuya entegre edilir.

Sınırsız Otopot Nasıl Kurulur?
Bu sistemin kurulumu için öncelikle db_core ve game_core üzerinde değişiklik yapılması gerekir. Otopot kullanım limiti kontrolünün yapıldığı yerde, bu limiti sonsuz yapacak şekilde kodlar düzenlenmelidir. Ayrıca client_src üzerinden kullanıcı arayüzüne özel butonlar veya sayaçlar eklenebilir. Bu işlem sırasında auth server ile haberleşmeler de göz önünde bulundurulmalıdır.

Sınırsız Pelerin Nasıl Geliştirilir?
Pelerin sisteminde sınırsız potansiyel alabilmek için game server programming kısmında ilgili fonksiyonlar yeniden düzenlenmelidir. Potansiyel alma limiti kaldırılır ve pelerin yükseltme işlemleri sonsuza kadar devam edebilir. Bu sistemde pack dosyaları da güncellenerek oyunculara sınırsız pelerin geliştirme imkanı sunulur. Py GUI arayüzleri ile kullanıcı dostu pencereler geliştirilebilir.

Metin2 Lobby ve Sınırsız Sistemler
Metin2 Lobby olarak biz, özel sunucular için en kaliteli ve gelişmiş sistemleri sunmayı hedefliyoruz. Sınırsız otopot ve pelerin sistemleri gibi gelişmiş sistemlerle oyuncuların daha keyifli ve sürdürülebilir bir oyun deneyimi yaşamasını sağlıyoruz. Bu sistemler, metin2 development sürecinde en çok tercih edilen ve PvP sistemlerinde büyük rol oynayan özelliklerdir. Metin2Dev topluluğuyla birlikte bu sistemleri daha da ileriye taşıyoruz.


Unlimited Auto-Potion and Cape System


In order to enhance the gameplay experience and strengthen players' characters on Metin2 private servers, many systems are developed. Two of these systems, Auto-Potion and Cape, are significant mechanics that attract player attention and support in-game progress. In this article, we will discuss how unlimited auto-potion and cape systems work, what benefits they offer, and how they can be implemented on Metin2 private servers in detail.

What is Auto-Potion?
Auto-Potion is a system in Metin2 where the character automatically uses potions at specific intervals. This system allows players to avoid constant potion consumption during battles or long adventures. Traditionally, a limited number of auto-potion rights are given, but with the unlimited auto-potion system, this restriction is removed. This means players can fight continuously while maintaining their HP/SP levels.

What is Cape?
The Cape system refers to special equipment worn by the character. These capes usually provide bonus attributes and, in some private servers, enhanced versions allow unlimited enhancements (potential). With an unlimited cape system, players can further upgrade their capes, making their characters more powerful. This system provides a significant advantage in both PvP and PvE content.

Why Are Unlimited Systems Used?
The main purpose of using unlimited versions of auto-potion and cape systems is to simplify and enhance the in-game experience for players. Especially on Metin2 private servers, these systems encourage players to play more. With unlimited auto-potion, players no longer need to constantly take potions during fights. Similarly, unlimited capes allow character strengthening without limits.

Implementation with C++ and Python
On Metin2 private servers, unlimited auto-potion and cape systems are typically developed using C++ and Python. The logic of these systems lies within game server files written in C++, while the client-side is integrated through uiscript and py root files based on Python. Modules developed together with systems like Martysama are integrated into the server via source edit processes. Auth server communications must also be considered during implementation.

How Is Unlimited Auto-Potion Installed?
To install this system, modifications must first be made to db_core and game_core. The code responsible for checking auto-potion usage limits should be adjusted to make them infinite. Additionally, custom buttons or counters can be added to the user interface through client_src.

How Is Unlimited Cape Developed?
To enable unlimited potential gains from the cape system, related functions in game server programming must be restructured. The potential gain limit is removed, allowing cape upgrades to continue infinitely. In this system, pack files are also updated to provide players with unlimited cape enhancement opportunities. User-friendly windows can be developed using Py GUI interfaces.

Metin2 Lobby and Unlimited Systems
As Metin2 Lobby, we aim to provide the highest quality and most advanced systems for private servers. With systems like unlimited auto-potion and capes, we ensure that players have a more enjoyable and sustainable gaming experience. These systems are among the most preferred features in metin2 development and play a major role in PvP systems. Together with the Metin2Dev community, we continue to push these systems forward.
 

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

Geri
Üst Alt