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

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 2691 views)
    File Type: smx firebulletsfix.smx (5.1 KB, 2377 views)
    File Type: sp Get Plugin or Get Source (firebulletsfix.sp - 1816 views - 2.9 KB)

    Last edited by Xutax_Kamay; 06-24-2021 at 03:54.
    Xutax_Kamay is offline
     



    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 01:58.


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