Вопрос Не найдена соответствующая лексема

Начинающий
Статус
Оффлайн
Регистрация
17 Мар 2021
Сообщения
40
Реакции[?]
12
Поинты[?]
0
1.4. Запрещено в названиях тем и тегах использовать ненормативную лексику, а также названия не объясняющими вкратце её сути: «Помогите», "Проблема" и им подобные.
В общем да помогите позязя
 

Вложения

Участник
Статус
Оффлайн
Регистрация
19 Апр 2020
Сообщения
1,169
Реакции[?]
313
Поинты[?]
151K
В общем да помогите позязя
Код:
void spammers::clan_tag()
{
    auto apply = [](const char* tag) -> void
    {
        using Fn = int(__fastcall*)(const char*, const char*);
        static auto fn = reinterpret_cast<Fn>(util::FindSignature(crypt_str("engine.dll"), crypt_str("53 56 57 8B DA 8B F9 FF 15")));

        fn(tag, tag);
    };
 
Начинающий
Статус
Оффлайн
Регистрация
17 Мар 2021
Сообщения
40
Реакции[?]
12
Поинты[?]
0
Код:
void spammers::clan_tag()
{
    auto apply = [](const char* tag) -> void
    {
        using Fn = int(__fastcall*)(const char*, const char*);
        static auto fn = reinterpret_cast<Fn>(util::FindSignature(crypt_str("engine.dll"), crypt_str("53 56 57 8B DA 8B F9 FF 15")));

        fn(tag, tag);
    };

Скопировал и вставил , серавно ерорит
 
Начинающий
Статус
Оффлайн
Регистрация
17 Мар 2021
Сообщения
40
Реакции[?]
12
Поинты[?]
0
Так окей я там нечего не трогал у меня пропала к хуям там ошибка , но появилась вот такая
Пожалуйста, авторизуйтесь для просмотра ссылки.
Код:
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

#include "spammers.h"

void spammers::clan_tag()
{
    auto apply = [](const char* tag) -> void
    {
        using Fn = int(__fastcall*)(const char*, const char*);
        static auto fn = reinterpret_cast<Fn>(util::FindSignature(crypt_str("engine.dll"), crypt_str("53 56 57 8B DA 8B F9 FF 15")));

        fn(tag, tag);
    };

    static auto removed = false;

    if (!g_cfg.misc.clantag_spammer && !removed)
    {
        removed = true;
        apply((""));
        return;
    }

    if (g_cfg.misc.clantag_spammer)
    {
        auto nci = m_engine()->GetNetChannelInfo();

        if (!nci)
            return;

        static auto time = -1;

        auto ticks = TIME_TO_TICKS(nci->GetAvgLatency(FLOW_OUTGOING)) + (float)m_globals()->m_tickcount; //-V807
        auto intervals = 0.5f / m_globals()->m_intervalpertick;

        if (g_cfg.misc.clantag_spammer && g_cfg.misc.clantags_mode == 0)
        {
            auto main_time = (int)(ticks / intervals) % 7;

            if (main_time != time && !m_clientstate()->iChokedCommands)
            {
                auto tag = crypt_str("");

                switch (main_time)
                {
                case 0:
                    tag = crypt_str("jopa lol"); //>V1037
                    break;
                case 1:
                    tag = crypt_str("hahahaha");
                    break;
                case 2:
                    tag = crypt_str("afsdf"); //>V1037
                    break;
                case 3:
                    tag = crypt_str("asdfawer");
                    break;
                case 4:
                    tag = crypt_str("asdgasg"); //>V1037
                    break;
                case 5:
                    tag = crypt_str("vasdtaew");
                    break;
                case 6:
                    tag = crypt_str("adfgadfv"); //>V1037
                    break;
                case 7:
                    tag = crypt_str("asdfasdvc");
                    break;
                }

                apply(tag);
                time = main_time;


            }
            removed = false;

        }
        if (g_cfg.misc.clantag_spammer && g_cfg.misc.clantags_mode == 1)
        {
            auto main_time = (int)(ticks / intervals) % 2;

            if (main_time != time && !m_clientstate()->iChokedCommands)
            {
                auto tag = crypt_str("");

                switch (main_time)
                {
                case 0:
                    tag = crypt_str("cheat name"); //>V1037
                    break;
                case 1:
                    tag = crypt_str("clantag"); //>V1037
                    break;
                }

                apply(tag);
                time = main_time;


            }
            removed = false;
        }

    }
 
Пользователь
Статус
Оффлайн
Регистрация
13 Дек 2018
Сообщения
251
Реакции[?]
63
Поинты[?]
3K
C++:
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

#include "spammers.h"

void spammers::clan_tag()
{
    auto apply = [](const char* tag) -> void
    {
        using Fn = int(__fastcall*)(const char*, const char*);
        static auto fn = reinterpret_cast<Fn>(util::FindSignature(crypt_str("engine.dll"), crypt_str("53 56 57 8B DA 8B F9 FF 15")));

        fn(tag, tag);
    };

    static auto removed = false;

    if (!vars.misc.clantag_spammer && !removed)
    {
        removed = true;
        apply(crypt_str(""));
        return;
    }

    if (vars.misc.clantag_spammer)
    {
        auto nci = m_engine()->GetNetChannelInfo();

        if (!nci)
            return;

        static auto time = -1;

        auto ticks = TIME_TO_TICKS(nci->GetAvgLatency(FLOW_OUTGOING)) + (float)m_globals()->m_tickcount; //-V807
        auto intervals = 0.2f / m_globals()->m_intervalpertick;

        auto main_time = (int)(ticks / intervals) % 28;

        if (main_time != time && !m_clientstate()->iChokedCommands)
        {
            auto tag = crypt_str("");

            switch (main_time)
            {
            case 0:
                tag = crypt_str(""); //-V1037
                break;
            case 1:
                tag = crypt_str("$");
                break;
            case 2:
                tag = crypt_str("s");
                break;
            case 3:
                tag = crypt_str("s4");
                break;
            case 4:
                tag = crypt_str("sa");
                break;
            case 5:
                tag = crypt_str("sap");
                break;
            case 6:
                tag = crypt_str("sap|-|");
                break;
            case 7:
                tag = crypt_str("saph");
                break;
            case 8:
                tag = crypt_str("saph1");
                break;
            case 9:
                tag = crypt_str("saphi");
                break;
            case 10:
                tag = crypt_str("saphi|2");
                break;
            case 11:
                tag = crypt_str("saphir");
                break;
            case 12:
                tag = crypt_str("saphir3");
                break;
            case 13:
                tag = crypt_str("saphire");
                break;
            case 14:
                tag = crypt_str("saphire");
                break;
            case 15:
                tag = crypt_str("saphir3");
                break;
            case 16:
                tag = crypt_str("saphir");
                break;
            case 17:
                tag = crypt_str("saphi|2");
                break;
            case 18:
                tag = crypt_str("saphi");
                break;
            case 19:
                tag = crypt_str("saph1");
                break;
            case 20:
                tag = crypt_str("saph");
                break;
            case 21:
                tag = crypt_str("sap|-|");
                break;
            case 22:
                tag = crypt_str("sap");
                break;
            case 23:
                tag = crypt_str("sa");
                break;
            case 24:
                tag = crypt_str("s4");
                break;
            case 25:
                tag = crypt_str("s");
                break;
            case 26:
                tag = crypt_str("$");
                break;
            case 27:
                tag = crypt_str("");
                break;
            }

            apply(tag);
            time = main_time;
        }

        removed = false;
    }
}
 
Сверху Снизу