Results 1 to 2 of 2
  1. #1
    Martin4435's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    25

    Talking C++ COD4 - MW: Kill Spammer/Hud Spammer

    Sry for my English

    It can work for every COD if you change the offsets

    I hope i can help anyone with my idea.

    If you have problams with this:
    -test if you have the actuel offsets
    -test the code, it can be that i forgot anything

    Code:
    static void(*TextHUD)(int pos, const char *name, ...) = (void(__cdecl *)(int, const char *, ...))0x4FCBC0;
    static void(*CG_trap_SendConsoleCommand)(int x, int x2, char *cvar) = (void(__cdecl *)(int, int, char *))0x4F9AB0;
    
    typedef enum
    {
    	UNKNOWN,
    	CONSOLE,
    	KILLPOSITION,
    	CENTER,
    } hud_t;
    
    
    int spre = 0;
    int spreupdate;
    int myname;
    int killscreen;
    int Spamm = 0;
    int SpammType;
    
    void MsgSpam()
    {
    	if (GetAsyncKeyState(VK_TAB))
    	{
    		SpammType = !SpammType;
    	}
    	if (SpammType == 0)
    	{
    		
    		char S[85];
    
    		sprintf_s(S, "say ^1%s ^5Get ^1O^2W^3N^4E^5D ^1by %s", 0x00743CDF, 0x05A7B1B4); //first adress (0x00743CDF) is the name of the guy that you killed, it can bug, the next adress is your name
    		CG_trap_SendConsoleCommand(0, 0, S);
    	}
    	else
    	{
    		TextHUD(CENTER, "say ^1%s ^5Get ^1O^2W^3N^4E^5D ^1by %s", 0x00743CDF, 0x05A7B1B4);
    
    	}
    }
    
    void Spammers()
    {
    	spreupdate = ...   ; // this is the killstreak adress !!I cant give you the adress. ever when I found the right killstreak adress on the next start the adress changed!!
    	
    	if (spreupdate == 0)
    	{
    		spre = 0;
    	}
    	else if (spreupdate > spre)
    	{
    		MsgSpam();
    		spre = spreupdate;
    	}
    }

  2. #2
    AuT03x3C's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    kernel32.dll
    Posts
    453
    Reputation
    11
    Thanks
    4,159
    My Mood
    Sleepy
    Quote Originally Posted by Martin4435 View Post
    ever when I found the right killstreak adress on the next start the adress changed!!
    The address is not static, have you tried a pointer scan?
    You could also compute your killstreak.

Similar Threads

  1. [Patched] MW3 Kill Spammer 1.5.388 Full V.
    By |cS| StikxX in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 9
    Last Post: 05-03-2012, 04:14 PM
  2. [Solved] Looking for a kill spammer.
    By Occidi de Pax in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 09-23-2011, 05:45 PM
  3. CS Flooder Spammer Chatt SPammer
    By nbkh4ck3r in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 1
    Last Post: 10-15-2008, 10:02 AM
  4. Spammers Beware
    By A7X Oblivian in forum Spammers Corner
    Replies: 24
    Last Post: 12-11-2006, 05:21 PM
  5. Two Biggest Spammers on the forums!
    By Dave84311 in forum General
    Replies: 20
    Last Post: 01-02-2006, 08:39 AM