Here's the source for a combat arms spammer, I posted the actual .exe over in the hack section, if you don't know what C++ is don't ask. This is a really really really simple program. It stores a string as a character array, opens the clipboard, copys the character array to the clipboard, then when you get into a game or whatever, your press the hot key, the Left Shift, and it simulates the key presses CTRL V and ENTER, it presses enter first to open the chat box in CA, then Ctrl and V at the same time to paste the message copied to the clipboard to the in game chat box (or any chat box. This will work for ANYTHING, yahoo, aim, msn, windows live, etc.) And with just a few backspaces you can remove the main sleep, and make it spam forever.
Also, the off button is the Right shift key, which I thought about modifying but never got around to, really simple, just don't care enough to do it now.
[PHP]////////////////////////////////////
// Big thanks to everyone //
// in the MPGH C++ section //
// who helped me write my //
// First actual program. //
// Should you use my spammer //
// source, for whatever you //
// see fit, please give credit //
// Where due. //
// I would like to //
// Extend a special thanks //
// to Davidm44 for the massive //
// Amount of help he gave me //
//Regarding the keybd_event //
// functions and the clipboard //
// API. //
//Credits: iLoveCookies, Davidm44,//
// Why06, and Hell_Demon //
////////////////////////////////////////
#include <iostream>
#include <windows.h>
#include <time.h>
using namespace std;
char pMessage[100];
int main()
{
cout <<"Please Input The Message You Wish To Be Spammed: ";
cin.getline(pMessage,sizeof pMessage);
OpenClipboard(NULL);
EmptyClipboard();
HGLOBAL hMem = GlobalAlloc(GMEM_MOVEABLE,strlen(pMessage)+1);
LPTSTR textPointer = (LPTSTR)GlobalLock(hMem);
memcpy(textPointer,pMessage,strlen(pMessage)+1);
GlobalUnlock(hMem);
Se***ipboardData(CF_TEXT,hMem);
CloseClipboard();
while(1)
{
if(GetAsyncKeyState(VK_LSHIFT))
{
while (!GetAsyncKeyState(VK_RSHIFT))
{
short i=0;
for(i; i<7; i++)
{
keybd_event(VK_RETURN,0x0D,0,0);
keybd_event(VK_RETURN,0x0d,KEYEVENTF_KEYUP,0);
Sleep(100);
keybd_event(VK_RCONTROL,0x11,0,0);
keybd_event(VkKeyScan('v'),0x56,0,0);
Sleep(100);
keybd_event(VK_RETURN,0x0D,0,0);
Sleep(100);
keybd_event(VK_RCONTROL,0x11,KEYEVENTF_KEYUP,0);
keybd_event(VkKeyScan('v'),0x56,KEYEVENTF_KEYUP,0) ;
Sleep(100);
keybd_event(VK_RETURN,0x0D,KEYEVENTF_KEYUP,0);
}
Sleep(30000);
}
}
}
EmptyClipboard();
system("pause");
return 0;
}
[/PHP]