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 › Swift Source Code [Edited]

Swift Source Code [Edited]

Posts 1–15 of 24 · Page 1 of 2
jhefrey
jhefrey
Swift Source Code [Edited]
Code:
#include <windows.h>
#include <iostream>


DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = true;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(int*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0x30845C
 ))+(4*i))) + 0x7F8) = 999999999 ;
    			}
		}
	}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By Jhefreyzz ", "Successfully Injected", 0);
system("start http://mpgh.net");
CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);
}
return TRUE;
}
so its from swift code
i edited some so that code will be sucessfully compiled
in additional you can replace the lt client

credits to : Swiftdude [Source Code]
Me [ Editing some errors]


All You have to do to this code
is to compile
and bypass it
#1 · edited 15y ago · 15y ago
VI
Victoria
You just edited, that a box opens: 'This hack is made by Jhefreyzz'
And that MPGH - MultiPlayer Game Hacking - Hack Hacks Downloads, Combat Arms Hacks, CrossFire Hacks, Medal of Honor Hacks, Black OPS Hacks, Project Blackout Hacks, WarRock Hacks, Soldier Front Hacks, Sudden Attack Hacks, Operation 7 Hacks, AVA Hacks, Battlefi opens.
#2 · 15y ago
jhefrey
jhefrey
yeah, try to compile http://www.mpgh.net/forum/242-crossf...re-source.html the post of swift that is source code it has error
so i FIX the error
swiftdude source code
includes system function that opens mpgh.net or any site that would you replace from mpgh.net
#3 · edited 15y ago · 15y ago
GY
Gyurin
Thank You .. Good Job
#4 · 15y ago
A$
A$IAN
Not good. no there will come mass releases cuz leechers will just copy and paste this code -.-

Btw this code is wrong cuz u still have to change something ^^
#5 · edited 15y ago · 15y ago
CO
Code[VB]
hmmm if this realy work.. than you see next time a hack "menue"
#6 · 15y ago
YaLTeR
YaLTeR
Hey, can someone help me? Why this code is detected?

Code:
#include "windows.h"
#include <iostream>
using namespace std;

DWORD WINAPI Main(LPVOID)
{
	while(GetModuleHandleA("CShell.dll") == NULL)
		Sleep(150);

	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
		DWORD WeaponBase = *(DWORD*)(CShellBase + 0x9F6544);

		if(WeaponBase)
		{
			for(int i=0;i<445;i++)
			{
				DWORD Weapon = *(DWORD*)(WeaponBase + i * 4);

				if(Weapon)
				{
					*(float*)(Weapon + 0x7F8) = FLT_MAX;
				}
			}
		}

		Sleep(100);
	}

	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Inject Completed!", "Coded by YaLTeR", 0);
		CreateThread(NULL, NULL, Main, NULL, NULL, NULL);
	}
	return TRUE;
}
Oh, I think I have figured it out, but I'm not sure.
#7 · edited 15y ago · 15y ago
RO
Royku
it dont work if i inject the dll crossfire wont popup
#8 · 15y ago
jhefrey
jhefrey
Quote Originally Posted by YaLTeR View Post
Hey, can someone help me? Why this code is detected?

Code:
#include "windows.h"
#include <iostream>
using namespace std;

DWORD WINAPI Main(LPVOID)
{
	while(GetModuleHandleA("CShell.dll") == NULL)
		Sleep(150);

	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
		DWORD WeaponBase = *(DWORD*)(CShellBase + 0x9F6544);

		if(WeaponBase)
		{
			for(int i=0;i<445;i++)
			{
				DWORD Weapon = *(DWORD*)(WeaponBase + i * 4);

				if(Weapon)
				{
					*(float*)(Weapon + 0x7F8) = FLT_MAX;
				}
			}
		}

		Sleep(100);
	}

	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Inject Completed!", "Coded by YaLTeR", 0);
		CreateThread(NULL, NULL, Main, NULL, NULL, NULL);
	}
	return TRUE;
}
Oh, I think I have figured it out, but I'm not sure.
I think update LT client
#9 · 15y ago
Gοku
Gοku
I have Two Errors: help me

error LNK2005: _DllMain@12 already defined in One Hit Kill Hack.obj

fatal error LNK1169: one or more multiply defined symbols found
#10 · 15y ago
DE
Decobez
yea mna this doesnt look legit :P
#11 · 15y ago
NextGen1 Jr.
NextGen1 Jr.
it is not Legit!
#12 · 15y ago
Gοku
Gοku
Code:
#include <windows.h>
#include <iostream>

DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = true;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(int*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0x30845C
 ))+(4*i))) + 0x7F8) = 999999999 ;
    			}
		}
	}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By Puree123 Code: SwiftDude", "Successfully Injected", 0);
system("start http://mpgh.net");
CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);
}
return TRUE;
}



general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
#13 · 15y ago
jhefrey
jhefrey
Quote Originally Posted by Puree123 View Post
I have Two Errors: help me

error LNK2005: _DllMain@12 already defined in One Hit Kill Hack.obj

fatal error LNK1169: one or more multiply defined symbols found
can u post your code here
so we can see the errors and problems
#14 · 15y ago
Gοku
Gοku
Code:
#include <windows.h>
#include <iostream>

DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = true;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(int*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0x30845C
 ))+(4*i))) + 0x7F8) = 999999999 ;
    			}
		}
	}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By Puree123 Code: SwiftDude Provided by jhefrey.", "Successfully Injected", 0);
system("start http://mpgh.net");
CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);
}
return TRUE;
}
Error : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
#15 · 15y ago
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Tags for this Thread

None