2 serveri olup ayrı ayrı packlarla girilmesini istemeyen arkadaşlar zamanında bende serverlerimi tek pack altında toplamak istiyordum şans eseri buldum paylaşmak istedim. Replerinizi Esirgemeyin.Kurulum:
NOT:
NOT2:
Serverinfo.py
Tek Packta 2 Server: Serverlerinizi Tek Pack Altında Birleştirin
Metin2 sunucuları arasında farklı oyun deneyimleri sunmak isteyen geliştiriciler için, birden fazla sunucu yapısını tek bir client paketi (pack) altında toplamak oldukça faydalı bir yöntemdir. Bu yaklaşım sayesinde oyuncular sadece bir kez client indirerek birden fazla servera erişebilirler. Bu yazıda, 'Tek Packta 2 Server' mantığını nasıl kurabileceğinizi, avantajlarını ve dikkat etmeniz gereken detayları açıklayacağız.
Neden Tek Pack İçinde Birden Fazla Server?
Oyuncuların birden fazla Metin2 serverında oynamasını istiyorsanız, onlardan her server için ayrı client indirmelerini beklemek kullanıcı deneyimini ciddi anlamda düşürür. Bunun yerine, tüm server bağlantılarını tek bir client altına entegre ederek hem zaman kazandırabilir hem de daha profesyonel bir yapı kurabilirsiniz. Bu yöntem aynı zamanda client update işlemlerini kolaylaştırır. Yeni bir güncelleme geldiğinde tüm serverlar aynı anda güncellenebilir.
Client Dosyalarını Nasıl Düzenlersiniz?
Metin2 client dosyaları genellikle root, locale, option, game, title gibi klasörlerden oluşur. Bu yapıya müdahale ederek clientte server listesi veya doğrudan farklı IP adreslerine yönlendirme ayarları tanımlanabilir. Client yama işlemleri sırasında 'serverlist.xml' veya 'addr.txt' gibi dosyalarda değişiklik yaparak birden fazla serverı aynı clienttan bağlanabilir hale getirebilirsiniz.
Avantajlar
Dikkat Edilmesi Gerekenler
Farklı serverlar farklı sistemlere sahipse, client tarafında bazı ayarlamaların bireysel olarak yapılması gerekir. Örneğin, efekt dosyaları, skinler veya UI ayarları karışmaması için iyi planlanmış bir yapıya ihtiyaç vardır. Ayrıca, client patch işlemleri sırasında çakışmalar yaşanmaması için dosya adları ve yolları dikkatli belirlenmelidir.
Hatalar ve Çözümler
Client hata mesajları bazen serverlist.xml dosyasındaki eksikliklerden kaynaklanabilir. Bu gibi durumlarda doğru IP ve port bilgilerinin girilmesi gerekir. Client fix işlemleri için forumlarda yer alan Metin2Lobby gibi platformlar destek sağlayabilir. Client dosyalarında yapılan her değişiklikten sonra test yapılması önemlidir.
Sonuç
Tek packta 2 server oluşturmak, Metin2 projelerinde profesyonel ve kullanıcı dostu bir yapı kurmak için ideal bir çözümdür. Doğru uygulandığında, hem geliştirici hem de oyuncu tarafı için birçok kolaylık sağlar. Client edit işlemleriyle bu yapıyı özelleştirmek isterseniz, deneyimli topluluklardan yardım almanız önerilir.
Two Servers in One Pack: Combine Your Servers Under a Single Pack
For developers who want to offer different gaming experiences across multiple Metin2 servers, combining multiple server structures under a single client pack can be highly beneficial. This approach allows players to access multiple servers by downloading just one client. In this article, we'll explain how to set up the 'Two Servers in One Pack' concept, its advantages, and important details to consider.
Why Multiple Servers Within One Pack?
If you want players to play on multiple Metin2 servers, expecting them to download a separate client for each server significantly reduces user experience. Instead, by integrating all server connections into a single client, you save time and create a more professional structure. This method also simplifies client update processes; when a new update arrives, all servers can be updated simultaneously.
How to Organize Client Files?
Metin2 client files typically consist of folders like root, locale, option, game, and title. By modifying this structure, you can define server lists or direct redirection settings within the client. During client patching operations, changes in files such as 'serverlist.xml' or 'addr.txt' allow connecting to multiple servers from the same client.
Advantages
Things to Consider
If different servers have different systems, certain adjustments may need to be made individually on the client side. For instance, effect files, skins, or UI settings must be carefully organized to avoid conflicts. Additionally, file names and paths should be carefully determined to prevent conflicts during client patch operations.
Errors and Solutions
Client error messages sometimes arise from missing information in the serverlist.xml file. In such cases, correct IP and port information must be entered. Forums like Metin2Lobby can provide support for client fix procedures. It's important to test after every modification made to client files.
Conclusion
Creating two servers within one pack is an ideal solution for establishing a professional and user-friendly structure in Metin2 projects. When properly applied, it offers many conveniences for both developers and players. If you wish to customize this structure with client editing, it's recommended to seek help from experienced communities.
Kod:
Packımızdaki root dosyasını açıyoruz içinde serverininfo.py dosyası var onu not defteri ile açıp içindeki tüm kodları siliyoruz ve aşağıdaki kodu yapıştırıyoruz.
Kod:
Deneme Server1 Yazan yerlere 1. Serveri / Deneme Server2 yazan yerlere 2. serveri yazıyoruz.
Kod:
123.123.123.113 yazan yerlere 1 serverin ip adresini / 125.152.152.152 yazan yerlere 2. serverin ip adresini yazıp packı kapatıyoruz.
Kod:
import appimport localeapp.ServerName = Noneif (locale.IsEUROPE() and app.GetLocalePath()):STATE_NONE = "...."STATE_DICT = {0 : "Kapali",1 : "Normal",2 : "Yogun",3 : "Dolu"}SERVER01_CHANNEL_DICT = { #Deneme Server11:{"key":11,"name":"Ch1","ip":"123.123.123.113","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},}SERVER02_CHANNEL_DICT = { #Deneme Server21:{"key":21,"name":"Ch1","ip":"125.152.152.152","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},}REGION_NAME_DICT = {0 : "Turkish",}REGION_AUTH_SERVER_DICT = {0 : {1 : { "ip":"123.123.123.113", "port":11002, }, #Deneme Server12 : { "ip":"125.152.152.152", "port":11002, }, #Deneme Server2}}REGION_DICT = {0 : {1 : { "name" : "Deneme Server1", "channel" : SERVER01_CHANNEL_DICT, },2 : { "name" : "Deneme Server2", "channel" : SERVER02_CHANNEL_DICT, },},}MARKADDR_DICT = {10 : { "ip" : "123.123.123.113", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", }, #Deneme Server120 : { "ip" : "125.152.152.152", "tcp_port" : 13000, "mark" : "20.tga", "symbol_path" : "20", }, #Deneme Server2}TESTADDR = { "ip" : "0.0.0.0", "tcp_port" : 50000, "udp_port" : 50000, }
Tek Packta 2 Server: Serverlerinizi Tek Pack Altında Birleştirin
Metin2 sunucuları arasında farklı oyun deneyimleri sunmak isteyen geliştiriciler için, birden fazla sunucu yapısını tek bir client paketi (pack) altında toplamak oldukça faydalı bir yöntemdir. Bu yaklaşım sayesinde oyuncular sadece bir kez client indirerek birden fazla servera erişebilirler. Bu yazıda, 'Tek Packta 2 Server' mantığını nasıl kurabileceğinizi, avantajlarını ve dikkat etmeniz gereken detayları açıklayacağız.
Neden Tek Pack İçinde Birden Fazla Server?
Oyuncuların birden fazla Metin2 serverında oynamasını istiyorsanız, onlardan her server için ayrı client indirmelerini beklemek kullanıcı deneyimini ciddi anlamda düşürür. Bunun yerine, tüm server bağlantılarını tek bir client altına entegre ederek hem zaman kazandırabilir hem de daha profesyonel bir yapı kurabilirsiniz. Bu yöntem aynı zamanda client update işlemlerini kolaylaştırır. Yeni bir güncelleme geldiğinde tüm serverlar aynı anda güncellenebilir.
Client Dosyalarını Nasıl Düzenlersiniz?
Metin2 client dosyaları genellikle root, locale, option, game, title gibi klasörlerden oluşur. Bu yapıya müdahale ederek clientte server listesi veya doğrudan farklı IP adreslerine yönlendirme ayarları tanımlanabilir. Client yama işlemleri sırasında 'serverlist.xml' veya 'addr.txt' gibi dosyalarda değişiklik yaparak birden fazla serverı aynı clienttan bağlanabilir hale getirebilirsiniz.
Avantajlar
- Oyuncular tek bir client üzerinden birden fazla servera bağlanabilir.
- Client yönetim ve güncelleme süreçleri merkezi hale gelir.
- Oyuncu kaybını azaltmak için farklı sunucular arası geçiş kolaylaştırılır.
- Sunucu çapraz tanıtımı yapılabilir.
Dikkat Edilmesi Gerekenler
Farklı serverlar farklı sistemlere sahipse, client tarafında bazı ayarlamaların bireysel olarak yapılması gerekir. Örneğin, efekt dosyaları, skinler veya UI ayarları karışmaması için iyi planlanmış bir yapıya ihtiyaç vardır. Ayrıca, client patch işlemleri sırasında çakışmalar yaşanmaması için dosya adları ve yolları dikkatli belirlenmelidir.
Hatalar ve Çözümler
Client hata mesajları bazen serverlist.xml dosyasındaki eksikliklerden kaynaklanabilir. Bu gibi durumlarda doğru IP ve port bilgilerinin girilmesi gerekir. Client fix işlemleri için forumlarda yer alan Metin2Lobby gibi platformlar destek sağlayabilir. Client dosyalarında yapılan her değişiklikten sonra test yapılması önemlidir.
Sonuç
Tek packta 2 server oluşturmak, Metin2 projelerinde profesyonel ve kullanıcı dostu bir yapı kurmak için ideal bir çözümdür. Doğru uygulandığında, hem geliştirici hem de oyuncu tarafı için birçok kolaylık sağlar. Client edit işlemleriyle bu yapıyı özelleştirmek isterseniz, deneyimli topluluklardan yardım almanız önerilir.
Two Servers in One Pack: Combine Your Servers Under a Single Pack
For developers who want to offer different gaming experiences across multiple Metin2 servers, combining multiple server structures under a single client pack can be highly beneficial. This approach allows players to access multiple servers by downloading just one client. In this article, we'll explain how to set up the 'Two Servers in One Pack' concept, its advantages, and important details to consider.
Why Multiple Servers Within One Pack?
If you want players to play on multiple Metin2 servers, expecting them to download a separate client for each server significantly reduces user experience. Instead, by integrating all server connections into a single client, you save time and create a more professional structure. This method also simplifies client update processes; when a new update arrives, all servers can be updated simultaneously.
How to Organize Client Files?
Metin2 client files typically consist of folders like root, locale, option, game, and title. By modifying this structure, you can define server lists or direct redirection settings within the client. During client patching operations, changes in files such as 'serverlist.xml' or 'addr.txt' allow connecting to multiple servers from the same client.
Advantages
- Players can connect to multiple servers through a single client.
- Client management and update processes become centralized.
- Switching between servers is simplified, reducing player loss.
- Cross-server promotions can be implemented.
Things to Consider
If different servers have different systems, certain adjustments may need to be made individually on the client side. For instance, effect files, skins, or UI settings must be carefully organized to avoid conflicts. Additionally, file names and paths should be carefully determined to prevent conflicts during client patch operations.
Errors and Solutions
Client error messages sometimes arise from missing information in the serverlist.xml file. In such cases, correct IP and port information must be entered. Forums like Metin2Lobby can provide support for client fix procedures. It's important to test after every modification made to client files.
Conclusion
Creating two servers within one pack is an ideal solution for establishing a professional and user-friendly structure in Metin2 projects. When properly applied, it offers many conveniences for both developers and players. If you wish to customize this structure with client editing, it's recommended to seek help from experienced communities.
