Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
NetworkSync
Fixes R.E.P.O. networking so co-op feels like singleplayer - no grab lag, no cart loot desync, smooth players and enemies.
By CVSwag
| Date uploaded | a day ago |
| Version | 0.4.0 |
| Download link | CVSwag-NetworkSync-0.4.0.zip |
| Downloads | 59 |
| Dependency string | CVSwag-NetworkSync-0.4.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
NetworkSync
Co-op R.E.P.O. that feels like singleplayer.
Everyone in the lobby must install it (host included), same version. If the host doesn't have it, the object features switch off and the game behaves like vanilla; the receiver-side smoothing still works.
What it does
- Hand authority - the player holding an object simulates it on their own PC. Grabbing, carrying, rotating and throwing react instantly, with no round trip to the host. Everyone else, including the host, sees it smoothly from a jitter buffer.
- Contact authority - doors and loose objects you knock into with something you hold, just threw, or a cart you push react instantly too, instead of acting like a wall.
- Instant doors - grabbing, running into or pushing a door with a held item moves it instantly; the host still runs the door logic (sounds, slams, breaking).
- Instant special items - grenades, mines, orbs, trackers, health packs, flashlights and other items are grabbed and thrown instantly too. Guns are an experimental option (off by default).
- Instant inventory - putting items into a slot and taking them out happens at once; the item is in your hand right away.
- Instant valuables - plain valuables, valuables with their own logic and trap valuables (toy car, egg, frog, boombox...) are grabbed instantly; the host still decides when a trap goes off.
- Instant tumble - pressing Q (and getting back up) reacts instantly instead of waiting for the host, and you fly and land like in singleplayer; the host must have NetworkSync too.
- Cart authority (experimental, off by default) - the player pushing a cart simulates the cart and everything inside it as one piece. Loot can't slide out or stick to the outside of the cart on someone else's screen. Turn it on in your config if you want to try it; the host only needs NetworkSync.
- Smooth players and enemies - buffered interpolation instead of "jump to the newest packet".
- Smoother held objects on the host - the grab points of remote grabbers are interpolated instead of stepping at the packet rate.
- Info panel (F10) - in the lobby and in game: who has NetworkSync and which version, every player's settings, what is on or off and why, live network stats, what percent of the game's items are instant, and which mods from the compatibility list you have and whether they work.
Mod compatibility
Works together with:
- NajRoles
- R.E.P.O. Fidelity
- MapValueTracker
Not recommended (works, but may cause disconnects or lobby problems):
- REPO_Steam_P2P - its custom server kicks players after 10 s of silence and breaks buffered messages.
Don't combine with (NetworkSync turns its hand/cart authority off while one of these is installed):
- RevivalSync
Config
BepInEx/config/networksync.repo.cfg - every feature has its own toggle, and each player's own settings decide what they get: the host only needs NetworkSync (same version), its toggles don't switch anything off for other players. The experimental features (cart authority, instant tumble, instant guns) are in the 1. Experimental section and are off by default. Turn on Verbose Logging when reporting a bug, and attach BepInEx/LogOutput.log from every player. The log prints a stats line every 10 s.
CHANGELOG
Changelog
0.4.3
- Fixed: upgrade orbs went to the wrong player. When two players held the same orb and pressed at once, the host or the player with the lower ping always got it. Now the player who really pressed first gets the upgrade. If only one player holds the orb, nothing changes.
- Fixed: one press used up two upgrade orbs. When the host pressed E on its orb, an orb another player was holding could be used too, and both upgrades went to the host. Now an E press only uses the orb in your own hand.
- Protocol 8. Not compatible with 0.4.2 and older (everyone, the host included, needs 0.4.3).
0.4.2
- Carts carry more (
Cart Authority (Experimental)). Instant valuables and items (toy monkey, trap valuables, special items, tools, death heads) now ride in a cart you push instead of turning the whole cart vanilla. If one of them goes off (a trap triggers, a mine arms, an orb turns on), the host takes the cart back. - Pocket cart works like a normal cart (needs
Cart AuthorityandInstant Special Items). Putting it into and taking it out of the inventory stays the host's. - Cart cannon (carried), revolver and photon blaster are instant again. A hidden bullet template inside them kept them vanilla. A cannon mounted in a cart still stays with the host.
- Drone and orb effects work on items you hold. Feather, zero gravity, indestructible and torque drones and orbs now affect an item even while you simulate it (before, the effect only reached the host's copy, so a held item never got lighter).
- More valuables are instant: radio, clown, bottle, ice saw, gramophone, flamethrower, fire extinguisher, harp, banjo, guitar. Small timer, music key and flame scripts used to keep them vanilla.
- Instant Death Heads is no longer experimental (
2. Main→Instant Death Heads, on). - Protocol 7. Not compatible with 0.4.1 and older (everyone, the host included, needs 0.4.2).
0.4.1
- Fixed: experimental features did nothing when turned on. A game update added small cosmetic scripts to many objects, and NetworkSync treated them as unknown game logic, so those objects stayed vanilla:
- carts (
Cart Authority), and doors with the new rider points; - guns after their first shot (the muzzle flash;
Instant Guns); - death heads (
Instant Death Heads); - the toy monkey (
Instant Active Trap Valuables); - orbs dropped by enemies (
Hand Authority).
- carts (
- Same protocol as 0.4.0, but the host checks objects with its own copy, so the host needs 0.4.1 for these fixes.
0.4.0
- Instant inventory (
2. Main→Instant Inventory, on). Putting an item into a slot and taking it back out happens at once; the item is in your hand right away. The host still checks every move.- NajRoles Strongman cargo is instant too (part of
Instant Inventory, no separate setting). - Items that the game or other mods hide (inventories, stashes) are handed back to the host cleanly.
- NajRoles Strongman cargo is instant too (part of
- Trap valuables are instant (
2. Main→Instant Trap Valuables, on): boombox, cocktail, tray, barrel, blender, gumball machine, milk, music box, clock, gramophone, radio, TV. The host still decides when a trap goes off.- Traps that act on their own (toy car, horse, plane, frog, egg, baby head, clown, bottle, propane tank, chomp book, toy monkey, ice saw, broom, traffic light, animal crate, fan) are in
1. Experimental→Instant Active Trap Valuables (Experimental), off. While one drives, jumps or flies, the host simulates it like in vanilla.
- Traps that act on their own (toy car, horse, plane, frog, egg, baby head, clown, bottle, propane tank, chomp book, toy monkey, ice saw, broom, traffic light, animal crate, fan) are in
- More valuables with their own logic are instant (
Instant Tools & Weapons): star wand, lighter, phone, scream doll, bouncy cube, crystal ball, jackhammer, snake in a can, fire extinguisher, flamethrower. With default settings 56 of the game's 76 valuable scripts are instant (72 with the experimental traps on). - Doors you walk into open at once. Pushing a door with your body no longer waits for the host, and the door isn't handed back while you are still pushing it.
- Instant tumble is no longer experimental (
2. Main→Instant Tumble, on). Landings are fixed: you now simulate your own tumble body with the game's own code for the whole flight, so landings no longer snap back or bounce twice. The host follows you and still applies damage. - F10 panel rewritten. Pages (Players / Settings / Network / Coverage / Mods, arrow keys to switch and scroll):
- every player's settings, what differs from the default, and what is ON but not active for them and why;
- per-player ping, owned objects, claims, errors and recent warnings;
- Coverage: what percent of the game's valuables, items and weapons are instant with your settings;
- Mods: which mods from the compatibility list you have installed and whether they work together with NetworkSync.
- Mod compatibility list trimmed to NajRoles, R.E.P.O. Fidelity, MapValueTracker, REPO_Steam_P2P and RevivalSync.
- Protocol 6. Not compatible with 0.3.x and older.
0.3.0
- Your settings are yours. Each player's own toggles decide what they get. The host only needs NetworkSync with the same version, even if it turned those features off for itself.
- Pushing things with a held item (
2. Main→Contact Authority, on). Doors and loose loot you bump with the item in your hands react instantly instead of acting like a wall. - Gun shots are computed by the shooter (
1. Experimental→Instant Guns (Experimental), off).- The shot, sound and recoil are instant, and bullets land where you aimed.
- The host checks the result and applies the damage once.
- Works for the pistol, shotgun and tranq gun. The laser beam follows the shooter's aim.
- More items without delay (
2. Main→Instant Tools & Weapons, on): staffs, ladder, leaf blower, walkie-talkie, rubber duck, revive item, valuable box, drones while switched off, cart cannon and cart laser while carried outside a cart, and valuables with their own logic.- Music instruments now count as special items.
- Upgrade orbs: when two players press at the same time, the host picks the first press, so only one player gets the upgrade.
- Revolver can be held without delay with Instant Guns on. Its flick-spin works from your hands.
- New experimental options (off by default):
Instant Melee Weapons (Experimental): bats, swords, inflatable hammer, stun baton.Instant Death Heads (Experimental).
- Fixed: instant tumble flew through walls.
- The flight now collides like on the host.
- The speed is capped at the game's own 40 m/s limit.
- Catching up with the host's position no longer pulls you into a wall.
- Still vanilla: the vehicle, whip, star wand, and valuables that move on their own (toy car, horse, boombox and so on).
- Protocol 5. Not compatible with 0.1.x and 0.2.x.
0.2.0
- Instant doors (config
2. Main→Instant Doors, on).- Grabbing or running into a door moves it instantly on your screen.
- The host still runs the game's door logic: sounds, slams, breaking off the hinges.
- Instant special items (
2. Main→Instant Special Items, on). Grenades, mines, orbs, the tracker, health packs, flashlights and other simple items can be grabbed and thrown instantly.- The host takes an item back while it is armed or switched on (mine, orb, tracker) or going into the inventory.
- Fuses, explosions and damage stay on the host.
- Instant guns (
1. Experimental→Instant Guns (Experimental), off). Aiming and recoil are instant; the shot itself is still decided by the host. - Fixed: small items didn't break when a client held or threw them with hand authority on. A break-protection timer the game only counts down on the host stayed active on the client forever. Value loss and destruction now work like in vanilla.
- Fixed: instant tumble lost momentum. Run + jump + Q now flies forward like in vanilla instead of dropping straight down. Still experimental and off by default.
- Still vanilla for now: melee weapons, drones, staffs, the revolver, cart cannon/laser, rubber duck, leaf blower, walkie-talkie, revive item, upgrade orbs, death heads and enemies.
- More detail in the verbose log (
[impact]and[door]lines) and in the F10 panel. - Protocol 4. Not compatible with 0.1.x.
0.1.21
- Release.