(C++ , PYTHON) TİTLE BİLGİ SİSTEMİ | bykatil199

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Bugun Size Title Bilgi Sistemini Anlatacağım Önce Fotoğraftan Gösterelim.
Ayarlardan Açılıp Kapatmalı Yapacağız.

NOT: SİSTEM ANLIK GÜNCELLEME YAPAR . HP SP , EXP VS ORANI HEPSİNİ ANLIK OLARAK TİTLE KISMINDAN TAKİP EDEBİLECEKSİNİZ.

Fotoğraf ;

g6RzdO.png



ANLATIMA GEÇELİM....

---- AÇILIR -----
Client Source > PythonApplication.cpp Açılır , Aratılır > void CPythonApplication::SetForceSightRange(int iRange)

----ALTINA EKLENİR----
Kod:
void CPythonApplication::SetTitle(const char* szTitle) {     CMSWindow::SetText(szTitle); }

---- AÇILIR -----
Client Source > PythonApplication.h Açılır , Aratılır > void OnLogoClose();

----ALTINA EKLENİR----

Kod:
void SetTitle(const char* szTitle);

---- AÇILIR -----
Client Source > PythonApplicationModule.cpp Açılır , Aratılır > void initapp()

----ÜSTÜNE EKLENİR----
Kod:
PyObject* appSetTitle(PyObject* poSelf, PyObject* poArgs) {     char* szTitle;     if (!PyTuple_GetString(poArgs, 0, &szTitle))         return Py_BuildException();     CPythonApplication::Instance().SetTitle(szTitle);     return Py_BuildNone(); }

---- AÇILIR -----
Client Source > PythonApplicationModule.cpp Açılır , Aratılır > { NULL, NULL },

----ÜSTÜNE EKLENİR----

Kod:
{ "SetTitle",                     appSetTitle,                    METH_VARARGS },

---- AÇILIR -----
Root > Game.py Açılır , Aratılır > if self.enableXMasBoom:

----ALTINA EKLENİR----
Kod:
#Coded By Ahmet Atalay         self.titletimer += 1         szNameValue = "[Adi %s] ~ & ~ " % (player.GetName())         szCHValue = "[Channel : %s ] ~ & ~" % str(net.GetServerInfo()[-1:])         szLevelValue = " [Level : %s] ~ & ~" % str(player.GetStatus(player.LEVEL))         szHPValue = " [HP : %s ~" % str(player.GetStatus(player.HP))         szSPValue = " SP : %s] ~ & ~" % str(player.GetStatus(player.SP))         szEXPValue = " [EXP : %s ~ " % str(player.GetStatus(player.EXP))         szGEXPValue = "G-EXP : %s] " % str(player.GetStatus(player.NEXT_EXP))         if self.titletimer == 50:             titles = app.GetRandom(1,2)             if 1 == constInfo.Title:                 if titles == 1:                     app.SetTitle(szNameValue+szCHValue+szLevelValue+szHPValue+szSPValue+szEXPValue+szGEXPValue+" ~ |   "+localeInfo.APP_TITLE)                 elif titles == 2:                     app.SetTitle(szNameValue+szCHValue+szLevelValue+szHPValue+szSPValue+szEXPValue+szGEXPValue+" ~ |   "+localeInfo.APP_TITLE)             else:                 app.SetTitle(localeInfo.APP_TITLE)             self.titletimer = 0 #Coded By Ahmet Atalay


---- AÇILIR -----
Root > Game.py Açılır , Aratılır > "self.guildScoreCounter = guildwarkillcounter.MessageQueue()" altındaki > self.itemDropQuestionDialog = None

----ALTINA EKLENİR----

Kod:
self.titletimer = 0

---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __init__(self):

----ALTINA EKLENİR----

Kod:
self.RefreshShowTitleText()

---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __Initialize(self):

----ALTINA EKLENİR----

Kod:
self.showTitleButtonList = []

---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > self.ctrlShadowQuality = GetObject("shadow_bar")

----ALTINA EKLENİR----
Kod:
self.showTitleButtonList.append(GetObject("titlesystem_on_button"))             self.showTitleButtonList.append(GetObject("titlesystem_off_button"))

---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > self.tilingApplyButton.SAFE_SetEvent(self.__OnClickTilingApplyButton)

----ALTINA EKLENİR----
Kod:
self.showTitleButtonList[0].SAFE_SetEvent(self.__OnClickShowTitleOnButton)         self.showTitleButtonList[1].SAFE_SetEvent(self.__OnClickShowTitleOffButton)

---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __OnChangeMusic(self, fileName):

----ÜSTÜNE EKLENİR----
Kod:
#Title Karekter Bilgi Sistemi     def __OnClickShowTitleOnButton(self):         constInfo.Title = 1         self.RefreshShowTitleText()     def __OnClickShowTitleOffButton(self):         constInfo.Title = 0         self.RefreshShowTitleText()            def RefreshShowTitleText(self):         if constInfo.Title == 1:             self.showTitleButtonList[0].Down()             self.showTitleButtonList[1].SetUp()         else:             self.showTitleButtonList[0].SetUp()             self.showTitleButtonList[1].Down() #Title Karekter Bilgi Sistemi

---- AÇILIR -----
root > constInfo.py açılır , herhangi biyere

---- EKLENİR----

Kod:
Title = 0


uiscript> systemoptiondialog.py AÇILIR EKLENİR VE KORDİNATLARI KENDİNİZE GÖRE DÜZENLEYİN.

Kod:
{                     "name" : "titlelantitle",                     "type" : "text",                     "x" : 30,                     "y" : 185+2+45+25+25+25+25,                     "text" : "Title Bilgi",                 },                 {                     "name" : "titlesystem_on_button",                     "type" : "radio_button",                     "x" : 110,                     "y" : 185+45+25+25+25+25,                     "text" : "Aktif",                     "default_image" : ROOT_PATH + "small_Button_01.sub",                     "over_image" : ROOT_PATH + "small_Button_02.sub",                     "down_image" : ROOT_PATH + "small_Button_03.sub",                 },                 {                     "name" : "titlesystem_off_button",                     "type" : "radio_button",                     "x" : 110+50,                     "y" : 185+45+25+25+25+25,                     "text" : "Deaktif",                     "default_image" : ROOT_PATH + "small_Button_01.sub",                     "over_image" : ROOT_PATH + "small_Button_02.sub",                     "down_image" : ROOT_PATH + "small_Button_03.sub",                 },

Metin2 Lobby'de C++ ve Python ile Bilgi Sistemi Geliştirme


Metin2 özel sunucu geliştirme, özellikle C++ ve Python dillerine dayalı sistemlerle desteklenerek çok daha güçlü ve esnek hale gelmektedir. Bu bağlamda, bykatil199 tarafından geliştirilen (C++, PYTHON) TITLE BİLGİ SİSTEMİ, Metin2 geliştiricileri için büyük bir kolaylık ve yapı sağlar.

Bu sistem, hem game server hem de auth server üzerinde çalışan modüler bir yapıya sahiptir. Geliştiriciler, bu sistemi kullanarak Metin2 özel sunucularında kullanıcı adları, karakter bilgileri, seviye durumları gibi birçok veriyi dinamik olarak görebilir veya düzenleyebilir. Bu da hem PvP sistemleri hem de genel server yönetimi açısından ciddi bir artı sağlar.

C++ tarafında yazılmış sistemler, genellikle sunucu tarafında yüksek performans sunar. Source edit işlemleri bu sayede daha verimli hale gelir. Martysama gibi bilinen editörlerle birlikte çalışarak, geliştiricilerin istedikleri gibi özelleştirilmiş sistemler geliştirmelerine olanak tanır. Metin2 server src üzerinde yapılan değişiklikler doğrudan sunucu performansını ve stabilitesini etkiler. Bu nedenle C++ tabanlı sistemler, doğru kullanıldığında çok güçlü sonuçlar doğurur.

Python ise genellikle daha çok GUI (grafiksel arayüz) geliştirme, veri işleme ve otomasyon süreçlerinde tercih edilir. Py GUI veya UIScript gibi yapılarla birlikte çalışarak, hem geliştirici hem de oyun son kullanıcı için daha kullanıcı dostu arayüzler ortaya çıkar. Py Root klasörü, genellikle Python ile yazılmış komut dosyalarının ve modüllerin bulunduğu yerdir. Pack sistemi ile birlikte, bu Python modülleri sunucuya entegre edilebilir ve dinamik sistemler oluşturulabilir.

DB (veritabanı) yönetimi, Metin2 özel sunucuların merkezinde yer alır. Hem Auth DB hem de Game DB, oyuncuların verilerini güvenli ve organize bir şekilde saklar. Core sistemler bu veritabanı ile entegre çalışarak, sunucu üzerindeki tüm işlemlerin hızlı ve güvenli bir şekilde gerçekleştirilmesini sağlar. Game Core ve DB Core yapıları, sunucu yazılımının temel taşlarıdır.

Metin2 PVP sistemleri, özellikle bu tür gelişmiş sistemlerle birleştiğinde çok daha eğlenceli ve rekabetçi bir deneyim sunar. PvP savaşlarında karakter bilgileri, eşyalar, skorlar gibi verilerin anlık olarak işlenebilmesi için hem C++ hem de Python destekli sistemler kullanılabilir. Bu sayede PvP sistemleri daha akıcı ve kararlı hale gelir.

Metin2 lobby gibi platformlar, bu tür gelişmiş sistemlerin paylaşılması ve geliştirilmesi için önemli bir alan sunar. Geliştiriciler burada hem source code hem de compile konularında birbirlerine destek olurlar. Client SRC ile birlikte çalışan sistemler, hem sunucu hem de istemci tarafında senkron bir yapı kurar.

Sonuç olarak, bykatil199'un geliştirdiği (C++, PYTHON) TITLE BİLGİ SİSTEMİ, Metin2 özel sunucu dünyasında önemli bir adım teşkil ediyor. Hem Metin2 development hem de Metin2Dev süreçlerinde bu sistem, geliştiricilere büyük kolaylıklar sağlar. Channel yapıları, PvP sistemleri, kullanıcı bilgileri gibi pek çok konuda güçlü çözümler sunar. Bu sayede Metin2 özel sunucuları daha stabil, daha güçlü ve daha verimli hale gelir.


Developing Information Systems with C++ and Python on Metin2 Lobby


Metin2 private server development becomes much more powerful and flexible when supported by systems based on C++ and Python languages. In this context, the (C++, PYTHON) TITLE INFORMATION SYSTEM developed by bykatil199 offers great ease and structure for Metin2 developers.

This system has a modular structure that works on both game server and auth server. Developers can use this system to dynamically view or edit many data such as usernames, character information, level statuses on their Metin2 private servers. This provides significant advantages both for PvP systems and general server management.

Systems written in C++ generally offer high performance on the server side. Thanks to this, source edit processes become more efficient. Together with known editors like Martysama, it allows developers to create customized systems as they wish. Changes made on Metin2 server src directly affect server performance and stability. Therefore, when used correctly, C++ based systems yield very powerful results.

Python, on the other hand, is generally preferred for GUI (graphical interface) development, data processing, and automation processes. Alongside structures like Py GUI or UIScript, it creates user-friendly interfaces for both developer and end-user. The Py Root folder is usually where Python-based scripts and modules are located. Together with the pack system, these Python modules can be integrated into the server and dynamic systems can be created.

DB (database) management lies at the heart of Metin2 private servers. Both Auth DB and Game DB store player data securely and organized. Core systems work integrated with this database to ensure all operations on the server are performed quickly and securely. Game Core and DB Core structures are the foundational stones of the server software.

Metin2 PVP systems offer a much more enjoyable and competitive experience when combined with such advanced systems. For real-time processing of character information, items, scores during PvP battles, systems supported by both C++ and Python can be used. This makes PvP systems smoother and more stable.

Platforms like Metin2 lobby provide an important space for sharing and developing such advanced systems. Developers support each other here both in source code and compile matters. Systems working together with Client SRC establish a synchronized structure both on the server and client side.

In conclusion, the (C++, PYTHON) TITLE INFORMATION SYSTEM developed by bykatil199 represents an important step in the world of Metin2 private servers. In both Metin2 development and Metin2Dev processes, this system offers great conveniences to developers. It provides strong solutions for many topics such as channel structures, PvP systems, user information. Thus, Metin2 private servers become more stable, more powerful, and more efficient.​
 

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

Benzer konular

Geri
Üst Alt