• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Warname dll

Newbie Spellweaver
Joined
Aug 4, 2021
Messages
7
Reaction score
7
Maybe this is what you need...

SetHook(0x0042B4A4, (DWORD)NameWars, 0xE9, 5, (PVOID&)dwJmpnWars, TRUE);

BOOL __fastcall NameWars(DWORD p)
{
if ((CALL_ADDR(0x004D5273)) && *(DWORD*)0x0107D020 == 1)
{
return FALSE;
}
return dwJmpnWars();
}
 
Elite Diviner
Joined
Jun 18, 2023
Messages
437
Reaction score
245
Maybe this is what you need...

SetHook(0x0042B4A4, (DWORD)NameWars, 0xE9, 5, (PVOID&)dwJmpnWars, TRUE);

BOOL __fastcall NameWars(DWORD p)
{
if ((CALL_ADDR(0x004D5273)) && *(DWORD*)0x0107D020 == 1)
{
return FALSE;
}
return dwJmpnWars();
}
Thank you!
 
Back
Top