[C++ & Py] Quest Show Item ToolTip By Cell

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

Admin

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

Dev'den Owsap kendi sunucusuna official 6-7 efsun ekleme olayını entegre ederken böyle bir sistem yapmış, çeşitli işler için kullanılabilir.

Kanıt ;

161158165624QUEST-INSERT-ITEM-TOOLTIP-BY-CELL.gif


Linkler ;







Quest Show Item ToolTip By Cell

Metin2 Oyununda Kullanılan C++ ve Python Tabanlı Sistem

Metin2 özel sunucularında oyun içi deneyimi artırmak adına geliştirilen sistemlerden biri de 'Quest Show Item ToolTip By Cell' sistemidir. Bu sistem sayesinde oyuncular, envanterlerinde belirli bir hücreye tıkladıklarında, o hücrede yer alan eşyanın detaylı bilgilerine ulaşabilir. Bu özellik genellikle özel sunucularda, kullanıcı dostu arayüz geliştirmeleri ve gelişmiş oyun mekanikleri için tercih edilir.

Sistemin Amacı

Bu sistem, oyuncuların eşya bilgilerine hızlıca ulaşmasını sağlar. Özellikle PvP sunucularında, envanterdeki güçlü ekipmanları hızlıca kontrol etmek veya karşılaştırmak isteyen oyuncular için oldukça faydalıdır. Sistem, hem C++ tarafında hem de Python GUI tarafında geliştirilmiştir. Böylece hem sunucu tarafında verimli çalışır hem de istemci tarafında kullanıcıya akıcı bir deneyim sunar.

C++ Tarafında Uygulama

C++ tarafında bu sistem, oyun sunucusu üzerinde tanımlanan özel fonksiyonlar aracılığıyla çalışır. Oyuncunun tıkladığı hücrenin ID'si sunucuya gönderilir. Sunucu, bu hücredeki eşya verisini alır ve gerekli detayları hazırlar. Bu veriler daha sonra istemciye gönderilir. Bu süreçte game core ve db core yapıları önemli rol oynar. Eşya bilgileri veritabanından çekilir ve sunucu üzerinden istemciye aktarılır.

Python Tarafında Uygulama

Python tarafında ise bu işlem genellikle uiscript dosyaları aracılığıyla gerçekleştirilir. py root klasöründe yer alan GUI dosyaları, oyuncunun tıkladığı hücreyi algılayarak sunucudan gelen verileri Tooltip olarak ekrana getirir. Bu sistemde py gui modülleri, kullanıcı arayüzü üzerinde dinamik içerik oluşturmada kullanılır. Böylece oyuncular, fareyle hücreye geldiklerinde detaylı bilgiyi anlık olarak görebilirler.

Neden Kullanılmalı?

Bu tip sistemler, Metin2 özel sunucularında oyuncu memnuniyetini artırır. Özellikle büyük envanter dolu sunucularda, eşyaların özelliklerini kontrol etmek zorlaşabilir. 'Show Item ToolTip By Cell' sistemi sayesinde, bu işlem kolaylaşır ve oyuncular daha verimli oyun içi kararlar alabilir. Ayrıca, sistem özelleştirilebilir ve sunucuya özel yetenekler eklenmesi mümkündür.

Kurulum ve Entegrasyon

Sistemin kurulumu için öncelikle C++ sunucu kaynak koduna özel fonksiyonlar eklenmelidir. Ardından, istemci tarafında Python GUI kodları düzenlenir. Bu işlem sırasında client src dosyalarında değişiklikler yapılabilir. Kurulum tamamlandıktan sonra, sistem test edilir ve gerekirse pack dosyalarına entegre edilir. Bu tür sistemler genellikle martysama ve diğer Metin2 geliştirici topluluklarında paylaşılır.

Sonuç

'Quest Show Item ToolTip By Cell' sistemi, Metin2 özel sunucularında kullanıcı deneyimini ciddi anlamda artıran bir özelliktir. C++ ve Python tabanlı bu sistem, hem teknik hem de kullanıcı dostu bir yapı sunar. Geliştiriciler, bu sistemi kendi sunucularına entegre ederek oyunculara daha fazla imkan sağlayabilir. Bu tür sistemler, Metin2'nin esnek yapısının en iyi örneklerinden biridir.


Quest Show Item ToolTip By Cell

C++ and Python Based System in Metin2

One of the systems developed to enhance the in-game experience in Metin2 private servers is the 'Quest Show Item ToolTip By Cell' system. With this system, players can access detailed information about the item located in that cell by clicking on a specific cell in their inventory. This feature is commonly preferred in private servers for user-friendly interface improvements and advanced game mechanics.

Purpose of the System

This system allows players to quickly access item details. Especially on PvP servers, it is very useful for players who want to quickly check or compare powerful equipment in their inventory. The system is developed on both the C++ side and the Python GUI side. Thus, it operates efficiently on the server side and provides a smooth experience to users on the client side.

Implementation on C++ Side

On the C++ side, this system works through custom functions defined on the game server. The ID of the clicked cell is sent to the server. The server retrieves the item data in that cell and prepares the necessary details. These data are then sent to the client. During this process, game core and db core structures play an important role. Item information is retrieved from the database and transferred to the client via the server.

Implementation on Python Side

On the Python side, this process is usually carried out through uiscript files. GUI files located in the py root folder detect the cell clicked by the player and display the received data as a tooltip on the screen. In this system, py gui modules are used to create dynamic content on the user interface. This way, players can instantly see detailed information when hovering over a cell with the mouse.

Why Should It Be Used?

Such systems increase player satisfaction on Metin2 private servers. Especially on servers with large inventories, checking item properties can become difficult. Thanks to the 'Show Item ToolTip By Cell' system, this process becomes easier, and players can make more efficient in-game decisions. Moreover, the system is customizable, allowing special abilities to be added to the server.

Installation and Integration

To install the system, custom functions must first be added to the C++ server source code. Then, Python GUI codes on the client side are modified. Changes may be made to client src files during this process. After installation, the system is tested and, if necessary, integrated into pack files. Such systems are often shared within martysama and other Metin2 developer communities.

Conclusion

The 'Quest Show Item ToolTip By Cell' system is a feature that significantly enhances user experience on Metin2 private servers. This C++ and Python-based system offers both a technical and user-friendly structure. Developers can integrate this system into their own servers to provide players with more options. Such systems represent one of the best examples of Metin2's flexible architecture.
 

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

Benzer konular

Geri
Üst Alt