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 Brazil Hacks › Combat Arms BR Hack Coding/Source Code › Combat Arms BR Coding Help › Ajuda com esse erro

Ajuda com esse erro

Posts 1–5 of 5 · Page 1 of 1
street_21
street_21
Ajuda com esse erro
Estou com esse erro alguem que possa solucionalo?
Por jse possivel postar sem erro...

Code:
1>------ Build started: Project: CA Base D3D Menu Selection, Configuration: Debug Win32 ------
1>Compiling...
1>Hack.cpp
1>d:\games\login ca\visual basic project\ca base d3d menu selection\hack.cpp(183) : error C2601: 'Hook' : local function definitions are illegal
1>        d:\games\login ca\visual basic project\ca base d3d menu selection\hack.cpp(63): this line contains a '{' which has not yet been matched
1>d:\games\login ca\visual basic project\ca base d3d menu selection\hack.cpp(199) : fatal error C1075: end of file found before the left brace '{' at 'd:\games\login ca\visual basic project\ca base d3d menu selection\hack.cpp(63)' was matched
1>Build log was saved at "file://d:\Games\Login CA\Visual Basic Project\CA Base D3D Menu Selection\Debug\BuildLog.htm"
1>CA Base D3D Menu Selection - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Code:
		}
	}
    if((*(BYTE *)GameStatus == 1) && Rapidfire == 1 && GetAsyncKeyState(VK_LBUTTON)<0) {
		memcpy((VOID *)RapidFire, (VOID *)(PBYTE)"\x90\x90", 3);
	} else if((*(BYTE *)GameStatus == 1) && Rapidfire == 2) {
		memcpy((VOID *)RapidFire, (VOID *)(PBYTE)"\x90\x90", 3);
	} else {
		memcpy((VOID *)RapidFire, (VOID *)(PBYTE)"\x74\x3E", 3);

    if((*(BYTE *)GameStatus == 1) && Recoil)
		memcpy((VOID *)NoRecoil, (VOID *)(PBYTE)"\x90\x90\x90\x90", 2);
	else
		memcpy((VOID *)NoRecoil, (VOID *)(PBYTE)"\xD9\x44\x24\x14", 2);

	if(Cross) CrossHair(pDevice, Red);

	if(FPS && !bFPS) {
		ComandoPush("ShowFPS 1");
		bFPS = 1;
	} else if(!FPS && bFPS) {
		ComandoPush("ShowFPS 0");
		bFPS = 0;
	}

	return oPresent(pDevice, a, b, c, d);
}

DWORD WINAPI Hook(LPVOID lpArgs)
{
	DWORD dwD3D9 = 0;

	while(!dwD3D9) {
		Sleep(100);
		dwD3D9 = (DWORD)GetModuleHandle("d3d9.dll");
	}

	DWORD dwVTable[1] = {0};
	CreateDevice(dwVTable);

	oReset   = (tReset)  DetourCreate((PBYTE) dwVTable[0], (PBYTE) &hkReset, 5);
	oPresent = (tPresent)DetourCreate((PBYTE) dwVTable[1], (PBYTE) &hkPresent, 5);
	
	return FALSE;
}
#1 · edited 14y ago · 15y ago
Templar
Templar
Posta na area certa porra, parece que não sabe ler.

Erro de sintaxe...
#2 · 15y ago
Alessandro10
Alessandro10
/Movido para Coding Help.
#3 · 15y ago
GO
Gotosinho
Erro na sintaxe mesmo
#4 · 15y ago
PikaMucha_Itu
PikaMucha_Itu
Quote Originally Posted by The Rev. View Post
Posta na area certa porra, parece que não sabe ler.

Erro de sintaxe...
Tenha paciencia maninho, eles são novatos por aqui.
#5 · 15y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • Ajuda com esse erroBy CoderWait in Combat Arms BR Coding Help
    4Last post 15y ago
  • Ajuda com esses erros.......By street_21 in Combat Arms BR Coding Help
    5Last post 15y ago
  • Alguem me ajuda Com esses 2 Erros ?By !Masacration~' in Combat Arms BR Coding Help
    7Last post 14y ago
  • Ajuda com erroBy street_21 in Combat Arms BR Coding Help
    13Last post 15y ago
  • Ajuda com hack'sBy sinehd in Combat Arms Help
    2Last post 15y ago

Tags for this Thread

None