Quote:
Originally Posted by spidershift
Finally, do you think perhaps any of these issues we're running into are because of CSWeaponID and WeaponSound_t? I had to manually copy their definitions into my headers because I could not find public definitions anywhere, but they are just enums, so shouldn't they technically be no different than (and could even be replaced by) an int instead? Or could they be the arguments contributing to these crashes?
|
Yup they'll be replaced by int's(most-likely).
I just spotted a mistake in my snippet(I moved iPlayerId to a wrong register, esi instead of ecx) - I updated my post. Please try it again.
Anyway, if that doesn't work I'll setup a CS:GO server because this made me curious