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 › Programming › C++/C Programming › Can someone compile this shit?

Can someone compile this shit?

Posts 1–4 of 4 · Page 1 of 1
LI
LI-NING
Can someone compile this shit?
Hi dudes...im trying to compile this code but it wont work!!!
could someone compile it and send the program to me? or send me a compiler or correct the code (code shoud be correct)
Code:
#include <iostream>
#include <ctime>
#include <windows.h>
POINT Center, CurPos;
bool FirstTime=true;
int SendKeyPress(unsigned short KeyCode, bool IsDown);

int main()
{
	printf(”Press Mouse4 to set a center point/n”);
	while(true)
	{
	     if(GetAsyncKeyState(VK_XBUTTON) & (1<< 15))
	     {
		if(FirstTime)
		{
			GetCursorPos(&center);
			FirstTime=false;
			printf(”Strafe Bot Activated/nHold Mouse4 to strafe!/n);
			MessageBox(NULL, “Center Position Set”, “Strafe Bot”, NULL);
		}
		GetCursorPos(&CurPos);
		if(CurPos.x > Center.x)
		{
			sendKeyPress(0x20, true);
			Sleep(1);
			SemdKeyPress(0x20,  false);
		}
		else if(CurPos.x < Center.x)
		{
			SendKeyPress(0x1e, true);
			Sleep(1);
			SendKeyPress(0x1e, false);
		}

	}
	}
	return 0;
}

int SendKeyPress(unsigned short KeyCode, bool KeyDown)
{
       INPUT InputData;
       InputData.type				= INPUT_KEYBOARD;
       InputData.ki.wScan				=KeyCode;
       InoutData.ki.time		=time(NULL);
       InputData.ki.dwExtraInfo = 0;
	if(KeyDown)
	     InputData.ki,dwFlags = KEYEVENTF_SCANCODE;
	else
	     InputData.ki.dwFlags = KETEVENTF_SCANCODE | KEYEVENTF_KEYUP;
	return SendInput(1, &InputData, Sizeof(InputData));
}
#1 · 13y ago
AeroMan
AeroMan
If it doesn't work im pretty sure something's off.
#2 · 13y ago
CheapShizz
CheapShizz
Probably Made a mistake.
#3 · 13y ago
KE
Kenshin13
Holy....the above two comments....


Obviously it's either a syntax error or a setting error.
#4 · 13y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Can someone compile thisBy ajvpot in Combat Arms Hack Coding / Programming / Source Code
    9Last post 16y ago
  • Can someone Crack this ShitBy Public3nemy in C++/C Programming
    9Last post 13y ago
  • can someone render this?By moosicgawd in Art & Graphic Design
    8Last post 17y ago
  • can someone test this and see if it is ulim ammo for k2By cjg333 in WarRock - International Hacks
    6Last post 19y ago
  • Can someone ban this account.By d0nuts10 in WarRock - International Hacks
    5Last post 18y ago

Tags for this Thread

None