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 › Help with source code! Easy fast scope bot!

LightbulbHelp with source code! Easy fast scope bot!

Posts 1–15 of 23 · Page 1 of 2
Zoom
Zoom
Help with source code! Easy fast scope bot!
Hi all!

I need help with a easy hack!

The source code to c++ i need is:

When i "left click" I want the bot to first press "3" and after "1"

SO....

I need help with the code for that code so it will get easier to fast scope with Sniper!

I will be glad if any1 could help me with that, and if some1 can figure that out



//hejsan
#1 · edited 17y ago · 17y ago
ZE
zeco
Hey I'm pretty sure you need to do something like
Code:
if (GetASyncKeyState(VK_RBUTTON))
{

 Do stuffs

}
#2 · 17y ago
ZE
zeco
Woops double post... Sorry. Tell me if my suggestion works, i cant test it right now cause im away from my computer.
#3 · 17y ago
Zoom
Zoom
...Just give some errors...try it you!
#4 · 17y ago
ZE
zeco
Quote Originally Posted by hejsan1 View Post
...Just give some errors...try it you!
Hmm i did try it, i shall try again now. Ooh yeah for one thing i forgot to tell you to add
[php]
#include <windows.h>
[/php]

under #include <iostream> or somewhere abouts there

But one sec there are some other things i need to sort out with it.
Sorry im not that familiar with the windows API.
#5 · edited 17y ago · 17y ago
Zoom
Zoom
#include <windows.h>

if (GetASyncKeyState(VK_RBUTTON))
{

Do stuffs

}


doesn´t work......Did you make it work?
#6 · 17y ago
ZE
zeco
Quote Originally Posted by hejsan1 View Post
#include <windows.h>

if (GetASyncKeyState(VK_RBUTTON))
{

Do stuffs

}


doesn´t work......Did you make it work?
Wait, you do know how to do everything else once i give u the code fragment, correct?
Well, eventually i got it kind of working, the whole program from what you describe, but it only works in the one window. Thus to get it working in game i need to bring focus to the window or something like that according to MSDN, so i officially give up since i have already far overreached my programming ability. A.K.A i am a sucky choob.
#7 · edited 17y ago · 17y ago
Zoom
Zoom
can u send me the source file on the bot when i left click the bot t press "3" and after "1"
#8 · 17y ago
ZE
zeco
Quote Originally Posted by hejsan1 View Post
can u send me the source file on the bot when i left click the bot t press "3" and after "1"
[php]
#include <iostream>
#include <windows.h>

void lbutton(){

if (GetAsyncKeyState(VK_LBUTTON) &1){
std::cout << "Click Registered\n";
keybd_event(0x33, 4, KEYEVENTF_EXTENDEDKEY, 3 );
//Sleep(250);
keybd_event(0x31, 2, KEYEVENTF_EXTENDEDKEY, 1 );

}
}


int main()
{
for (int i = 0; i == 0; i=i)
lbutton();

std::cin.get();
std::cin.get();
return 0;
}
[/php]

that was basically it. And if anyone passing through wants to give me pointer on better coding style or an easier way to do what i just failed to do, feel free.

P.S. Is it just me or has the site felt buggy recently?
#9 · edited 17y ago · 17y ago
Zoom
Zoom
thanks it works half ways

But is it to hard to get it work in a game etc combat arms?

Can you do it? If you make it i´m SOOOOOOOOOOO happy
#10 · 17y ago
ZE
zeco
Quote Originally Posted by hejsan1 View Post
thanks it works half ways

But is it to hard to get it work in a game etc combat arms?

Can you do it? If you make it i´m SOOOOOOOOOOO happy
You see i might be able to do it, that is if i didn't just start C++ (like a month ago), and the msdn functions and stuff weren't so confusing >_<. I am also not 100% sure where i need to go from here.
#11 · 17y ago
Zoom
Zoom
Ok, do you know any1 who can do it or do yuo think you can make it?
#12 · 17y ago
why06
why06
you could try saving it as a .dll and injecting it into the game...
#13 · 17y ago
ZE
zeco
Quote Originally Posted by why06 View Post
you could try saving it as a .dll and injecting it into the game...
I don't think that has much to do with it, i just need to make the program target the correct window, but MSDN is too confusing it took me an hour just to find the right syntax to hit the 3 and 1 keys. Plus i'm not exactly sure how to do dll's.

Injecting won't work because i have never gotten a hack and/or bypass working....
#14 · edited 17y ago · 17y ago
why06
why06
rwkeith would know how to do this :L Im just as clueless. C++ seems easy compared to Visual Studio @_@.... I just tried to compile it into a .dll and got all these errors >_>.
#15 · 17y ago
Posts 1–15 of 23 · Page 1 of 2

Post a Reply

Similar Threads

  • help with source code use.By dddrrr in CrossFire Hack Coding / Programming / Source Code
    1Last post 16y ago
  • NEED help with verification code when registering!By vinogradov in WarRock Korea Hacks
    2Last post 19y ago
  • need help with teleport codeBy konni in WarRock - International Hacks
    0Last post 19y ago
  • Help with Request Code for Adobe IllustratorBy Groover111 in General Game Hacking
    1Last post 18y ago
  • [HELP] I NEED HELP WITH STAMINA CODEBy ilovepie21 in Visual Basic Programming
    15Last post 18y ago

Tags for this Thread

#bot#bot help c++ fast scope#code#easy#fast#scope#source