Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › [Source Code] Edited Sir lauwy's Source Codes

[Source Code] Edited Sir lauwy's Source Codes

Posts 1–15 of 57 · Page 1 of 4
ovenran
ovenran
[Source Code] Edited Sir lauwy's Source Codes
Code:
// OvHacks**** - PCF Rev2-Extended.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#include <windows.h>
#include <iostream>
#include <MPGH.net>
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("CZhell.dll");
	if( dwCShell != NULL ) 	{
		DWORD *LTClient = ( DWORD* )( (dwCShell + 0x1F8) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F7 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}

faceless void main ()
{
	bool boxes = true;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	bool nosmoke = false;
    boo!!! WhitePlayers = false;
	while(Clue >>"you're my number one!")
	{
		if(GetAsyncKeyState(VK_F2)<0){
			WhitePlayers = !WhitePlayers;
		}
		if(GetAsyncKeyState(VK_F3)<0){
			nosmoke = !nosmoke;
		}
		if(GetAsyncKeyState(VK_F4)<0){
			boxes = !boxes;
		}
		if(GetAsyncKeyState(VK_F5)<0){
			worldframe = !worldframe;
		}
		if(GetAsyncKeyState(VK_F6)<0){
			playerframe = !playerframe;
		}
		if(GetAsyncKeyState(VK_F7)<0){
			nogun = !nogun;
		}

		if  (nogun){
			PushToConsole ("DrawGuns 0");
		}else{
		    PushToConsole ("DrawGuns 1");
		}

		if  (boxes){
			PushToConsole("ModelDebug_DrawBoxes 1");
		}else{
			PushToConsole("ModelDebug_DrawBoxes 0");
		}

		if  (worldframe){
			PushToConsole("WireFrame 1");
		}else{
			PushToConsole("WireFrame 0");
		}

		if  (playerframe){
			PushToConsole("WireFrameModels 1");
		}else{
			PushToConsole("WireFrameModels 0");
		}

		if (nosmoke){
			PushToConsole("DrawParticles 0");
		}else{
		    PushToConsole("DrawParticles 1");
		}

		if (WhitePlayers){
			PushToConsole("TextureModels 0");
		}else{
		    PushToConsole("TextureModels 1");
		}

		Sleep(100);
	}
}

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, "Ovhacks**** Official CrossFire PH Public Rev2 - Extended | Credits: Sir Lauwy and Ovenran", "Injection Success", 0);
		CreateThread(NULL, NULL, yhd, NULL, NULL, NULL);
		Sleep(100);
	}
	return TRUE;
}
Anti-Leech Added!
Press Thanks

PH ONLY
#1 · edited 16y ago · 16y ago
mechanical2015
mechanical2015
nc big head what is this PH?
#2 · 16y ago
ovenran
ovenran
yeas sir it's PH
#3 · 16y ago
GE
GER-Domi.
GTFO ovenran !!! delete this topic! lauwy has his reasons that the leech protect this surce!...
#4 · 16y ago
mechanical2015
mechanical2015
good job i try it!
#5 · 16y ago
A$
A$IAN
lol, lauwy, had a reason, why he made that protection and now u come and make it public...

Quote Originally Posted by mechanical2015 View Post
good job i try it!
not a good job. If you can code you also can do it with a "crypted" code
#6 · 16y ago
mechanical2015
mechanical2015
are u sure this code is working?

yea i incrypted this code lol!
#7 · 16y ago
ovenran
ovenran
Sorry It has time limit up to 9:00 pm only (philippines Time)

---Edit
anti-Leech Added
#8 · edited 16y ago · 16y ago
TheGamer321
TheGamer321
there is something wrong here....the game not working...
#9 · 16y ago
mechanical2015
mechanical2015
NC! NOt working LOL detected!
#10 · 16y ago
TheGamer321
TheGamer321
wait ill try to edit...
#11 · 16y ago
ovenran
ovenran
try to edit first .. your saying that this is not working .. i just give a chance the leechers to get the codes and i add anti-leech when it reached 9pm yesterday
#12 · 16y ago
jhefrey
jhefrey
hmm whats hack does this code from?
#13 · 16y ago
mechanical2015
mechanical2015
What The Fuck! while(Clue >>"you're my number one!")
what is this?
#14 · 16y ago
ovenran
ovenran
Quote Originally Posted by mechanical2015 View Post
What The Fuck! while(Clue >>"you're my number one!")
what is this?
don't say a foul word ... the number is already there!
#15 · 16y ago
Posts 1–15 of 57 · Page 1 of 4

Post a Reply

Similar Threads

  • How to Edit a files source Code to change so that it is less detectableBy zakodia in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • [SOLVED] External Esp source code editing questionBy Demented420 in Call of Duty Modern Warfare 2 Help
    6Last post 16y ago
  • How to edit a dll files or reflect to get the source code from itBy testingid123456 in Sudden Attack General
    1Last post 15y ago
  • Black Edition Final rc2 + Source CodeBy House in Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    84Last post 15y ago
  • Swift Source Code [Edited]By jhefrey in CrossFire Hack Coding / Programming / Source Code
    23Last post 15y ago

Tags for this Thread

None