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 anyone translate this code ?

Can anyone translate this code ?

Posts 1–15 of 28 · Page 1 of 2
HeXel
HeXel
Can anyone translate this code ?
Can anyone translate this code :
Code:
bool StemOn = false;
While(true)
{
    if(StemOn){WriteProcessMemory(AntiNoobIsGay);
    if(kbhit)
    {
     char SomeTempFrenchieLonerChar_AntiNoob = ' ';
     SomeTempFrenchieLonerChar_AntiNoob = getch();
     switch(SomeTempFrenchieLonerChar_AntiNoon)
     {
           case 'a': //For AntiNoob Is Gay
           If(StemOn/*Tis A Bool*/){StemOn = false;}else{StemOn = true;}
     }
}
#1 · 18y ago
RGewrsgywergeryt4yerhrh
RGewrsgywergeryt4yerhrh
Translate? how translate? like tell you what it does? or what ?
#2 · 18y ago
radnomguywfq3
radnomguywfq3
Lol, thats my code, I made it when I was pissed of at antinoob, which is now banned I think. Anyway, what is it you want me to do for you?
#3 · 18y ago
DE
Dec0r87930
Tell him what the code means/does ...
#4 · 18y ago
Alen
Alen
What / who is antinoob and what is the point of the whole thing?
#5 · 18y ago
radnomguywfq3
radnomguywfq3
Code:
bool StemOn = false;
While(true)
{
    if(StemOn){WriteProcessMemory(Handle,Address,Buffer,Size,0);
    if(kbhit) //If someone hits a button on there keybored
    {
     char ReturnChar = ' '; //This is where we store the returned char
      ReturnChar = getch(); //ReturnKey = Last Pressed Key
     switch(ReturnChar)//If you don't know what this is.Relearn C++
     {
           case 'a': //If Return Char = a
           If(StemOn){StemOn = false;}else{StemOn = true;} // Switch bool
     }
}
It switchs a bools status from true to false, false to true.
Only really useful if your making a DLL, or can acquire key presses differently.
#6 · 18y ago
castaway
castaway
Code:
bool StemOn = false;
While(true)
{
    if(StemOn){WriteProcessMemory(Handle,Address,Buffer,Size,0);
    if(kbhit) //If someone hits a button on there keybored
    {
     char ReturnChar = ' '; //This is where we store the returned char
      ReturnChar = getch(); //ReturnKey = Last Pressed Key
     switch(ReturnChar)//If you don't know what this is.Relearn C++
     {
           case 'a': //If Return Char = a
           StemOn = !StemOn
     }
}
This is easier?
#7 · 18y ago
Toymaker
Toymaker
It switchs a bools status from true to false, false to true.
Only really useful if your making a DLL, or can acquire key presses differently.
This is easier?
None of you guys posted any help haha, sillies:

1. It uses bool but it's not switching by any means merely the common rudamentary method of it.

2. It's obviousally writing memory itself therefore a .dll would be useLESS, not useful...

3. It's simply writing writing memory you define, if StemOn = True. Of course.

Granted: There must be quite a bit more to this program. This snippet could only be so few things, though.
#8 · edited 18y ago · 18y ago
castaway
castaway
Code:
bool StemOn;
While(True)
{
if (GetKeyState(VK_F1) &1)
{
       StemOn = !StemOn
}
if(StemOn){WriteProcessMemory(Handle,Address,Buffer,Size,0);
}
}
I would use it like this
#9 · 18y ago
radnomguywfq3
radnomguywfq3
Quote Originally Posted by Crytical View Post
None of you guys posted any help haha, sillies:

1. It uses bool but it's not switching by any means merely the common rudamentary method of it.

2. It's obviousally writing memory itself therefore a .dll would be useLESS, not useful...

3. It's simply writing writing memory you define, if StemOn = True. Of course.

Granted: There must be quite a bit more to this program. This snippet could only be so few things, though.
hey, Fuck you, I made that code, thats like 99% of it.

Quote Originally Posted by thimo View Post
Code:
bool StemOn;
While(True)
{
if (GetKeyState(VK_F1) &1)
{
       StemOn = !StemOn
}
if(StemOn){WriteProcessMemory(Handle,Address,Buffer,Size,0);
}
}
I would use it like this
I tried that, it doesn't work with my compiler. Well it didn't on Dev-C++. Works with VS.
#10 · edited 18y ago · 18y ago
Dave84311
[MPGH]Dave84311
bool StemOn = false;
While(true)
{
if(StemOn){WriteProcessMemory(AntiNoobIsGay);
if(kbhit)
{
char SomeTempFrenchieLonerChar_AntiNoob = ' ';
SomeTempFrenchieLonerChar_AntiNoob = getch();
switch(SomeTempFrenchieLonerChar_AntiNoon)
{
case 'a': //For AntiNoob Is Gay
If(StemOn/*Tis A Bool*/){StemOn = false;}else{StemOn = true;}
}
}
lol... it looks like you want some one to translate some code for you so you understand it

however, you took out some of the variables passed and renamed all the variables.

if "StemOn" is true, write to memory... with incorrect parameters
kbhit doesn't look to be defined, but it chesk it its true.
Sets a char to '', passes what getch retuls to the char, passes it to a switch statement which checks if the char is a.

If it is a, it switches "StemOn" to its opposite value...
#11 · 18y ago
Toymaker
Toymaker
Quote Originally Posted by crytical
None of you guys posted any help haha, sillies:
1. It uses bool but it's not switching by any means merely the common rudamentary method of it.
2. It's obviousally writing memory itself therefore a .dll would be useLESS, not useful...
3. It's simply writing writing memory you define, if StemOn = True. Of course.
Granted: There must be quite a bit more to this program. This snippet could only be so few things, though.
Quote Originally Posted by jetamey
hey, Fuck you, I made that code, thats like 99% of it.
That wasn't offensive, Lol. I'm just suprised you can write code without understanding it i was pretty sure me and Dave covered the only potential translations.
#12 · edited 18y ago · 18y ago
radnomguywfq3
radnomguywfq3
Quote Originally Posted by Crytical View Post
That wasn't offensive, Lol. I'm just suprised you can write code without understanding it i was pretty sure me and Dave covered the only potential translations.
You can't write code if you don't understand it.
#13 · 18y ago
Toymaker
Toymaker
That was my point? And kindof a comment towards you that you might want to comment :P
#14 · edited 18y ago · 18y ago
radnomguywfq3
radnomguywfq3
oommgg, I don't get this conversation. I take offense to easily, sorry. Your right.
#15 · 18y ago
Posts 1–15 of 28 · Page 1 of 2

Post a Reply

Similar Threads

  • can anyone on this site use these....By Jumpshot in Help & Requests
    14Last post 19y ago
  • Can anyone help w/ this?By Stranger00 in WarRock - International Hacks
    5Last post 19y ago
  • hi can anyone give me a promo code i need one plzzzzBy theman11 in WarRock - International Hacks
    18Last post 18y ago
  • Can I Do this?By D3ATH ANG3L in Gunz General
    9Last post 20y ago
  • Anyone have thisBy Mortifix in Gunz General
    1Last post 20y ago

Tags for this Thread

#code#translate