Sistemi ekleyince 2 konudada aynı yeri değiştirin diyor her türlü 1 sistemi feda etmiş oluyorduk.
Uiaffectshower.py açılır ve aratılır.
Değiştirilir.
MaviAyGames | Dönüşümden Çıkma ve Şebnem Iconları Çakışması
Metin2 özel sunucularında yaygın karşılaşılan sorunlardan birisi de karakterin dönüşümünden çıktıktan sonra bazı iconların çakışmasıdır. Özellikle MaviAyGames tarafından geliştirilen sistemlerde bu durum dikkat çekmektedir. Bu yazıda, dönüşümden sonra Şebnem iconunun çakışmasının nedenlerini, olası çözümleri ve Metin2 özel sunucu geliştirme süreçlerinde dikkat edilmesi gereken teknik detayları ele alacağız.
Dönüşüm Sistemi ve Client Tarafında Oluşan Sorunlar
Metin2 özel sunucularında, oyuncuların belirli seviyeye ulaştığında dönüşüm yapabilmesi için özel sistemler geliştirilir. Bu sistemler genellikle C++ tabanlı server-side kodlarla desteklenir. Ancak dönüşüm esnasında veya dönüşüm sonrası bazı UI öğelerinde aksaklıklar görülebilir. Bunlardan birisi de Şebnem iconunun dönüşüm bitiminden sonra görünmeye devam etmesi veya yanlış konumda kalması.
Neden Bu Sorun Oluşur?
Bu problem genellikle şu nedenlerle ortaya çıkar:
- UI güncellemesi eksikliği: Dönüşüm bittiğinde bazı UI bileşenleri doğru şekilde güncellenmez. Bu durumda, örneğin Şebnem iconu önceki durumuna geri dönmeden ekranda kalabilir.
- UIScript veya Python GUI hataları: Metin2 client tarafında UI elemanlarının kontrolü Python ile sağlanır. UIScript dosyalarında eksik veya hatalı komutlar, iconların doğru şekilde gizlenmemesine yol açabilir.
- Server-client senkronizasyonu: Dönüşüm bilgisi sunucudan istemciye gönderildiği halde, istemci tarafında bu bilgi doğru yorumlanmazsa UI güncellemesi yapılmayabilir.
MaviAyGames Tarafından Sunulan Sistemlerde Bu Sorun Nasıl Ele Alınır?
MaviAyGames, Metin2 özel sunucularında PvP sistemleri ve gelişmiş karakter dönüşüm sistemleri ile tanınmaktadır. Bu sistemlerde, dönüşüm sonrası UI değişiklikleri için özel fonksiyonlar tanımlanmıştır. Ancak bu sistemlerde de zaman zaman UI güncellemesi eksik kalabilmektedir. Bu durumda yapılması gerekenlerden bazıları şunlardır:
- client/src/uitooltip.py dosyasında, dönüşüm sonrası iconların gizlenip/gösterilmesi için gerekli kontrol mekanizmalarını kontrol edin.
- UIScript dosyalarında SetVisible ya da Hide komutlarının dönüşüm esnasında ve sonrasında doğru şekilde çalıştığından emin olun.
- Game core tarafında dönüşüm bitiminde client'a UI reset komutu gönderilmesi önerilir. Bu işlem, UI'nin sıfırlanmasını ve yeniden yüklenmesini sağlayabilir.
Python GUI ve Py Root Kullanımıyla UI Kontrolü
Metin2 client tarafında UI kontrolü için Python GUI yapıları kullanılır. Bu yapılar, py root ve uiscript dosyalarıyla yönetilir. Bu dosyalarda yapılan küçük hatalar, büyük UI sorunlarına yol açabilir. Örneğin, Şebnem iconunun dönüşüm sonrası görünmeye devam etmesi, Show() fonksiyonunun doğru şekilde çağrılmamasından kaynaklanabilir.
Örnek Kod Yapısı:
def OnExitPhase(self):
if self.shenem_icon:IsShow():
self.shenem_icon.Hide()
Sunucu Tarafında C++ ile UI Senkronizasyonu
C++ tabanlı Metin2 server-src tarafında, dönüşümün bitiminde istemciye UI durumu bildirilir. Bu bildirimlerde eksiklik olması durumunda, client tarafında UI güncellenmeyebilir. Bu durumda, game/src/entity.cpp dosyasında, dönüşüm sonu kontrolü yapılırken SendShenemIconStatus gibi özel fonksiyonlar tanımlanabilir. Bu sayede, dönüşüm bitiminde client tarafında UI otomatik olarak sıfırlanabilir.
Sonuç
Metin2 özel sunucularında, dönüşüm sonrası UI çakışmaları oldukça can sıkıcı olabilir. Özellikle MaviAyGames gibi gelişmiş sistemler kullanan sunucularda, hem server-side hem de client-side kodların dikkatlice incelenmesi gerekir. Bu sorunların çözümünde, Python GUI, uiscript, C++ server kodları ve core ile birlikte değerlendirilmelidir. Bu tür sorunlar çözüldüğünde, oyuncular daha stabil ve akıcı bir deneyim yaşarlar.
MaviAyGames | Exiting Transformation and Shenem Icon Overlap
One of the common issues encountered in Metin2 private servers is the overlapping of icons after a character exits from transformation. This issue is particularly noticeable in systems developed by MaviAyGames. In this article, we will examine the causes of the shenem icon overlap after exiting transformation, potential solutions, and technical details to consider during Metin2 private server development processes.
Transformation System and Client-Side Issues
In Metin2 private servers, special systems are developed to allow players to transform upon reaching certain levels. These systems are typically supported by C++ based server-side codes. However, some UI elements may malfunction during or after transformation. One such issue is the shenem icon continuing to appear after the transformation ends or remaining in the wrong location.
Why Does This Issue Occur?
This problem usually arises due to the following reasons:
- Missing UI update: After transformation ends, some UI components are not updated correctly. As a result, for example, the shenem icon may remain visible instead of reverting to its previous state.
- UIScript or Python GUI errors: The control of UI elements in Metin2 client side is handled with Python. Missing or incorrect commands in UIScript files can cause icons to not hide properly.
- Server-client synchronization: Even though transformation data is sent from the server to the client, if the client does not interpret this information correctly, UI updates may not occur.
How Is This Issue Addressed in Systems Provided by MaviAyGames?
MaviAyGames is known for PvP systems and advanced character transformation systems in Metin2 private servers. In these systems, special functions are defined for UI changes after transformation. However, sometimes UI updates can still be incomplete. Some steps to address this include:
- Check the mechanisms in client/src/uitooltip.py file to ensure icons are hidden/shown correctly after transformation.
- Ensure that SetVisible or Hide commands in UIScript files are executed correctly during and after transformation.
- It is recommended to send a UI reset command to the client from the game core side at the end of transformation. This can force the UI to reset and reload.
UI Control with Python GUI and Py Root Usage
Python GUI structures are used for UI control on the Metin2 client side. These structures are managed through py root and uiscript files. Small errors in these files can lead to major UI problems. For example, the shenem icon remaining visible after transformation might stem from the Show() function not being called correctly.
Sample Code Structure:
def OnExitPhase(self):
if self.shenem_icon:IsShow():
self.shenem_icon.Hide()
UI Synchronization with C++ on Server Side
On the C++ based Metin2 server-src side, the client is notified of the UI state upon transformation end. If there are missing notifications, the client UI may not update. In such cases, special functions like SendShenemIconStatus can be defined in game/src/entity.cpp to reset the UI automatically on the client side when transformation ends.
Conclusion
In Metin2 private servers, UI overlaps after transformation can be quite frustrating. Especially in servers using advanced systems like MaviAyGames, both server-side and client-side codes must be carefully reviewed. To solve such issues, Python GUI, uiscript, C++ server codes and core must be evaluated together. When these issues are resolved, players experience a more stable and fluid gameplay.
Çözümü aşağıdadır.
Uiaffectshower.py açılır ve aratılır.
Kod:
if type < 500: return
Kod:
if app.ENABLE_NEW_AFFECT_POTION: if type < 500 and type != chr.NEW_AFFECT_POLYMORPH and not type == AFFECT_POTION["affect"][0] and not type == AFFECT_POTION["affect"][1] and not type == AFFECT_POTION["affect"][2] and not type == AFFECT_POTION["affect"][3] and not type == AFFECT_POTION["affect"][4] and not type == AFFECT_POTION["affect"][5]: return else: if type < 500: return
MaviAyGames | Dönüşümden Çıkma ve Şebnem Iconları Çakışması
Metin2 özel sunucularında yaygın karşılaşılan sorunlardan birisi de karakterin dönüşümünden çıktıktan sonra bazı iconların çakışmasıdır. Özellikle MaviAyGames tarafından geliştirilen sistemlerde bu durum dikkat çekmektedir. Bu yazıda, dönüşümden sonra Şebnem iconunun çakışmasının nedenlerini, olası çözümleri ve Metin2 özel sunucu geliştirme süreçlerinde dikkat edilmesi gereken teknik detayları ele alacağız.
Dönüşüm Sistemi ve Client Tarafında Oluşan Sorunlar
Metin2 özel sunucularında, oyuncuların belirli seviyeye ulaştığında dönüşüm yapabilmesi için özel sistemler geliştirilir. Bu sistemler genellikle C++ tabanlı server-side kodlarla desteklenir. Ancak dönüşüm esnasında veya dönüşüm sonrası bazı UI öğelerinde aksaklıklar görülebilir. Bunlardan birisi de Şebnem iconunun dönüşüm bitiminden sonra görünmeye devam etmesi veya yanlış konumda kalması.
Neden Bu Sorun Oluşur?
Bu problem genellikle şu nedenlerle ortaya çıkar:
- UI güncellemesi eksikliği: Dönüşüm bittiğinde bazı UI bileşenleri doğru şekilde güncellenmez. Bu durumda, örneğin Şebnem iconu önceki durumuna geri dönmeden ekranda kalabilir.
- UIScript veya Python GUI hataları: Metin2 client tarafında UI elemanlarının kontrolü Python ile sağlanır. UIScript dosyalarında eksik veya hatalı komutlar, iconların doğru şekilde gizlenmemesine yol açabilir.
- Server-client senkronizasyonu: Dönüşüm bilgisi sunucudan istemciye gönderildiği halde, istemci tarafında bu bilgi doğru yorumlanmazsa UI güncellemesi yapılmayabilir.
MaviAyGames Tarafından Sunulan Sistemlerde Bu Sorun Nasıl Ele Alınır?
MaviAyGames, Metin2 özel sunucularında PvP sistemleri ve gelişmiş karakter dönüşüm sistemleri ile tanınmaktadır. Bu sistemlerde, dönüşüm sonrası UI değişiklikleri için özel fonksiyonlar tanımlanmıştır. Ancak bu sistemlerde de zaman zaman UI güncellemesi eksik kalabilmektedir. Bu durumda yapılması gerekenlerden bazıları şunlardır:
- client/src/uitooltip.py dosyasında, dönüşüm sonrası iconların gizlenip/gösterilmesi için gerekli kontrol mekanizmalarını kontrol edin.
- UIScript dosyalarında SetVisible ya da Hide komutlarının dönüşüm esnasında ve sonrasında doğru şekilde çalıştığından emin olun.
- Game core tarafında dönüşüm bitiminde client'a UI reset komutu gönderilmesi önerilir. Bu işlem, UI'nin sıfırlanmasını ve yeniden yüklenmesini sağlayabilir.
Python GUI ve Py Root Kullanımıyla UI Kontrolü
Metin2 client tarafında UI kontrolü için Python GUI yapıları kullanılır. Bu yapılar, py root ve uiscript dosyalarıyla yönetilir. Bu dosyalarda yapılan küçük hatalar, büyük UI sorunlarına yol açabilir. Örneğin, Şebnem iconunun dönüşüm sonrası görünmeye devam etmesi, Show() fonksiyonunun doğru şekilde çağrılmamasından kaynaklanabilir.
Örnek Kod Yapısı:
def OnExitPhase(self):
if self.shenem_icon:IsShow():
self.shenem_icon.Hide()
Sunucu Tarafında C++ ile UI Senkronizasyonu
C++ tabanlı Metin2 server-src tarafında, dönüşümün bitiminde istemciye UI durumu bildirilir. Bu bildirimlerde eksiklik olması durumunda, client tarafında UI güncellenmeyebilir. Bu durumda, game/src/entity.cpp dosyasında, dönüşüm sonu kontrolü yapılırken SendShenemIconStatus gibi özel fonksiyonlar tanımlanabilir. Bu sayede, dönüşüm bitiminde client tarafında UI otomatik olarak sıfırlanabilir.
Sonuç
Metin2 özel sunucularında, dönüşüm sonrası UI çakışmaları oldukça can sıkıcı olabilir. Özellikle MaviAyGames gibi gelişmiş sistemler kullanan sunucularda, hem server-side hem de client-side kodların dikkatlice incelenmesi gerekir. Bu sorunların çözümünde, Python GUI, uiscript, C++ server kodları ve core ile birlikte değerlendirilmelidir. Bu tür sorunlar çözüldüğünde, oyuncular daha stabil ve akıcı bir deneyim yaşarlar.
MaviAyGames | Exiting Transformation and Shenem Icon Overlap
One of the common issues encountered in Metin2 private servers is the overlapping of icons after a character exits from transformation. This issue is particularly noticeable in systems developed by MaviAyGames. In this article, we will examine the causes of the shenem icon overlap after exiting transformation, potential solutions, and technical details to consider during Metin2 private server development processes.
Transformation System and Client-Side Issues
In Metin2 private servers, special systems are developed to allow players to transform upon reaching certain levels. These systems are typically supported by C++ based server-side codes. However, some UI elements may malfunction during or after transformation. One such issue is the shenem icon continuing to appear after the transformation ends or remaining in the wrong location.
Why Does This Issue Occur?
This problem usually arises due to the following reasons:
- Missing UI update: After transformation ends, some UI components are not updated correctly. As a result, for example, the shenem icon may remain visible instead of reverting to its previous state.
- UIScript or Python GUI errors: The control of UI elements in Metin2 client side is handled with Python. Missing or incorrect commands in UIScript files can cause icons to not hide properly.
- Server-client synchronization: Even though transformation data is sent from the server to the client, if the client does not interpret this information correctly, UI updates may not occur.
How Is This Issue Addressed in Systems Provided by MaviAyGames?
MaviAyGames is known for PvP systems and advanced character transformation systems in Metin2 private servers. In these systems, special functions are defined for UI changes after transformation. However, sometimes UI updates can still be incomplete. Some steps to address this include:
- Check the mechanisms in client/src/uitooltip.py file to ensure icons are hidden/shown correctly after transformation.
- Ensure that SetVisible or Hide commands in UIScript files are executed correctly during and after transformation.
- It is recommended to send a UI reset command to the client from the game core side at the end of transformation. This can force the UI to reset and reload.
UI Control with Python GUI and Py Root Usage
Python GUI structures are used for UI control on the Metin2 client side. These structures are managed through py root and uiscript files. Small errors in these files can lead to major UI problems. For example, the shenem icon remaining visible after transformation might stem from the Show() function not being called correctly.
Sample Code Structure:
def OnExitPhase(self):
if self.shenem_icon:IsShow():
self.shenem_icon.Hide()
UI Synchronization with C++ on Server Side
On the C++ based Metin2 server-src side, the client is notified of the UI state upon transformation end. If there are missing notifications, the client UI may not update. In such cases, special functions like SendShenemIconStatus can be defined in game/src/entity.cpp to reset the UI automatically on the client side when transformation ends.
Conclusion
In Metin2 private servers, UI overlaps after transformation can be quite frustrating. Especially in servers using advanced systems like MaviAyGames, both server-side and client-side codes must be carefully reviewed. To solve such issues, Python GUI, uiscript, C++ server codes and core must be evaluated together. When these issues are resolved, players experience a more stable and fluid gameplay.
