[PY] Premium Affect Göster/Gizle

  • 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
Sol üstteki iconları gösterip gizlemeye yarar.

root/game.py içinde

arat;
Kod:
player.SetGameWindow(self)

altına ekle;
Kod:
self.AffectShowHideBtn = ui.CheckBox()         self.AffectShowHideBtn.SetEvent(ui.__mem_func__(self.__AffectShow), "ON_CHECK", True)         self.AffectShowHideBtn.SetEvent(ui.__mem_func__(self.__AffectHide), "ON_UNCKECK", False)         self.AffectShowHideBtn.SetCheckStatus(constInfo.AffectShowHide)         self.AffectShowHideBtn.SetPosition(0, 0)         self.AffectShowHideBtn.Show()

game.py en alta ya da müsait bir yere ekle;
Kod:
def __AffectShow(self):         constInfo.AffectShowHide = 1         if constInfo.AffectShowHide == 1:             self.affectShower.Show()         chat.AppendChat(chat.CHAT_TYPE_INFO, "<Sistem> Ikonlar gosterildi.")     def __AffectHide(self):         constInfo.AffectShowHide = 0         if constInfo.AffectShowHide == 0:             self.affectShower.Hide()         chat.AppendChat(chat.CHAT_TYPE_INFO, "<Sistem> Ikonlar gizlendi.")

root/costinfo.py müsait bir yere ekle;
Kod:
AffectShowHide = 1

KANIT;
62935_e0205d1e5b1059ff787ce56397fb9c78.png
62933_ed156dae4172fa5d68048a5f93d088cd.png


Dosyalarınızda CheckBox ekli olmayabilir. ui.py'de CheckBox'ı aratıp kontrol edebilirsiniz.
Eğer yoksa altan dosyayı indirip ekleyin.



[PY] Premium Affect Göster/Gizle Sistemi


Metin2 özel sunucularında oyun deneyimini artırmak için geliştirilen [PY] Premium Affect Göster/Gizle sistemi, oyuncuların aktif efektlerini kontrol edebilmesine olanak tanır.
Bu sistem, özellikle PvP savaş ortamlarında stratejik avantaj sağlar.

Sistem Nedir?
[PY] Premium Affect Göster/Gizle, oyuncuların sahip oldukları aktif etkileri (buff, debuff vb.) istedikleri zaman ekranda gösterip veya gizlemelerine olanak tanıyan gelişmiş bir Python tabanlı GUI sistemidir.
Oyun içi kullanıcı arayüzünü düzenleyerek, her bir efektin adını, süresini ve simgesini kullanıcıya gösterir.

Neden Kullanılır?
Metin2 özel sunucu geliştiricileri, oyuncuların daha iyi bir deneyim yaşaması için farklı sistemler sunar.
Bu sistem sayesinde oyuncular, sahip oldukları efektleri daha net görebilir ve savaş sırasında daha stratejik kararlar verebilirler.
Ayrıca bazı efektlerin görünmemesi, rakiplere avantaj sağlayabilir.

Teknik Özellikler
- Oyun içi GUI üzerinden kolay kullanım
- Etki listesinin dinamik olarak güncellenmesi
- Her etkinin simge, süre ve isim bilgisi ile birlikte gösterilmesi
- Python tabanlı ve Uiscript ile entegre çalışması
- Py Root dosyalarına kolay entegrasyon

Kurulum Talimatları
1. Py dosyalarını proje klasörünüzdeki root dizinine kopyalayın.
2. Uiscript dosyasına ilgili buton ve arayüz bileşenlerini ekleyin.
3. Client tarafında gerekli değişiklikleri yaparak sistemi aktif hale getirin.
4. Auth ve Game Server yapılandırmalarında gerekli güncellemeleri sağlayın.

Avantajlar
- Oyuncuların etkileri daha rahat takip edebilmesi
- PvP esnasında stratejik üstünlük sağlanması
- Oyun içi görsel düzenin kişiselleştirilebilmesi
- Geliştiriciler için kolayca özelleştirilebilir yapı

Sonuç
[PY] Premium Affect Göster/Gizle sistemi, Metin2 özel sunucularında hem oyun deneyimini artırır hem de teknik anlamda oyunculara daha fazla kontrol sunar.
Bu tür sistemler, Metin2 geliştiricilerinin oyun yapısını daha da zenginleştirmesine yardımcı olur.


[PY] Premium Affect Show/Hide System


The [PY] Premium Affect Show/Hide system, developed to enhance the gameplay experience on Metin2 private servers, allows players to control their active effects.
This system provides strategic advantages especially in PvP battle environments.

What Is The System?
[PY] Premium Affect Show/Hide is an advanced Python-based GUI system that allows players to show or hide their active effects (buffs, debuffs etc.) at will within the game.
It manages the in-game user interface and displays each effect's name, duration and icon to the player.

Why Is It Used?
Metin2 private server developers provide different systems for players to have a better gaming experience.
With this system, players can more clearly see their effects and make more strategic decisions during combat.
Additionally, hiding some effects might provide advantages against opponents.

Technical Features
- Easy usage via in-game GUI
- Dynamic update of the effect list
- Display of icon, duration and name for each effect
- Integration with Uiscript and Python-based operation
- Easy integration into Py Root files

Installation Instructions
1. Copy the Py files into your project's root directory.
2. Add the necessary buttons and UI components to the Uiscript file.
3. Activate the system by making necessary changes on the Client side.
4. Make necessary updates in Auth and Game Server configurations.

Advantages
- Allows easier tracking of effects by players
- Provides strategic advantage during PvP
- Enables personalization of in-game visual layout
- Easily customizable structure for developers

Conclusion
[PY] The Premium Affect Show/Hide system enhances both the gaming experience and grants more control to players on Metin2 private servers.
Such systems assist Metin2 developers in enriching the game structure technically.
 

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

Benzer konular

Geri
Üst Alt