FoxxyStyleWC (09-04-2010),mechanical2015 (09-04-2010),ovenran (09-04-2010),TheGamer321 (09-06-2010)
Added anti leeche protectionCode:#include "stdafx.h" #include <windows.h> #include <iostream> using namespace std; bool IsGameReadyForHook() { if( GetModuleHandleA( "CShell.dll" ) != NULL ) { return true; } else { return false; } } int __cdecl PushToConsole( const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( (dwCShell + 0xE8) ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F7 ); __asm { push szCommand; call CONoff; add esp, 4; } } return 0; } void main() { bool boxes = false; bool nosomke = false; if(MessageBoxA(0, "Boxes on?", "hack",MB_YESNO) == IDYES) { boxes = false; } if(MessageBoxA(0, "Nosmoke on?", "hack",MB_YESNO) == IDYES) { nosomke = false; } while(true) { if(GetAsyncKeyState(VK_NUMPAD1)<0){ boxes = !boxes; } if(GetAsyncKeyState(VK_NUMPAD2)<0){ nosomke = !nosomke; } if(boxes) { PushToConsole("ModelDebug_DrawBoxes 1"); } else { PushToConsole("ModelDebug_DrawBoxes 0"); } if(nosomke) { PushToConsole("DrawParticles 0"); } else { PushToConsole("DrawParticles 1"); } } } DWORD WINAPI yhd(LPVOID) { while(IsGameReadyForHook() ) Sleep(25); main(); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "Coded By lauwy\n Thanks merbling for using your pc", "Injected", 0); CreateThread(NULL, NULL, yhd, NULL, NULL, NULL); } return true; }
Need some help to get back on track
Find the pointer to the D3D9 Device (Not usefull for Cross)
https://www.mpgh.net/forum/242-crossf...ice-lauwy.html
Fix olly if scanning doesn't work
https://www.mpgh.net/forum/242-crossf...ing-fails.html
Unpack cshell.dll
https://www.mpgh.net/forum/242-crossf...shell-dll.html
FoxxyStyleWC (09-04-2010),mechanical2015 (09-04-2010),ovenran (09-04-2010),TheGamer321 (09-06-2010)
thanks sir i see you have many releases source codes i hope this mpgh will be have more C++ coders like you
i think this is the code of lhack02 ph ?_??
No the boxes/nosmoke on of hack for xp
Need some help to get back on track
Find the pointer to the D3D9 Device (Not usefull for Cross)
https://www.mpgh.net/forum/242-crossf...ice-lauwy.html
Fix olly if scanning doesn't work
https://www.mpgh.net/forum/242-crossf...ing-fails.html
Unpack cshell.dll
https://www.mpgh.net/forum/242-crossf...shell-dll.html
ovenran (09-04-2010)
thank men! i love it
why detected?? when i On the 2 Box ???
Last edited by mechanical2015; 09-04-2010 at 09:11 AM.
i need to packed this??
yup it detected when i on the boxes and no smoke??
Last edited by TheGamer321; 09-04-2010 at 09:30 AM.
do i pack it upx????
should i edit something ????
yup...to make your code secured...
Sir waht is Ptc and how's its being use?? pls tell me??
what i add??
i think the code doesnt work in PH??
no its work but you need to add Fucking i don't know T_T
because i packet this when i injection 2 box are OPen and I On! boom its dectected!
i don't know why is detected ! sorry but im newbie in c++ ! cant add TUT for this
Last edited by mechanical2015; 09-04-2010 at 12:02 PM.