Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Вопрос Проблемма с дт lw v3

Here is the code to fix the issue.
C++:
Expand Collapse Copy
void C_BasePlayer::UpdateVisibilityAllEntities()
{
    static uintptr_t* update_visibility_all_entities = nullptr;
    if (update_visibility_all_entities == nullptr) {
        static DWORD callInstruction = Engine::Displacement::Signatures[c_signatures::UPDATEVISIBILITY_ALLENTS]; // get the instruction address
        static DWORD relativeAddress = *(DWORD*)(callInstruction + 1); // read the rel32
        static DWORD nextInstruction = callInstruction + 5; // get the address of next instruction
        update_visibility_all_entities = (uintptr_t*)(nextInstruction + relativeAddress); // our function address will be nextInstruction + relativeAddress
    }
    else
        reinterpret_cast<void(__thiscall*)(void*)>(update_visibility_all_entities)(this);
}
on FRAME_RENDER_START:
Expand Collapse Copy
bool was_in_tp = csgo.m_input()->is_in_tp();

if (was_in_tp) {
    ctx.m_local()->UpdateVisibilityAllEntities();
}
signature:
Expand Collapse Copy
Memory::Scan("client.dll", sxor("E8 ? ? ? ? 83 7D D8 00 7C 0F"));
I'm not sure the sig is up to date so just check in ida.
 
Последнее редактирование:
Назад
Сверху Снизу