How to Make C++ Spammer {Code}

Posts 1–12 of 12 · Page 1 of 1
How to Make C++ Spammer {Code}
-Hey pelease can someone post the code for C++ spammer. Like the one for V.I.P Trials.. I wana spamm in CA saying "MPGH IS THE BEST HACKING SITE, FREE PUB HACK, CHEAP V.I.P" While am teli-killing people Lol..

- so please post code.. or instruction... TY
If you want VB. I can help you with that >_>
i Need a c++ code
GTFO Double posting leecher
Please don't make 2 threads.
dude i did not.. my internet reloaded... please help me with c++
You make spammers In VB. That's how I do it. Spammers are easy though. Learn C++ and learn how text gets put through into Combat arms so it spams it without typing >_>
Enjoy
Code:
void Spammer(void){

keybd_event(VK_RETURN,0,0,0); //Enter
Sleep(1000);//Number of Millaseconds
keybd_event(N',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('b',0,0,0); 
keybd_event(VK_RETURN,0,0,0); //Enter

}
Code:
if( Menu.mOpt[1].nopt  > 0 )
Spammer();
Quote Originally Posted by markoj View Post
Enjoy
Code:
void Spammer(void){

keybd_event(VK_RETURN,0,0,0); //Enter
Sleep(1000);//Number of Millaseconds
keybd_event(N',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('b',0,0,0); 
keybd_event(VK_RETURN,0,0,0); //Enter

}
Code:
if( Menu.mOpt[1].nopt  > 0 )
Spammer();

Don't forget to credit Stephen /UnkownCoder
Quote Originally Posted by markoj View Post
Enjoy
Code:
void Spammer(void){

keybd_event(VK_RETURN,0,0,0); //Enter
Sleep(1000);//Number of Millaseconds
keybd_event(N',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('o',0,0,0); 
keybd_event('b',0,0,0); 
keybd_event(VK_RETURN,0,0,0); //Enter

}
Code:
if( Menu.mOpt[1].nopt  > 0 )
Spammer();
Can't you convert a line of string into a char array and then send each of the chars with a keybd_event rather than manually doing a keybd_event for each letter..?

i.e (this is how it would be done in vb)

[php]
Dim StringToSend as string = "MPGH IS AWESOME"
dim ToChars() as Char = StringToSend.ToCharArray
Dim i as integer = 0
Do until i = ToChars.count
keybd_event(vkKeyScan(chrs(i)), 0, 0, 0) 'keydowns the specified character
keybd_event(vkKeyScan(chrs(i)), 0, KEYEVENTF_KEYUP, 0) 'keyups the specified character
i += 1
Loop
'Credits to Lolland for this in its original form, saves me typing it out
[/php]

I dunno about converting to a char array in C++ though, but it's an idea.
Quote Originally Posted by Jason View Post


Can't you convert a line of string into a char array and then send each of the chars with a keybd_event rather than manually doing a keybd_event for each letter..?

i.e (this is how it would be done in vb)

[php]
Dim StringToSend as string = "MPGH IS AWESOME"
dim ToChars() as Char = StringToSend.ToCharArray
Dim i as integer = 0
Do until i = ToChars.count
keybd_event(vkKeyScan(chrs(i)), 0, 0, 0) 'keydowns the specified character
keybd_event(vkKeyScan(chrs(i)), 0, KEYEVENTF_KEYUP, 0) 'keyups the specified character
i += 1
Loop
'Credits to Lolland for this in its original form, saves me typing it out
[/php]

I dunno about converting to a char array in C++ though, but it's an idea.

This is not VB o.o
Quote Originally Posted by Drake4 View Post
This is not VB o.o
Oh thank you captain obvious . I'm saying because there's a certain equivalence between all programming languages there might be a way to replicate this using C++, shit man learn to read.

I mean, most of this stuff is standard. The only reason i posted a VB snippet was to get my idea across better because it's difficult to explain. There is a way to convert string to char array in C++, work it out. Then just whack in a "while (i < ToChar.size)" or some crap like that and you're pretty much sitting on the C++ version .
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us