if( ghost > 0 )
{
DWORD posptr1;
DWORD posy1;
DWORD posx;
DWORD posz;
#define posyoffset1 0xCC
#define charposoffset1 0x66F34
posptr1 = (DWORD)GetModuleHandleA( "ClientFX.fxd" );
posptr1 += charposoffset1;
memcpy(&posy1,(void *)(posptr1),4);
posy1 += posyoffset1;
posy1+ 0x4 == posx;
posy1+ 0x8 == posz;
if(posy1 > posyoffset1 )
{
if(GetAsyncKeyState(VK_ADD)<0){
*(float*)posy1 += 0.0023333f;}
if(GetAsyncKeyState(VK_SUBTRACT)<0){
*(float*)posy1 -= 0.0023333f;}
if(GetAsyncKeyState(VK_UP)<0){
*(float*)posz += 0.0023333f;}
if(GetAsyncKeyState(VK_DOWN)<0){
*(float*)posz -= 0.0023333f;}
if(GetAsyncKeyState(VK_RIGHT)<0){
*(float*)posx += 0.0023333f;}
if(GetAsyncKeyState(VK_LEFT)<0){
*(float*)posx -= 0.0023333f;}
}else{
PushToConsole("Windowed 0");
}
}
I have a stupid problem but i can't solve it can you help yes this is a very noob question <.<
1>Base.cpp(212): warning C4553: '==': operator has no effect; did you intend '='?
1>Base.cpp(213): warning C4553: '==': operator has no effect; did you intend '='?
The error is in
posy1+ 0x4 == posx;
posy1+ 0x8 == posz;