yoo bro, i see a big paster)()
-
Автор темы
- #1
Самые четкие на свете spammers(обосрете противника точно)
возможно там есть говнокод()()
(если что это спаммерсы из самовара в5, немного изменены))()(
возможно там есть говнокод()()
(если что это спаммерсы из самовара в5, немного изменены))()(
C++:
#include "Spammers.h"
Spammers spammers;
void Spammers::run(CUserCmd* m_pcmd)
{
clantag_changer();
name_spammer();
chat_spammer();
}
void Spammers::clantag_changer()
{
auto m_local = game::localdata.localplayer();
if (miscconfig.bClanChanger)
{
switch (int(m_pGlobals->curtime * 7.2) % 64)
{
case 0: game::functions.set_clan_tag(XorStr(" "), ""); break;
case 1: game::functions.set_clan_tag(XorStr(" "), ""); break;
case 2: game::functions.set_clan_tag(XorStr(" T"), ""); break;
case 3: game::functions.set_clan_tag(XorStr(" T"), ""); break;
case 4: game::functions.set_clan_tag(XorStr(" TA"), ""); break;
case 5: game::functions.set_clan_tag(XorStr(" TA"), ""); break;
case 6: game::functions.set_clan_tag(XorStr(" TAP"), ""); break;
case 7: game::functions.set_clan_tag(XorStr(" TAP"), ""); break;
case 8: game::functions.set_clan_tag(XorStr(" TAPO"), ""); break;
case 9: game::functions.set_clan_tag(XorStr(" TAPO"), ""); break;
case 10:game::functions.set_clan_tag(XorStr(" TAPOW"), ""); break;
case 11:game::functions.set_clan_tag(XorStr(" TAPOW"), ""); break;
case 12:game::functions.set_clan_tag(XorStr(" TAPOWA"), ""); break;
case 13:game::functions.set_clan_tag(XorStr(" TAPOWA"), ""); break;
case 14:game::functions.set_clan_tag(XorStr(" TAPOWAR"), ""); break;
case 15:game::functions.set_clan_tag(XorStr(" TAPOWAR"), ""); break;
case 16:game::functions.set_clan_tag(XorStr(" TAPOWARE"), ""); break;
case 17:game::functions.set_clan_tag(XorStr(" TAPOWARE"), ""); break;
case 18:game::functions.set_clan_tag(XorStr(" TAPOWARE"), ""); break;
case 19:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 20:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 21:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 22:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 23:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 24:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 25:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 26:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 27:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 28:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 29:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 30:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 31:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 32:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 33:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 34:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 35:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 36:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 37:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 38:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 39:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 40:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 41:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 42:game::functions.set_clan_tag(XorStr(" T4P0W4REEEEEEEEEEEE"), ""); break;
case 43:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 44:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 45:game::functions.set_clan_tag(XorStr(" TAPOWARE "), ""); break;
case 46:game::functions.set_clan_tag(XorStr("TAPOWARE "), ""); break;
case 47:game::functions.set_clan_tag(XorStr("TAPOWARE "), ""); break;
case 48:game::functions.set_clan_tag(XorStr("TAPOWARE "), ""); break;
case 49:game::functions.set_clan_tag(XorStr("APOWARE "), ""); break;
case 50:game::functions.set_clan_tag(XorStr("APOWARE "), ""); break;
case 51:game::functions.set_clan_tag(XorStr("POWARE "), ""); break;
case 52:game::functions.set_clan_tag(XorStr("POWARE "), ""); break;
case 53:game::functions.set_clan_tag(XorStr("OWARE "), ""); break;
case 54:game::functions.set_clan_tag(XorStr("OWARE "), ""); break;
case 55:game::functions.set_clan_tag(XorStr("WARE "), ""); break;
case 56:game::functions.set_clan_tag(XorStr("WARE "), ""); break;
case 57:game::functions.set_clan_tag(XorStr("ARE "), ""); break;
case 58:game::functions.set_clan_tag(XorStr("ARE "), ""); break;
case 59:game::functions.set_clan_tag(XorStr("RE "), ""); break;
case 60:game::functions.set_clan_tag(XorStr("RE "), ""); break;
case 61:game::functions.set_clan_tag(XorStr("E "), ""); break;
case 62:game::functions.set_clan_tag(XorStr("E "), ""); break;
case 63:game::functions.set_clan_tag(XorStr(" "), ""); break;
case 64:game::functions.set_clan_tag(XorStr(" "), ""); break;
}
}
if (!miscconfig.bClanChanger)
{
return;
}
}
void Spammers::name_spammer()
{
auto m_local = game::localdata.localplayer();
if (!miscconfig.bNameChanger)
return;
if (!miscconfig.iNameChangerType)
return;
static clock_t start_t = clock();
double timeSoFar = (double)(clock() - start_t) / CLOCKS_PER_SEC;
if (timeSoFar < 0.001)
return;
const char* result;
if (miscconfig.iNameChangerType == 3)
{
static bool flip = false; flip = !flip;
if (!flip)
{
result = XorStr("ЯTAPOWARE");
}
else
{
result = XorStr("ЯTAPOWARE");
}
}
if (miscconfig.iNameChangerType == 1)
{
std::vector <std::string> names;
for (int i = 1; i < m_pGlobals->maxClients; i++)
{
IClientEntity *entity = m_pEntityList->GetClientEntity(i);
player_info_t pInfo;
if (entity && m_local->GetTeamNum() == entity->GetTeamNum())
{
ClientClass* cClass = (ClientClass*)entity->GetClientClass();
if (cClass->m_ClassID == (int)CSGOClassID::CCSPlayer)
{
if (m_pEngine->GetPlayerInfo(i, &pInfo))
{
if (!strstr(pInfo.name, "GOTV"))
names.push_back(pInfo.name);
}
}
}
}
int randomIndex = rand() % names.size();
char buffer[128];
sprintf_s(buffer, "%s ", names[randomIndex].c_str());
result = buffer;
}
else if (miscconfig.iNameChangerType == 2)
result = XorStr("\n\xAD\xAD\xAD");
game::functions.set_name(result);
start_t = clock();
}
void Spammers::chat_spammer()
{
if (!miscconfig.bChatSpam)
return;
if (!miscconfig.iChatSpamType)
return;
static clock_t start_t = clock();
int spamtime = miscconfig.flChatSpamSpeed;
double timeSoFar = (double)(clock() - start_t) / CLOCKS_PER_SEC;
if (timeSoFar < spamtime)
return;
if (miscconfig.iChatSpamType == 1)
{
game::functions.print_to_chat XorStr("OWNS ME AND ALL");
}
else if (miscconfig.iChatSpamType == 2)
{
}
std::vector<std::string> spam = {
"EBATB LOX",
"L",
"SCHOOLNIK",
"NIGGER"
};
static DWORD lastspammed = 0;
if (GetTickCount() - lastspammed > 800)
{
lastspammed = GetTickCount();
std::string msg = spam[rand() % spam.size()];
game::functions.print_to_chat XorStr(msg.c_str());
}
}
else if (miscconfig.iChatSpamType == 3)
{
std::vector<std::string> spam = {
"suck my cock you silver bastards",
"you're getting fucked by me right now",
"server cvar 'sv_rekt' changed to 1",
"Did you learn your spray downs in a bukkake video?",
"Shut up, I fucked your dad",
"You only killed me because I ran out of health...",
"Options -> How To Play",
"If I were to commit suicide, I would jump from your ego to your elo.",
"I kissed your mom last night. Her breath was globally offensive",
"mad cuz bad",
"his guy is more toxic than the beaches at Fukushima",
"Who are you sponsored by? Parkinson's?"
"ゴミの話",
"Where's my pixel dinner ",
"Y O U R P A R E N T S M U S T B E P R O U D O F Y O U ",
"killsay set to 1"
};
static DWORD lastspammed = 0;
if (GetTickCount() - lastspammed > 800)
{
lastspammed = GetTickCount();
std::string msg = spam[rand() % spam.size()];
game::functions.print_to_chat XorStr(msg.c_str());
}
}
start_t = clock();
}
Последнее редактирование модератором: