Osiris: (Request) preserve killfeed

Created on 23 Aug 2020  路  10Comments  路  Source: danielkrupinski/Osiris

Anyone has done for osiris or code for it?

basicly marking ur kills until round ends
nice feature for clips and visuals

enhancement

Most helpful comment

Added (a6a62323d849590f7e3f60755d8d8ff06d54ccc1)

All 10 comments

Check for CCSGO_HudDeathNotice + 0x50 and set it to flt_max. 3 lines of code.

Bruh @danielkrupinski when u add this label no one helps lmao i think everyone thinks u gonna make this but.. xd

:))):):)

a bit late but here's how it's done @newcommerdontblame @danielkrupinski
```cpp
static void(__thiscall ClearDeathNotices)(DWORD);
static DWORD
deathNotice;

    if (!ReallocatedDeathNoticeHUD)
    {
        //Find HUD cuz we haven't found it yet
        ReallocatedDeathNoticeHUD = true;
        deathNotice = FindHudElement<DWORD>("CCSGO_HudDeathNotice");
        ClearDeathNotices = (void(__thiscall*)(DWORD))Utilities::Memory::FindPatternV2("client_panorama.dll", "55 8B EC 83 EC 0C 53 56 8B 71 58");
    }
    else
    {
        if (deathNotice)
        {
            //Preserve killfeed
            if (Globals::RoundState == ROUND_INPROGRESS)
            {
                float* localDeathNotice = (float*)((DWORD)deathNotice + 0x50);
                if (localDeathNotice)
                {
                    *localDeathNotice = Menu::Window.MiscTab.PreserveKillfeed.GetState() ? FLT_MAX : 1.5f;
                }
            }

            //Clear killfeed cuz round is done
            if (RoundState == ROUND_FREEZETIME && deathNotice - 20)
            {
                if (ClearDeathNotices)
                {
                    ClearDeathNotices(((DWORD)deathNotice - 20));
                }
            }
        }
    }

@3Ld4D Thankss bro

@3Ld4D Thankss bro

Make a pull, please!

Should it be added to Misc or Visuals?

prob misc

Added (a6a62323d849590f7e3f60755d8d8ff06d54ccc1)

Hell yea thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chovss picture chovss  路  4Comments

nosexynomoney picture nosexynomoney  路  3Comments

B0ruK picture B0ruK  路  3Comments

GeorgieeeDev picture GeorgieeeDev  路  3Comments

HeiDaShuai666 picture HeiDaShuai666  路  3Comments