This tut worked for knifing, but now for some reason the game freezes when I aim down sights and shoot a zombie during instakill. After the long freeze of about 5 seconds, the shot disappears and doesn't kill the zombie. This issue is only when I have instakill and when I aim down the sights and shoot at a zombie. I've reversed the steps in this tut and my issue is fixed, but I'm wondering if you noticed the same issue?
This tut worked for knifing, but now for some reason the game freezes when I aim down sights and shoot a zombie during instakill. After the long freeze of about 5 seconds, the shot disappears and doesn't kill the zombie. This issue is only when I have instakill and when I aim down the sights and shoot at a zombie. I've reversed the steps in this tut and my issue is fixed, but I'm wondering if you noticed the same issue?
I know it's a bit late, but I've solved this bug. Apparently giving an empty string to strTok creates an infinite loop, which causes the thread to be killed after getting stuck for a few seconds. To fix this, change the remove_mod_from_methodofdeath function to the following: