Eksik kodlar sıfırdan tamamlanmıştır. (
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
yardımları için teşekkürler)
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Eksik kodlar tamamlandı.
Kod:
if (POINT_GOLD == PointChange.Type) { if (PointChange.amount > 0) { PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OnPickMoney", Py_BuildValue("(i)", PointChange.amount)); } } // arat ve ekle if (POINT_EXP == PointChange.Type) { if (PointChange.amount > 0) { PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OnRecvExp", Py_BuildValue("(i)", PointChange.amount)); } }
Kod:
def NumberToSecondaryCoinString(n): if n <= 0: return "0 %s" % (MONETARY_UNIT_JUN) return "%s %s" % ('.'.join([ i-3<0 and str(n)[:i] or str(n)[i-3:i] for i in range(len(str(n))%3, len(str(n))+1, 3) if i ]), MONETARY_UNIT_JUN) # arat ve ekle def NumberToString(n): if n <= 0 : return "0" return "%s" % ('.'.join([ i-3<0 and str(n)[:i] or str(n)[i-3:i] for i in range(len(str(n))%3, len(str(n))+1, 3) if i ]))
Kod:
##arat class TextLine(Window): ##altındakini bul: def __init__(self): ##bunu değiştir: def __init__(self, font = None): ##altındakini bul: self.SetFontName(localeInfo.UI_DEF_FONT) ##Ve bununla değiştir: if font == None: self.SetFontName(localeInfo.UI_DEF_FONT) else: self.SetFontName(font)
Metin2 Exp Chat Log Sistemi
Metin2 özel sunucularında oyun içi deneyimi zenginleştirmek adına geliştirilen sistemlerden birisi olan Exp Chat Log özelliği, oyuncuların kazandığı tecrübe puanlarını gerçek zamanlı olarak sohbette takip edebilmelerini sağlar. Bu sistem, özellikle PvP odaklı sunucularda, oyuncuların gelişimlerini daha net görebilmeleri için oldukça değerlidir. Bu yazıda, Python tabanlı bir Exp Chat Log sisteminin nasıl kurulacağını ve ne gibi avantajlar sunduğunu detaylıca inceleyeceğiz.
Exp Chat Log Nedir?[/BR][/BR]Exp Chat Log, oyuncunun bir canavar öldürdüğü ya da görev tamamladığı anda elde ettiği tecrübe puanının doğrudan oyun içi sohbet ekranında görünmesini sağlar. Bu sayede kullanıcı, hangi eylemin kaç puanlık tecrübe getirdiğini gözlemleyebilir. Özellikle Metin2 özel sunucu geliştiricileri için bu özellik, C++[/COORD] veya Python tabanlı sistemlerle entegre edilebilir.
Python GUI ile Entegrasyon[/BR][/BR]Python dili kullanılarak geliştirilen Py GUI ve UIScript yapıları sayesinde Exp Chat Log sistemi kolayca arayüze entegrelenebilir. Py Root dosyaları üzerinde yapılan değişikliklerle, kullanıcıya özel bir arayüz üzerinden log takibi yapılabilir. Bu sistem, hem geliştirici hem de kullanıcı açısından oldukça şeffaf bir deneyim sunar.
Sistem Kurulumu ve Yapılandırma[/BR][/BR]Exp Chat Log sistemi kurulurken öncelikle game server tarafında gerekli C++ veya Python kaynak kodları düzenlenmelidir. Oyuncuya gönderilecek mesajlar, auth server ve db core ile senkronize şekilde çalışmalıdır. Bu sistemde doğru bir compile işlemi, sistemin sorunsuz çalışması için kritiktir. Martysama gibi geliştirilmiş kaynak kodlar üzerinden bu entegrasyon daha hızlı sağlanabilir.
Oyun içi Deneyim Artışı[/BR][/BR]Bu sistem sayesinde oyuncular, kendi gelişimlerini daha iyi takip edebilir. Özellikle PvP sistemlerinde, tecrübe kazanım hızı strateji oluşturmak açısından önemlidir. Oyuncular, hangi bölgelerde daha fazla tecrübe alabildiklerini görebilir ve buna göre rotalarını planlayabilirler. Bu da oyun içi rekabeti artırır ve kullanıcı sadakatini yükseltir.
Sonuç[/BR][/BR]Exp Chat Log sistemi, Metin2 özel sunucularında kullanıcı deneyimini ciddi anlamda artıran bir özelliktir. Python ve C++ tabanlı yapılarla entegre edilebilen bu sistem, source edit yapabilen geliştiriciler için oldukça esneklik sunar. Metin2Lobby[/BR][/BR]olarak bu tür gelişmiş sistemlerin geliştirilmesi ve paylaşılması, topluluk için büyük bir değerdir.
Metin2 Exp Chat Log System
One of the systems developed to enhance the in-game experience on Metin2 private servers is the Exp Chat Log feature, which allows players to track their earned experience points in real-time within the chat window. This system is especially valuable on PvP-oriented servers, enabling players to observe their progression more clearly. In this article, we will examine in detail how to implement an Python-based Exp Chat Log system and what advantages it provides.
What Is Exp Chat Log?[/BR][/BR]Exp Chat Log enables the display of experience gained by a player directly in the in-game chat screen whenever they kill a monster or complete a quest. Thus, users can see exactly how much experience each action grants. For Metin2 private server developers, this feature can be integrated with C++ or Python-based systems.
Integration with Python GUI[/BR][/BR]Thanks to structures like Py GUI and UIScript developed using Python, the Exp Chat Log system can easily be integrated into the interface. Modifications made to Py Root files allow tracking logs through a custom interface for the user. This system offers a very transparent experience for both the developer and the user.
System Installation and Configuration[/BR][/BR]When installing the Exp Chat Log system, first, the relevant C++ or Python source codes must be modified on the game server side. Messages sent to the player must operate in sync with the auth server and db core. Proper compile operations are critical for the system to run smoothly. Integrations via enhanced source codes such as Martysama can speed up this process significantly.
Enhanced In-Game Experience[/BR][/BR]Thanks to this system, players can better monitor their own progress. Especially in PvP systems, experience gain rate is important for strategy building. Players can identify which areas provide higher experience gains and accordingly plan their routes. This increases in-game competition and enhances user loyalty.
Conclusion[/BR][/BR]The Exp Chat Log system is a feature that significantly improves the user experience in Metin2 private servers. Integrated with Python and C++-based structures, this system offers flexibility for developers skilled in source editing. At Metin2Lobby, developing and sharing such advanced systems is of great value to the community.
