Şeffaf Char / görünmez

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
7a30d65d5fde02ec676733393cf6e7f3.gif


For <3



InstanceBase.cpp

Kod:
// Funktion suchen: BOOL CInstanceBase :: IsMovieMode () if (IsAffect (AFFECT_INVISIBILITY)) ersetzen mit: if (IsAffect (AFFECT_INVISIBILITY) &&! __ MainCanSeeHiddenThing ()) Funktion böyle: BOOL CInstanceBase :: IsInvisibility () if (IsAffect (AFFECT_INVISIBILITY) ersetzen mit: if (IsAffect (AFFECT_INVISIBILITY) &&! __ MainCanSeeHiddenThing ()) Funktion suchen: bool CInstanceBase :: __ MainCanSeeHiddenThing () Ändern zu: bool CInstanceBase :: __ MainCanSeeHiddenThing () {     CInstanceBase * pInstance = __GetMainInstancePtr ();     dönüş (pInstance)? TRUE == pInstance-> IsGameMaster (): false; } Funktion suchen: bool CInstanceBase :: Oluştur (const SCreateData ve c_rkCreateData) Am ende dieser Funktion hinzufügen: if (IsAffect (AFFECT_INVISIBILITY) && __MainCanSeeHiddenThing ())         m_GraphicThingInstance.BlendAlphaValue (0.5f, 0.5f); Funktion suchen: bool CInstanceBase :: CanPickInstance () if (IsAffect (AFFECT_REVIVE_INVISIBILITY)) ersetzen mit: if (IsAffect (AFFECT_REVIVE_INVISIBILITY) &&! __ MainCanSeeHiddenThing ()) ve if (IsAffect (AFFECT_INVISIBILITY)) ersetzen mit: if (isAffect (AFFECT_INVISIBILITY) && ! __ MainCanSeeHiddenThing ()) Funktion suchen: bool CInstanceBase :: __ CanRender () if (isAffect (AFFECT_INVISIBILITY)) ersetzen mit: eğer (IsAffect (AFFECT_INVISIBILITY) &&! __ MainCanSeeHiddenThing ())

Kod:
Funktion suchen: void CInstanceBase :: __ Assassin_SetEunhyeongAffect (bool isVisible) Über:         m_GraphicThingInstance.BlendAlphaValue (1.0f, 1.0f);         m_GraphicThingInstance.ShowAllAttachingEffect (); Das hinzufügen:         if (IsAffect (AFFECT_INVISIBILITY) && __MainCanSeeHiddenThing ())             geri dönüşü; Funktion suchen: void CInstanceBase :: __ SetAffect (UINT eAffect, bool isVisible) if (IsAffect (AFFECT_INVISIBILITY)) ersetzen mit: if (IsAffect (AFFECT_INVISIBILITY) && __ MainCanSeeHiddenThing ()!) Der selben Funktion nach olarak "vaka AFFECT_INVISIBILITY:" suchen und darunter folgendes hinzufügen:             if (__MainCanSeeHiddenThing ())             {                 if (isVisible)                     m_GraphicThingInstance.BlendAlphaValue (0.5f, 1.0f);                 başka                     m_GraphicThingInstance.BlendAlphaValue (1.0f, 1.0f);                 break;             } Funktion suchen: DWORD CInstanceBase :: __ AttachEffect (UINT eEftType) if (IsAffect (AFFECT_INVISIBISITY)) ersetzen mit: if (IsAffect (AFFECT_INVISIBILITY) &&! __ MainCanSeeHiddenThing ())

Metin2 Şeffaf Char / Görünmez Sistemleri Hakkında Bilgi
Metin2 özel sunucularında geliştirilen sistemlerden biri olan Şeffaf Char veya Görünmez Karakter sistemi, oyuncuların PvP deneyimini zenginleştirmek için önemli bir özelliktir. Bu sistem genellikle PvP sunucularında kullanılır ve oyuncuların rakip karakterleri takip ederken daha stratejik hareket etmelerine olanak tanır.

Şeffaf Char Nedir?
Metin2 özel sunucularında geliştirilen şeffaf karakter sistemi, oyuncunun karakterinin belirli bir süreliğine diğer oyuncular tarafından görülmemesini sağlar. Bu sistem genellikle yetenek[/COORD], özel eşya veya script ile aktif edilir. Oyuncu bu durumdayken, diğer karakterler onu göremez, saldıramaz veya hedef alamaz. Bu da PvP savaşlarında büyük avantaj sağlar.

C++ ve Python ile Şeffaf Sistem Geliştirme
Metin2 sunucularında şeffaf karakter sistemi genellikle C++ tarafında game core üzerinde değişiklik yapılarak ve Python tarafında py root üzerinde script yazılarak entegre edilir. Bu işlem sırasında martysama gibi geliştirici kaynakları da destek olabilir. Py GUI arayüzleri sayesinde bu sistemlerin kullanıcı dostu arayüzlerle yönetilmesi de mümkündür.

Sistem Nasıl Çalışır?
Görünmezlik sistemi çalışırken, karakterin görünümü diğer oyuncular için devre dışı bırakılır. Bu esnada karakter hala oyun içinde aktif kalır, hareket edebilir, item kullanabilir ama diğer oyuncular tarafından görülemez. Sistem genellikle belirli bir süre için çalışır ve süresi bittiğinde karakter tekrar görünür hale gelir. Bu özellik genellikle PvP savaşlarında strateji geliştirmek amacıyla kullanılır.

Client ve Server Arasındaki Etkileşim
Bu tür sistemlerde client src[/COORD] üzerinde de bazı değişiklikler yapılması gerekir. Game server programming kapsamında, hem auth hem de game sunucusunda senkronizasyon sağlanmalıdır. Bu sayede görünmezlik efektinin sadece kendi ekranınızda değil, diğer tüm oyuncuların ekranlarında da düzgün çalışması sağlanır.

DB ve Core Entegrasyonu
Görünmezlik sisteminin veritabanında (DB) kayıt altına alınması için db core üzerinde uygun tabloların oluşturulması gerekir. Bu sayede karakterin görünmezlik süresi, yeteneğin ne zaman aktif olduğu gibi veriler sistemsel olarak saklanabilir. Core yapıları bu verileri doğru şekilde işler ve sunucu tarafında aktif hale getirir.

Geliştirme Kaynakları
Metin2 özel sunucu geliştirme sürecinde C++ kaynak kod ve source edit işlemleri oldukça önemlidir. Metin2 server src üzerinden yapılan düzenlemeler sayesinde özelleştirilmiş sistemler entegre edilebilir. Ayrıca uiscript ile arayüz üzerinde de bu sistemlere özel butonlar ve efektler eklenebilir.

Sonuç
Şeffaf Char sistemleri, Metin2 özel sunucularında PvP deneyimini ciddi anlamda zenginleştiren gelişmiş özelliklerden biridir. Doğru uygulandığında hem stratejik avantaj sağlar hem de oyuncuların eğlenceli zaman geçirmesini sağlar. Bu tür sistemlerin geliştirilmesi için C++, Python, DB ve core bilgisi oldukça önemlidir.


Information About Metin2 Transparent Char / Invisible System
One of the systems developed in Metin2 private servers is the Transparent Char or Invisible Character system, which enhances the player's PvP experience. This system is commonly used in PvP servers and allows players to move more strategically while tracking enemy characters.

What is Transparent Char?
The transparent character system developed in Metin2 private servers allows the player's character to become invisible to other players for a certain period of time. This system is usually activated through skills, special items, or scripts. While in this state, other characters cannot see, attack, or target the player, providing a major advantage in PvP battles.

Developing Transparent Systems with C++ and Python
In Metin2 servers, the transparent character system is typically implemented by making modifications to the game core in C++ and writing scripts in Python within the py root. Developer resources like martysama can assist during this process. Additionally, user-friendly interfaces for managing these systems can be created using Py GUI.

How Does the System Work?
While the invisibility system is active, the character's appearance is disabled for other players. During this time, the character remains active in the game, able to move and use items, but cannot be seen by others. The feature typically works for a limited duration and once expired, the character becomes visible again. This ability is often used in PvP combat to develop strategies.

Interaction Between Client and Server
Some modifications must also be made to the client src for such systems. In game server programming, synchronization must be ensured between both auth and game servers. This ensures that the invisibility effect works properly not only on your screen, but also on all other players' screens.

DB and Core Integration
To store invisibility system data in the database (DB), appropriate tables must be created within the db core. This allows data such as the invisibility duration and when the skill was activated to be stored systematically. The core structures process this data correctly and activate it on the server side.

Development Resources
During the development of Metin2 private servers, C++ source code and source edit operations are highly important. Customized systems can be integrated through modifications made to Metin2 server src. Additionally, special buttons and effects for these systems can be added via uiscript on the interface.

Conclusion
Transparent Char systems are advanced features that significantly enhance the PvP experience in Metin2 private servers. When applied correctly, they provide strategic advantages while also ensuring entertaining gameplay. Developing such systems requires knowledge of C++, Python, DB, and core.
 

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

Benzer konular

Geri
Üst Alt