Translate? how translate? like tell you what it does? or what ?
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;} } }
Translate? how translate? like tell you what it does? or what ?
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?
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
Tell him what the code means/does ...
What / who is antinoob and what is the point of the whole thing?
It switchs a bools status from true to false, false to true.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 } }
Only really useful if your making a DLL, or can acquire key presses differently.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
This is easier?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 } }
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.None of you guys posted any help haha, sillies:This is easier?
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.
Last edited by Toymaker; 02-26-2008 at 06:05 AM.
I would use it like thisCode:bool StemOn; While(True) { if (GetKeyState(VK_F1) &1) { StemOn = !StemOn } if(StemOn){WriteProcessMemory(Handle,Address,Buffer,Size,0); } }
Last edited by radnomguywfq3; 02-26-2008 at 08:43 AM.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
lol... it looks like you want some one to translate some code for you so you understand itbool 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;}
}
}
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...
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
Originally Posted by cryticalThat 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.Originally Posted by jetamey
Last edited by Toymaker; 02-26-2008 at 02:34 PM.
That was my point? And kindof a comment towards you that you might want to comment :P
Last edited by Toymaker; 02-26-2008 at 06:15 PM.
oommgg, I don't get this conversation. I take offense to easily, sorry. Your right.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?