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# Programming › Need help compiling source code.

Need help compiling source code.

Posts 1–2 of 2 · Page 1 of 1
crone
crone
Need help compiling source code.
I have been given the source code to a APB hack in this thread: http://www.mpgh.net/forum/273-all-po...-sniper-4.html

The auther welcomes people to compile it with their own values to use it, the problem is i dont know squat about C# and the only guides he will give is:

"open visual Studio C#
make a new form application.
make 2 buttons
match your actual code with mine.
fix the values so it works with your screen resolution by running the rectinfo and getting the information you need.
compile it."

here is the original source code which doesnt work properly for me: [C#] APB autoshoot - Pastebin.com

Here is the source code where i added my own values: [C#] Please compile for me - Pastebin.com

And when i try to do it myself i get errors and stuff cus im missing dll files and stuff, i get a total of 5 errors.

Code:
1. "The type or namespace name "WindowsInput" could not be found (are you missing a using directive or an assembly reference?)

2. The name 'InputSimulator' does not exist in the current context

3. The name 'ViritualKeyCode' does not exist in the current context

4. The name 'InputSimulator' does not exist in the current context (again)

5. The name 'ViritualKeyCode' does not exist in the current context (again)

Could someone please try to help me with this? and if its not too much of of a hassle compile it and upload it somewhere and send me a dl link, also whoever compiles it is also welcome to use it themselves or continue building on it making it your own and then releasing it (and giving some credits to the original author of course)
#1 · 15y ago
Alcazer
Alcazer
Quote Originally Posted by crone View Post
I have been given the source code to a APB hack in this thread: http://www.mpgh.net/forum/273-all-po...-sniper-4.html

The auther welcomes people to compile it with their own values to use it, the problem is i dont know squat about C# and the only guides he will give is:

"open visual Studio C#
make a new form application.
make 2 buttons
match your actual code with mine.
fix the values so it works with your screen resolution by running the rectinfo and getting the information you need.
compile it."

here is the original source code which doesnt work properly for me: [C#] APB autoshoot - Pastebin.com

Here is the source code where i added my own values: [C#] Please compile for me - Pastebin.com

And when i try to do it myself i get errors and stuff cus im missing dll files and stuff, i get a total of 5 errors.

Code:
1. "The type or namespace name "WindowsInput" could not be found (are you missing a using directive or an assembly reference?)

2. The name 'InputSimulator' does not exist in the current context

3. The name 'ViritualKeyCode' does not exist in the current context

4. The name 'InputSimulator' does not exist in the current context (again)

5. The name 'ViritualKeyCode' does not exist in the current context (again)

Could someone please try to help me with this? and if its not too much of of a hassle compile it and upload it somewhere and send me a dl link, also whoever compiles it is also welcome to use it themselves or continue building on it making it your own and then releasing it (and giving some credits to the original author of course)
Syntax error... Not ViritualKeyCode... Verily => VirtualKeyCode

And look at this => Windows Input Simulator (C# SendInput Wrapper - Simulate Keyboard and Mouse)
You need include InputSimulator interface
#2 · 14y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • need help with injecting code/using itBy 0xx-kyle-xx0 in Combat Arms Help
    1Last post 8y ago
  • NEED help with verification code when registering!By vinogradov in WarRock Korea Hacks
    2Last post 19y ago
  • need help plz vb6 codeing fast registrationBy cjg333 in WarRock - International Hacks
    3Last post 19y ago
  • [HELP] I NEED HELP WITH STAMINA CODEBy ilovepie21 in Visual Basic Programming
    15Last post 18y ago
  • need help with teleport codeBy konni in WarRock - International Hacks
    0Last post 19y ago

Tags for this Thread

None