Solved Color Aimbot unreferenced local variable

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

owh

Newbie
Jun 6, 2012
4
212
Visit site
0
Guyz I need help, I followed everything on @Fleep 's youtube channel regarding the Aimbot.
Now when I open this program it show this:


Any help will be welcomed.
Thanks,
owh
 

BlackPitchPL

Coder
Full Member
Nobleman
May 24, 2012
166
783
POLAND
Visit site
1
maybe start reading dbg info you have

C++:
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(84): warning C4101: 'hdcScreen' : unreferenced local variable
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(149): warning C4101: 'hdcScreen' : unreferenced local variable
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(138): warning C4715: 'Aim_BotThr' : not all control paths return a value
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(203): warning C4715: 'Aim_Bot' : not all control paths return a value
1>Manifest:
so i didn't watch the tut that Fleep made but i'm sure that (unreferenced local variable) it's mean that it's not use in program at all. And there is smt with return function so you need to look closer into code
 

owh

Newbie
Jun 6, 2012
4
212
Visit site
0
Fleep said:
Helios said:
Could you please upload your project? That way it will be easier for us to help you :)

- And CiseBlole, you've been reported...
Thanks, banned his ass. :D
@Helios & @Fleep I uploaded the whole of my Project Files, Pls tell me where I went wrong and correct me. Thanks
 

owh

Newbie
Jun 6, 2012
4
212
Visit site
0
BlackPitchPL said:
maybe start reading dbg info you have

C++:
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(84): warning C4101: 'hdcScreen' : unreferenced local variable
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(149): warning C4101: 'hdcScreen' : unreferenced local variable
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(138): warning C4715: 'Aim_BotThr' : not all control paths return a value
1>d:\blackh3x\mw3 aimbot\mw3 aimbot\mw3 aimbot\main.cpp(203): warning C4715: 'Aim_Bot' : not all control paths return a value
1>Manifest:
so i didn't watch the tut that Fleep made but i'm sure that (unreferenced local variable) it's mean that it's not use in program at all. And there is smt with return function so you need to look closer into code
Im really sorry but Im a C++ beginner, so have no clue to all this 'unreferenced local variable' can you explain what do you mean?
 

BlackPitchPL

Coder
Full Member
Nobleman
May 24, 2012
166
783
POLAND
Visit site
1
It's mean that value is never use hmm look

C++:
int main()
{
int i;
cout << "Hello YOU"<<endl;

return 0
}
so now i is unreferenced local variable so program doesn't use it at all and "'Aim_BotThr' : not all control paths return a value" it's because if you make some function and than in some if's you return value and on the and of if's and else's you still not return value hmm look

C++:
int fun(int n)
{
if (n == 1)
  return 1;
else if (n != 1)
 n = 0;

//and now if not all if's and else's was made your function will return what ??
return 0;// so you have to add this to return all path's for function 
}
 
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 League of Legends Accounts