homer_simpson Grandmaster Cheater
Reputation: 0
Joined: 25 Feb 2007 Posts: 596
|
Posted: Thu Jul 10, 2008 12:51 pm Post subject: |
|
|
| GMZorita wrote: | | homer_simpson wrote: | | GMZorita wrote: | WOW How surprising, you are using my leaked code, just changed some vars so it doesn't looks exactly the same.
Instead of
Just use
| oib111 wrote: | | Don't add return 0. And what compiler are you using? I'm assuming VC++ because you're using forms. Well if it doesn't recognize [ then just do "jmp VPX". |
No he is using Borland Developer Studio w/ my Leaked Trainer Source,
But he changed some vars so he get those problems. |
Well at least im learning... And that gave be back to the VPX label error. |
For god sake just use this code.
| Code: |
static const FARPROC VPX = (FARPROC)((DWORD)GetProcAddress(GetModuleHandleA("kernel32.dll"), "VirtualProtectEx")+5);
DWORD oldp2 = 0;
PDWORD oldprot2 = &oldp2;
_declspec(naked) BOOL WINAPI FixMemEx(HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect)
{
_asm
{
mov edi,edi
push ebp
mov ebp,esp
jmp VPX
}
return 0;
}
//---------------------------------
void FixMem()
{
FixMemEx(GetCurrentProcess(), (void*)0x400000, 0x400000, PAGE_EXECUTE_READWRITE, (DWORD*)oldprot2);
} |
When you need to fix the memory just use
And no you are not learning you are mostly leeching. |
Well know any bether way? And I plan adding new hacks basing on the ones there so basically im learning. And you dont need to be rude. And do I need stdafx.h? The c++ builder didn't come with it. |
|