5 mesaje
  • Mesaje: 26
  • Reacții: 197
  • Mesaje utile: 1
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Medalii

    *Descriere:

    Acest sistem permite jucătorilor să activeze sau să dezactiveze câștigul de experiență prin intermediul unui buton din taskbar.
    Folosește un efect special (`AFFECT_EXP_CURSE`) pentru a bloca EXP și actualizează starea butonului dinamic.

    *Poze / Video (obligatoriu):

    [C++/Py] Anti Exp in Task Bar - ShadowsPR0 - Mesaj 1 - Imagine 1
    [C++/Py] Anti Exp in Task Bar - ShadowsPR0 - Mesaj 1 - Imagine 2


    *Link download:

    Google Drive
    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Cum descarc de pe TeraBox?

    Afișează detalii Ascunde detalii
    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo

    🔥 Hai pe Discord! - Chat activ și support direct

    Te așteptăm și pe serverul de Discord - aici ne-am strâns toată comunitatea de Metin2 din România.

    Alătură-te acum!
    1300+ de membri activi!
    Robot Discord
    Roboțelu'
    Anunț
  • Mesaje: 2
  • Reacții: 0
  • Mesaje utile: 0
  • Medalii

    0811 03:18:22876 :: Traceback (most recent call last):

    0811 03:18:22876 :: File "game.py", line 789, in BINARY_NEW_AddAffect

    0811 03:18:22876 :: File "uiTaskBar.py", line 902, in UpdateAntiExpButtonState

    0811 03:18:22877 :: AttributeError
    0811 03:18:22877 :: :
    0811 03:18:22877 :: 'module' object has no attribute 'CheckAffect'
    0811 03:18:22877 ::
  • Mesaje: 26
  • Reacții: 197
  • Mesaje utile: 1
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Medalii

    masteriodo1988-maker scrie: 0811 03:18:22876 :: Traceback (most recent call last):

    0811 03:18:22876 :: File "game.py", line 789, in BINARY_NEW_AddAffect

    0811 03:18:22876 :: File "uiTaskBar.py", line 902, in UpdateAntiExpButtonState

    0811 03:18:22877 :: AttributeError
    0811 03:18:22877 :: :
    0811 03:18:22877 :: 'module' object has no attribute 'CheckAffect'
    0811 03:18:22877 ::

    In Client Src -> PythonPlayerModule.cpp
    Code:
    // Find:
    
    PyObject * playerSetAttackKeyState(PyObject* poSelf, PyObject* poArgs)
    
    
    // Add Above:
    
    #ifdef ENABLE_ANTI_EXP
    PyObject* playerCheckAffect(PyObject* poSelf, PyObject* poArgs)
    {
    	DWORD dwType;
    	if (!PyTuple_GetUnsignedLong(poArgs, 0, &dwType))
    		return Py_BadArgument();
    
    	BYTE bApplyOn;
    	if (!PyTuple_GetByte(poArgs, 1, &bApplyOn))
    		return Py_BadArgument();
    
    	int iAffIndex = CPythonPlayer::Instance().GetAffectDataIndex(dwType, bApplyOn);
    	return Py_BuildValue("b", iAffIndex != -1);
    }
    #endif
    
    
    // Find:
    
    		{ NULL,							NULL,								NULL },
    
    // Add Above:
    
    #ifdef ENABLE_ANTI_EXP
    		{ "CheckAffect",				playerCheckAffect,					METH_VARARGS },
    #endif
    Link download actualizat.
  • Mesaje: 3
  • Reacții: 1
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Medalii

    'GetAffectDataIndex': is not a member of 'CPythonPlayer'
  • Mesaje: 26
  • Reacții: 197
  • Mesaje utile: 1
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Medalii

    blackorck1997 scrie: 'GetAffectDataIndex': is not a member of 'CPythonPlayer'
    in PythonPlayer.cpp
    Code:
    Search for:
    
    CPythonPlayer::CPythonPlayer(void)
    
    Add Above:
    
    int CPythonPlayer::GetAffectDataIndex(DWORD dwType, BYTE bApplyOn)
    {
    	int ret = -1, i = 0;
    	for (TAffectDataVector::iterator it = m_mapAffectData.begin(); it != m_mapAffectData.end(); ++it, ++i)
    	{
    		TPacketAffectElement elem = *it;
    		if (elem.dwType == dwType && (bApplyOn == 0 || bApplyOn == elem.bPointIdxApplyOn))
    		{
    			ret = i;
    			break;
    		}
    	}
    	return ret;
    }
    in PythonPlayer.h
    Code:
    search for:
    
    		void	RemoveAffect(DWORD dwType, BYTE bApplyOn);
    
    Add below:
    
    		int		GetAffectDataIndex(DWORD dwType, BYTE bApplyOn);

    Can i ask what source you are working on as most sources should have these functions ?

    📢 Resurse Metin2 Premium!

    Zeci de resurse Metin2 Premium - exclusive și 100% funcționale începând cu 15.99€!.

    Vezi resursele Cumpără premium
    Premium
    Premium
    Anunț
    Scrie răspuns

    Creează-ți un cont sau autentifică-te pentru a participa la discuție

    Trebuie să fii membru pentru a răspunde

    Creează-ți un cont

    Membrii pot crea subiecte noi și pot descărca resurse Metin2 Gratuit!


    Te poți înregistra sau conecta rapid utilizând contul tău de Discord, Github sau Google.

    Înregistrare

    Autentifică-te

    Înapoi la “Sisteme Metin2”

    Informații

    Utilizatori ce navighează pe acest forum: fouaddz, Ike, sebastian_raym, Sony, zerefg și 8 vizitatori

    Discord ID copiat: