Results 1 to 5 of 5
  1. #1
    Craqker1337's Avatar
    Join Date
    Jan 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0

    Cool CS GO UPDATE Fixed Crash game !!!!

    K THAT THERES ALREADY A THREAD WITH THIS INFORMATIONS, BUT THIS IS JUST A THREAD WITH THE THINGS MORE COMPACTED FOR PASTERS AND STUFF

    *ANY NEW CRASH, JUST DEBUG AND POST HERE, I WILL TRY MY BEST TO FIX THE PROBLEM*

    fix for ayyware and pastes due to the new update
    Code:
    studiohdr_t* GetStudiomodel(const model_t* mod)
    {
    typedef studiohdr_t*(__stdcall* oGetStudiomodel)(const model_t*);
    return call_vfunc<oGetStudiomodel>(this, 32)(mod);
    }
    Code:
    void GetModelMaterials(const model_t *model, int count, IMaterial** ppMaterial)
    {
    typedef void *(__thiscall* oGetModelMaterials)(PVOID, const model_t*, int, IMaterial**);
    call_vfunc<oGetModelMaterials>(this, 19)(this, model, count, ppMaterial);
    }
    Code:
    struct ModelRenderInfo_t
    {
    Vector origin;
    Vector angles;
    char pad[0x4]; // added this
    void *pRenderable; // this
    const void *pModel; // and this
    const matrix3x4 *pModelToWorld;
    const matrix3x4 *pLightingOffset;
    const Vector *pLightingOrigin;
    int flags;
    int entity_index;
    int skin;
    int body;
    int hitboxset;
    unsigned short instance;

    ModelRenderInfo_t()
    {
    pModelToWorld = NULL;
    pLightingOffset = NULL;
    pLightingOrigin = NULL;
    }
    };
    for indigo:

    In the IVModelInfoClient.hpp

    Code:
    virtual studiohdr_t *GetStudioModel( const model_t *mod ) = 0;

    Entity.h

    Code:
    class CBaseEntity : public IClientEntity
    {
    public: ...
    studiohdr_t* GetStudioModel();
    }
    Entity.cpp

    Code:
    studiohdr_t* CBaseEntity::GetStudioModel()
    {
    const model_t* model = nullptr;

    model = GetModel();

    if (!model)
    return nullptr;

    studiohdr_t* pStudioModel = Interfaces::ModelInfo()->GetStudioModel(model);

    if (!pStudioModel)
    return nullptr;

    return pStudioModel;
    }

    it worked on my pasta

    Corruption.Vip indigodan then we do not need it anymore

    by Craqker1337

  2. #2
    mikicar540's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Ill try your fix for indigo thanks btw
    Last edited by mikicar540; 03-31-2018 at 03:26 PM.

  3. #3
    Craqker1337's Avatar
    Join Date
    Jan 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Thank You I am Not coder

  4. #4
    asdasdaassss's Avatar
    Join Date
    Dec 2017
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Craqker1337 View Post
    K THAT THERES ALREADY A THREAD WITH THIS INFORMATIONS, BUT THIS IS JUST A THREAD WITH THE THINGS MORE COMPACTED FOR PASTERS AND STUFF

    *ANY NEW CRASH, JUST DEBUG AND POST HERE, I WILL TRY MY BEST TO FIX THE PROBLEM*

    fix for ayyware and pastes due to the new update
    Code:
    studiohdr_t* GetStudiomodel(const model_t* mod)
    {
    typedef studiohdr_t*(__stdcall* oGetStudiomodel)(const model_t*);
    return call_vfunc<oGetStudiomodel>(this, 32)(mod);
    }
    Code:
    void GetModelMaterials(const model_t *model, int count, IMaterial** ppMaterial)
    {
    typedef void *(__thiscall* oGetModelMaterials)(PVOID, const model_t*, int, IMaterial**);
    call_vfunc<oGetModelMaterials>(this, 19)(this, model, count, ppMaterial);
    }
    Code:
    struct ModelRenderInfo_t
    {
    Vector origin;
    Vector angles;
    char pad[0x4]; // added this
    void *pRenderable; // this
    const void *pModel; // and this
    const matrix3x4 *pModelToWorld;
    const matrix3x4 *pLightingOffset;
    const Vector *pLightingOrigin;
    int flags;
    int entity_index;
    int skin;
    int body;
    int hitboxset;
    unsigned short instance;

    ModelRenderInfo_t()
    {
    pModelToWorld = NULL;
    pLightingOffset = NULL;
    pLightingOrigin = NULL;
    }
    };
    for indigo:

    In the IVModelInfoClient.hpp

    Code:
    virtual studiohdr_t *GetStudioModel( const model_t *mod ) = 0;

    Entity.h

    Code:
    class CBaseEntity : public IClientEntity
    {
    public: ...
    studiohdr_t* GetStudioModel();
    }
    Entity.cpp

    Code:
    studiohdr_t* CBaseEntity::GetStudioModel()
    {
    const model_t* model = nullptr;

    model = GetModel();

    if (!model)
    return nullptr;

    studiohdr_t* pStudioModel = Interfaces::ModelInfo()->GetStudioModel(model);

    if (!pStudioModel)
    return nullptr;

    return pStudioModel;
    }

    it worked on my pasta

    Corruption.Vip indigodan then we do not need it anymore

    by Craqker1337

    void GetModelMaterials(const model_t *model, int count, IMaterial** ppMaterial)
    {
    typedef void *(__thiscall* oGetModelMaterials)(PVOID, const model_t*, int, IMaterial**);
    call_vfunc<oGetModelMaterials>(this, 19)(this, model, count, ppMaterial);
    }

    cant find this in ayyware/avoz source, ctrl+f didnt bring up anything looked for GetModelMaterials, etc.
    Last edited by asdasdaassss; 04-01-2018 at 02:55 AM.

  5. #5
    pasha727's Avatar
    Join Date
    Nov 2017
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    GetModelMaterials cant find too

Similar Threads

  1. [Help] Looking for an updated source that fixes crash after new update
    By N4StYy :P in forum Counter-Strike 2 Coding & Resources
    Replies: 3
    Last Post: 03-27-2018, 06:38 AM
  2. [Release] GriefCraft V1.3 Look inside - Fixed crashing/dc - 1.8.1 [Hack Client] [Updated Daily]
    By john404 in forum Minecraft Hacks & Cheats
    Replies: 28
    Last Post: 09-27-2011, 03:23 PM
  3. Simple Chams v1.2 Fixed Crash(By Silex)
    By silentrunner2 in forum Combat Arms Europe Hacks
    Replies: 255
    Last Post: 03-03-2009, 08:34 AM
  4. Fix Crashing
    By Spiralhawk in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 12-19-2008, 10:56 AM
  5. Another Way To Fix Crash
    By boi2gangsta in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 12-19-2008, 07:33 AM