C++ Supremacy Watermarks

Статус
В этой теме нельзя размещать новые ответы.
Начинающий
Статус
Оффлайн
Регистрация
20 Окт 2020
Сообщения
69
Реакции[?]
16
Поинты[?]
0
hey so i decided to make some cool watermarks and release them so here.
put in menu.h right under menu color
Код:
 Dropdown    watermark;
(in class ConfigTab)

then also put in menu.h the dropdown right under menu color
Код:
    watermark.setup(XOR("watermark"), XOR("watermark"), { XOR("none"), XOR("main"), XOR("clean"), XOR("metamod"), XOR("skeet.dmp"), XOR("supremacy") });
        RegisterElement(&watermark, 1);
then go to Client::DrawHUD in client.cpp
and remove the current watermark / watermarks and replace it with this
Код:
    if (g_menu.main.config.watermark.get() == 1) { //main

        // get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        // get tickrate.
        int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

        std::string text = tfm::format(XOR("*insert* [debug]| %s | ping: %ims | rate: %i | %s"), m_user, ms, rate, time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, {39, 42, 74, 235 });

        // text.
        render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);

    }
          
    else if (g_menu.main.config.watermark.get() == 2) { //clean
        //get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        std::string text = tfm::format(XOR(" *insert*| %s | ping: %ims | %s"), m_user, ms,time.str().data());  //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 75));
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 1, (80, 77, 227));

        // text.
        render::hud.string(m_width - 15, 10, { 220, 220, 220, 250 }, text, render::ALIGN_RIGHT);



    }
    else if (g_menu.main.config.watermark.get() == 3) { //metamod
      
        //get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        std::string text = tfm::format(XOR("*insert*| % s | ping: % ims | % s"), m_user, ms,time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 240));
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 2, (80, 77, 227));

        // text.
        render::hud.string(m_width - 15, 10, { 255, 255, 255, 250 }, text, render::ALIGN_RIGHT);
  
    }
    else if (g_menu.main.config.watermark.get() == 4) { //skeet.dmp

    // get time.
            time_t t = std::time(nullptr);
            std::ostringstream time;
            time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

            // get round trip time in milliseconds.
            int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

            // get tickrate.
            int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

            std::string text = tfm::format(XOR("skeet.dmp [debug]| %s | ping: %ims | %s"), m_user, ms, rate, time.str().data());
            render::FontSize_t size = render::hud.size(text);

            // background.
            render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 10, 10, 10, 210 });

            // text.
            render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);


    }
  
    else if (g_menu.main.config.watermark.get() == 5) { //supremacy


        // get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        // get tickrate.
        int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

        std::string text = tfm::format(XOR("supremacy | rtt: %ims | rate: %i | %s"), ms, rate, time.str().data());
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 240, 110, 140, 130 });

        // text.
        render::hud.string(m_width - 15, 10, { 240, 160, 180, 250 }, text, render::ALIGN_RIGHT);
    }
ss (screenshots) -
(NOTE: the text looks kinda different bc my font is different then default supremacy, so whatever your menu font is, that will be the font instead of this)
1603725000358.png - main

1603725025087.png - clean (NOTE: there will be a line if you are using a normal supremacy)

1603725081082.png- metamod (NOTE: there will be a line if you are using a normal supremacy)
(Now imgur links bc yougame only allows 3 image uploads per post)

Пожалуйста, авторизуйтесь для просмотра ссылки.
- skeet.dmp

Пожалуйста, авторизуйтесь для просмотра ссылки.
- supremacy
 
Забаненный
Статус
Оффлайн
Регистрация
2 Окт 2020
Сообщения
1,208
Реакции[?]
266
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
good job
 
Начинающий
Статус
Оффлайн
Регистрация
20 Окт 2020
Сообщения
69
Реакции[?]
16
Поинты[?]
0
Начинающий
Статус
Оффлайн
Регистрация
10 Фев 2019
Сообщения
5
Реакции[?]
0
Поинты[?]
0
hey so i decided to make some cool watermarks and release them so here.
put in menu.h right under menu color
Код:
 Dropdown    watermark;
(in class ConfigTab)

then also put in menu.h the dropdown right under menu color
Код:
    watermark.setup(XOR("watermark"), XOR("watermark"), { XOR("none"), XOR("main"), XOR("clean"), XOR("metamod"), XOR("skeet.dmp"), XOR("supremacy") });
        RegisterElement(&watermark, 1);
then go to Client::DrawHUD in client.cpp
and remove the current watermark / watermarks and replace it with this
Код:
    if (g_menu.main.config.watermark.get() == 1) { //main

        // get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        // get tickrate.
        int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

        std::string text = tfm::format(XOR("*insert* [debug]| %s | ping: %ims | rate: %i | %s"), m_user, ms, rate, time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, {39, 42, 74, 235 });

        // text.
        render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);

    }
         
    else if (g_menu.main.config.watermark.get() == 2) { //clean
        //get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        std::string text = tfm::format(XOR(" *insert*| %s | ping: %ims | %s"), m_user, ms,time.str().data());  //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 75));
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 1, (80, 77, 227));

        // text.
        render::hud.string(m_width - 15, 10, { 220, 220, 220, 250 }, text, render::ALIGN_RIGHT);



    }
    else if (g_menu.main.config.watermark.get() == 3) { //metamod
     
        //get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        std::string text = tfm::format(XOR("*insert*| % s | ping: % ims | % s"), m_user, ms,time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 240));
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 2, (80, 77, 227));

        // text.
        render::hud.string(m_width - 15, 10, { 255, 255, 255, 250 }, text, render::ALIGN_RIGHT);
 
    }
    else if (g_menu.main.config.watermark.get() == 4) { //skeet.dmp

    // get time.
            time_t t = std::time(nullptr);
            std::ostringstream time;
            time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

            // get round trip time in milliseconds.
            int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

            // get tickrate.
            int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

            std::string text = tfm::format(XOR("skeet.dmp [debug]| %s | ping: %ims | %s"), m_user, ms, rate, time.str().data());
            render::FontSize_t size = render::hud.size(text);

            // background.
            render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 10, 10, 10, 210 });

            // text.
            render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);


    }
 
    else if (g_menu.main.config.watermark.get() == 5) { //supremacy


        // get time.
        time_t t = std::time(nullptr);
        std::ostringstream time;
        time << std::put_time(std::localtime(&t), ("%H:%M:%S"));

        // get round trip time in milliseconds.
        int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));

        // get tickrate.
        int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);

        std::string text = tfm::format(XOR("supremacy | rtt: %ims | rate: %i | %s"), ms, rate, time.str().data());
        render::FontSize_t size = render::hud.size(text);

        // background.
        render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 240, 110, 140, 130 });

        // text.
        render::hud.string(m_width - 15, 10, { 240, 160, 180, 250 }, text, render::ALIGN_RIGHT);
    }
ss (screenshots) -
(NOTE: the text looks kinda different bc my font is different then default supremacy, so whatever your menu font is, that will be the font instead of this)
Посмотреть вложение 108214 - main

Посмотреть вложение 108215 - clean (NOTE: there will be a line if you are using a normal supremacy)

Посмотреть вложение 108216- metamod (NOTE: there will be a line if you are using a normal supremacy)
(Now imgur links bc yougame only allows 3 image uploads per post)

Пожалуйста, авторизуйтесь для просмотра ссылки.
- skeet.dmp

Пожалуйста, авторизуйтесь для просмотра ссылки.
- supremacy
Aye nice man! good job
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу