Logo
live-news-icon

Noticias

Tema: Desativar botões nas estatísticas e no inventário Main 1.04e (Muemu)

Applayo

  • *

Fonte para Main 1.04e (Muemu)

Antes:


Depois:


Código: [Seleccionar]
__declspec(naked) void OffButtonQuestInStats()
{
    static DWORD ButtonAddress = 0x0077EBB5;
    _asm{jmp ButtonAddress}
}

__declspec(naked) void OffButtonPetsInStats()
{
    static DWORD ButtonAddress = 0x0077EC5E;
    _asm{jmp ButtonAddress}
}

__declspec(naked) void OffButtonSkillMasterInStats()
{
    static DWORD ButtonAddress = 0x0077ECE7;
    _asm{jmp ButtonAddress}
}

__declspec(naked) void OffButtonInventoryExp()
{
    static DWORD ButtonAddress = 0x00836A28;
    _asm{jmp ButtonAddress}
}

__declspec(naked) void OffButtonOpenStore()
{
    static DWORD ButtonAddress = 0x008369B4;
    _asm{jmp ButtonAddress}
}
__declspec(naked) void OffButtonRepeirInInventory()
{
    static DWORD ButtonAddress = 0x00836941;
    _asm{jmp ButtonAddress}
}


//===================================
//Primera forma

    SetOp((LPVOID)0x0083693C, (LPVOID) OffButtonRepeirInInventory, ASM::CALL);
    SetOp((LPVOID)0x008369AF, (LPVOID) OffButtonOpenStore, ASM::CALL);
    SetOp((LPVOID)0x00836A23, (LPVOID) OffButtonInventoryExp, ASM::CALL);
    SetOp((LPVOID)0x0077EBB0, (LPVOID) OffButtonQuestInStats, ASM::CALL);
    SetOp((LPVOID)0x0077EC59, (LPVOID) OffButtonPetsInStats, ASM::CALL);
    SetOp((LPVOID)0x0077ECE2, (LPVOID) OffButtonSkillMasterInStats, ASM::CALL);


//===================================
//Segunda forma

    SetCompleteHook(0xE9, 0x0083693C, &OffButtonRepeirInInventory);
    SetCompleteHook(0xE9, 0x008369AF, &OffButtonOpenStore);
    SetCompleteHook(0xE9, 0x00836A23, &OffButtonInventoryExp);
    SetCompleteHook(0xE9, 0x0077EBB0, &OffButtonQuestInStats);
    SetCompleteHook(0xE9, 0x0077EC59, &OffButtonPetsInStats);
    SetCompleteHook(0xE9, 0x0077ECE2, &OffButtonSkillMasterInStats);

Credito:
Yalc

paofu

  • *
Re: Desativar botões nas estatísticas e no inventário Main 1.04e (Muemu) | Respuesta #1 en: Abril 30, 2021, 12:25:17 am »

Great sharing thanks

robins1998

  • *
Re: Desativar botões nas estatísticas e no inventário Main 1.04e (Muemu) | Respuesta #2 en: Mayo 27, 2021, 02:25:58 am »

Very helpful, thanks for sharing.


Responder Marcar No Leido Enviar Topic Print