Ruh Taşı Kağıdı Fonksiyonu

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Ruh Taşı Kağıdı İtemdeki Takılı Taşları Çıkarmaya Yarar Bu Aslında Gereksiz Birşey Hatta Forumdada Paylaşım Yapmıyorum Artık Ama Bunu Kendi Egosunda Boğulacak Bir Arkadaş Sebebiyle Paylaşıyorum İşine Yarayan Olur Diye Düşünüyorum Vesselam.

Fonksiyon

Kod:
else if (pkItem->GetSubType() == USE_DETACHMENT && IS_SET(pkTarget->GetFlag(), ITEM_FLAG_REFINEABLE))

Bir Örnek Olarak İtem Kilit Kod Bloğunu Koyuyorum Buradan Yola Çıkarak Kendi Sourcenizde Düzenleme Yapabilirsiniz.

Kod:
else if (pkItem->GetSubType() == USE_DETACHMENT && IS_SET(pkTarget->GetFlag(), ITEM_FLAG_REFINEABLE)) { LogManager::instance().ItemLog(this, pkTarget, "USE_DETACHMENT", pkTarget->GetName()); bool bHasMetinStone = false; for (int i = 0; i < ITEM_SOCKET_MAX_NUM; i++) { long socket = pkTarget->GetSocket(i); if (socket > 2 && socket != ITEM_BROKEN_METIN_VNUM) { bHasMetinStone = true; break; } } if (bHasMetinStone) { if (pkTarget->GetType() == ITEM_WEAPON || pkTarget->GetType() == ITEM_ARMOR || pkTarget->GetType() == ITEM_BELT || pkTarget->GetType() == ITEM_COSTUME) { char szEventFlag[30]; snprintf(szEventFlag, sizeof(szEventFlag), "%d.Engel", pkTarget->GetID()); if (*szEventFlag) { if (quest::CQuestManager::instance().GetEventFlag(szEventFlag)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("item_engel")); return false; } } } if (pkItem->GetType() == ITEM_WEAPON || pkItem->GetType() == ITEM_ARMOR || pkItem->GetType() == ITEM_BELT || pkItem->GetType() == ITEM_COSTUME) { char szEventFlag[30]; snprintf(szEventFlag, sizeof(szEventFlag), "%d.Engel", pkItem->GetID()); if (*szEventFlag) { if (quest::CQuestManager::instance().GetEventFlag(szEventFlag)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("item_engel")); return false; } } } for (int i = 0; i < ITEM_SOCKET_MAX_NUM; ++i) { long socket = pkTarget->GetSocket(i); if (socket > 2 && socket != ITEM_BROKEN_METIN_VNUM) { AutoGiveItem(socket); //TItemTable* pTable = ITEM_MANAGER::instance().GetTable(pkTarget->GetSocket(i)); //pkTarget->SetSocket(i, pTable->alValues[2]); // 깨진돌로 대체해준다 pkTarget->SetSocket(i, ITEM_BROKEN_METIN_VNUM); } } pkItem->SetCount(pkItem->GetCount() - 1); return true; } else { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("빼낼 수 있는 메틴석이 없습니다.")); return false; } }

İyi Forumlar.
Ruh Taşı Kağıdı Fonksiyonu Nedir?

Metin2 özel sunucularında geliştirilen sistemlerden biri olan Ruh Taşı Kağıdı, oyuncuların karakterlerinin PVP ve PVE performanslarını doğrudan etkileyen önemli bir özelliktir. Bu fonksiyon sayesinde oyuncular, karakterlerinin Ruh Taşı seviyesini yükseltmeden veya mevcut taşları bozmadan geçici olarak Ruh Taşı bonuslarını artırabilir. Bu durum hem savaş sırasında hem de macera esnasında büyük avantaj sağlar.

Fonksiyonun Kullanımı ve Amacı

Ruh Taşı Kağıdı, genellikle C++ tabanlı server side sistemlerde geliştirilir. Bu kağıtlar, oyuncuların envanterlerinde bulunur ve belirli bir süreliğine Ruh Taşı bonuslarını artırmak için kullanılır. Örneğin, normalde +7 Ruh Taşı bonusuna sahip bir karakter, bu kağıdı kullandığında geçici olarak +10 bonus seviyesine çıkabilir. Bu geçici artış, PVP savaşlarında kritik fark yaratabilir.

Sistem Geliştirme ve Entegrasyon

Bu tür sistemler genellikle Martysama veya benzeri Metin2 Development araçlarıyla entegre edilir. Geliştiriciler, game core dosyalarında gerekli değişiklikleri yaparak bu fonksiyonu aktif hale getirir. Aynı zamanda Python tabanlı script sistemlerle de desteklenebilir. Bu sayede Py Root ve UI Script gibi yapılarla uyumlu çalışarak, kullanıcı dostu bir arayüz sunulabilir.

Ruh Taşı Kağıdı Sisteminin Avantajları

- Geçici bonus sağlar, kalıcı yükseltim gerekmez.
- Oyunculara stratejik kullanım imkanı sunar.
- PVP ve PVE dengesini korur.
- Sunucu yöneticileri için ekonomi ve event planlamasında faydalıdır.

Teknik Açıklamalar[/BR][/BR]
Bu sistem genellikle auth server ve game server arasında senkronize çalışır. DB Core üzerinden veri saklanır ve oyuncu giriş yaptığı anda sistem tarafından kontrol edilir. Kağıt kullanıldığında, geçici bonus server-side olarak aktif edilir ve belirlenen süre sonunda otomatik olarak kaldırılır. Bu süreçte client-side değişikliklerle beraber kullanıcıya görsel bildirimler sağlanır.

Sonuç

Ruh Taşı Kağıdı fonksiyonu, Metin2 özel sunucularında oyuncu deneyimi ve stratejik gameplay için oldukça değerlidir. Doğru uygulandığında, sunucu popülasyonunu artırabilir ve oyuncuların daha fazla etkileşim kurmasını sağlayabilir. Geliştiriciler bu sistemi source edit veya compile işlemleriyle entegre ederek özelleştirebilirler.


What is the Soul Stone Paper Function?

The Soul Stone Paper is one of the important systems developed for Metin2 private servers that directly affect players' PVP and PVE performance. This function allows players to temporarily increase their Soul Stone bonuses without upgrading or breaking existing stones. This situation provides great advantages both during combat and adventure.

Usage and Purpose of the Function

The Soul Stone Paper is typically developed within C++-based server side systems. These papers are found in player inventories and can be used to temporarily enhance Soul Stone bonuses. For example, a character with a +7 Soul Stone bonus might temporarily rise to +10 by using this paper. This temporary boost can make critical differences in PVP battles.

System Development and Integration

These types of systems are often integrated using tools like Martysama or similar Metin2 Development resources. Developers modify game core files to activate the function. Additionally, they can be supported with Python-based script systems. Thus, compatible with structures like Py Root and UI Script, providing user-friendly interfaces.

Advantages of the Soul Stone Paper System

- Provides temporary bonus, no permanent upgrade needed.
- Offers strategic usage opportunities for players.
- Maintains balance between PVP and PVE.
- Useful for economy and event planning for server administrators.

Technical Explanations[/BR][/BR]
This system usually works synchronized between the auth server and game server. Data is stored via DB Core and checked when a player logs in. Once the paper is used, the temporary bonus is activated server-side and automatically removed after the set duration. Visual notifications are provided to the user through client-side changes during this process.

Conclusion

The Soul Stone Paper function is highly valuable for Metin2 private servers in terms of player experience and strategic gameplay. When applied correctly, it can increase server population and encourage more interaction among players. Developers can customize this system by integrating it through source edit or compile processes.
 

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

Geri
Üst Alt