Any Base

Posts 1–9 of 9 · Page 1 of 1
Any Base
Could someone share with me a little bit of their base or a leeched base?
I just want to study the base and learn a few thing's.
Please no troll's or saying "Make you're own base" or "GTFO noob".
I am not giving you my base, maybe you can find a old base out 2009 on google?
Quote Originally Posted by Skulhead = hacked. View Post
I am not giving you my base, maybe you can find a old base out 2009 on google?
I don't want you're FULL base I just want a little tiny bit.
I just want a little bit of code to get me started so something like noreload or 1 hit kill just anything.
All you need to know to make a simple base is:

DllMain Function, Search on Msdn
CreateThread Function

And a bit of winapi knowledge
Do you want g Force Version 3 Base?
I can give you,... no, not really lol
Heres an old base that got leeched from Swiftdude. It's patched now and the addies have changed

[highlight=C++]
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

//addies 01/05/2011
#define WeaponMgr 0xA0F338
#define NoReload 0x2420
#define WeaponDamage 0x07F8

float Hithard = 999.0f;
float FragDmg = 0.0f;

//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','P','r','e','s','i','d','e','n',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };

DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(onehit)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = Hithard;
}
}
}

//no reload
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
}
}
}

//no grenade damage
if(fragdmg)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = FragDmg;
}
}
}
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 )
{
//optional
MessageBoxA(0, Msg,Title, 0);
system("start http://www.**********.net");

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
[/highlight]
Quote Originally Posted by Codemunkie View Post
Heres an old base that got leeched from Swiftdude. It's patched now and the addies have changed

[highlight=C++]
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

//addies 01/05/2011
#define WeaponMgr 0xA0F338
#define NoReload 0x2420
#define WeaponDamage 0x07F8

float Hithard = 999.0f;
float FragDmg = 0.0f;

//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','P','r','e','s','i','d','e','n',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };

DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(onehit)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = Hithard;
}
}
}

//no reload
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
}
}
}

//no grenade damage
if(fragdmg)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = FragDmg;
}
}
}
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 )
{
//optional
MessageBoxA(0, Msg,Title, 0);
system("start http://www.**********.net");

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
[/highlight]
How do you know it is his base? :/
Quote Originally Posted by Codemunkie View Post
Heres an old base that got leeched from Swiftdude. It's patched now and the addies have changed

[highlight=C++]
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

//addies 01/05/2011
#define WeaponMgr 0xA0F338
#define NoReload 0x2420
#define WeaponDamage 0x07F8

float Hithard = 999.0f;
float FragDmg = 0.0f;

//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','P','r','e','s','i','d','e','n',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };

DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(onehit)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = Hithard;
}
}
}

//no reload
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
}
}
}

//no grenade damage
if(fragdmg)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = FragDmg;
}
}
}
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 )
{
//optional
MessageBoxA(0, Msg,Title, 0);
system("start http://www.**********.net");

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
[/highlight]
I attempted to compile it but it failed...
Removed a few thing's and updated a few thing's still failed...
Do I need to #include dllmain or #define dllmain?
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us