Results 1 to 9 of 9
  1. #1
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh

    Easy to use in-game spammer

    this is credits to Nubz (idk if he has a username here) but this is what i'm using and its so much easier than the traditional


    timers.h
    Code:
    /*========Nubzgetskills -> Disponibilizou a base========*/
    /*========Solify -> Base Original========*/
    /*========Gellin -> Algumas funções========*/
    /*========Chaos Magician -> Atualizou e disponibilizou a base========*/
    
    #ifndef _TIMERS_H_
    #define _TIMERS_H_
    
    #pragma once
    
    #pragma comment(lib, "winmm.lib")
    #include <MMsystem.h>
    
    class cTimer
    {
    public :
    	cTimer(VOID)
    	{
    		dwStop = 0;
    	}
    	
    	~cTimer(VOID)
    	{
    	}
    
    	VOID Start(FLOAT fSec) 
    	{ 
    		dwStop = (DWORD)(fSec * 1) + timeGetTime(); 
    	}
    
    	VOID Stop(VOID) 
    	{ 
    		dwStop = 0; 
    	}
    
    	FLOAT TimeLeft(VOID)
    	{ 
    		if(Running())
    			return (((FLOAT)(dwStop - timeGetTime()) / 1));
    		
    		return 0; 
    	}
    
    	bool Running(VOID) 
    	{ 
    		return(dwStop > timeGetTime()); 
    	}
    
    protected :
    	DWORD dwStop;
    };
    
    #endif
    top of hack
    Code:
    #include "Timers.h"
    cTimer SpammerTimer;



    VOID
    Code:
    VOID GetUnicodeBytesFromChar(CHAR curChar, BYTE *bOut)
    {
    	if(!bOut) 
    		return;
    
    	switch(curChar)
    	{
    		case ' ': bOut[0] = 0x80; bOut[1] = 0x00; break;
    		case '0': bOut[0] = 0xC0; bOut[1] = 0x00; break;
    		case '1': bOut[0] = 0xC4; bOut[1] = 0x00; break;
    		case '2': bOut[0] = 0xC8; bOut[1] = 0x00; break;
    		case '3': bOut[0] = 0xCC; bOut[1] = 0x00; break;
    		case '4': bOut[0] = 0xD0; bOut[1] = 0x00; break;
    		case '5': bOut[0] = 0xD4; bOut[1] = 0x00; break;
    		case '6': bOut[0] = 0xD8; bOut[1] = 0x00; break;
    		case '7': bOut[0] = 0xDC; bOut[1] = 0x00; break;
    		case '8': bOut[0] = 0xE0; bOut[1] = 0x00; break;
    		case '9': bOut[0] = 0xE4; bOut[1] = 0x00; break;
    
    		case 'A': bOut[0] = 0x04; bOut[1] = 0x01; break;
    		case 'B': bOut[0] = 0x08; bOut[1] = 0x01; break;
    		case 'C': bOut[0] = 0x0C; bOut[1] = 0x01; break;
    		case 'D': bOut[0] = 0x10; bOut[1] = 0x01; break;
    		case 'E': bOut[0] = 0x14; bOut[1] = 0x01; break;
    		case 'F': bOut[0] = 0x18; bOut[1] = 0x01; break;
    		case 'G': bOut[0] = 0x1C; bOut[1] = 0x01; break;
    		case 'H': bOut[0] = 0x20; bOut[1] = 0x01; break;
    		case 'I': bOut[0] = 0x24; bOut[1] = 0x01; break;
    		case 'J': bOut[0] = 0x28; bOut[1] = 0x01; break;
    		case 'K': bOut[0] = 0x2C; bOut[1] = 0x01; break;
    		case 'L': bOut[0] = 0x30; bOut[1] = 0x01; break;
    		case 'M': bOut[0] = 0x34; bOut[1] = 0x01; break;
    		case 'N': bOut[0] = 0x38; bOut[1] = 0x01; break;
    		case 'O': bOut[0] = 0x3C; bOut[1] = 0x01; break;
    		case 'P': bOut[0] = 0x40; bOut[1] = 0x01; break;
    		case 'Q': bOut[0] = 0x44; bOut[1] = 0x01; break;
    		case 'R': bOut[0] = 0x48; bOut[1] = 0x01; break;
    		case 'S': bOut[0] = 0x4C; bOut[1] = 0x01; break;
    		case 'T': bOut[0] = 0x50; bOut[1] = 0x01; break;
    		case 'U': bOut[0] = 0x54; bOut[1] = 0x01; break;
    		case 'V': bOut[0] = 0x58; bOut[1] = 0x01; break;
    		case 'W': bOut[0] = 0x5C; bOut[1] = 0x01; break;
    		case 'X': bOut[0] = 0x60; bOut[1] = 0x01; break;
    		case 'Y': bOut[0] = 0x64; bOut[1] = 0x01; break;
    		case 'Z': bOut[0] = 0x68; bOut[1] = 0x01; break;
    
    		case 'a': bOut[0] = 0x84; bOut[1] = 0x01; break;
    		case 'b': bOut[0] = 0x88; bOut[1] = 0x01; break;
    		case 'c': bOut[0] = 0x8C; bOut[1] = 0x01; break;
    		case 'd': bOut[0] = 0x90; bOut[1] = 0x01; break;
    		case 'e': bOut[0] = 0x94; bOut[1] = 0x01; break;
    		case 'f': bOut[0] = 0x98; bOut[1] = 0x01; break;
    		case 'g': bOut[0] = 0x9C; bOut[1] = 0x01; break;
    		case 'h': bOut[0] = 0xA0; bOut[1] = 0x01; break;
    		case 'i': bOut[0] = 0xA4; bOut[1] = 0x01; break;
    		case 'j': bOut[0] = 0xA8; bOut[1] = 0x01; break;
    		case 'k': bOut[0] = 0xAC; bOut[1] = 0x01; break;
    		case 'l': bOut[0] = 0xB0; bOut[1] = 0x01; break;
    		case 'm': bOut[0] = 0xB4; bOut[1] = 0x01; break;
    		case 'n': bOut[0] = 0xB8; bOut[1] = 0x01; break;
    		case 'o': bOut[0] = 0xBC; bOut[1] = 0x01; break;
    		case 'p': bOut[0] = 0xC0; bOut[1] = 0x01; break;
    		case 'q': bOut[0] = 0xC4; bOut[1] = 0x01; break;
    		case 'r': bOut[0] = 0xC8; bOut[1] = 0x01; break;
    		case 's': bOut[0] = 0xCC; bOut[1] = 0x01; break;
    		case 't': bOut[0] = 0xD0; bOut[1] = 0x01; break;
    		case 'u': bOut[0] = 0xD4; bOut[1] = 0x01; break;
    		case 'v': bOut[0] = 0xD8; bOut[1] = 0x01; break;
    		case 'w': bOut[0] = 0xDC; bOut[1] = 0x01; break;
    		case 'x': bOut[0] = 0xE0; bOut[1] = 0x01; break;
    		case 'y': bOut[0] = 0xE4; bOut[1] = 0x01; break;
    		case 'z': bOut[0] = 0xE8; bOut[1] = 0x01; break;
    
    		case '}': bOut[0] = 0xF4; bOut[1] = 0x01; break;
    		case '²': bOut[0] = 0xC8; bOut[1] = 0x02; break;
    		case '³': bOut[0] = 0xCC; bOut[1] = 0x02; break;
    		case '{': bOut[0] = 0xEC; bOut[1] = 0x01; break;
    		case '[': bOut[0] = 0x6C; bOut[1] = 0x01; break;
    		case ']': bOut[0] = 0x74; bOut[1] = 0x01; break;
    		case '~': bOut[0] = 0xF8; bOut[1] = 0x01; break;
    		case '\\': bOut[0]= 0x70; bOut[1] = 0x01; break;
    		case '|': bOut[0] = 0xF0; bOut[1] = 0x01; break;
    		case 'µ': bOut[0] = 0xD4; bOut[1] = 0x02; break;
    		case '@': bOut[0] = 0x00; bOut[1] = 0x01; break;
    		case '€': bOut[0] = 0x00; bOut[1] = 0x02; break;
    		case '=': bOut[0] = 0xF4; bOut[1] = 0x00; break;
    		case '!': bOut[0] = 0x84; bOut[1] = 0x00; break;
    		case '"': bOut[0] = 0x88; bOut[1] = 0x00; break;
    		case '§': bOut[0] = 0x9C; bOut[1] = 0x02; break;
    		case '$': bOut[0] = 0x90; bOut[1] = 0x00; break;
    		case '%': bOut[0] = 0x94; bOut[1] = 0x00; break;
    		case '&': bOut[0] = 0x98; bOut[1] = 0x00; break;
    		case '/': bOut[0] = 0xBC; bOut[1] = 0x00; break;
    		case '(': bOut[0] = 0xA0; bOut[1] = 0x00; break;
    		case ')': bOut[0] = 0xA4; bOut[1] = 0x00; break;
    		case '*': bOut[0] = 0xA8; bOut[1] = 0x00; break;
    		case ';': bOut[0] = 0xEC; bOut[1] = 0x00; break;
    		case '_': bOut[0] = 0x7C; bOut[1] = 0x01; break;
    		case ':': bOut[0] = 0xE8; bOut[1] = 0x00; break;
    		case '\'': bOut[0]= 0x9C; bOut[1] = 0x00; break;
    		case '?': bOut[0] = 0xFC; bOut[1] = 0x00; break;
    		case '°': bOut[0] = 0xC0; bOut[1] = 0x02; break;
    		case '`': bOut[0] = 0x80; bOut[1] = 0x01; break;
    		case '>': bOut[0] = 0xF8; bOut[1] = 0x00; break;
    		case '^': bOut[0] = 0x78; bOut[1] = 0x01; break;
    		case '+': bOut[0] = 0xAC; bOut[1] = 0x00; break;
    		case '-': bOut[0] = 0xB4; bOut[1] = 0x00; break;
    		case ',': bOut[0] = 0xB0; bOut[1] = 0x00; break;
    		case '.': bOut[0] = 0xB8; bOut[1] = 0x00; break;
    		case '#': bOut[0] = 0x8C; bOut[1] = 0x00; break;
    		case 'ß': bOut[0] = 0x7C; bOut[1] = 0x03; break;
    		case '<': bOut[0] = 0xF0; bOut[1] = 0x00; break;
    
    		default: bOut[0] = 0xFC; bOut[1] = 0x00; break;
    	}
    } 
    
    VOID SpammerChat(CHAR *szTitle, CHAR *szMessage)
    {
    	if(!SpammerTimer.Running())
    	{
    		SpammerTimer.Start(50.0f);
    
    		INT iTitleLen	= strlen(szTitle);
    		INT iMessageLen	= strlen(szMessage);
    
    		CAutoMessage msg;
    		msg.Writeuint8(104);
    
    		for(INT i = 0; i < iMessageLen; i++)
    		{
    			BYTE bChar[2] = {0};
    			GetUnicodeBytesFromChar(szMessage[i], bChar);
    			msg.Writeuint8((BYTE)bChar[0]);
    			msg.Writeuint8((BYTE)bChar[1]);
    		}
    
    		msg.Writeuint16(0);
    
    		for(INT i = 0; i < iTitleLen; i++)
    		{
    			BYTE bChar[2] = {0};
    			GetUnicodeBytesFromChar(szTitle[i], bChar);
    			msg.Writeuint8((BYTE)bChar[0]);
    			msg.Writeuint8((BYTE)bChar[1]);
    		}
    
    		msg.Writeuint16(0);
    		msg.Writeint32(0);
    
    		oSendToServer(msg.Read(), (1 << 7));
    	}
    }
    how to use
    Code:
    if(opt.hacks.Spammer) 
    	{
    	g_LTClient = *(CLTClient **)ADDR_LTCLIENT;
    	g_CommonLT = g_LTClient->Common();
    	oSendToServer = (tSendToServer)ADDR_S2S;
    	{
    		if(ValidPointer(g_LTClient))
    		{
    		SpammerChat("[GM]KaptinBoxxi","MPGH Rox bruh.");
    	} else {
    			g_LTClient = *(CLTClient **)ADDR_LTCLIENT;
    			g_CommonLT = g_LTClient->Common();
    			return;
    	}
    	}
    	}
    Last edited by supercarz1991; 01-21-2013 at 02:06 PM.

    commando: You're probably the best non-coder coder I know LOL


  2. The Following User Says Thank You to supercarz1991 For This Useful Post:

    N3OH4X (01-21-2013)

  3. #2
    R3d_L1n3's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    208
    LMFAO ..
    @supercarz1991

    Dude this is made by Neo I.I.I! , he made character table and so for spammerchat function all i see diffrent is some modify for timer
    Last edited by R3d_L1n3; 01-21-2013 at 02:12 PM.

  4. #3
    R4v0r's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    London
    Posts
    234
    Reputation
    11
    Thanks
    142
    My Mood
    Amazed
    Nice, work, this can be done easier though..

  5. #4
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    Quote Originally Posted by R3d_L1n3 View Post
    LMFAO ..
    @supercarz1991

    Dude this is made by Neo I.I.I! , he made character table and so for spammerchat function all i see diffrent is some modify for timer
    idk who makes this stuff lol i'm just learning and modifying

    commando: You're probably the best non-coder coder I know LOL


  6. #5
    teehee15's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    329
    Reputation
    52
    Thanks
    109
    Sexy GUI

  7. #6
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    Quote Originally Posted by teehee15 View Post
    Sexy GUI
    its broken in game... LOL

    its cuz i run menu in end scene

    commando: You're probably the best non-coder coder I know LOL


  8. #7
    R3d_L1n3's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    208
    @supercarz1991 i dont mind with any of what u said , i just noticed u who really made it

  9. #8
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    Quote Originally Posted by R3d_L1n3 View Post
    @supercarz1991 i dont mind with any of what u said , i just noticed u who really made it
    no biggy, it's always nice to have proper credits

    commando: You're probably the best non-coder coder I know LOL


  10. #9
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,590
    Reputation
    5180
    Thanks
    14,177
    My Mood
    Inspired
    This is already posted in the section. Check the stickies for information, or just search the section.

    /Closed
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


Similar Threads

  1. [Release] Very easy to use injector!
    By Julma Henri in forum Combat Arms Hacks & Cheats
    Replies: 27
    Last Post: 04-30-2010, 05:39 AM
  2. [Release] Warrock injector easy too use!
    By Almostdead in forum WarRock - International Hacks
    Replies: 13
    Last Post: 12-29-2009, 10:33 AM
  3. Replies: 6
    Last Post: 12-22-2009, 09:57 PM
  4. Combat Arms REZ file Mover[Easy To use]
    By Zoom in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 12-13-2009, 06:22 AM
  5. [Release] Game Spammer v1.05 made by CreationsBrodcast
    By creationsbrodcast in forum Combat Arms Hacks & Cheats
    Replies: 24
    Last Post: 11-11-2009, 03:49 PM