Öncesinde;
Arkadaş Ekleme Butonuna Bastıktan Sonra Mesaj Atılacak Kişinin targetName EditLine ile Engelleme Arasında Boşluk Oluyordu ve Kötü Görünüyordu.
Bende Bunu Şu Şekilde Düzenledim.
Root/uiWhisper.py Aç ve Arat:
Değiştir:
Tekrar Arat:
Değiştir:
Tekrar Arat:
Altına Ekle:
Kanıt:
Arkadaş Ekleme Butonuna Bastıktan Sonra Mesaj Atılacak Kişinin targetName EditLine ile Engelleme Arasında Boşluk Oluyordu ve Kötü Görünüyordu.
Bende Bunu Şu Şekilde Düzenledim.
Root/uiWhisper.py Aç ve Arat:
Kod:
self.friendButton.SetPosition
Değiştir:
Kod:
self.friendButton.SetPosition(143, 10)
Tekrar Arat:
Kod:
self.TargetBlockButton.SetPosition
Değiştir:
Kod:
self.TargetBlockButton.SetPosition(166, 10)
Tekrar Arat:
Kod:
def AddFrind(self): if app.ENABLE_MESSENGER_BLOCK: if messenger.IsBlockFriendByName(self.targetName): chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.UNBLOCK_TO_BY_NAME_CONTIUNE % self.targetName) return net.SendMessengerAddByNamePacket(self.targetName) self.friendButton.Hide()
Altına Ekle:
Kod:
self.TargetBlockButton.SetPosition(143, 10)
Kanıt:
Patronlara Karşı Güç Bonusu: Metin2 PvP Sistemleri İçin Stratejik Geliştirme Yöntemi
Metin2 özel sunucularında güçlü bir PvP deneyimi yaşamak isteyen oyuncular için Patronlara Karşı Güç Bonusu sistemi, strateji ve yetenek kombinasyonunu bir araya getiren yenilikçi bir özelliktir. Bu sistem, oyuncuların belirli boss karakterlerle karşılaştıklarında geçici olarak artan hasar, savunma veya başka bonuslar almasını sağlar. Bu yazıda, C++ ve Python tabanlı source sistemlerde nasıl entegre edileceği, db tarafında nasıl destekleneceği ve game core ile nasıl senkronize edileceği ele alınacaktır.
Patronlara Karşı Güç Bonusu Nedir?
Bu sistem, oyuncuların boss savaşları sırasında daha dengeli ve sürdürülebilir bir mücadele ortamı sunmayı amaçlar. Örneğin, bir boss karakteri öldürmek zor olabilir, ancak Patronlara Karşı Güç Bonusu sayesinde oyuncular, belirli bir süre için hasar artışı, can kazanımı veya savunma artırımı gibi bonuslar alabilir. Bu bonuslar, client tarafında uiscript ile görsel olarak gösterilir ve auth ile senkronize edilir.
Sistem Mimarisine Genel Bakış
Bu sistem genellikle üç ana bileşenden oluşur:
- Game Server: Bonusları aktif eden ve kontrol eden yapıdır.
- Database: Bonus parametrelerini ve oyuncu geçmişini tutar.
- Client: Bonus görsellerini ve kullanıcı etkileşimlerini sağlar.
C++ Kaynak Kod Entegrasyonu
C++ tabanlı server src dosyalarında, belirli bir boss ile etkileşime girildiğinde bir event tetiklenmelidir. Bu event, oyuncuya geçici bonuslar sağlar. Örneğin, OnBossEnter() fonksiyonu ile bu etki başlatılabilir. Bu fonksiyon, game core tarafından yönetilir ve db core ile haberleşir.
Python GUI ve Py Root Kullanımı
Oyun geliştirme sürecinde, Python ile yazılmış py gui sistemleri, bonus ayarlarının yapılandırılmasında büyük kolaylık sağlar. Py root üzerinden bonus türleri, süresi, miktarı gibi ayarlar yapılabilir. Bu yapı, Martysama tarzı sistemlerde de yaygın olarak kullanılır.
Bonus Ayarlamaları ve DB Entegrasyonu
Database tarafında, her bonus için ayrı bir tablo oluşturulabilir. Örnek tablo yapısı:
- bonus_id
- player_id
- boss_id
- bonus_type
- value
- start_time
- end_time
Client Tarafında Bonus Gösterimi
Client src dosyalarında, uiscript yardımıyla bonus efektleri kullanıcıya görsel olarak aktarılır. Oyuncu, boss ile temas halindeyken ekranın bir köşesinde 'Patron Bonusu Aktif' gibi bir bildirim görebilir. Bu, game ve auth sunucuları arasında güvenli bir şekilde aktarılır.
PvP ve PvE Dengesi
Metin2 özel sunucularında PvP sistemleri ile entegre çalışması gereken bu sistem, PvE odaklı bölümlerde de güçlü bir etki yaratır. Oyuncular, boss ile savaştıklarında bonuslar sayesinde daha fazla experience ve drop kazanabilirler. Bu da oyun içi motivasyonu artırır.
Sonuç
Patronlara Karşı Güç Bonusu sistemi, Metin2 özel sunucularında oyun deneyimini ciddi anlamda zenginleştirir. C++ ve Python tabanlı gelişmiş source sistemleri ile entegre edilmesi, server geliştiricileri için hem esneklik hem de kontrol imkanı sunar. Metin2Lobby.com olarak bu tür sistemleri incelemeye ve geliştirmeye devam ediyoruz.
Power Bonus Against Bosses: A Strategic Development Approach for Metin2 PvP Systems
In Metin2 private servers, the Power Bonus Against Bosses system is an innovative feature that combines strategy and skill for players seeking a strong PvP experience. This system allows players to gain temporary bonuses such as increased damage, defense, or other enhancements when fighting specific boss characters. In this article, we will discuss how this system can be integrated into C++ and Python-based source systems, how it is supported on the database side, and how it syncs with the game core.
What is Power Bonus Against Bosses?
This system aims to provide a more balanced and sustainable battle environment for players during boss fights. For example, while defeating a boss character may be challenging, the Power Bonus Against Bosses enables players to receive temporary bonuses like increased damage, health gain, or defense boosts. These bonuses are visually displayed on the client side through uiscript and synchronized with auth.
Overview of System Architecture
This system typically consists of three main components:
- Game Server: Triggers and manages the bonuses.
- Database: Stores bonus parameters and player history.
- Client: Handles visual effects and user interactions.
Integration with C++ Source Code
In C++-based server src files, an event should trigger upon interaction with a specific boss. This event grants temporary bonuses to the player. For example, the OnBossEnter() function could initiate this effect. It is managed by the game core and communicates with the db core.
Usage of Python GUI and Py Root
During the game development process, Python-based py gui systems provide great convenience for configuring bonus settings. Settings such as bonus types, duration, and amounts can be configured via py root. This structure is commonly used in systems similar to Martysama.
Bonus Configuration and Database Integration
On the database side, a separate table can be created for each bonus type. Example table structure:
- bonus_id
- player_id
- boss_id
- bonus_type
- value
- start_time
- end_time
Visual Representation of Bonuses on Client Side
Within client src files, bonuses are visually presented to the user via uiscript. When interacting with a boss, players might see a notification such as 'Boss Bonus Active' in a corner of their screen. This is securely transmitted between game and auth servers.
Balancing PvP and PvE
In Metin2 private servers, this system, which needs to work seamlessly with PvP systems, also creates a powerful impact in PvE-focused areas. Players can gain more experience and drops during boss battles thanks to these bonuses, increasing in-game motivation.
Conclusion
The Power Bonus Against Bosses system significantly enriches the gameplay experience in Metin2 private servers. Its integration with advanced C++ and Python-based source systems provides both flexibility and control options for server developers. At Metin2Lobby.com, we continue to explore and develop such systems.
