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

Начинающий
Статус
Оффлайн
Регистрация
25 Фев 2022
Сообщения
43
Реакции[?]
1
Поинты[?]
0
При выстреле дт моделька пропадает , точнее во время речарджа
 
Начинающий
Статус
Оффлайн
Регистрация
15 Фев 2022
Сообщения
299
Реакции[?]
21
Поинты[?]
0
посмотри дт в миске как сделан, правильно ли hooked_createmove сделан
 
Начинающий
Статус
Оффлайн
Регистрация
25 Фев 2022
Сообщения
43
Реакции[?]
1
Поинты[?]
0
Начинающий
Статус
Оффлайн
Регистрация
4 Июн 2022
Сообщения
71
Реакции[?]
10
Поинты[?]
2K
Here is the code to fix the issue.
C++:
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:
bool was_in_tp = csgo.m_input()->is_in_tp();

if (was_in_tp) {
    ctx.m_local()->UpdateVisibilityAllEntities();
}
signature:
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.
 
Последнее редактирование:
Сверху Снизу