Raised This Month: $12 Target: $400
 3% 

[ANY] Hit Registration Fix Plugin (bullet displacement by 1 tick)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Xutax_Kamay
Member
Join Date: Feb 2016
Plugin ID:
6498
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes shooting/bullet displacement by 1 tick problems so you can accurately hit by moving.
    Old 04-06-2019 , 12:26   [ANY] Hit Registration Fix Plugin (bullet displacement by 1 tick)
    Reply With Quote #1

    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
    Attached Files
    File Type: txt dhooks.weapon_shootposition.txt (1.0 KB, 2653 views)
    File Type: smx firebulletsfix.smx (5.1 KB, 2327 views)
    File Type: sp Get Plugin or Get Source (firebulletsfix.sp - 1787 views - 2.9 KB)

    Last edited by Xutax_Kamay; 06-24-2021 at 03:54.
    Xutax_Kamay is offline
    gubka
    Veteran Member
    Join Date: Jan 2012
    Location: Russia
    Old 04-06-2019 , 14:17   Re: FireBullet fix
    Reply With Quote #2

    Good work man
    __________________
    gubka is offline
    Send a message via ICQ to gubka
    Nairdaa
    Member
    Join Date: Nov 2012
    Old 04-06-2019 , 14:17   Re: FireBullet fix
    Reply With Quote #3

    That's my boy!
    Nairdaa is offline
    TheBOSS
    Member
    Join Date: Nov 2018
    Old 04-07-2019 , 06:15   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #4

    should use it only for surf servers?
    so, I understand when using this ext will make you to kill the players even if you moving?

    Last edited by TheBOSS; 04-07-2019 at 06:21.
    TheBOSS is offline
    Xutax_Kamay
    Member
    Join Date: Feb 2016
    Old 04-07-2019 , 09:06   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #5

    Quote:
    Originally Posted by TheBOSS View Post
    should use it only for surf servers?
    so, I understand when using this ext will make you to kill the players even if you moving?
    You should use it everywhere, the more you can.
    ̶A̶n̶d̶ ̶y̶e̶s̶ ̶t̶h̶a̶t̶'̶s̶ ̶t̶h̶e̶ ̶i̶d̶e̶a̶,̶ ̶i̶t̶ ̶i̶s̶ ̶n̶o̶t̶ ̶a̶n̶ ̶e̶x̶t̶e̶n̶s̶i̶o̶n̶ ̶t̶h̶o̶u̶g̶h̶,̶ ̶j̶u̶s̶t̶ ̶a̶ ̶v̶a̶l̶v̶e̶ ̶p̶l̶u̶g̶i̶n̶ ̶(̶l̶i̶k̶e̶ ̶m̶e̶t̶a̶m̶o̶d̶ ̶i̶s̶)̶

    EDIT: Not anymore.

    Last edited by Xutax_Kamay; 04-18-2019 at 02:32.
    Xutax_Kamay is offline
    awyx
    Member
    Join Date: Mar 2019
    Old 04-07-2019 , 20:27   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #6

    nice release
    awyx is offline
    AbraCadabra
    Member
    Join Date: Aug 2013
    Old 04-08-2019 , 15:49   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #7

    Can you make it for windows please?
    AbraCadabra is offline
    Xutax_Kamay
    Member
    Join Date: Feb 2016
    Old 04-08-2019 , 19:56   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #8

    Quote:
    Originally Posted by AbraCadabra View Post
    Can you make it for windows please?
    Anyone mind testing the build I've done for windows? Since my slow internet connection can't download a 5gb dedicated server.. Thanks. (Sadly you can't load plugins anymore through listen servers even with -insecure)
    Xutax_Kamay is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 04-09-2019 , 07:54   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #9

    Quote:
    Originally Posted by Xutax_Kamay View Post
    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.
    They are busy with new skins and cases. Mail them and send the fix as well, they are too lazy to fix bugs.

    Quote:
    Originally Posted by Xutax_Kamay View Post
    Sadly you can't load plugins anymore through listen servers even with -insecure
    For me it works with the lastest stable sourcemod.
    __________________
    Ilusion9 is offline
    Xutax_Kamay
    Member
    Join Date: Feb 2016
    Old 04-09-2019 , 08:59   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
    Reply With Quote #10

    Quote:
    Originally Posted by Ilusion9 View Post
    They are busy with new skins and cases. Mail them and send the fix as well, they are too lazy to fix bugs.



    For me it works with the lastest stable sourcemod.
    I already mailed them about this years ago, but they never paid attention I think. There is even a pullrequest, so yeah, maybe they think the fix is not worth it, I really don't know

    Oh really? That's odd... Maybe I got misunderstood, did you try to use sourcemod with a csgo dedicated server or csgo client (graphical stuff where you play on) ?
    Cause it never worked on the csgo client for me, on CSS and in older versions of CSGO you could just load plugins with insecure parameter, but that's not really anymore the case for me, so I'm wondering why it does work for you, maybe I'm doing something wrong.

    Last edited by Xutax_Kamay; 04-09-2019 at 08:59.
    Xutax_Kamay is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:33.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode