AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Surf Fix (https://forums.alliedmods.net/showthread.php?t=327868)

Lopol2010 10-14-2020 06:59

Surf Fix
 
1 Attachment(s)
Description:
This plugin prevents surf bug.
What's surf bug? When player sliding or surfing and instantly unintentionally stops.
This plugin is very useful for bhop, jump and surf servers.
Good to know:
If you have high ping, you may experience small 'stucks' or 'stuttering' movement.
Frequency of this depends on amount of your fps. More fps means more surf bugs.


Changelog:
Code:

version 1.3
    fix: trace height from 0.5 to 0.01 - Player get speed that he had before teleport onto slope.
            Since after teleport for one frame he have 0 speed, its detected as surf bug and fixed.
version 1.4
    fix: surf bug not detected on ramps with trigger_push on them.
            Because trigger_push changes velocity even if player not move visually.
version 1.5
    optimization: first check if speed is 0.0 and then if player is on slope.
            Because second check is expensive since it uses trace_hull.
version 1.6
    rename: from 'surffix' to 'Surf Fix'       
    optimization: removed expensive calculations like vector_length
version 1.8
    Now surf bug detected during one frame with CmdStart and CmdEnd.
    Previously using only CmdStart was allow 1 frame of player speed=0 (im not sure if its true, but by theory should be)
version 1.9
    fix: If surfing directly below ceiling, plugin will make you stuck in it.


JocAnis 10-15-2020 19:35

Re: Surf Fix
 
interesting, gj

Smilex_Gamer 10-16-2020 17:05

Re: Surf Fix
 
Great plugin. Huge help for surf/bhop/speedrun servers!


All times are GMT -4. The time now is 08:15.

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