Fethi Polat 1
Fethi Polat
Bvural41 1
Bvural41
OnurBoyla 1
OnurBoyla
mavzermete 1
mavzermete
xranzei 1
xranzei
Manwe Work 1
Manwe Work
noisiv 1
noisiv
Hikaye Ekle

Official Abort Traceback Güncellemesi[REVERSED]

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Reversed From 22.5.7.0
Kod:
///@@@UserInterface/PythonApplication.cpp:

//Find
void CPythonApplication::Abort()
{
    ...
}

///Change
void CPythonApplication::Abort()
{
    TraceError("============================================================================================================");
    TraceError("Abort!!!!\n\n");

    PyThreadState* tstate = PyThreadState_GET();
    if (tstate)
    {
        for (PyFrameObject* frame = tstate->frame; frame; frame = frame->f_back)
        {
            PyCodeObject* f_code = frame->f_code;
            if (!f_code || !f_code->co_filename || !f_code->co_name)
                continue;

            const char* filename = PyString_AsString(f_code->co_filename);
            const char* funcname = PyString_AsString(f_code->co_name);
            TraceError("filename=%s, name=%s", filename, funcname);
        }
    }

    PostQuitMessage(0);
}

Güncelleme Öncesi:
Kod:
0131 12:59:00866 :: ============================================================================================================
0131 12:59:00867 :: Abort!!!!

Güncelleme Sonrası:
Kod:
0131 12:59:00866 :: ============================================================================================================
0131 12:59:00867 :: Abort!!!!


0131 12:59:00867 :: filename=root/black_test.py, name=__LoadWindow
0131 12:59:00867 :: filename=root/black_test.py, name=__init__
0131 12:59:00867 :: filename=root/black_test.py, name=<module>
0131 12:59:00867 :: filename=root/system.py, name=_process_result
0131 12:59:00867 :: filename=root/system.py, name=__pack_import
0131 12:59:00867 :: filename=root/introLogin.py, name=Open
0131 12:59:00867 :: filename=root/networkModule.py, name=__ChangePhaseWindow
0131 12:59:00867 :: filename=root/uiPhaseCurtain.py, name=OnUpdate
0131 12:59:00867 :: filename=root/prototype.py, name=RunApp
0131 12:59:00867 :: filename=root/prototype.py, name=<module>
0131 12:59:00867 :: filename=root/system.py, name=Run
0131 12:59:00867 :: filename=root/system.py, name=execfile
0131 12:59:00867 :: filename=root/system.py, name=RunMainScript
0131 12:59:00867 :: filename=root/system.py, name=<module>
0131 12:59:00867 :: filename=<string>, name=<module>

Küçük Eklenti: (Satırı da yazdırmak isteyenler için)

Kod:
void CPythonApplication::Abort()
{
    TraceError("============================================================================================================");
    TraceError("Abort!!!!\n\n");

    PyThreadState* tstate = PyThreadState_GET();
    if (tstate)
    {
        for (PyFrameObject* frame = tstate->frame; frame; frame = frame->f_back)
        {
            PyCodeObject* f_code = frame->f_code;
            if (!f_code || !f_code->co_filename || !f_code->co_name)
                continue;

            const char* filename = PyString_AsString(f_code->co_filename);
            const char* funcname = PyString_AsString(f_code->co_name);
            int line = PyFrame_GetLineNumber(frame);
            TraceError("filename=%s, name=%s, line=%d", filename, funcname, line);
        }
    }

    PostQuitMessage(0);
}

Güncelleme Mali61 Adlı Kişiye Aittir.
Küçük Eklenti Gurgarath Adlı Kişiye Aittir.
 

En Çok Reaksiyon Alan Mesajlar

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

Geri
Üst