Report Download
VELOSync
Version 5 | Last Updated: 01-26-2017, 09:52 PM
Filetype: application/x-zip-compressed
MD5: 55636a3055fb83f145f6363d5874d5b9
Status: Public
Views: 61010
Downloads: 13383
20 0
VELOCiTY
Submitter (Submissions)
Matched Content


Shortlink:
VELOSync 5 released!
  • Added Adaptive Resync compatibility, it is recommended that you download both mods in order to minimize player desync as well as AI enemy desync.
  • This mod now requires DelayedCallsFix for its advanced features, if you do not have DelayedCallsFix installed, BLT will automatically download it for you.




VELOSync resolves severe player desync by speeding up the speed at which player husks (your game client's interpretation of a player) may travel.

What is desync?
Desync is caused by players not being able to send/receive movement and position updates. After the player gets an "overdue" movement pattern, the corresponding husk will move according to that pattern. Since PAYDAY 2's default husk movement speed is rather slow, this may look awkward and can lead to effects such as the well known interacting while moving or a player being detected from behind a wall. 

VELOSync increases the husk movement speed, therefore making desync less noticable.
Should you ever encounter desync so bad that the normal husk speed boost just won't cut it, VELOSync comes with a keybind feature (Options > Mod Options > VELOSync > Engage FastAntiDesync), which allows player husks to move up to 300 times as fast as usual for a short time period of 3 seconds. At this speed, they literally teleport to the received player locations, this should even fix the most extreme desync in no time.

Since version 4, VELOSync also includes a feature that dynamically changes husk speeds not only based on the speed you defined in the settings, but also based on the connection latency of other players. Beware though, as this feature is still not perfectly implemented and using it might make player movement animations look weird. You can toggle this feature in the mod options, it's set to disabled by default.


This mod requires BLT.
How to install this mod:
Put the "VELOSync" folder into "(your steam library)\common\PAYDAY 2\mods\".

Special thanks to Speedy for using his incredible magician skills to create the logo and for making the Czech translation.
Special thanks to [Ca$h.it] Winston Wolfe for making the Italian translation.
This mod is based on PocoHud's anti-desync feature. All credit for that goes to them.

donacdum

[-]
Leave a comment
To leave a comment you must log in.

05-21-2017, 09:35 PM
@Rokk

I believe the way it works is VeloSync changes player husk movement speeds, while Adaptive Resync changes the way AI/cop husks are shown to clients. A good explanation is that if a cop moves from A > B > C, the client sees the move from A > C without seeing them stop at B, which causes cops to move through walls and be far away from where they actually are.

05-08-2017, 02:01 AM
I fixed some JSON errors on my end. They are originating from menu/options.txt. You forgot a comma, and you need to delete a comma.
Use this: https://jsonlint.com/

04-23-2017, 09:07 PM
How exactly does this work with Adaptive Resync installed at the same time? I was under the impression that it's useless to install both, since they both modify the same thing.

04-16-2017, 05:14 PM
@?Ezy?

If the desync reappears again in a short time you should crank up the "Default husk speed" option a bit. Just bump it up a little until you're satisfied. Keep in mind that the changed settings only take effect when restarting the heist or continuing to the next day.

04-09-2017, 08:31 PM
Sooo uhhhh, how do i properly use this mod? Do I activate it once in a heist or? because the desynch reapears in like 3 mins??

03-02-2017, 06:26 PM
@DK | TNRossen

Since BLT's download tool seems to not work for you, you can try downloading the mod manually from here. I hope this will fix your issue.

03-02-2017, 05:50 PM
When i Open the game it asks me to download a mod called delayed calls fix and when i click download now it chases.PLS HELP

01-31-2017, 07:56 PM
I'm sure it's a total coincidence that this mod updates whenever Adaptive Resync does, conveniently with the same new features.

01-27-2017, 12:45 PM
@Nauotit
Simple: In the VeloSnyc folder, there's a folder called loc. Inside you'll find the file "en.txt" Just translate the non-code text and send that to the creator.

01-26-2017, 11:49 PM
I could do a French translation but I have no idea how to.

01-16-2017, 10:21 PM
@FlamingFox

Thanks a lot for reporting the issue with the missing comma in the mod.txt file. As you've probably figured out already, I'm kind of sloppy, so I probably would've never found that mistake myself.

@[Ca$h.it] Winston Wolfe

Thank you for creating an Italian translation.

01-16-2017, 04:35 AM
Nvm the issue was the file name (which probably included™. It's resolved now.

01-16-2017, 02:31 AM
I found the problem, Wir.


Code:
{
    "name" : "VELOSync",
    "description" : "Resolve desync issues by increasing husk speeds",
    "author" : "VELOCiTY, thanks to Speedy for kek stuff and testing", -- You missed a comma at the end here. It broke the JSON.
    "version" : "4BETA",
    "hooks" : [  
        {
        "hook_id" : "lib/managers/menumanager", "script_path" : "lua/base.lua"
        },
        {
        "hook_id" : "lib/units/beings/player/huskplayermovement", "script_path" : "lua/husks.lua"
        },
        {
        "hook_id" : "lib/managers/localizationmanager", "script_path" : "lua/loc.lua"
        }
    ]
}

01-12-2017, 03:01 PM
https://pastebin.com/Gj2fKnQU

01-12-2017, 09:57 AM
Oh,sorry. it wasn't the problem with the mod. Don't care about what I said.

01-12-2017, 09:53 AM
My game is crashed after this mod is updated to new version. Can you take a look into it?(Maybe game is crashed because of mod conflict with your mod and a mod called "Less viewmodel & Camera Sway")

https://pastebin.com/B8Tn2yN9

01-11-2017, 06:53 PM
@FlamingFox
I have no other explanation for this other than a file being corrupted in some way, I suppose try redownloading the mod. Also, make sure that you don't have the old "VELOSync 3" folder.

01-11-2017, 02:47 AM
Everytime. Select it or hover it. It just kills the game.

01-08-2017, 10:34 PM
@FlamingFox
Does it occur every time you do that, or did this crash only occur once?

01-05-2017, 05:59 AM
When hitting Lua Mods in Options and hovering over Velosync, it crashes the game with this:

Code:
Wed Jan 04 22:55:18 2017


Application has crashed: access violation

-------------------------------

Callstack:

        payday2_win32_release  (???)     ???                                                


-------------------------------

Current thread: Main
Script stack:
               set_mod_info()  @mods/base/lua/MenuManager.lua:412                  
             highlight_item()  lib/managers/menu/renderers/menumodinfogui.lua:296  
             highlight_item()  core/lib/managers/menu/reference_renderer/coremenurenderer.lua:121  
                               lib/managers/menu/menurenderer.lua:206              
                           ()  =(tail                                              
                     call):-1  _call_callback()                                    
core/lib/managers/menu/coremenulogic.lua:327                                                      
core/lib/managers/menu/coremenulogic.lua:267  ()                                                  
                       =(tail  call):-1                                            
      _execute_action_queue()  core/lib/managers/menu/coremenulogic.lua:54        
                     update()  core/lib/managers/menu/coremenulogic.lua:64        
                     update()  core/lib/managers/menu/coremenumanager.lua:159      
                     update()  lib/managers/menumanagerpd2.lua:19                  
                               lib/setups/setup.lua:628                            
                           ()  =(tail                                              
                     call):-1  update()                                            
 lib/setups/menusetup.lua:288  update()                                            
@mods/base/lua/MenuSetup.lua:6                                                      
core/lib/setups/coresetup.lua:529  ()                                                  
                       =(tail  call):-1                                            

-------------------------------

System information:
    Application version : 1.61.1
    CPU : Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
    DirectX : 12.0
    GPU : NVIDIA GeForce GTX 750 Ti / nvd3dum.dll[21.21.13.7633]
    Language : @ID94cca2fdaccfc2cd@
    Memory :     8140MB 868KB
    OS : 6.2.9200 () 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Realtek Semiconductor Corp. (Speakers (Realtek High Definition Audio))