Solved AssaultCube Hack Not Working?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

atomelectron

Newbie
Full Member
Sep 6, 2016
18
1,028
0
I have created a assaultcube hack, and whenever I try to read the health value, it just outputs a bunch of random numbers.
Heres the code, if you need it.

C++:
int main() {
	
	HANDLE handle = mem.getHandle("ac_client.exe");
	mem.setHandle(handle);

	while (!GetAsyncKeyState(VK_INSERT)) {
		mem.Read(hp, LPValue);
		cout << LPValue << endl;
	}
}
Please post your awnser below.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
I have created a assaultcube hack, and whenever I try to read the health value, it just outputs a bunch of random numbers.
Heres the code, if you need it.

C++:
int main() {
	
	HANDLE handle = mem.getHandle("ac_client.exe");
	mem.setHandle(handle);

	while (!GetAsyncKeyState(VK_INSERT)) {
		mem.Read(hp, LPValue);
		cout << LPValue << endl;
	}
}
Please post your awnser below.
cout << "0x" << hex << LPValue << endl;
 

PwndDepot

I has a status
Dank Tier VIP
Trump Tier Donator
Dank Tier Donator
Nov 5, 2014
239
7,748
19
or just use printf("0x%x", LPValue);
 

Broihon

edgy 12 y/o
Escobar Tier VIP
Fleep Tier Donator
Dec 22, 2013
1,745
40,528
316
What do you mean by "store this in a variable"?
mem.Read(hp, LPValue); what exactly does it do? It's hard to tell if we don't know the definitions/declartions of hp and LPValue.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
Sorry, but I need to somehow store this in a variable.
Something like this:

C++:
#inclue <string>
#include <sstream>

std::stringstream string1;
string1 << "0x"  << std::hex << LPValue;
std::string string2 = string1.str();

cout << string2 << endl;
 
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