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

bykatil199

www.bykatil199.com
Katılım
17 Nis 2013
Konular
240
Mesajlar
2,810
Çözüm
218
Online süresi
1mo 29d
Reaksiyon Skoru
984
Altın Konu
6
Başarım Puanı
256
MmoLira
11,947
DevLira
83
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ 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----
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:
Teşekkürler.
 
Teşekkürler
 
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
 
skaype bakarmısınız.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)