hey im learning to code 2. i havent learned as much as you but i use here C programming.com - Your Resource for C and C++ Programming
Don't go with what hahaz said. ASM is a low level language that has little to no English involved and it is somewhat complicated. You should learn it eventually though.
C++ is easier to start with.
cplusplus.com - The C++ Resources Network
That site has a tutorial and antiRTFM on youtube has good tuts too.
Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } void __cdecl PushToConsole(const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( 0x3778CFB0 ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); __asm { push szCommand; call CONoff; add esp, 4; } } } void main() { while(true) { PushToConsole("DrawParticles 0"); Sleep(50); PushToConsole("ShowFps 1"); Sleep(50); PushToConsole("FogEnable 0" ); Sleep(50); PushToConsole("ActivationDistance 999999" ); Sleep(50); PushToConsole("SkelModelStencil -1" ); Sleep(50); PushToConsole("PerturbRotationEffect 0.000000" ); Sleep(50); PushToConsole("PerturbIncreaseSpeed 0.000000" ); Sleep(50); PushToConsole("PerturbWalkPercent 0.000000" ); Sleep(50); PushToConsole("PerturbFiringIncreaseSpeed 0.000000" ); Sleep(50); PushToConsole("PerturbRecoil 0.000000" ); Sleep(50); PushToConsole("FireMovePerturb 0.000000" ); Sleep(50); PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" ); Sleep(50); PushToConsole("ZoomedFireMovePerturb 0.000000" ); Sleep(50); PushToConsole("ZoomedFireDuckPerturb 0.000000" ); Sleep(50); PushToConsole("KnockBack 0" ); Sleep(50); PushToConsole("BaseMoveAccel 1800.000000"); Sleep(50); PushToConsole("StartAccel 1800.000000"); Sleep(50); PushToConsole("MaxAccel 1800.000000"); Sleep(50); PushToConsole("AccelInc 1800.000000"); Sleep(50); PushToConsole("WalkVel 1800.000000"); Sleep(50); PushToConsole("FRunVel 1600.000000"); Sleep(50); PushToConsole("BRunVel 1600.000000"); Sleep(50); PushToConsole("SRunVel 1600.000000"); Sleep(50); } } DWORD WINAPI dwHackThread(LPVOID) { while( !IsGameReadyForHook() ) Sleep(300); main(); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "Coded By speedforyou[dugindog] from https://www.mpgh.net", "Injected", 0); CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL); } return TRUE; } }
use the thanks buton
Last edited by speedforyou; 08-14-2010 at 06:23 AM.
steel o-o's sig =
= Done , = Not Done
Leecher 0 =
Newbie 25 =
Member 50 =
Advanced Member 100 =
H4X0R Member 150 =
Dual-Keyboard Member 250 =
Expert Member 500 =
's Trainer 750 =
MPGH Expert 1000 =
Synthetic Hacker 1250 =
Blackhat Hacker 1500 =
Whitehat Hacker 2000 =
's Guardian 2500 =
Upcoming MPGHiean 3000 =
MPGH Addict 3500 =
MPGHiean 4000 =
MPGH Knight 4500 =
MPGH Lord 5000 =
MPGH Champion 5500 =
MPGH King 6000 =
MPGH Legend 6500 =
MPGH God 7000 =
MPGH God II 7500 =
MPGH God III 8000 =
MPGH God IV 8500 =
MPGH God V 9000 =
Arun's Slave 9500 =
Dave's Slave 10000 =
Why The Fuck People Keep Posting Hotkey Sources Fucking no0bs
Well, I got that source to work, but I am having troubles understanding what the functions do. :-| The PTC commands. How in the hell do I make no spread or no recoil and all that. BY the way, that source makes you walk fast, and also makes you SLOWLY fall at a fast rate(if that makes sence) lol Why in the hell does it do that? I tested it out and it's weird. :-|
I would, I mean I get the idea behind the PTC and shit, but I don't know what most of the commands do, and the only other part I need help with is figuring out how to set hotkeys(Don't fucking start with that n00b shit!) I am just trying to learn from the basics before I try to start messing around with the menus. Which, BTW I don't plan to release any hacks until I get good. I am just trying to mess around with everything to learn for myself...
Another thing, what's the point behind addies? ...and how do I find them?
How do I implement them into the code to make them work on the game, etc...
I just need some decent examples to read and learn from.
I don't learn by reading books. I learn by reading source code, and messing with stuff and figuring it out for myself. I will NEVER release anything that's given to me(sources). Nor will I ever leech off them. I just want them for educational uses(unlike 98% of these leeching ******s on here.)
lots of time
here is a hotkey hack thank me
Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } void __cdecl PushToConsole(const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( 0x3778CFB0 ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); __asm { push szCommand; call CONoff; add esp, 4; } } } BOOL WINAPI Main (LPVOID) { bool Tracers = true; bool nosky = false; bool worldframe = false; bool playerframe = false; bool nogun = false; bool Skeleton = false; bool FogEnable = false; bool CursorCenter = false; bool nxchams = false; while(1) { __asm pushad; if(GetAsyncKeyState(VK_NUMPAD1)&1) { Tracers = !Tracers; } if(GetAsyncKeyState(VK_NUMPAD2)&1) { nosky = !nosky; } if(GetAsyncKeyState(VK_NUMPAD3)&1) { worldframe = !worldframe; } if(GetAsyncKeyState(VK_NUMPAD4)&1) { playerframe = !playerframe; } if(GetAsyncKeyState(VK_NUMPAD5)&1) { nogun = !nogun; } if(GetAsyncKeyState(VK_NUMPAD6)&1) { Skeleton = !Skeleton; } if(GetAsyncKeyState(VK_NUMPAD7)&1) { FogEnable = !FogEnable; } if(GetAsyncKeyState(VK_NUMPAD8)&1) { CursorCenter = !CursorCenter; } if(GetAsyncKeyState(VK_NUMPAD9)&1) { nxchams = !nxchams; if (CursorCenter) PushToConsole("CursorCenter 1"); else PushToConsole("CursorCenter 0"); if (FogEnable) PushToConsole("FogEnable 1"); else PushToConsole("FogEnable 0"); if (Skeleton) { PushToConsole("ModelDebug_DrawSkeleton 1"); } else { PushToConsole("ModelDebug_DrawSkeleton 0"); } if (Tracers) PushToConsole("ShowFirePath 1" ); else PushToConsole("ShowFirePath 0" ); if (nosky) PushToConsole("DrawSky 0"); else PushToConsole("DrawSky 1"); if (worldframe) PushToConsole("WireFrame 1"); else PushToConsole("WireFrame 0"); if (playerframe) PushToConsole("WireFrameModels 1"); else PushToConsole("WireFrameModels 0"); if (nogun) PushToConsole("DrawGuns 0"); else PushToConsole("DrawGuns 1"); __asm popad; Sleep(100); } } bool Ready(void) { if( GetModuleHandleA("CShell.dll")!= NULL) return true; return false; } DWORD WINAPI dwMainThread(LPVOID) { while (!Ready()) Sleep(200); CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "Coded By speedforyou[dugindog] from https://www.mpgh.net", "Injected", 0); CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL); } return TRUE; }
Last edited by speedforyou; 08-14-2010 at 08:09 AM.
steel o-o's sig =
= Done , = Not Done
Leecher 0 =
Newbie 25 =
Member 50 =
Advanced Member 100 =
H4X0R Member 150 =
Dual-Keyboard Member 250 =
Expert Member 500 =
's Trainer 750 =
MPGH Expert 1000 =
Synthetic Hacker 1250 =
Blackhat Hacker 1500 =
Whitehat Hacker 2000 =
's Guardian 2500 =
Upcoming MPGHiean 3000 =
MPGH Addict 3500 =
MPGHiean 4000 =
MPGH Knight 4500 =
MPGH Lord 5000 =
MPGH Champion 5500 =
MPGH King 6000 =
MPGH Legend 6500 =
MPGH God 7000 =
MPGH God II 7500 =
MPGH God III 8000 =
MPGH God IV 8500 =
MPGH God V 9000 =
Arun's Slave 9500 =
Dave's Slave 10000 =
DBag4Life69 (08-14-2010)
Certain addresses can contain values of variables like speed, gravity, bullets, etc.
You can find addresses by using a memory searcher like MHS or CE (both detected by HS).
You can either set a value for them like infinite respawn :
or NOP(no operation performed(I think you understand what this does)) the addresses for no recoil(there are 5 addresses) :Code:*(long*)0x376B9278 = 1;//Current address for CA NA as of today
Code:memcpy((LPVOID)0x3741B550, "\x90\x90\x90", 3);
DBag4Life69 (08-14-2010)
what is that address??
*(long*)0x376B9278 = 1;//Current address for CA NA as of today
^^^^^^^^?????
steel o-o's sig =
= Done , = Not Done
Leecher 0 =
Newbie 25 =
Member 50 =
Advanced Member 100 =
H4X0R Member 150 =
Dual-Keyboard Member 250 =
Expert Member 500 =
's Trainer 750 =
MPGH Expert 1000 =
Synthetic Hacker 1250 =
Blackhat Hacker 1500 =
Whitehat Hacker 2000 =
's Guardian 2500 =
Upcoming MPGHiean 3000 =
MPGH Addict 3500 =
MPGHiean 4000 =
MPGH Knight 4500 =
MPGH Lord 5000 =
MPGH Champion 5500 =
MPGH King 6000 =
MPGH Legend 6500 =
MPGH God 7000 =
MPGH God II 7500 =
MPGH God III 8000 =
MPGH God IV 8500 =
MPGH God V 9000 =
Arun's Slave 9500 =
Dave's Slave 10000 =