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 › What is wrong with this code?

What is wrong with this code?

Posts 1–15 of 16 · Page 1 of 2
IGNITE09178
IGNITE09178
What is wrong with this code?
Title says it all:

#include<windows.h>
#include "stdafx.h"

#define WeaponMgr 0xA287A8
#define WepWeight1 0x21DC


float weaponweight =0.0f;


DWORD WINAPI Hacks(LPVOID)
{
bool weaponweight = false;


while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);


if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { weaponweight = true; Beep(512, 100); }



if(weaponweight)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WepWeight1) = weaponweight;
}
}
}

}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}
#1 · edited 15y ago · 15y ago
proman98
proman98
i dont know anything about it but

PlantTime = false,
defusetime = false;


do you need that for weaponweight?
#2 · 15y ago
IGNITE09178
IGNITE09178
nope its a bool list and i meant to delete that plant time doesnt work

ok its fixed
#3 · edited 15y ago · 15y ago
CheatCreatorzz
CheatCreatorzz
NoweaponWeight is zero?
Try 100;
#4 · 15y ago
RO
Royku
Quote Originally Posted by CheatCreatorzz View Post
NoweaponWeight is zero?
Try 100;

Lol weaponWeight 100?
xD it need to be 0
#5 · 15y ago
Takari
Takari

Leeched
#6 · 15y ago
JI
Polygon
its leeched so i dont help u
#7 · 15y ago
A7
A7med.love
leeched .
#8 · 15y ago
Skulhead = hacked.
Skulhead = hacked.
Omg, almost every thread here goes about leeched bases that aren't working.
#9 · 15y ago
Ryuesi
Ryuesi
Leeched
#10 · 15y ago
miserego
miserego
why not include iostream?? everywhere says that u have to include that in every program... (obviously i just started c++ im at cout :P)
#11 · 15y ago
Codemunkie
Codemunkie
THERE'S NO NEED TO SPAM THE WORD "LEECHED" ON EVERY FUCKING SINGLE THREAD IN THIS SECTION, IT MAKES YOU SOUND LIKE A MORON.
#12 · 15y ago
IGNITE09178
IGNITE09178
Quote Originally Posted by Codemunkie View Post
THERE'S NO NEED TO SPAM THE WORD "LEECHED" ON EVERY FUCKING SINGLE THREAD IN THIS SECTION, IT MAKES YOU SOUND LIKE A MORON.
thankyou! msg2short

and yes it is Swiftdudes....im just trying to learn c++ and i wanted help i was trying to see if i could get it to work.... a$$3$
#13 · edited 15y ago · 15y ago
Ghost Rider.
Ghost Rider.
u need dll process atack but this code not work,,
#14 · 15y ago
{B
{Banned}**HACKER**
This Base Doesnt Work As You Got It, You Need To Update It
#15 · 15y ago
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Tags for this Thread

None