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 › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Coding / Programming / Source Code › [HELP] C++ Syntax error "too many initializers"

Unhappy[HELP] C++ Syntax error "too many initializers"

Posts 1–3 of 3 · Page 1 of 1
AR
ARKaMAN
[HELP] C++ Syntax error "too many initializers"
[HELP] C++ Syntax error "too many initializers"

[IMG]http://i324.photobucke*****m/albums/k354/ARKaMAN/Csyntaxerror.jpg[/IMG]

Any ideas?
#1 · 16y ago
dheir
dheir
Quote Originally Posted by ARKaMAN View Post
[HELP] C++ Syntax error "too many initializers"

[IMG]http://i324.photobucke*****m/albums/k354/ARKaMAN/Csyntaxerror.jpg[/IMG]

Any ideas?
This one should be obvious to you.....

This line:
Code:
BYTE ColdBloodedo[2] = {0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3};
to this:
Code:
BYTE ColdBloodedo[6] = {0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3};
You can't call a BYTE array with more indices than initialized.
Or any array for that matter.
#2 · edited 16y ago · 16y ago
AR
ARKaMAN
Thanks, I just got it before you posted. Sorry this is not my code I grabbed it from a DL and I grabbed the offsets off this site to. I just started Coding C++ and using Ollydbg. I got it compile, and now my only problem is it does not work XD...
#3 · 16y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Help.....! bad syntax error..By tjwjdqls75 in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    14Last post 16y ago
  • need help with retarded syntax errorsBy .:MUS1CFR34K:. in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    15Last post 15y ago
  • Syntax error plz helpBy pizza127 in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    12Last post 15y ago
  • PUBLIC HACK! TOO MANY ERRORS!By Pasquali in CrossFire Hacks & Cheats
    6Last post 17y ago
  • [Help]I get these SYNTAX errors.Please HelpBy phoenixraider in C++/C Programming
    2Last post 17y ago

Tags for this Thread

None