Вопрос Fix model

Начинающий
Статус
Оффлайн
Регистрация
23 Янв 2022
Сообщения
35
Реакции[?]
1
Поинты[?]
0
СУТУЛАЯ СОБАКА
ну или же нужен хоть какой-то фикс модели ( не тот код этого рейвтрипера)
 

Вложения

get good get legendware
Участник
Статус
Оффлайн
Регистрация
22 Сен 2020
Сообщения
435
Реакции[?]
200
Поинты[?]
47K
C++:
using mother_fucker_valve = Vector * (__thiscall*)(void*);
inline mother_fucker_valve _yes_fuck;

void* pBuildTransformationsEntity;
Vector vecBuildTransformationsAngles;
Vector* __fastcall hkGetEyeAngles(void* ecx, void* edx)
{
    static int* WantedReturnAddress1 = (int*)util::FindSignature("client.dll", crypt_str("8B 55 0C 8B C8 E8 ? ? ? ? 83 C4 08 5E 8B E5"));
    static int* WantedReturnAddress2 = (int*)util::FindSignature("client.dll", crypt_str("8B CE F3 0F 10 00 8B 06 F3 0F 11 45 ? FF 90 ? ? ? ? F3 0F 10 55 ?")) ; //Update Animations X/Y
    static int* WantedReturnAddress3 = (int*)util::FindSignature("client.dll", crypt_str("F3 0F 10 55 ? 51 8B 8E ? ? ? ?")); //Update Animations X/Y

    static auto oGetEyeAngles = hooks::player_hook->get_func_address <mother_fucker_valve>(170);

    if (_ReturnAddress() == (void*)WantedReturnAddress1 || _ReturnAddress() == (void*)WantedReturnAddress2 || _ReturnAddress() == (void*)WantedReturnAddress3)
        return oGetEyeAngles(ecx);

    if (!ecx || pBuildTransformationsEntity != ecx)
        return oGetEyeAngles(ecx);

    pBuildTransformationsEntity = nullptr;

    return &vecBuildTransformationsAngles;
}

using BuildTransformations = Vector * (__thiscall*)(void*, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed);
void __fastcall hkBuildTransformations(void* ecx, void* edx, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed)
{
    static auto oBuildTransformations = hooks::player_hook->get_func_address <BuildTransformations>(190);
    if (ecx && ((player_t*)ecx)->EntIndex() == m_engine()->GetLocalPlayer())
    {
        pBuildTransformationsEntity = ecx;
        vecBuildTransformationsAngles = ((player_t*)ecx)->GetRenderAngles();
    }

    oBuildTransformations(ecx, hdr, pos, q, cameraTransform, bonemask, computed);
    pBuildTransformationsEntity = nullptr;
}
 
Пользователь
Статус
Оффлайн
Регистрация
15 Апр 2021
Сообщения
224
Реакции[?]
64
Поинты[?]
0
СУТУЛАЯ СОБАКА
ну или же нужен хоть какой-то фикс модели ( не тот код этого рейвтрипера)
это не было кодом раветрипера привет раветрипер trapwest это было репостом с юц же
 
get good get legendware
Участник
Статус
Оффлайн
Регистрация
22 Сен 2020
Сообщения
435
Реакции[?]
200
Поинты[?]
47K
C++:
 auto playerhooks = util::FindSignature("client.dll", ("55 8B EC 83 E4 F8 83 EC 18 56 57 8B F9 89 7C")) + 0x47;
    hooks::player_hook = new vmthook(reinterpret_cast<DWORD**>(playerhooks));
    hooks::player_hook->hook_function(reinterpret_cast<uintptr_t>(hkBuildTransformations), 190);
    hooks::player_hook->hook_function(reinterpret_cast<uintptr_t>(hkGetEyeAngles), 170);
 
priora compressor
Участник
Статус
Оффлайн
Регистрация
18 Май 2019
Сообщения
675
Реакции[?]
243
Поинты[?]
16K
это не было кодом раветрипера привет раветрипер trapwest это было репостом с юц же
чё нахуй, какой репост, я тут причём?
C++:
using mother_fucker_valve = Vector * (__thiscall*)(void*);
inline mother_fucker_valve _yes_fuck;

void* pBuildTransformationsEntity;
Vector vecBuildTransformationsAngles;
Vector* __fastcall hkGetEyeAngles(void* ecx, void* edx)
{
    static int* WantedReturnAddress1 = (int*)util::FindSignature("client.dll", crypt_str("8B 55 0C 8B C8 E8 ? ? ? ? 83 C4 08 5E 8B E5"));
    static int* WantedReturnAddress2 = (int*)util::FindSignature("client.dll", crypt_str("8B CE F3 0F 10 00 8B 06 F3 0F 11 45 ? FF 90 ? ? ? ? F3 0F 10 55 ?")) ; //Update Animations X/Y
    static int* WantedReturnAddress3 = (int*)util::FindSignature("client.dll", crypt_str("F3 0F 10 55 ? 51 8B 8E ? ? ? ?")); //Update Animations X/Y

    static auto oGetEyeAngles = hooks::player_hook->get_func_address <mother_fucker_valve>(170);

    if (_ReturnAddress() == (void*)WantedReturnAddress1 || _ReturnAddress() == (void*)WantedReturnAddress2 || _ReturnAddress() == (void*)WantedReturnAddress3)
        return oGetEyeAngles(ecx);

    if (!ecx || pBuildTransformationsEntity != ecx)
        return oGetEyeAngles(ecx);

    pBuildTransformationsEntity = nullptr;

    return &vecBuildTransformationsAngles;
}

using BuildTransformations = Vector * (__thiscall*)(void*, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed);
void __fastcall hkBuildTransformations(void* ecx, void* edx, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed)
{
    static auto oBuildTransformations = hooks::player_hook->get_func_address <BuildTransformations>(190);
    if (ecx && ((player_t*)ecx)->EntIndex() == m_engine()->GetLocalPlayer())
    {
        pBuildTransformationsEntity = ecx;
        vecBuildTransformationsAngles = ((player_t*)ecx)->GetRenderAngles();
    }

    oBuildTransformations(ecx, hdr, pos, q, cameraTransform, bonemask, computed);
    pBuildTransformationsEntity = nullptr;
}
shonax technology $$$
 
Начинающий
Статус
Оффлайн
Регистрация
23 Янв 2022
Сообщения
35
Реакции[?]
1
Поинты[?]
0
C++:
using mother_fucker_valve = Vector * (__thiscall*)(void*);
inline mother_fucker_valve _yes_fuck;

void* pBuildTransformationsEntity;
Vector vecBuildTransformationsAngles;
Vector* __fastcall hkGetEyeAngles(void* ecx, void* edx)
{
    static int* WantedReturnAddress1 = (int*)util::FindSignature("client.dll", crypt_str("8B 55 0C 8B C8 E8 ? ? ? ? 83 C4 08 5E 8B E5"));
    static int* WantedReturnAddress2 = (int*)util::FindSignature("client.dll", crypt_str("8B CE F3 0F 10 00 8B 06 F3 0F 11 45 ? FF 90 ? ? ? ? F3 0F 10 55 ?")) ; //Update Animations X/Y
    static int* WantedReturnAddress3 = (int*)util::FindSignature("client.dll", crypt_str("F3 0F 10 55 ? 51 8B 8E ? ? ? ?")); //Update Animations X/Y

    static auto oGetEyeAngles = hooks::player_hook->get_func_address <mother_fucker_valve>(170);

    if (_ReturnAddress() == (void*)WantedReturnAddress1 || _ReturnAddress() == (void*)WantedReturnAddress2 || _ReturnAddress() == (void*)WantedReturnAddress3)
        return oGetEyeAngles(ecx);

    if (!ecx || pBuildTransformationsEntity != ecx)
        return oGetEyeAngles(ecx);

    pBuildTransformationsEntity = nullptr;

    return &vecBuildTransformationsAngles;
}

using BuildTransformations = Vector * (__thiscall*)(void*, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed);
void __fastcall hkBuildTransformations(void* ecx, void* edx, CStudioHdr* hdr, Vector* pos, Quaternion* q, matrix3x4_t* cameraTransform, int bonemask, byte* computed)
{
    static auto oBuildTransformations = hooks::player_hook->get_func_address <BuildTransformations>(190);
    if (ecx && ((player_t*)ecx)->EntIndex() == m_engine()->GetLocalPlayer())
    {
        pBuildTransformationsEntity = ecx;
        vecBuildTransformationsAngles = ((player_t*)ecx)->GetRenderAngles();
    }

    oBuildTransformations(ecx, hdr, pos, q, cameraTransform, bonemask, computed);
    pBuildTransformationsEntity = nullptr;
}
определение дай
hooks::player_hook
 
B.O.M.J
Эксперт
Статус
Оффлайн
Регистрация
19 Май 2017
Сообщения
2,403
Реакции[?]
897
Поинты[?]
3K
static int* WantedReturnAddress1 = (int*)util::FindSignature("client.dll", crypt_str("8B 55 0C 8B C8 E8 ? ? ? ? 83 C4 08 5E 8B E5")); static int* WantedReturnAddress2 = (int*)util::FindSignature("client.dll", crypt_str("8B CE F3 0F 10 00 8B 06 F3 0F 11 45 ? FF 90 ? ? ? ? F3 0F 10 55 ?")) ; //Update Animations X/Y static int* WantedReturnAddress3 = (int*)util::FindSignature("client.dll", crypt_str("F3 0F 10 55 ? 51 8B 8E ? ? ? ?")); //Update Animations X/Y
3 сигны с билд трансформом юзать это гениально
ну и кста этими хуками ты ничего не пофиксишь
 
Начинающий
Статус
Оффлайн
Регистрация
26 Дек 2021
Сообщения
51
Реакции[?]
2
Поинты[?]
0
Сверху Снизу