Indigo Paste crashing

Posts 1–3 of 3 · Page 1 of 1
Indigo Paste crashing
I'm trying to make an indigo paste right now. The only thing I've done to the source so far is change it from _english.txt to csgo_english.txt in dynskin.cpp (or something like that). It compiled, and when I launched the game I injected. The menu popped up then, but whenever I load into a map it crashes right when I have to choose a team with no error. Anything else I need to change first?
IVModelInfoClient.hpp
find this code.
Code:
virtual int GetModelContents(int modelIndex) const = 0;

and replace all 4 lines of code with this
Code:
virtual int GetModelContents(int modelIndex) const = 0;
virtual void UNUSED() = 0;
virtual void UNUSE11D() = 0;
virtual studiohdr_t *GetStudioModel(const model_t *mod) = 0;
virtual int GetModelSpriteWidth(const model_t *model) const = 0;
virtual int GetModelSpriteHeight(const model_t *model) const = 0;
Crash Fixed!

Go to
IVModelRender.h

Search this code
Code:
ModelRenderInfo_t
and replace this code with this:

Code:

struct ModelRenderInfo_t
{
Vector origin;
QAngle angles;
char pad[0x4];
IClientRenderable *pRenderable;
const model_t *pModel;
const matrix3x4_t *pModelToWorld;
const matrix3x4_t *pLightingOffset;
const Vector *pLightingOrigin;
int flags;
int entity_index;
int skin;
int body;
int hitboxset;
ModelInstanceHandle_t instance;
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us