QuestionHelpC++ Simple Name ESP

Posts 1–15 of 15 · Page 1 of 1
C++ Simple Name ESP
I've tried to make a simple name ESP in C++.
I've been reading a eBook.
So i tried something.
Don't be mad because i'm a super noob everyone started this way (or you are a master genius like @ @Kenshin13 )

 
Code:

#include <windows.h>
#include <stdio.h>

//declares
#define NOP 0x90
//declares

void nop_(PVOID address, int bytes){
DWORD d, ds;
VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d);
memset(address, NOP, bytes);VirtualProtect(address,bytes,d,&ds);
}

//---Adress List---//
#define Playerpointer 0x00588A30
#define Serverpointer 0x00588A35
DWORD *ingame= (DWORD*)Playerpointer;

/*Doesn't Work*/
void NameESP()
{
if (GetAsyncKeyState(VK_NUMPAD0) &1)
{
nop_((PVOID)0x00588A35, 2);
nop_((PVOID)0x00588A30, 4);
}
}
/* Fullbright doesn't work either*/
void Fullbright()
{
if (GetAsyncKeyState(VK_NUMPAD1) &1)
{
*(DWORD*)0x5F9690C = 1;
}
}


This is for Teknomw3.
It injects properly but when i press numpad1/numpad0 i get nothing.
When i hold it nothing either.
If someone wants to help through skype: thijs518.
Thanks.
aha dar lKS a
Quote Originally Posted by 5DOG5 View Post
aha dar lKS a
English please.
Maybe it's the wrong address @
#define NOP 0x90
//declares

void nop_(PVOID address, int bytes);
{
DWORD d, ds;
VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d);
memset(address, NOP, bytes);VirtualProtect(address,bytes,d,&ds);
}

the right code
Check the addy's.
Check addresses.
Thanks bro's got the fullbright to work nowww
how can we find address ?
I don't think your NOP function is right.

Aren't you supposed to specify the exact bytes in terms of length for memset?

Code:
memset ( addr, NOP, bytes );
translates to:

Code:
memset ( addr, (void*) "\x90", 6 );
when it should be:

Code:
memset ( addr, (void*) "\x90\x90\x90\x90\x90\x90", 6 );
@letitrain




edit: Maybe you were talking about memcpy?

Quote Originally Posted by abuckau907 View Post
@letitrain




edit: Maybe you were talking about memcpy?

memset can be done the same way:

Code:
memset((void*)Offset, 0x90, 6);
Huh? That is the exact same declaration I posted. (void* , Int, size_t) . Done the same as what?
Quote Originally Posted by Cambodia View Post
@abuckau907
did u know how to find address ?
No, sorry .
Posts 1–15 of 15 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us