[Python]Yeni Menü Sistemi | Bvural41 Kodlama

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

Admin

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

Yeni Kodladığım sistemi sizinle paylaşıcam.

Kodlama tamamen bana aittir.Kimse İtiraz Edemez Önceki Konulardaki Gibi..

Diğer Hızlı Menü Gibi kurması karışık falan değil sadece 2 dosya ve 1blok kod vericem.

Menüde Pazar Açma-Efsun Botu-Hızlı Ekipman-Balık Botu-Video Çekme-Depo Açma-Bonus Bilgisi-Hızlı Statü-İtem Kilitleme-İtem Silme vardır ve bunların hepsi sorunsuz çalışmaktadır.

Sistem Geliştirilmeye Açıktır..


nEJL4M.jpg


6myP73.png



24 Saat İçinde Linkleri Paylaşıcam Saat Baya Geç Oldu..
Python ile Metin2'de Yeni Menü Sistemi Geliştirme Rehberi | Bvural41 Tarafından Kodlandı


Metin2 özel sunucularında kullanıcı deneyimini artırmak için geliştirilen menü sistemleri, oyuncuların daha kolay gezinmesini ve erişmek istediği özellikleri hızlıca bulmasını sağlar. Bu yazıda, Python dilini kullanarak Metin2 özel sunucuları için özelleştirilmiş bir menü sistemi geliştireceğiz. Bu menü sistemi hem Py GUI kütüphanesiyle hem de UIScript yapısıyla uyumlu çalışacak şekilde planlanmıştır. Ayrıca, Martysama veya diğer Metin2Dev kaynakları ile entegre edilebilir.

Menü Sistemi Neden Önemlidir?
Metin2 özel sunucularında genellikle standart menü yetersiz kalır. Oyuncular, özel sistemler, PvP sistemleri, item paketleme, guild savaşları gibi birçok özelliği erişilebilir kılmak istenir. Bu nedenle, PyRoot dosyalarında özel menüler oluşturmak büyük avantaj sağlar. Python tabanlı menü sistemleri, esneklik ve kolaylık açısından tercih edilir.

Geliştirme Ortamı Hazırlığı
Öncelikle, Metin2 özel sunucu ortamınızın kurulu olduğundan emin olun. PyRoot ve UIScript yapıları üzerinde çalışacağımız için, C++ tarafında sunucu kaynak kodunun (SRC) mevcut olması gerekir. Bu sistem, hem game server hem de auth server ile entegre çalışacak şekilde tasarlanabilir.

Menü Sistemine Dahil Edilecek Özellikler
Bu özel menü sisteminde şu özellikler yer alacaktır:
- PvP Puan Sistemi Menüsü
- Guild Savaş Takvimi
- Özel Item Paketleme Paneli
- Yetenek ve Stat Yönetimi
- Sunucu Bilgi Panosu
- Hızlı Erişim Butonları

Python Menü Tasarımı Adımları
Py GUI kullanarak menü arayüzünü oluşturmak oldukça kolaydır. Her buton, bir komutu tetikleyecek şekilde ayarlanabilir. Örneğin, PvP sistemine gitmek için bir buton oluşturulabilir ve tıklanması durumunda ilgili Python fonksiyonu çağrılır.

İlk olarak, temel bir UIScript dosyası hazırlanır. Bu dosya, Python tarafından okunacak ve ekranda menü şeklinde görüntülenecektir. Menü butonları, game server ile haberleşecek şekilde ayarlanır.

Sunucu Tarafı Entegrasyonu
Python menü sistemimiz, DB Core ile entegre çalışarak oyuncu verilerini anlık olarak çekebilir. Bu sayede PvP puanları, guild bilgileri gibi dinamik veriler menüde gösterilebilir. Auth server ile de senkronize çalışarak, giriş yapan oyuncuya özel içerikler sunulabilir.

Menü Sisteminin Paketlenmesi ve Dağıtımı
Menü sistemi tamamlandığında, pack dosyası haline getirilip sunucuya entegre edilebilir. Martysama tarzı kaynaklarla uyumlu olacak şekilde test edilmelidir. Ayrıca, Metin2 lobby kullanıcıları için kolay kurulum belgeleri hazırlanmalıdır.

Sonuç
Python ile yazılmış bu menü sistemi, Metin2 özel sunucularında kullanıcı dostu ve güçlü bir navigasyon sağlar. Geliştiriciler için kolay genişletilebilir ve özelleştirilebilir bir yapıdır. Bu sistem, Metin2Dev ve C++ sistemleri ile uyumlu olarak geliştirildiğinden, hem frontend hem backend ile sorunsuz çalışır.

Daha fazla Metin2 geliştirme rehberi ve sistem paylaşımı için Metin2Lobby sitesini takip edin.


Developing a New Menu System with Python | Coded by Bvural41


To enhance the user experience on Metin2 private servers, menu systems are developed to allow players to navigate more easily and quickly find the features they need. In this article, we will develop a custom menu system for Metin2 private servers using the Python language. This menu system will be compatible with both Py GUI library and UIScript structure. Additionally, it can be integrated with sources like Martysama or other Metin2Dev resources.

Why Is a Menu System Important?
In Metin2 private servers, the default menu is often insufficient. Players may want access to special systems such as PvP systems, item packaging, guild wars, and more. Therefore, creating custom menus in PyRoot files provides significant advantages. Menu systems based on Python are preferred due to their flexibility and ease of use.

Setting Up the Development Environment
Firstly, ensure that your Metin2 private server environment is set up properly. Since we'll be working with PyRoot and UIScript structures, you need to have the server source code (SRC) written in C++. This system can be designed to work integrally with both game server and auth server.

Features Included in the Menu System
The following features will be included in this custom menu system:
- PvP Points System Menu
- Guild War Calendar
- Custom Item Packaging Panel
- Skill and Stat Management
- Server Info Dashboard
- Quick Access Buttons

Steps for Python Menu Design
Creating the menu interface using Py GUI is quite straightforward. Each button can be configured to trigger a command. For instance, a button for accessing the PvP system can be created, and clicking it will call the relevant Python function.

Initially, a basic UIScript file is prepared. This file will be read by Python and displayed as a menu on screen. The menu buttons will be configured to communicate with the game server.

Server-Side Integration
Our Python menu system can interact with DB Core to fetch player data in real-time. This allows dynamic data such as PvP points and guild information to be displayed in the menu. It can also synchronize with the auth server to provide content tailored to the logged-in player.

Packaging and Distributing the Menu System
Once the menu system is completed, it can be packaged into a pack file and integrated into the server. It should be tested for compatibility with sources similar to Martysama. Additionally, easy installation guides should be prepared for users of Metin2 lobby.

Conclusion
This menu system built with Python offers a user-friendly and powerful navigation experience in Metin2 private servers. It is an easily expandable and customizable structure for developers. Since it has been developed to be compatible with Metin2Dev and C++ systems, it works seamlessly with both frontend and backend.

For more Metin2 development guides and system sharing, follow the Metin2Lobby website.
 

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

Benzer konular

Geri
Üst Alt