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 › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › i need help with errors

i need help with errors

Posts 1–5 of 5 · Page 1 of 1
EDWINSEE
EDWINSEE
i need help with errors
i keep getting 1 to 3 errors but i use CoderNever and acid base so i give them the credit when i am done i did not copy and paste i type it this is the errors i getting:

: this line contains a '{' which has not yet been matched
: error C2601: 'DllMain' : local function definitions are illegal
: this line contains a '{' which has not yet been matched

but when i fix those errors i get this error:

: error C2447: '{' : missing function header (old-style formal list?)

here is the source i been working on and i will upload the base:

#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" )!= NULL
&& GetModuleHandleA( "ClientFX.fxd" )!= NULL
&& GetModuleHandleA( "CShell.dll" )!= NULL )
return true;
return false;
}
void PushToConsole(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
push Command;
call Send;
add esp, -3-1+2+6;
}
}
void main()
{
bool HackStatus = false;
while(true);

{
if(GetAsyncKeyState(VK_NUMPAD0)<0 && HackStatus == true ){
PushToConsole("SkelModelStencil 1");
PushToConsole("ModelDebug_DrawBoxes 1");
HackStatus = false;
}
if(GetAsyncKeyState(VK_NUMPAD0)<0 && HackStatus == false){
PushToConsole("SkelModelStencil 0");
PushToConsole("ModelDebug_DrawBoxes 0");
HackStatus = true;
}
if(GetAsyncKeyState(VK_NUMPAD1)<0 && HackStatus == true){
PushToConsole("WeaponSway 1");
HackStatus = false;
}
if(GetAsyncKeyState(VK_NUMPAD1)<0 && HackStatus == false){
PushToConsole("WeaponSway 0");
HackStatus = true;
}
if(GetAsyncKeyState(VK_NUMPAD2)<0 && HackStatus == true){
PushToConsole("PerturbRotationEffect 3.000000");
PushToConsole("PerturbIncreaseSpeed 3.000000");
PushToConsole("PerturbWalkPercent 9.000000");
PushToConsole("PerturbFiringIncreaseSpeed 0.500000");
HackStatus = false;
}
if(GetAsyncKeyState(VK_NUMPAD2)<0 && HackStatus == false){
PushToConsole("PerturbRotationEffect 0.000000");
PushToConsole("PerturbIncreaseSpeed 0.000000");
PushToConsole("PerturbWalkPercent 0.000000");
PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
HackStatus = true;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0 && HackStatus == true){
memcpy((LPVOID)0x3741A550, "\xD8\x66\x54", 3);
memcpy((LPVOID)0x3740AA99, "\xD9\x46\x54", 3);
memcpy((LPVOID)0x3741A564, "\xD9\x5E\x54", 3);
memcpy((LPVOID)0x3741A567, "\xD9\x46\x48", 3);
memcpy((LPVOID)0x3741A570, "\xD9\x5E\x48", 3);
HackStatus = false;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0 && HackStatus == false){
memcpy((LPVOID)0x3741A550, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3740AA99, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3741A564, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3741A567, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3741A570, "\x90\x90\x90", 3);
HackStatus = true;
}
if(GetAsyncKeyState(VK_NUMPAD4)<0 && HackStatus == true){
memcpy((LPVOID)0x37466264, "\x0F\x84\xB1\x01\x00\x00", 6);
HackStatus = false;
}
if(GetAsyncKeyState(VK_NUMPAD4)<0 && HackStatus == false){
memcpy((LPVOID)0x37466264, "\x90\x90\x90\x90\x90\x90", 6);
HackStatus = true;
}
}
DWORD WINAPI dwHackThread(LPVOID){
while( !IsGameReadyForHook())
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
#1 · edited 16y ago · 16y ago
Ali
Ali
Virus scans? ; Screenshots ?
#2 · 16y ago
CR
Crash
Why did you put a ; after while(true) ?

cplusplus.com - The C++ Resources Network
#3 · 16y ago
HaX4LiFe!
HaX4LiFe!
strange to see a bool like that :/
#4 · 16y ago
Zoom
Zoom
VM me or any of the CA staff when you are ready for the scans and screenshot.
#5 · 16y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • I need Help with errorBy iKSAi in Alliance of Valiant Arms (AVA) Help
    4Last post 15y ago
  • Need help With errorsBy money001 in C++/C Programming
    15Last post 15y ago
  • Need Help With A.V.A ErrorBy ch1025 in Alliance of Valiant Arms (AVA) Help
    7Last post 15y ago
  • need help with retarded syntax errorsBy .:MUS1CFR34K:. in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    15Last post 15y ago
  • Need help with this error...By Screenlooker in Combat Arms Hacks & Cheats
    6Last post 17y ago

Tags for this Thread

None