- Katılım
- 17 Nis 2013
- Konular
- 240
- Mesajlar
- 2,809
- Online süresi
- 1ay 28g
- Reaksiyon Skoru
- 979
- Altın Konu
- 6
- Başarım Puanı
- 256
- TM Yaşı
- 13 Yıl 5 Gün
- MmoLira
- 11,580
- DevLira
- 83
Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!
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 ;
ANLATIMA GEÇELİM....
---- AÇILIR -----
Client Source > PythonApplication.cpp Açılır , Aratılır > void CPythonApplication::SetForceSightRange(int iRange)
----ALTINA EKLENİR----
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 ;
ANLATIMA GEÇELİM....
---- AÇILIR -----
Client Source > PythonApplication.cpp Açılır , Aratılır > void CPythonApplication::SetForceSightRange(int iRange)
----ALTINA EKLENİR----
C++:
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----
C++:
void SetTitle(const char* szTitle);
---- AÇILIR -----
Client Source > PythonApplicationModule.cpp Açılır , Aratılır > void initapp()
----ÜSTÜNE EKLENİR----
C++:
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----
C++:
{ "SetTitle", appSetTitle, METH_VARARGS },
---- AÇILIR -----
Root > Game.py Açılır , Aratılır > if self.enableXMasBoom:
----ALTINA EKLENİR----
Python:
#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----
Python:
self.titletimer = 0
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __init__(self):
----ALTINA EKLENİR----
Python:
self.RefreshShowTitleText()
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __Initialize(self):
----ALTINA EKLENİR----
Python:
self.showTitleButtonList = []
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > self.ctrlShadowQuality = GetObject("shadow_bar")
----ALTINA EKLENİR----
Python:
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----
Python:
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----
Python:
#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----
Python:
Title = 0
uiscript> systemoptiondialog.py AÇILIR EKLENİR VE KORDİNATLARI KENDİNİZE GÖRE DÜZENLEYİN.
Python:
{
"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",
},
Son düzenleme:
- Katılım
- 25 Ocak 2018
- Konular
- 9
- Mesajlar
- 784
- Online süresi
- 3ay 22g
- Reaksiyon Skoru
- 210
- Altın Konu
- 0
- Başarım Puanı
- 146
- TM Yaşı
- 8 Yıl 2 Ay 25 Gün
- MmoLira
- 6,964
- DevLira
- 3
Teşekkürler.
- Katılım
- 20 Eki 2017
- Konular
- 468
- Mesajlar
- 9,365
- Online süresi
- 11ay 26g
- Reaksiyon Skoru
- 8,224
- Altın Konu
- 47
- Başarım Puanı
- 326
- Yaş
- 25
- TM Yaşı
- 8 Yıl 6 Ay 3 Gün
- MmoLira
- 93,227
- DevLira
- 242
Teşekkürler 
- Katılım
- 22 Ağu 2017
- Konular
- 35
- Mesajlar
- 479
- Reaksiyon Skoru
- 131
- Altın Konu
- 0
- Başarım Puanı
- 107
- TM Yaşı
- 8 Yıl 8 Ay 2 Gün
- MmoLira
- 825
- DevLira
- 0
teşekkürler de bunun amacını anlayamadım kb başlık sistemi sadece görüntü mü yoksa başka bir işe yarıyor mu
- Katılım
- 27 Nis 2016
- Konular
- 32
- Mesajlar
- 383
- Reaksiyon Skoru
- 54
- Altın Konu
- 0
- Başarım Puanı
- 79
- TM Yaşı
- 9 Yıl 11 Ay 28 Gün
- MmoLira
- 144
- DevLira
- 0
skaype bakarmısınız.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 ;
![]()
ANLATIMA GEÇELİM....
---- AÇILIR -----
Client Source > PythonApplication.cpp Açılır , Aratılır > void CPythonApplication::SetForceSightRange(int iRange)
----ALTINA EKLENİR----
C++: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----
C++:void SetTitle(const char* szTitle);
---- AÇILIR -----
Client Source > PythonApplicationModule.cpp Açılır , Aratılır > void initapp()
----ÜSTÜNE EKLENİR----
C++: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----
C++:{ "SetTitle", appSetTitle, METH_VARARGS },
---- AÇILIR -----
Root > Game.py Açılır , Aratılır > if self.enableXMasBoom:
----ALTINA EKLENİR----
Python:#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----
Python:self.titletimer = 0
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __init__(self):
----ALTINA EKLENİR----
Python:self.RefreshShowTitleText()
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > def __Initialize(self):
----ALTINA EKLENİR----
Python:self.showTitleButtonList = []
---- AÇILIR -----
root > uisystemoption.py açılır , aratılır > self.ctrlShadowQuality = GetObject("shadow_bar")
----ALTINA EKLENİR----
Python: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----
Python: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----
Python:#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----
Python:Title = 0
uiscript> systemoptiondialog.py AÇILIR EKLENİR VE KORDİNATLARI KENDİNİZE GÖRE DÜZENLEYİN.
Python:{ "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", },
Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)
Benzer konular
- Cevaplar
- 24
- Görüntüleme
- 2K
- Cevaplar
- 3
- Görüntüleme
- 839
- Cevaplar
- 23
- Görüntüleme
- 5K
- Cevaplar
- 65
- Görüntüleme
- 12K
- Cevaplar
- 27
- Görüntüleme
- 5K






