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

What's Wrong

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
30 Мар 2018
Сообщения
118
Реакции
12
What is wrong with my animations? Teammates animations are weird, sometimes its the enemeis too, i have changed the animation state offset from 0x3900 to 0x3914 but still like this, i can provide my CEntity.h file if needed.

Also when i enter thirdperson i am for some reason sideways, so thats also something i need help figuring out what is causing it.

VIDEO:
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
What is wrong with my animations? Teammates animations are weird, sometimes its the enemeis too, i have changed the animation state offset from 0x3900 to 0x3914 but still like this, i can provide my CEntity.h file if needed.

Also when i enter thirdperson i am for some reason sideways, so thats also something i need help figuring out what is causing it.

VIDEO:
Пожалуйста, авторизуйтесь для просмотра ссылки.
if ur using old source, check updateclientanimation vtable
 
C++:
Expand Collapse Copy
void setAnimationState(C_AnimState* state) {
        *reinterpret_cast<C_AnimState**>(uintptr_t(this) + 0x3914) = state; //0x3884
    }
C++:
Expand Collapse Copy
    AnimationLayer *AnimOverlays()
    {
        return *reinterpret_cast<AnimationLayer**>(uintptr_t(this) + 0x2980);
    }
C++:
Expand Collapse Copy
    int GetNumAnimOverlays()
    {
        return *(int*)((DWORD)this + 0x298C);
    }
C++:
Expand Collapse Copy
    C_AnimState *AnimState()
    {
        return *reinterpret_cast<C_AnimState**>(uintptr_t(this) + 0x3914);
    }
C++:
Expand Collapse Copy
    AnimationLayer* GetAnimOverlays()
    {
        // to find offset: use 9/12/17 dll
        // sig: 55 8B EC 51 53 8B 5D 08 33 C0
        return *(AnimationLayer * *)((DWORD)this + 0x2980);
    }
Also got this
C++:
Expand Collapse Copy
    void update_state(C_AnimState* state, Vector ang) {
        using fn = void(__vectorcall*)(void*, void*, float, float, float, void*);
        static auto ret = reinterpret_cast<fn>(Utils::FindSignature("client.dll", "55 8B EC 83 E4 F8 83 EC 18 56 57 8B F9 F3 0F 11 54 24"));

        if (!ret)
            return;

        ret(state, NULL, NULL, ang.y, ang.x, NULL);
    }

^^ Above is CEntity.h

Also got this in CEntity.cpp
C++:
Expand Collapse Copy
void C_BaseEntity::CreateAnimationState(C_AnimState* state)
{
    using CreateAnimState_t = void(__thiscall*)(C_AnimState*, C_BaseEntity*);
    static auto CreateAnimState = (CreateAnimState_t)Utils::FindSignature("client.dll", "55 8B EC 56 8B F1 B9 ? ? ? ? C7 46");
    if (!CreateAnimState)
        return;

    CreateAnimState(state, this);
}
So might be an outdated sig then?
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
Expand Collapse Copy
void setAnimationState(C_AnimState* state) {
        *reinterpret_cast<C_AnimState**>(uintptr_t(this) + 0x3914) = state; //0x3884
    }
C++:
Expand Collapse Copy
    AnimationLayer *AnimOverlays()
    {
        return *reinterpret_cast<AnimationLayer**>(uintptr_t(this) + 0x2980);
    }
C++:
Expand Collapse Copy
    int GetNumAnimOverlays()
    {
        return *(int*)((DWORD)this + 0x298C);
    }
C++:
Expand Collapse Copy
    C_AnimState *AnimState()
    {
        return *reinterpret_cast<C_AnimState**>(uintptr_t(this) + 0x3914);
    }
C++:
Expand Collapse Copy
    AnimationLayer* GetAnimOverlays()
    {
        // to find offset: use 9/12/17 dll
        // sig: 55 8B EC 51 53 8B 5D 08 33 C0
        return *(AnimationLayer * *)((DWORD)this + 0x2980);
    }
Also got this
C++:
Expand Collapse Copy
    void update_state(C_AnimState* state, Vector ang) {
        using fn = void(__vectorcall*)(void*, void*, float, float, float, void*);
        static auto ret = reinterpret_cast<fn>(Utils::FindSignature("client.dll", "55 8B EC 83 E4 F8 83 EC 18 56 57 8B F9 F3 0F 11 54 24"));

        if (!ret)
            return;

        ret(state, NULL, NULL, ang.y, ang.x, NULL);
    }
AnimOverlays = 0x2990
GetAnimOverlays same as AnimOverlays
 
0x2980 it's correct one i think lmao, and the sig for createanimationstate i think it's on hazedumper's github on config.json
Whenever i change this

int GetNumAnimOverlays()
{
return *(int*)((DWORD)this + 0x2980); //0x298C
}

from 0x298C to 0x2980 and inject and go into game, my cs keeps freezing and my sv is 1000+ and fps 0 and it crashes..
 
Назад
Сверху Снизу