Code Help

Posts 1–4 of 4 · Page 1 of 1
Code Help
hello mpgh i work on a code but i get banned from the server

help please

credits :

swiftdude , base

me addys make it work ( fore 99%)

don't use code fore you own

//coded by: jpjb5138
//and: tambre
//for more hacks go to: mpgh.net

#include <Windows.h>




DWORD WINAPI Hacks(LPVOID)
{
bool Change = true,
bool NoReload = true,
bool SingleFire = false,
bool GunRange = true;




while(1);
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + 0xA2A7E8 );



if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { SingleFire = true;Beep(550, 120); }
if(GetAsyncKeyState(VK_F6) || GetAsyncKeyState(VK_F6) &1) { NoReload = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F7) || GetAsyncKeyState(VK_F7) &1) { Change = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F8) || GetAsyncKeyState(VK_F8) &1) { GunRange = true; Beep(550, 120); }



if(Change)
{
if (pLtClient)
{
for(int i=0; i<532; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x2428 ))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x2428 ) = 0;
}
}
}


if(SingleFire)
{
if (pLtClient)
{
for(int i=0; i<532; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xa38 ))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0xa38 ) = 100;
}
}
}


if(GunRange)
{
if (pLtClient)
{
for(int i=0; i<533; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x7ec))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x7ec) = 99999;
}
}
}




if(NoReload)
{
if (pLtClient)
{
for(int i=0; i<533; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x2424 ))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x2424 ) = 9999;
}
}
}
{
}

Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{




CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
Single fire value should be 1 i think O.O
You didnt define LTClient or any addy...

Dude man learn to code....
No Change is 100..
no Reload is 100..
Single Fire is total wrong..


Quote Originally Posted by dragonattak View Post
Single fire value should be 1 i think O.O
You didnt define LTClient or any addy...


ye its 1 ... and it isnt Float..
and he defined the addys in the Source but its wrong how he did it...
Quote Originally Posted by Royku View Post
Dude man learn to code....
No Change is 100..
no Reload is 100..
Single Fire is total wrong..




ye its 1 ... and it isnt Float..
and he defined the addys in the Source but its wrong how he did it...
Yes but it a bad way to use, and he didnt define the LTClient
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?