Wireframe/Invisible Hands

Posts 1–9 of 9 · Page 1 of 1
Wireframe/Invisible Hands
I'm making some misc functions to my cheat, but I don't know how to make a wireframe/invisible hands externally(C++), because I didn't saw any good examples. Can someone tell me what should i do?
Pasted from another forum, originally posted by teamgamerfood
Code:
char nohands[ 256 ] = { \0 };
rpm<char[ 256 ]>( LocalEntity + m_szArmsModel, nohands );
rpm<int>( EnginePointer + 0x16C, -1 ); // force update
just force update after nulling the string.
Code:
void Hands() {
	while (true) {
		char nohands[256] = { \0 };
		mem.wri<char[256]>(Base + m_szArmsModel, nohands);
		mem.wri<int>( EnginePointer + 0x16C, -1); // force update
	}
}
Getting error at "\0" "unrecognized token"

Base = client.dll + dwLocal
EnginePointer = client.dll + engine.dll
m_szArmsModel = 0x38E3
Quote Originally Posted by KebsCS View Post
Code:
void Hands() {
	while (true) {
		char nohands[256] = { \0 };
		mem.wri<char[256]>(Base + m_szArmsModel, nohands);
		mem.wri<int>( EnginePointer + 0x16C, -1); // force update
	}
}
Getting error at "\0" "unrecognized token"

Base = client.dll + dwLocal
EnginePointer = client.dll + engine.dll
m_szArmsModel = 0x38E3
I have no idea how to make nohands but EnginePointer isnt client.dll + engine.dll, its engine.dll + dwClientState/0x005BB2C4
No hands is really easy. What I do is:

Pseudo:
Code:
DWORD LocalPlayer = read(clientdll + localplayer offset);
DWORD EnginePointer = read(enginedll + clientstate offset);
write(localplayer + offsetofhandsmodel, 0);
write(enginepointer + 0x16C, -1);
that rewrites the value to 0 and then does a forceupdate. Externally, it probably wont work at the first time u force update, so make sure do put the code onto a key.
Code:
	while (true) {

		if (button) {
			mem.wri<int>(Base + m_szArmsModel, 0);
			mem.wri<int>(EnginePointer + 0x16C, -1);
Thanks for this code, it seems to work, but just for a while, it flashes. I mean the hands disappear and then appear a few times per second. Also it shakes the hands of my teammates and enemies(bots), and their defuse kits and unequipped knife. It lag so badly and make some type of noise too. After adding Sleep(1); to infinite loop it lag less but still this same problem. Any suggestions?

And thanks for telling me about EnginePointer
Quote Originally Posted by KebsCS View Post
Code:
	while (true) {

		if (button) {
			mem.wri<int>(Base + m_szArmsModel, 0);
			mem.wri<int>(EnginePointer + 0x16C, -1);
Thanks for this code, it seems to work, but just for a while, it flashes. I mean the hands disappear and then appear a few times per second. Also it shakes the hands of my teammates and enemies(bots), and their defuse kits and unequipped knife. It lag so badly and make some type of noise too. After adding Sleep(1); to infinite loop it lag less but still this same problem. Any suggestions?

And thanks for telling me about EnginePointer
Make sure you are forceupdating only once, if its being set for other players just make check so it will set only for local player.
Yeah like Like legit_player said, only call it once. That's why i always put the forceupdate on a key.

Code:
if (getasynckeystate(VK_INSERT) != 0)
{
Forceupdate here
}
Been over a week since last update/bump after answers, assuming solved.

/Closed.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?