Bu eklenti ne işe yarar? Exenizi ön plana çıkartır Ticaret geldiğinde, Pm geldiğinde Bot doğrulama vb. kullanım alanlarını siz belirleyebilirsiniz.
Kodlama bana aittir.
Örnek kullanım rar içerisinde verilmiştrir.
Kodlama bana aittir.
Örnek kullanım rar içerisinde verilmiştrir.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Metin2 Lobby olarak sunucu geliştirme konusunda aktif olan oyuncular için özel sistemler hazırlamaya devam ediyoruz. Bu yazıda C++ tabanlı bir sistem olan [CsWork] Exe Öne Getir Eklentisi'ni detaylıca inceleyeceğiz. Bu eklenti sayesinde Metin2 özel sunucularında çalışan client uygulamasını programatik olarak öne getirebilir, kullanıcı deneyimini artırabilirsiniz.
Bu sistem özellikle Martysama tabanlı client src üzerinde çalışmakta olan geliştiriciler için oldukça faydalıdır. Eklenti, uiscript dosyalarında yapılan değişikliklerle entegre bir şekilde çalışır. Kullanıcılar oyun içi bazı işlemler sırasında exe penceresinin otomatik olarak öne gelmesini sağlayabilir. Bu da PvP sistemlerinde ya da event tabanlı olaylarda kullanıcıların dikkatini çekebilir.
Sistemin temel mantığı, Windows API üzerinden FindWindow ve SetForegroundWindow fonksiyonlarını kullanarak belirtilen exe dosyasının pencere referansını alıp onu öne getirmektir. Bu işlem Python GUI ile de entegre edilebilir. Py Root dosyalarında tanımlanan komutlarla bu pencere yönetimi kolayca sağlanabilir. Core yapıya entegre edilerek sistemsel olarak sürekli kontrol sağlanabilir.
Kurulum aşamasında, client src dosyaları içerisinde ilgili header ve source dosyalarına gerekli kod parçacıklarını eklemek yeterlidir. Source edit yaparken dikkat edilmesi gereken bazı önemli noktalar vardır. Örneğin pencere adı doğru şekilde tanımlanmalıdır. Metin2 Lobby olarak biz bu tür küçük ama etkili sistemleri paylaşmaya devam ediyoruz.
Eklentinin avantajları arasında hızlı ve sorunsuz bir şekilde pencere kontrolü yapabilmesi yer alıyor. Özellikle auth ve game sunucuları arasında geçiş yapan oyuncular için bu eklenti, dikkat dağılmadan oyun içi etkinliklere yönlendirebilir. Db core bağlantısı olan sistemlerde bu pencere yönetimi, kullanıcıdan gelen verilerin daha hızlı işlenmesini sağlayabilir.
Sistem, channel bazlı yapılandırılabildiği için farklı sunucu kanallarında farklı ayarlamalar yapılabilir. Geliştiriciler, bu eklentiyi kendi özel sunucularına entegre ederken uiscript dosyalarında gerekli callback fonksiyonlarını tanımlayarak istenilen durumlarda exe penceresinin öne gelmesini sağlayabilirler. Py GUI ile entegrasyonu sayesinde bu işlem daha da kolaylaşır.
Bu tür küçük ama işlevsel sistemler, Metin2 development sürecinde büyük farklar yaratabilir. Game core üzerinde yapılan geliştirmeler, kullanıcı memnuniyetini doğrudan etkiler. Dilerseniz örnek kodları veya kurulum videolarını Metin2 Lobby forum üzerinden inceleyebilirsiniz.
Metin2 Lobby continues to develop special systems for active players in server development. In this article, we will examine the [CsWork] Bring Exe to Front Plugin, which is based on C++, in detail. Thanks to this plugin, you can programmatically bring the client application running on Metin2 private servers to the front, enhancing user experience.
This system is particularly useful for developers working with Martysama-based client src. The plugin works seamlessly integrated with modifications made in uiscript files. Users can make the exe window appear automatically during certain in-game processes. This can help capture user attention during PvP systems or event-based occurrences.
The basic logic of the system involves using Windows API functions such as FindWindow and SetForegroundWindow to retrieve the window reference of the specified exe file and bring it to the front. This process can also be integrated with Python GUI. Commands defined in Py Root files allow easy management of this window control. Integrated into the core structure, continuous monitoring can be ensured system-wide.
During installation, adding the necessary code snippets to the relevant header and source files within the client src is sufficient. There are some important points to consider when performing source edit. For example, the window name must be correctly defined. As Metin2 Lobby, we continue to share these small but effective systems.
Advantages of the plugin include its ability to manage windows quickly and without issues. Especially for players switching between auth and game servers, this plugin can redirect them to in-game activities without distraction. In systems with db core connections, this window management can speed up processing of user inputs.
Since the system can be configured per channel, different settings can be applied across various server channels. Developers integrating this plugin into their own private servers can ensure the exe window comes to the front at desired moments by defining necessary callback functions in uiscript files. Integration with Py GUI makes this process even easier.
Such small yet functional systems can make significant differences in the Metin2 development process. Enhancements made to the game core directly affect user satisfaction. You can view sample codes or setup videos on the Metin2 Lobby forum if you wish.
