PeakLobbyJoinFix

v1.0.0·Updated 2025-06-24

Fixes Steam lobby join timing issues in PEAK. Prevents 'Photon Room not found' errors when joining lobbies via steam://joinlobby links by waiting for Photon connection before attempting to join.

About this mod Author’s original text

Peak Lobby Fix

A BepInEx mod for PEAK that fixes Steam lobby join timing issues.

Problem

When joining PEAK through Steam lobby links (steam://joinlobby):

  • The game immediately tries to join the lobby
  • But Photon networking isn't connected yet
  • Results in "Photon Room not found" error and infinite loops

Solution

This mod:

  • Intercepts Steam lobby join attempts
  • Waits for Photon to fully connect
  • Automatically joins the lobby once ready
  • Includes timeout protection (10 seconds)

Installation

Manual Installation

  • Make sure BepInEx is installed
  • Download the latest release
  • Extract to BepInEx/plugins/ folder
  • Launch PEAK

Features

  • ✅ Fixes Steam lobby join timing issues
  • ✅ Waits for Photon connection before joining
  • ✅ Timeout protection (prevents infinite waiting)
  • ✅ Detailed logging for troubleshooting
  • ✅ Automatic retry system
  • ✅ Compatible with other PEAK mods

How It Works

  • Detection: Monitors Steam lobby join requests
  • Validation: Checks if Photon is connected and authenticated
  • Delay: If not ready, delays the join attempt
  • Execution: Automatically joins when Photon is ready
  • Cleanup: Resets state after successful join

Technical Details

The mod uses Harmony patches to intercept:

  • SteamLobbyHandler.TryJoinLobby() - Direct lobby join attempts
  • SteamLobbyHandler.OnLobbyJoinRequested() - Steam callback joins
  • NetworkConnector.OnConnectedToMaster() - Connection status tracking

Troubleshooting

Mod not working

  • Ensure BepInEx is properly installed
  • Check BepInEx/LogOutput.log for errors
  • Verify mod is in BepInEx/plugins/ folder

Still can't join lobbies

  • Check Photon connection status in logs
  • 10-second timeout may have expired
  • Try joining again after game fully loads
  • Write me in discord: icetypes

Compatibility

This mod is compatible with other PEAK mods. It only affects lobby join timing.

Logs

Look for these messages in BepInEx console:

  • Peak Lobby Fix Mod loaded - Simple approach!
  • Photon not ready, delaying lobby join for: [ID]
  • Photon is ready! Processing delayed lobby join...
  • Successfully initiated delayed lobby join!

Configuration

No configuration needed - the mod works automatically.

Support

If you encounter issues:

  • Check BepInEx logs
  • Report bugs with log files
  • Join the PEAK modding community

Changelog

1.0.0

  • Initial release
  • Fixed Steam lobby join timing issues
  • Added Photon connection waiting
  • Implemented timeout protection

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
PeakLobbyJoinFix-1.0.0.zip
File size
9.8 KiB
SHA-256
07b9788814cdd9b6a83d3047ca7aa8c506ab8b82243b44bffa7ddae6e60ae110
Stored at
2026-10-10 06:28