Well, ok here are the source
But I don't think it would help you at all since it was for Directx 8 and Soldat is using OpenGL now after version 1.7 (thats why I didn't even want to port it to the new versions - half of the code would need to be changed, not just new addresses). Not even telling that this code is a big mess and its really poorly commented and there are many parts in polish language xD (oh wait i just did tell, stupid me)
Btw, it's the full version and I'm using Visual Studio 2010 Express, and for "d3d8.h" and so files you need to download and install full DirectX SDK (you need plenty of things and they can be not so easy to find if you want to compile the code as it is ;_
About the knife speed in the new versions - I am not sure, as it depends now on how long user is pressing the button it can be hard to use it in some things (eg. if you want to draw "sniper line" for the knife). If you need to find the current knife speed i suggest you to make a hotkey in cheat engine pausing the game, hold the F key some time and pause the game while holding it, then just search for increased/decreased value untill you'll find something.