ANTI-KICK
Posts 1–9 of 9 · Page 1 of 1
ANTI-KICK
Code:
#include <Windows.h>
#include <iostream>
#include <stdio.h>
DWORD WINAPI LoopFunction(LPVOID lpParam)
{
BYTE Kick[1] = { 0x85 }; // ON kick
BYTE Kick2[1] = { 0x75 };
BYTE Kick3[1] = { 0x84 }; // OFF Kick
BYTE Kick4[1] = { 0x74 };
DWORD address = 0x0051C6A8;
DWORD address2 =0x0051C6D2;
bool KickAddy = false;
HANDLE bs2016 = GetCurrentProcess();
while (1){
if(GetAsyncKeyState(VK_HOME) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
KickAddy = false;
}
if (GetAsyncKeyState(VK_END) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
KickAddy = true;
}
}
}
void Patch(void *adr, void *ptr, int size)
{
DWORD NewProtection;
VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
memcpy(adr, ptr, size);
VirtualProtect(adr, size, NewProtection, &NewProtection);
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
if (dwAttached == DLL_PROCESS_ATTACH) {
CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
}
return 1;
}
Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |
Good Luck Have Fun
Happy Gaming, Happy Hacking!

Originally Posted by
HaXiNgRuLeZ
Code:
#include <Windows.h>
#include <iostream>
#include <stdio.h>
DWORD WINAPI LoopFunction(LPVOID lpParam)
{
BYTE Kick[1] = { 0x85 }; // ON kick
BYTE Kick2[1] = { 0x75 };
BYTE Kick3[1] = { 0x84 }; // OFF Kick
BYTE Kick4[1] = { 0x74 };
DWORD address = 0x0051C6A8;
DWORD address2 =0x0051C6D2;
bool KickAddy = false;
HANDLE bs2016 = GetCurrentProcess();
while (1){
if(GetAsyncKeyState(VK_HOME) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
KickAddy = false;
}
if (GetAsyncKeyState(VK_END) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
KickAddy = true;
}
}
}
void Patch(void *adr, void *ptr, int size)
{
DWORD NewProtection;
VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
memcpy(adr, ptr, size);
VirtualProtect(adr, size, NewProtection, &NewProtection);
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
if (dwAttached == DLL_PROCESS_ATTACH) {
CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
}
return 1;
}
Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |
Good Luck Have Fun
Happy Gaming, Happy Hacking!
Instead of this .. Why not use a simple method like = bool toexchange ? 
Nvm , Nice One Buddy ! 
I Think Simple Method Cant OFF Right :/
And U Can Add More Hack In This Source
GOOD LUCK 

Originally Posted by
HaXiNgRuLeZ
Code:
#include <Windows.h>
#include <iostream>
#include <stdio.h>
DWORD WINAPI LoopFunction(LPVOID lpParam)
{
BYTE Kick[1] = { 0x85 }; // ON kick
BYTE Kick2[1] = { 0x75 };
BYTE Kick3[1] = { 0x84 }; // OFF Kick
BYTE Kick4[1] = { 0x74 };
DWORD address = 0x0051C6A8;
DWORD address2 =0x0051C6D2;
bool KickAddy = false;
HANDLE bs2016 = GetCurrentProcess();
while (1){
if(GetAsyncKeyState(VK_HOME) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
KickAddy = false;
}
if (GetAsyncKeyState(VK_END) & 1){
WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
KickAddy = true;
}
}
}
void Patch(void *adr, void *ptr, int size)
{
DWORD NewProtection;
VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
memcpy(adr, ptr, size);
VirtualProtect(adr, size, NewProtection, &NewProtection);
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
if (dwAttached == DLL_PROCESS_ATTACH) {
CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
}
return 1;
}
Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |
Good Luck Have Fun
Happy Gaming, Happy Hacking!
Lol , WriteProcessMemory with GetCurrentProcess() . Never think to do like that . Anyway good job ! Its would be useful .

Originally Posted by
RuShi
Lol , WriteProcessMemory with GetCurrentProcess() . Never think to do like that . Anyway good job ! Its would be useful .
Nah :P , Thank You Buddy, Btw You Stop Making Hack For BS SEA/EU?

Originally Posted by
HaXiNgRuLeZ
Nah :P , Thank You Buddy, Btw You Stop Making Hack For BS SEA/EU?
Still do It for EU . Might release later . Why write process memory in DLL??

Originally Posted by
failnoobgamer
Why write process memory in DLL??
Hmm , thats why Im confuse . WriteProcessMemory with GetCurrentProcess In DLL . But I think Its might work .Posts 1–9 of 9 · Page 1 of 1