All pastes #483377 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-11 18:23 UTC
rendered paste body
// Writing all Patches into BMTPPK

   BYTE Patch1[] = {0xE9,0xAE,00,00,00};
   WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0xF06D),&Patch1,sizeof(Patch1),0);

   BYTE Patch2[] = {0xEB};
   WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0xDDE2),&Patch2,sizeof(Patch2),0);

   BYTE Patch3[] = {0xC3,0x90,0x90,0x90,0x90,0x90};
   WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0x5AC0),&Patch3,sizeof(Patch3),0);

   BYTE Patch4[] = {0x01};
   WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0xDC31),&Patch4,sizeof(Patch4),0);

   BYTE Patch5[] = {0xEB,0x35};
   WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0xDC91),&Patch5,sizeof(Patch5),0);

   // These Patches were added by LordTerror
	//Prevents the game from dropping after 15 seconds
	BYTE Patch6[] = {0xE9,0x93,0x00};
	WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0xDF21),&Patch6,sizeof(Patch6),0);

	//Prevents the hack from connecting to www.bmpk.us -- this disables autoloot/autoparty
	BYTE Patch7[] = {0xC3};
	WriteProcessMemory(Proc,(void*)(BMTPPKBaseAddress + 0x5630),&Patch7,sizeof(Patch7),0);