-----------------------------------------------------
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
bu konuda :
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
bu görünümü istemiş isteyen bu görünümdede kullanabilir : indirilip Aşağıdaki Dizine Atılır ismi costume_bg.jpg olarak değiştirilir :
" locale/tr/ui "
-----------------------------------------------------
-----------------------------------------------------
Uiscript/costumewindow.py`Açılır
Aratılır : window = {
Bu Satır Komple Aşağıdaki ile değiştirilir.
Aratılır :
{"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
Altına Eklenir :
Kod:
{"index":item.EQUIPMENT_RING1, "x":61, "y":163, "width":32, "height":32},
{"index":item.EQUIPMENT_RING2, "x":12, "y":163, "width":32, "height":32},
Aratılır : "name" : "Costume_Base",
İmage yazan satır değiştirilir Aşağıdaki Gibi Yapılır.
"image" : "locale/tr/ui/costume_bg.jpg",
" locale/tr/ui "
Root/uiinventory.py Açılır.
Aratılır : class CostumeWindow(ui.ScriptWindow):
Sonra Bu Class içinde tekrar aratılır :
for i in xrange(item.COSTUME_SLOT_COUNT):
slotNumber = item.COSTUME_SLOT_START + i
self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
Altına Eklenir :
Kod:
for i in xrange(2):
slotNumber = player.NEW_EQUIPMENT_SLOT_START + i
self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
----------------------------------
Filesinize Göre Değişir Eğer Sql Yani Navicat Kullanıyorsanız O Sloto Gelmesini İstediğiniz İtemin
type nı 34 txt kullanan arkadaşlar oraya giyilmesini istediği yüzüklerin flagını item_proto'dan ITEM_RING Yapıcaklar.
Metin2 özel sunucularında oyun deneyimini geliştirmek için birçok küçük ama etkili değişiklik yapılabilir. Bunlardan biri de envanterdeki 'Yüzük' slotunun kostüm penceresine taşınmasıdır. Bu işlem hem görsel açıdan daha temiz bir yapı sunar hem de oyuncu tarafında kullanım kolaylığı sağlar. Bu yazıda, Metin2 özel sunucu geliştirme sürecinde bu değişikliği nasıl yapacağınızı adım adım anlatacağız.
Yüzük Slotu Nedir?
Metin2 oyununda oyuncular eşyalarını envanterde taşır. Envantarda belli başlı slotlar vardır: Silah, zırh, kolye, yüzük gibi. Yüzük slotu genellikle iki adettir ve envanterin belirli bir alanında yer alır. Ancak bazı sunucular, oyuncuların daha estetik ve organize bir görünüm istemesi üzerine bu slotları kostüm penceresine taşımak ister. Bu, özellikle PvP sunucularında görsel estetiği artırmak için tercih edilir.
Kostüm Penceresine Taşımanın Avantajları
Kostüm penceresine taşınan yüzük slotu, oyuncunun karakterine ait tüm donanım parçalarının aynı pencerede toplanmasını sağlar. Bu sayede oyuncu, hızlıca ekipman değişikliği yapabilir ve karakter görünümünü daha kolay yönetebilir. Ayrıca, sunucu geliştiricisi açısından da bu değişiklik; kullanıcı dostu bir arayüz oluşturma amacını taşır.
Teknik Uygulama (C++ ve Client Tarafı)[/PYTHON][/BR]
Bu değişikliği yapabilmek için öncelikle client tarafında UI dosyalarında düzenlemeler yapılması gerekir. Özellikle uiscript ve py root dosyaları üzerinde çalışmanız gerekebilir. CostumeWnd.py dosyası düzenlenerek yeni slotlar eklenebilir. Aynı zamanda, game core tarafında da bu slotların doğru şekilde tanımlanması ve veritabanında (db) saklanması gerekir.
Örnek olarak, CostumeWindow.xml dosyasında bir slot tanımı yapılır. Burada yeni bir grid tanımlanarak yüzük slotları bu alana yerleştirilebilir. Bu işlem sırasında, karakterin donanım slotlarını yöneten sistemde herhangi bir çakışma olmamasına dikkat edilmelidir.
Python GUI ile Arayüz Tasarımı
Py GUI kullanarak bu işlem daha sade bir şekilde yapılabilir. CostumeWnd sınıfı genişletilerek yeni slotlar tanımlanabilir. Bu slotlara tıklanınca eşya takılıp çıkarılabilmelidir. Gerekirse, özel efekt veya animasyonlar da eklenebilir. Bu tür değişiklikler, Metin2 özel sunucu geliştirme sürecinde dikkat çeken detaylardır.
Dikkat Edilmesi Gerekenler
Bu değişikliği yaparken dikkat etmeniz gereken bazı önemli noktalar var. Öncelikle, client ve server arasında tutarlılık sağlanmalıdır. Yeni eklenen slotların oyun motoru tarafından doğru şekilde algılanması gerekir. Aksi takdirde, eşyalar takılı kalabilir ya da sunucuya veri aktarılamayabilir. Ayrıca, farklı client sürümleriyle uyumlu olup olmadığını test etmek önemlidir.
Metin2 özel sunucularında bu tür küçük ama etkili değişiklikler, kullanıcı memnuniyetini ciddi anlamda artırabilir. Yüzük slotunun kostüm penceresine taşınması, sadece görsel bir değişiklik değil aynı zamanda fonksiyonel bir gelişmedir. Oyuncuların daha rahat ve organize bir deneyim yaşamasını sağlar.
In Metin2 private servers, many small but effective changes can be made to enhance the gaming experience. One such change is moving the 'Ring' slot from the inventory to the costume window. This adjustment provides a cleaner visual structure and increases user-friendliness for players. In this article, we will guide you step by step on how to implement this modification during the Metin2 private server development process.
What Is the Ring Slot?
In Metin2, players carry their items in the inventory. The inventory includes specific slots such as weapon, armor, necklace, and ring. The ring slot typically consists of two slots located within a designated area in the inventory. However, some servers prefer to move these slots to the costume window for aesthetic reasons and to provide a more organized look, especially in PvP-oriented servers.
Advantages of Moving to the Costume Window
Moving the ring slot to the costume window allows all equipment pieces related to the character to be grouped in one place. This enables players to quickly switch gear and manage their character's appearance more easily. From the server developer's perspective, this modification aims to create a more user-friendly interface.
Technical Implementation (C++ and Client Side)
To make this change, modifications must first be applied to UI files on the client side. You may need to work with uiscript and py root files. The CostumeWnd.py file can be modified to add new slots. Additionally, the game core must properly define these slots and store them in the database (db).
As an example, a slot definition can be added in the CostumeWindow.xml file. A new grid can be defined, and the ring slots can be placed within that area. During this process, care should be taken to avoid any conflicts in the system managing character equipment slots.
UI Design with Python GUI
Using Py GUI, this task can be accomplished more simply. The CostumeWnd class can be extended to define new slots. These slots should allow equipping and unequipping items upon clicking. Optionally, special effects or animations can also be added. Such modifications are notable details in the Metin2 private server development process.
Important Considerations
There are several key points to keep in mind while implementing this change. First, consistency between the client and server must be ensured. The newly added slots must be correctly recognized by the game engine. Otherwise, items might remain equipped or fail to transfer data to the server. It is also important to test compatibility across different client versions.
Such small but impactful changes in Metin2 private servers can significantly increase user satisfaction. Moving the ring slot to the costume window is not just a visual change but also a functional improvement, allowing players to enjoy a smoother and more organized experience.
Aratılır : window = {
Bu Satır Komple Aşağıdaki ile değiştirilir.
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Aratılır :
{"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
Altına Eklenir :
Kod:
{"index":item.EQUIPMENT_RING1, "x":61, "y":163, "width":32, "height":32},
{"index":item.EQUIPMENT_RING2, "x":12, "y":163, "width":32, "height":32},
Aratılır : "name" : "Costume_Base",
İmage yazan satır değiştirilir Aşağıdaki Gibi Yapılır.
"image" : "locale/tr/ui/costume_bg.jpg",
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
indirilip Aşağıdaki Dizine Atılır ismi costume_bg.jpg olarak değiştirilir :" locale/tr/ui "
Root/uiinventory.py Açılır.
Aratılır : class CostumeWindow(ui.ScriptWindow):
Sonra Bu Class içinde tekrar aratılır :
for i in xrange(item.COSTUME_SLOT_COUNT):
slotNumber = item.COSTUME_SLOT_START + i
self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
Altına Eklenir :
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Kod:
for i in xrange(2):
slotNumber = player.NEW_EQUIPMENT_SLOT_START + i
self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
----------------------------------
Filesinize Göre Değişir Eğer Sql Yani Navicat Kullanıyorsanız O Sloto Gelmesini İstediğiniz İtemin
type nı 34 txt kullanan arkadaşlar oraya giyilmesini istediği yüzüklerin flagını item_proto'dan ITEM_RING Yapıcaklar.
Metin2 özel sunucularında oyun deneyimini geliştirmek için birçok küçük ama etkili değişiklik yapılabilir. Bunlardan biri de envanterdeki 'Yüzük' slotunun kostüm penceresine taşınmasıdır. Bu işlem hem görsel açıdan daha temiz bir yapı sunar hem de oyuncu tarafında kullanım kolaylığı sağlar. Bu yazıda, Metin2 özel sunucu geliştirme sürecinde bu değişikliği nasıl yapacağınızı adım adım anlatacağız.
Yüzük Slotu Nedir?
Metin2 oyununda oyuncular eşyalarını envanterde taşır. Envantarda belli başlı slotlar vardır: Silah, zırh, kolye, yüzük gibi. Yüzük slotu genellikle iki adettir ve envanterin belirli bir alanında yer alır. Ancak bazı sunucular, oyuncuların daha estetik ve organize bir görünüm istemesi üzerine bu slotları kostüm penceresine taşımak ister. Bu, özellikle PvP sunucularında görsel estetiği artırmak için tercih edilir.
Kostüm Penceresine Taşımanın Avantajları
Kostüm penceresine taşınan yüzük slotu, oyuncunun karakterine ait tüm donanım parçalarının aynı pencerede toplanmasını sağlar. Bu sayede oyuncu, hızlıca ekipman değişikliği yapabilir ve karakter görünümünü daha kolay yönetebilir. Ayrıca, sunucu geliştiricisi açısından da bu değişiklik; kullanıcı dostu bir arayüz oluşturma amacını taşır.
Teknik Uygulama (C++ ve Client Tarafı)[/PYTHON][/BR]
Bu değişikliği yapabilmek için öncelikle client tarafında UI dosyalarında düzenlemeler yapılması gerekir. Özellikle uiscript ve py root dosyaları üzerinde çalışmanız gerekebilir. CostumeWnd.py dosyası düzenlenerek yeni slotlar eklenebilir. Aynı zamanda, game core tarafında da bu slotların doğru şekilde tanımlanması ve veritabanında (db) saklanması gerekir.
Örnek olarak, CostumeWindow.xml dosyasında bir slot tanımı yapılır. Burada yeni bir grid tanımlanarak yüzük slotları bu alana yerleştirilebilir. Bu işlem sırasında, karakterin donanım slotlarını yöneten sistemde herhangi bir çakışma olmamasına dikkat edilmelidir.
Python GUI ile Arayüz Tasarımı
Py GUI kullanarak bu işlem daha sade bir şekilde yapılabilir. CostumeWnd sınıfı genişletilerek yeni slotlar tanımlanabilir. Bu slotlara tıklanınca eşya takılıp çıkarılabilmelidir. Gerekirse, özel efekt veya animasyonlar da eklenebilir. Bu tür değişiklikler, Metin2 özel sunucu geliştirme sürecinde dikkat çeken detaylardır.
Dikkat Edilmesi Gerekenler
Bu değişikliği yaparken dikkat etmeniz gereken bazı önemli noktalar var. Öncelikle, client ve server arasında tutarlılık sağlanmalıdır. Yeni eklenen slotların oyun motoru tarafından doğru şekilde algılanması gerekir. Aksi takdirde, eşyalar takılı kalabilir ya da sunucuya veri aktarılamayabilir. Ayrıca, farklı client sürümleriyle uyumlu olup olmadığını test etmek önemlidir.
Metin2 özel sunucularında bu tür küçük ama etkili değişiklikler, kullanıcı memnuniyetini ciddi anlamda artırabilir. Yüzük slotunun kostüm penceresine taşınması, sadece görsel bir değişiklik değil aynı zamanda fonksiyonel bir gelişmedir. Oyuncuların daha rahat ve organize bir deneyim yaşamasını sağlar.
In Metin2 private servers, many small but effective changes can be made to enhance the gaming experience. One such change is moving the 'Ring' slot from the inventory to the costume window. This adjustment provides a cleaner visual structure and increases user-friendliness for players. In this article, we will guide you step by step on how to implement this modification during the Metin2 private server development process.
What Is the Ring Slot?
In Metin2, players carry their items in the inventory. The inventory includes specific slots such as weapon, armor, necklace, and ring. The ring slot typically consists of two slots located within a designated area in the inventory. However, some servers prefer to move these slots to the costume window for aesthetic reasons and to provide a more organized look, especially in PvP-oriented servers.
Advantages of Moving to the Costume Window
Moving the ring slot to the costume window allows all equipment pieces related to the character to be grouped in one place. This enables players to quickly switch gear and manage their character's appearance more easily. From the server developer's perspective, this modification aims to create a more user-friendly interface.
Technical Implementation (C++ and Client Side)
To make this change, modifications must first be applied to UI files on the client side. You may need to work with uiscript and py root files. The CostumeWnd.py file can be modified to add new slots. Additionally, the game core must properly define these slots and store them in the database (db).
As an example, a slot definition can be added in the CostumeWindow.xml file. A new grid can be defined, and the ring slots can be placed within that area. During this process, care should be taken to avoid any conflicts in the system managing character equipment slots.
UI Design with Python GUI
Using Py GUI, this task can be accomplished more simply. The CostumeWnd class can be extended to define new slots. These slots should allow equipping and unequipping items upon clicking. Optionally, special effects or animations can also be added. Such modifications are notable details in the Metin2 private server development process.
Important Considerations
There are several key points to keep in mind while implementing this change. First, consistency between the client and server must be ensured. The newly added slots must be correctly recognized by the game engine. Otherwise, items might remain equipped or fail to transfer data to the server. It is also important to test compatibility across different client versions.
Such small but impactful changes in Metin2 private servers can significantly increase user satisfaction. Moving the ring slot to the costume window is not just a visual change but also a functional improvement, allowing players to enjoy a smoother and more organized experience.
