Code:void BupHask() { CLocalPlayer* pLocal = new CLocalPlayer(); pLocal->Read(); if (GetAsyncKeyState(0x20) && pLocal->flags == 257) { Mem.WriteInt(dwClient + dwForceJump, 5); } else { Mem.WriteInt(dwClient + dwForceJump, 4); } }
so recently i decided to start making hacks for cs go , so i started with bunny hope , i made my own code but he problem is that while i am pressing space bar he jump only one time and he stop if some one can point me to my error i will be thankfull
here is the section of the source code where it cosing problem
Code:while(true){ while(GetAsyncKeyState(0x20) > 0) { int jump = 5; int unjump = 4; WriteProcessMemory(csProcess,(LPVOID)(procadr + instrjump),&jump,(DWORD)sizeof(int),0); #procadr is csgo client base adress Sleep(20); WriteProcessMemory(csProcess,(LPVOID)(procadr + instrjump),&unjump,(DWORD)sizeof(int),0); } }
Code:void BupHask() { CLocalPlayer* pLocal = new CLocalPlayer(); pLocal->Read(); if (GetAsyncKeyState(0x20) && pLocal->flags == 257) { Mem.WriteInt(dwClient + dwForceJump, 5); } else { Mem.WriteInt(dwClient + dwForceJump, 4); } }
• Member Level 1 since November, 2011
• Contributor since March, 2015
• Game Hacking Team : 06/14/2017
TheNamless (06-30-2016)
Hacker Fail (06-30-2016)
/Moved to the correct section.
/Solved & closed.