Tutorial item crash fix (all cheats)

vt:

item crash:



~ inject crashfix dll before cheat
great topic!

If you're still wondering how it was done and want to add this fix to your paste:
you must hook dispatch_user_message for this fix.
item crash fix:
Expand Collapse Copy
bool __fastcall dispatch_user_message(void* _this, void* edx, int msg_type, int arg, int arg1, void* data)
    {
        static auto original = vtables[vmt_client].original<decltype(&dispatch_user_message)>(xor_int(38));

        if (msg_type == ECstrike15UserMessages::CS_UM_SendPlayerItemFound) //msg_type == 63
            return false; //item crash fix
      
        return original(_this, edx, msg_type, arg, arg1, data);
    }
 
Last edited by a moderator:
Back
Top