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 › whats wrong with my code.

whats wrong with my code.

Posts 1–11 of 11 · Page 1 of 1
GS
GS-HITMAN
whats wrong with my code.
sense some of these mods are retard and won't help me out cough*swiftdude*cough, i would like for you guys to help me with my code.


Code:
#include<windows.h>
#include<iostream>

	using namespace std;
     
    DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WINAPI Hacks(LPVOID)
{

	while(GetModuleHandleA("CShell.dll") != NULL)
{ 
    while(1) 
{ 
	bool Ammodamage = false;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(Ammodamage) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280 ))+(4*i))) + 0x7F8) = FLT_MAX ;
    			}
		}
	}
}
	}
	return true;
}
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH ) {
         MessageBoxA(0, "Coded by GS-HITMAN", "One Hit Killz" , 0);
		 CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);

		}
    return true;
    }
#1 · edited 15y ago · 15y ago
Takari
Takari
I think there should be a void and you can't put bool Ammodamage = false; because the computer is going to be looking for the addy oneshot in cshell and there is none.
#2 · edited 15y ago · 15y ago
SH
sh_z_sektor
Quote Originally Posted by Takari View Post
I think there should be a void and you can't put bool Ammodamage = false; because the computer is going to be looking for the addy oneshot in cshell and there is none.
Nope.


also there is lots of errors as i can see :/
#3 · 15y ago
Takari
Takari
Quote Originally Posted by sh_z_sektor View Post
Nope.


also there is lots of errors as i can see :/
Actually I think yes.I'm not a good coder so whatever.
#4 · 15y ago
ludikrimos
ludikrimos
Quote Originally Posted by sh_z_sektor View Post
Nope.


also there is lots of errors as i can see :/
again this blind noob, lol i luv his posts, just watching him and LMAO stupid like him never seen before
#5 · 15y ago
Sprite
Sprite
Rofl... Just make PIVOTS ! ^_^
#6 · 15y ago
A$
A$IAN
There are errors... Many errors...
FOr me the 0 check makes my cf crashed but I dont care :/
Got my own way
#7 · 15y ago
VI
Victoria
I think the LTclient is wrong.
#8 · 15y ago
A$
A$IAN
Quote Originally Posted by Victoria View Post
I think the LTclient is wrong.
That´s right but with LITC u get error too cuz the 0 check :/
#9 · 15y ago
Swiftdude
Swiftdude
the person that told me made me promise i wouldnt tell people
#10 · 15y ago
MiNT
MiNT
Quote Originally Posted by GS-HITMAN View Post
whats wrong with my code.
whats wronge is that its not ur code, no credits are givin, and that you doing even know what it means,

sorry for being mean, but seriously go RTFM
#11 · 15y ago
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Tags for this Thread

None