Hello there, so as fully explained here:
https://github.com/ValveSoftware/sou...-2013/pull/442
And videos:
https://www.youtube.com/watch?v=VPT0-CKODNc
Another example:
https://www.youtube.com/watch?v=pr4EZ06mrpQ
This is a very simple fix to correct the direction of the bullets.
This bugs occurs on every source engine games, and maybe older.
In resume, there is a bug in all valve games where your shooting position is shifted by 1 tick,
due on how new positions are computed and interpolation is working
Ideally, this should be a lag compensation bug but not totally, it's mostly a problem on how RunCommand function works.
I don't know what's taking so much time to fix it for valve,
but I think it's important here to have a fix, specially for surf servers (it's even more important on lower tickrates)
Github repo:
https://github.com/XutaxKamay/firebulletsfix
Place dhooks.weapon_shootposition.txt into sourcemod/gamedata & firebulletsfix.smx into sourcemod/plugins
Contact me if any issues.
Supports now TF2, CS:S, CS:GO, L4D2, L4D, DODS, HL2MP, NuclearDawn it can be done and I will do into every source engine games.
You need dhooks extension in order to get it working.
EDIT:
Please get a look for dhooks here:
https://forums.alliedmods.net/showpo...&postcount=589