Report Download
VELOSync
Version 5
Last Updated: 01-26-2017, 09:52 PM
MD5: 55636a3055fb83f145f6363d5874d5b9
Downloads: 12995
Views: 60420
3 0
VELOCiTY
Submitter (Submissions)

[-]
Description
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.


[-]
[-] License
donacdum

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

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
http://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")

http://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))


12-21-2016, 08:03 PM
ou new verzion coemd ill chek it

12-21-2016, 08:00 PM
nope i dotn paly in czech but qestion why o n new map desynch is thing?

12-21-2016, 04:01 PM
@THE EX-PRESIDENT (DRUG TITO)
It seems the only reason this could have happened is due to the Czech localization file being loaded. You don't play the game in Czech, do you?
If the issue persists, make sure you're using the newest version. I'll try fixing the localization file issue and upload the fix as soon as I can.

12-21-2016, 03:49 PM
 crashed: C++ exception

mods/base/req/json.lua:366: Unexpected character at Line 1 character 1:
since this update gmae was desynching or starting crashing all time

12-07-2016, 07:57 AM
And by in-game I actually mean mid-heist. :P

12-07-2016, 07:57 AM
@VELOCiTY So pimpmycar.lua was not a way to change the van skin in-game? Aw... ;_;

12-01-2016, 01:42 PM
@Zdann

The reason for this is very simple: I like to try a variety of different old scripts, but due to my overall laziness, I can never be bothered with making a new mod folder and mod.txt, so I temporarily modify my local VELOSync version to hook a specific file as needed.

Again due to my laziness and because of the fact that I really rushed the last update, I forgot to thoroughly check if there are any improper files left, resulting in "pimpmycar.lua" being distributed with the mod. I can assure you that the damage done is minimal because it is not defined in the mod.txt file, so it's not hooked into the game. I apologize for this occurrence.