Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Вопрос How to fix it ?

Забаненный
Забаненный
Статус
Оффлайн
Регистрация
14 Дек 2021
Сообщения
19
Реакции
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
1640455068505.png

1640455103562.png
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
Expand Collapse Copy
using mother_fucker_valve = Vector * (__thiscall*)(void*);
inline mother_fucker_valve _yes_fuck;
#include "cheats/lagcompensation/local_animations.h"
Vector* __fastcall eye_angles(void* ecx, void* edx)
{
    static int* WantedReturnAddress1 = (int*)util::FindSignature(("client.dll"), "8B CE F3 0F 10 00 8B 06 F3 0F 11 45 ? FF 90 ? ? ? ? F3 0F 10 55 ?"); //Update Animations X/Y
    static int* WantedReturnAddress2 = (int*)util::FindSignature(("client.dll"), "F3 0F 10 55 ? 51 8B 8E ? ? ? ?");                                    //Update Animations X/Y
    static int* WantedReturnAddress3 = (int*)util::FindSignature(("client.dll"), "8B 55 0C 8B C8 E8 ? ? ? ? 83 C4 08 5E 8B E5");                       //Retarded valve fix

    static auto oGetEyeAngles = _yes_fuck;

    if (_ReturnAddress() != WantedReturnAddress1 && _ReturnAddress() != WantedReturnAddress2 && _ReturnAddress() != WantedReturnAddress3)
        return oGetEyeAngles(ecx);

    if (!ecx || ((player_t*)ecx)->EntIndex() != m_engine()->GetLocalPlayer())
        return oGetEyeAngles(ecx);

    return &local_animations::get().local_data.real_angles;
}
in main.cpp


C++:
Expand Collapse Copy
    static auto motherfucker = (DWORD)(util::FindSignature(crypt_str("client.dll"), "56 8B F1 85 F6 74 32"));
    _yes_fuck = (mother_fucker_valve)DetourFunction((PBYTE)motherfucker, (PBYTE)eye_angles);
in main.cpp, setup hooks
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
bro does not work for some reason
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
friend, everything just doesn't work

1640456337207.png
 
Последнее редактирование:
Назад
Сверху Снизу