Results 1 to 8 of 8
  1. #1
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,110

    [source]lhck 02 Normal server

    Code:
    #include "stdafx.h"
    #include <windows.h>
    #include <iostream>
    
    using namespace std;
    
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "CShell.dll"  ) != NULL ) {
    		return true;
    	} else {
    		return false;
    	}
    }
    
    void __cdecl PushToConsole( const char* szCommand ) {
    	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    	if( dwCShell != NULL ) 	{
    		DWORD *LTClient = ( DWORD* )( (dwCShell + 0x99D40) );
    		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F7 );
    		__asm
    		{
    			push szCommand;
    			call CONoff;
    			add esp, 4;
    		}
    	}   
    }
    
    
    void main(int LTC) {
    	Sleep(1000);
    	bool dozen = false;
    	bool nosky = false;
    	bool nosmoke = false;
    	bool white = false;
    	bool whireworld = false;
    	bool playerwire = false;
    	bool skel = false;
    	bool nogun = false;
    	bool fogenable = false;
    	bool water = true;
    	bool bullets = true;
    	bool nolightobjects = false
    	bool noplayers = false;
    	bool meblack = false;
    	bool black = false;
    
    	while("why" ) {
    		PushToConsole("SkelModelStencil -1" );
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){
    			dozen = !dozen;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD2)<0){
    			nosky = !nosky;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD3)<0){
    			nosmoke = !nosmoke;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD4)<0){
    			white = !white;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD5)<0){
    			whireworld = !whireworld;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD6)<0){
    			playerwire = !playerwire;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD7)<0){
    			skel = !skel;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD8)<0){
    			nogun = !nogun;
    		}
    		if(GetAsyncKeyState(VK_NUMPAD9)<0){
    			fogenable = !fogenable;
    		}
    		if(GetAsyncKeyState(VK_F2)<0){
    			bullets = !bullets;
    		}
    		if(GetAsyncKeyState(VK_F3)<0){
    			water = !water;
    		}
    		if(GetAsyncKeyState(VK_F4)<0){
    			nolightobjects = !nolightobjects;
    		}
    		if(GetAsyncKeyState(VK_F5)<0){
    			noplayers = !noplayers;
    		}
    		if(GetAsyncKeyState(VK_F6)<0){
    			meblack = !meblack;
    		}
    		if(GetAsyncKeyState(VK_F7)<0){
    			black = !black;
    		}
    
    		if  (meblack) {
    			PushToConsole("ScreenGlowFogEnable 0");
    		} else {
    			PushToConsole("ScreenGlowFogEnable 1");
    		}
    
    		if(noplayers) {
    			PushToConsole("Effect_ForceSoftwareShaders 0");
    		} else {
    			PushToConsole("Effect_ForceSoftwareShaders 1");
    		}
    
    		if (nolightobjects) {
    			PushToConsole("Effect_DebugEffectIncludes 3");
    		} else {
    			PushToConsole("Effect_DebugEffectIncludes 0");
    		}
    
    		if  (black) {
    			PushToConsole("DrawWorld 0");
    		} else {
    			PushToConsole("DrawWorld 1");
    		}
    
    		if  (whireworld) {
    			PushToConsole("LightmapsOnly 1");
    		} else {
    			PushToConsole("LightmapsOnly 0");
    		}
    
    		if(bullets) {
    			PushToConsole("DrawSprites 1");
    		} else {
    			PushToConsole("DrawSprites 0");
    		}
    
    		if (water) {
    			PushToConsole("DrawPolyGrids 1");
    		} else {
    			PushToConsole("DrawPolyGrids 0");
    		}
    
    		if (fogenable) {
    			PushToConsole("FogEnable 1");
    		} else {
    			PushToConsole("FogEnable 0");
    		}
    
    		if (skel) {
    			PushToConsole("ModelDebug_DrawSkeleton 1"); 
    		} else {
    			PushToConsole("ModelDebug_DrawSkeleton 0"); 
    		}
    		if  (dozen) {
    			PushToConsole("ModelDebug_DrawBoxes 1");
    		} else {
    			PushToConsole("ModelDebug_DrawBoxes 0");
    		}
    
    		if  (nosky) {
    			PushToConsole("DrawSky 0");
    		} else {
    			PushToConsole("DrawSky 1");
    		}
    
    		if  (whireworld) {
    			PushToConsole("WireFrame 1");
    		} else {
    			PushToConsole("WireFrame 0");
    		}
    
    		if  (playerwire) {
    			PushToConsole("WireFrameModels 1");
    		} else {
    			PushToConsole("WireFrameModels 0");
    		}
    
    		if  (nogun) {
    			PushToConsole("DrawGuns 0");
    		} else {
    			PushToConsole("DrawGuns 1");
    		}
    
    		if(nosmoke) {
    			PushToConsole("DrawParticles 0");
    		} else {
    			PushToConsole("DrawParticles 1");
    		}
    
    		if(white) {
    			PushToConsole("TextureModels 0");
    		} else {
    			PushToConsole("TextureModels 1");
    		}
    
    		Sleep(1);
    	}
    }
    
    DWORD WINAPI yhd(LPVOID) {
    	while(IsGameReadyForHook() )
    	Sleep(125);
    	main();
    	return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH ) {
    		MessageBoxA(0, "Coded By lauwy\nMPGH\nWindows 7 only", "Injected", 0);
    		CreateThread(NULL, NULL, yhd, NULL, NULL, NULL);
    	}
    	return true;
    }
    Added some anti leeche protection
    Press thanks
    Last edited by lauwy; 09-04-2010 at 04:22 AM.
    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

  2. The Following 3 Users Say Thank You to lauwy For This Useful Post:

    Dirty147 (09-04-2010),ovenran (09-04-2010),SuperSonic5 (09-05-2011)

  3. #2
    ovenran's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Gi eL
    Posts
    226
    Reputation
    10
    Thanks
    108
    My Mood
    Sick
    hello sir can i ask, if im XP user , i will gonna change "<0" to "&1"? just asking

  4. #3
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,110
    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

  5. The Following User Says Thank You to lauwy For This Useful Post:

    ovenran (09-04-2010)

  6. #4
    ovenran's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Gi eL
    Posts
    226
    Reputation
    10
    Thanks
    108
    My Mood
    Sick
    ah ok ... thanks sir

  7. #5
    mrkiller2010's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    In CrossFire
    Posts
    724
    Reputation
    12
    Thanks
    311
    My Mood
    Yeehaw
    Why post when its protecion???

  8. #6
    ovenran's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Gi eL
    Posts
    226
    Reputation
    10
    Thanks
    108
    My Mood
    Sick
    He put his credits on the msgbox bcause some C++ beginners just copy paste it

    or other meaning of leeching protection ?_?

  9. #7
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,110
    I edit some parts that it don't work. you need to watch the code. and edit them.
    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

  10. The Following User Says Thank You to lauwy For This Useful Post:

    ovenran (09-04-2010)

  11. #8
    TheGamer321's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    2
    My Mood
    Worried
    theres and error

Similar Threads

  1. [source]hack V3 normal server
    By lauwy in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 09-06-2010, 09:20 PM
  2. [source]lhck 02 ph
    By lauwy in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 09-04-2010, 09:42 AM
  3. [Source]Maplestory Private server launcher + Downloader
    By luongoo in forum Visual Basic Programming
    Replies: 13
    Last Post: 11-23-2009, 08:20 PM
  4. [Source]Visual Basic Phishing Files for warrock (client + server)
    By HeXel in forum Trade Accounts/Keys/Items
    Replies: 9
    Last Post: 03-10-2008, 05:41 AM
  5. CS Source Clan/Server
    By Dave84311 in forum General
    Replies: 20
    Last Post: 10-04-2006, 12:21 PM