Solved need help

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

tainu

Newbie
Full Member
Oct 29, 2014
38
378
0
i need help with cheatengin
i was using cheeat engine on plants vs zombies game and i have 50 sun i search this value and then i spend 50 sun and i search for 0 value and there is no address who take 0 value , so w8's happening help plz



and


#include <iostream>
#include <Windows.h>
//#include "stdafx"
#pragma comment(lib, "user32.lib")

using namespace std;
HWND hWnd;

int main()
{
cout <<"hello!"<<endl;

hWnd = FindWindow(0, (LPCSTR)"Untitled - Notepad");
if(hWnd == 0){
cout << "error, can8 find windows."<<endl;
}else{
cout << "founded notepad."<<endl;
}

cin.get();
return 0;

}

why i have to declare HWND hWnd; as a global verable
i see someone code who was declareing it in main like
int main()
{
HWND hWnd;
}




and



w8 is this code and w8 is does?

int _tmain(int argc, _TCHAR* argv[])
{
}

when i use this it show me 2 error
Error 1 error C2061: syntax error : identifier '_TCHAR' c:\users\owner\documents\visual studio 2012\projects\project2\project2\source.cpp 9 1 Project2
2 IntelliSense: identifier "_TCHAR" is undefined c:\Users\owner\Documents\Visual Studio 2012\Projects\Project2\Project2\Source.cpp 9 22 Project2

but program run well


SORRY FOR MY BAD ENGLISH,
THENK YOU,
 

rN'

Jr.Hacker
Meme Tier VIP
Jan 19, 2014
340
5,268
41
DWORD proc_id;
GetWindowThreadProcessId(hWnd, &proc_id);

HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE,proc_id);
if(!hproc){
cout << "error, can't opeen process" << endl;
}else{
cout << "Process opened" << endl;
}


it is give me 2 error heelp plz


Error 1 error C2065: 'hproc' : undeclared identifier c:\users\owner\documents\visual studio 2012\projects\project2\project2\source.cpp 23 1 Project2
2 IntelliSense: identifier "hproc" is undefined c:\Users\owner\Documents\Visual Studio 2012\Projects\Project2\Project2\Source.cpp 23 7 Project2
idiot... you defined hProc not hproc... c++ is a case sensitive programming language
 

Alex

Sober linux neb
Dank Tier Donator
Nobleman
Nov 26, 2015
150
828
1
If you use a variable outside of it's defining function, you've to define it outside of your function.

and about cheatengine, try to search for decreased/increased value after the target value has changed.
 

tainu

Newbie
Full Member
Oct 29, 2014
38
378
0
DWORD proc_id;
GetWindowThreadProcessId(hWnd, &proc_id);

HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE,proc_id);
if(!hproc){
cout << "error, can't opeen process" << endl;
}else{
cout << "Process opened" << endl;
}


it is give me 2 error heelp plz


Error 1 error C2065: 'hproc' : undeclared identifier c:\users\owner\documents\visual studio 2012\projects\project2\project2\source.cpp 23 1 Project2
2 IntelliSense: identifier "hproc" is undefined c:\Users\owner\Documents\Visual Studio 2012\Projects\Project2\Project2\Source.cpp 23 7 Project2
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods