You are viewing a potentially older version of this package. View all versions.
TGO-SyncUpgrades-2.1.2 icon

SyncUpgrades

Syncs upgrades between all players in a game. Client -> Host -> All or Host -> All.

Date uploaded 5 days ago
Version 2.1.2
Download link TGO-SyncUpgrades-2.1.2.zip
Downloads 3223
Dependency string TGO-SyncUpgrades-2.1.2

This mod requires the following mods to function

Zehs-REPOLib-2.1.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 2.1.0

README

Sync Upgrades

  • Only needed on the host!
  • Supports modded upgrades!
  • If any player consumes an upgrade, it will be synced to all other players.
  • If a player joins late, they will receive all the host upgrades.

What makes this different?

  • You may be familiar with SharedUpgrades or SyncHostUpgrades

  • This mod is a combination of both, and it is not buggy, not laggy, and not inefficient.

  • The code behind this mod only runs when a player consumes an upgrade, a player joins the game, or a level is loaded.

  • This is different behavior than the other mods, which run every frame to check for upgrades.

    • The before mentioned problem causes lag, fps drops, stutters, and other bugs.
  • It was programmed and designed properly.

What's the technical workflow?

  1. When a player consumes an upgrade, the server receives the upgrade event.
  2. If the player is the host, the server checks all clients and ensures they are on the same level as the host.
    • If they are not on the same level, the server sends the upgrade event for that player to all clients.
  3. If the player is not the host, then the server upgrades the host first, which triggers the upgrade event once again (2).

CHANGELOG

2.1.6

  • Updated method patches for the latest beta version of REPO

2.1.5

  • For modded upgrades registered with REPOLib:
    • Added dynamic config options to disable modded upgrade synchronization
    • Fixed a small sync bug with modded upgrades

2.1.2

  • Added support for TumbleWings and CrouchRest (Beta)
  • Ensures backwards compatibility with previous versions of REPO (non Beta)
  • Fixed naming and description of config entries

2.0.7

  • [x] Fixed modded upgrade synchronization (now works 100% for REPOLib registered upgrades)
  • [x] Fixed client disconnect bug when duplicate networking operations are sent (removed duplicate networking)
  • Rewrote SyncManager & removed ALL instances of duplicate networking
  • Added ISyncRequest queue and queue processing for network operations
    • Operations are now execute per FixedUpdate instead of per iteration
  • Changed BepInEx version to 5.4.21
  • Migrated project settings to use NuGet packages for some dependencies
  • Added tons of logging to the debug builds (on GitHub)

1.9.2

  • Fixed accidental DOS on clients. Some reason the game calls "ChangeLevel" 17 trillion times when the game restarts after the arena

1.8.6

  • Updated dependencies and readme

1.8.4

  • Changed icon (made by actibytes)
  • Changed networking behavior to increase efficiency (any slander from Lordfirespeed is outdated)
  • Somehow forgot and have now added MapPlayerCount and ExtraJump upgrades

1.5.6

  • Initial release