Bağırmadan PM Atma, Level, Bayrak Rengi Toplu Ekleme

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Sistem Görüntü

Rbpq1n.png



34 k Game İçin Ortak Konuşma Diff
Kod:
This difference file has been created by IDA PRO game34083_32 000FBE8D: 0F E9 000FBE8E: 84 01 000FBE8F: 05 00 000FBE90: 01 00 000FBFB2: 97 00 000FBFB3: 7D 00 000FBFB4: 0E 00 000FD92C: 74 EB 0010133B: 74 EB 002E24CC: 74 90 002E24CD: CF 90
Root uichat.py aratılır
Kod:
def __SendShoutChatPacket(self, text):
Full değiştirilir:
Kod:
def __SendShoutChatPacket(self, text):         if 1 == len(text):             self.RunCloseEvent()             return         if app.GetTime() < self.lastShoutTime + 15:             chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SHOUT_LIMIT)             self.__ResetChat()             return         if net.GetEmpireID() == 1:             self.__SendChatPacket(constInfo.Vectors+'|cFFFF0000|HVectors:'+str(player.GetName())+'|h[Shinsoo]-[PM]|h|r'+" [Lv: " + str(player.GetStatus(player.LEVEL)) + "] :|cffff6060 "+text[1:], chat.CHAT_TYPE_SHOUT)               elif net.GetEmpireID() == 2:             self.__SendChatPacket(constInfo.Vectors+'|cFFFFA500|HVectors:'+str(player.GetName())+'|h[Chunjo]-[PM]|h|r'+" [Lv: " + str(player.GetStatus(player.LEVEL)) + "] :|cffADFF2F "+text[1:], chat.CHAT_TYPE_SHOUT)         elif net.GetEmpireID() == 3:             self.__SendChatPacket(constInfo.Vectors+'|cFF0080FF|HVectors:'+str(player.GetName())+'|h[Jinno]-[PM]|h|r'+" [Lv: " + str(player.GetStatus(player.LEVEL)) + "] :|cff00ccff "+text[1:], chat.CHAT_TYPE_SHOUT)                    self.__ResetChat()         self.lastShoutTime = app.GetTime()
rmN7g7.png


interfacemodule.py aratılır

Kod:
def MakeHyperlinkTooltip(self, hyperlink):

En alt kısmına eklenir:
Kod:
elif "Vectors" == type:                   self.OpenWhisperDialog(str(tokens[1]))
bgEWYZ.png


constInfo.py aratılır
Kod:
CONSOLE_ENABLE = 0
altına eklenir
Kod:
Vectors = ''


Kodları sitelerde ki alt kısımdan kopyalayın.Down. edipte kopyalayabilirsiniz.
uichat.py import player yoksa ekleyin.

Vectors; Kardeşimden Alıntıdır. Kendi Konularında Ayrı Ayrı Verilmiştir Hepsini Toplayarak Paylaştım.
Metin2 Lobby'da Bağırmadan PM Atma, Level, Bayrak Rengi Toplu Ekleme Sistemi

Metin2 özel sunucularında oyuncu deneyimini artırmak adına geliştirilen bazı sistemler vardır. Bu sistemlerden bazıları; bağırmadan özel mesaj göndermek, level atlamak ve bayrak rengi sistemidir. Bu gibi sistemler genellikle C++ tabanlı sunucu kaynak kodları üzerinde geliştirilir. Bu yazıda, Metin2 özel sunucularında kullanılan bu sistemlerin nasıl eklendiğinden ve ne işe yaradığından bahsedeceğiz.

Bağırmadan PM Atma Sistemi Nedir?
Oyun içinde bazı durumlarda oyuncuların özel mesaj atması gerekirken, bunu genel sohbete yazarak yapmaları istenmez. Özellikle özel sunucularda, spamı önlemek ve daha profesyonel bir sohbet ortamı sağlamak adına bağırmadan özel mesaj sistemi geliştirilmiştir. Bu sistem sayesinde, oyuncu bir komut yardımıyla doğrudan diğer oyuncuya özel mesaj gönderebilir, aynı zamanda herkesin duyabileceği şekilde bağırmasına gerek kalmaz.

Level Atlama Sistemi
Metin2 özel sunucularında, oyuncuların hızlı bir şekilde level alabilmesi için geliştirilmiş olan level atlatma sistemleri mevcuttur. Bu sistemler genellikle admin veya VIP kullanıcılar için tasarlanır. Level atlatma sistemi sayesinde oyuncu belirli bir seviyeye kadar olan tüm level aralığını anında geçebilir. Bu sistem genellikle C++ tabanlı game core üzerinde geliştirilir. Oyuncu, belirli bir komutu yazarak bu işlemi gerçekleştirebilir. Sistem, hem DB core üzerinden hem de auth-server bağlantısı ile kontrol edilir.

Bayrak Rengi Sistemi
Metin2 PvP sunucularında, oyuncuların birbirlerini tanıması veya PvP haritasında belirgin şekilde görünmesi için bayrak rengi sistemi kullanılır. Bu sistem sayesinde, oyuncular özel renklerde bayraklarla tanınabilir. Bayrak rengi sistemi genellikle client src tarafında düzenlenir. Renkler, uiscript dosyaları üzerinde ayarlanır ve sunucu tarafında Python veya C++ ile desteklenir. Bu sayede her kullanıcı kendi bayrağını özelleştirebilir ve PvP savaşlarında dikkat çeker.

Toplu Ekleme Sistemi
Bu sistemlerin hepsi ayrı ayrı eklenmek yerine, bir paket olarak da yüklenebilir. Bu tarz toplu ekleme sistemleri, özellikle yeni başlayan sunucu sahipleri için oldukça pratiktir. Metin2 lobby olarak sunduğumuz kaynak kodlar, hem Martysama temelli hem de özelleştirilebilir yapıdadır. Bu sistemler, pack olarak tek bir dosya içinde toplanabilir ve kolayca entegre edilebilir. Bu sayede geliştirme süresi kısalır ve daha hızlı bir şekilde sunucu yayına alınabilir.

Not: Bu tür sistemlerin doğru çalışması için hem game server hem de auth server yapılandırmasının doğru yapılması gerekir. Aynı zamanda db core üzerinden kullanıcı bilgilerinin senkronize edilmesi önemlidir. Geliştirme yaparken source edit işlemleri dikkatlice yapılmalıdır. Compile işlemi sonrası test aşaması ihmal edilmemelidir.

Sonuç
Metin2 özel sunucularında kullanıcı memnuniyeti, doğru sistemlerin entegrasyonu ile artar. Bağırmadan PM atma, level atlatma ve bayrak rengi gibi sistemler, oyuncuların oyun içi deneyimini ciddi anlamda etkiler. Bu sistemlerin doğru şekilde kurulması ve yönetilmesi, sunucu sahipleri için büyük bir avantaj sağlar.


Sending PM Without Shouting, Level Skipping, Bulk Flag Color Addition on Metin2 Lobby

To enhance the player experience in Metin2 private servers, various systems have been developed. Some of these systems include sending private messages without shouting, level skipping, and flag color systems. These types of systems are generally developed on C++ based server source codes. In this article, we will discuss how these systems used in Metin2 private servers are implemented and what purposes they serve.

What is the Send PM Without Shouting System?
In certain situations within the game, players may need to send private messages but it is undesirable for them to do so via the general chat. Particularly in private servers, the send private message without shouting system has been developed to prevent spam and create a more professional chat environment. Thanks to this system, players can directly send private messages to other players using a command, eliminating the need to shout where everyone can hear them.

Level Skipping System
In Metin2 private servers, there are developed level skipping systems that allow players to quickly gain levels. These systems are typically designed for admin or VIP users. With the level skipping system, players can instantly skip through entire level ranges up to a specific level. This system is generally developed on the C++ based game core. Players can execute this action by typing a specific command. The system is controlled both via the DB core and through the auth-server connection.

Flag Color System
On Metin2 PvP servers, the flag color system is used for players to recognize each other or stand out visually in PvP maps. With this system, players can be recognized by special colored flags. The flag color system is usually edited in the client src. Colors are adjusted in uiscript files and supported by Python or C++ on the server side. This way, every user can customize their own flag and attract attention during PvP battles.

Bulk Addition System
Instead of adding all these systems individually, they can also be installed as a package. Such bulk addition systems are very practical especially for new server owners. The source codes we provide as Metin2 lobby are both Martysama based and customizable. These systems can be collected into a single file as a pack and easily integrated. This shortens development time and allows the server to go live faster.

Note: For these types of systems to function properly, the configuration of both game server and auth server must be done correctly. Additionally, synchronizing user data via db core is important. During development, source edit operations must be handled carefully. Testing after the compile process should not be neglected.

Conclusion
In Metin2 private servers, user satisfaction increases with the integration of correct systems. Systems like sending PM without shouting, level skipping, and flag color significantly impact the in-game experience of players. Proper implementation and management of these systems provide great advantages for server owners.​
 

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

Benzer konular

Geri
Üst Alt