Insprill / dv-multiplayer

A Derail Valley mod adding multiplayer to the game.
Apache License 2.0
40 stars 20 forks source link

How to use #42

Open CraftyUnknown opened 5 months ago

CraftyUnknown commented 5 months ago

How do I use the mod after I installed it?

AMacro commented 4 months ago

If you are playing over LAN:

  1. One player (the host) needs to open Derail Valley and in UnityModManager set a password
  2. The host starts a game (like you normally would)
  3. Other players need to click 'join' and enter the IP and port of the computer hosting as well as the password from step 1
  4. Enter the password set in step 1

If you are playing over the internet:

  1. One player (the host) will need to open a port in their router (default is 777)
  2. The host needs to open Derail Valley and in UnityModManager set a password
  3. The host needs to start a game (like you normally would)
  4. Other players need to click 'join' and enter the Remote IP and port of the computer hosting as well as the password from step 2

Notes:

CraftyUnknown commented 1 month ago

Whats the proper way to install the mod? I dont know what .zip file to drag into the UnityModManager. Whenever I zip all the files together (including the dist and build) and drag it into mod manager, it installs but in the game there is the error "AssemblyName" is null or something like that.

CraftyUnknown commented 1 month ago

Mono path[0] = 'C:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Managed' Mono config path = 'C:/Program Files (x86)/Steam/steamapps/common/Derail Valley/MonoBleedingEdge/etc' Initialize engine version: 2019.4.40f1 (ffc62b691db5) [Subsystems] Discovering subsystems at path C:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03) Vendor:
VRAM: 6031 MB Driver: 31.0.15.5241 Begin MonoManager ReloadAssembly

[Manager] Injection... [Manager] Initialize. [Manager] Version: 0.28.2.0. [Manager] OS: Microsoft Windows NT 10.0.22631.0 AMD64. [Manager] Net Framework: 4.0.30319.42000. [Manager] Unity Engine: 2019.4.401. [Manager] Game: Derail Valley. [Manager] IsSupportOnSessionStart: True. [Manager] IsSupportOnSessionStop: False. [Manager] Mods path: C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods. Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Mono/data-000002835FA9B9B0.dll Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Mono/data-0000028363298100.dll [Manager] Injection successful.

UnloadTime: 0.489100 ms [Globals] fetching default config from resources (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

The referenced script on this Behaviour (Game Object 'C_BreakerStarter') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object 'C_BreakerStarter') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object 'C_BreakerTM') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object 'C_BreakerTM') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

[Manager] Starting. [Manager] Parsing mods. [Manager] Reading file 'C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\BookletOrganizer\Info.json'. [Manager] Reading file 'C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\dv-multiplayer-master\Info.json'. [Manager] Reading file 'C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\RadioBridge\Info.json'. [Manager] Reading file 'C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\Utilities\Info.json'. [Manager] Sorting mods. [Manager] Loading mods. [BookletOrganizer] Version '1.1.1'. Loading. [BookletOrganizer] Active. [BookletOrganizer] Loading time 0,07 s. [Multiplayer] Version '0.1.0'. Loading. [Multiplayer] [Error] AssemblyName is null. [Multiplayer] Optional mod 'RemoteDispatch' not found. [Multiplayer] Loading time 0,00 s. [RadioBridge] Version '1.0.1'. Loading. [RadioBridge] Active. [RadioBridge] Loading time 0,04 s. [Utilities] Version '1.1.2'. Loading. [Utilities] Active. [Utilities] Loading time 0,01 s. [Manager] FINISH. SUCCESSFUL LOADED 3/4 MODS.

Initializing console (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Creating UnloadWatcher singleton instance '[UnloadWatcher]' automatically (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RadioBridge] Starting HTTP server on port 7100 WorldStreamingInit doesn't implement AllowAutoCreate method, assuming 'false' (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Build version: Build 98 Build destination: steam Build timestamp: 2024-02-12 16:53:01.979191 UTC Build number: build1431 Build type: release Build GUID: 80236bbbc45199d47bbd685e7a4b9790 App version: 0.98 App identifier: Build tags: OS: Windows 11 (10.0.22631) 64bit CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz CPU freq: 3192 RAM: 16259 GPU: NVIDIA GeForce GTX 1060 6GB GPU vendor: NVIDIA GPU memory: 6031 Log timestamp: 2024-08-21 12:55:31 UTC (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Command line args: C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\DerailValley.exe -nonvr (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[bootstrap] Non-VR mode requested (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[bootstrap] Skipping entitlement check, switching to next scene (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[SceneSwitcher] bootstrapping to next scene with index 1 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 6 Unused Serialized files (Serialized files now loaded: 0) [RadioBridge] replacing existing command RadioBridge.CommandTerminal.CommandInfo [RadioBridge] replacing existing command RadioBridge.CommandTerminal.CommandInfo [RadioBridge] replacing existing command RadioBridge.CommandTerminal.CommandInfo DV.DopplerEffects.ADopplerListener doesn't implement AllowAutoCreate method, assuming 'false' (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

UnloadTime: 1.050300 ms DV.UserManagement.UserManager doesn't implement AllowAutoCreate method, assuming 'false' (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[UserManagerInstantiator] instantiating a new UserManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Checking for save imports... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

No new save imports for Player 2 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Save importing phase done. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote key bindings configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 67 unused Assets to reduce memory usage. Loaded Objects now: 140342. Total: 88.558300 ms (FindLiveObjects: 4.072400 ms CreateObjectMapping: 11.806400 ms MarkObjects: 72.377300 ms DeleteObjects: 0.301700 ms)

Supported resolutions: 800 x 600 1024 x 768 1152 x 864 1176 x 664 1280 x 720 1280 x 768 1280 x 800 1280 x 960 1280 x 1024 1360 x 768 1366 x 768 1440 x 900 1440 x 1080 1600 x 900 1680 x 1050 1920 x 1080 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Texture streaming is enabled. Memory budget is 4222 (70%) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\localization (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[LocalizationLoader] Ingesting localization from C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\localization (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[LocalizationLoader] didn't find dir 'C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\localization', will not ingest new localizations (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[SceneSwitcher] bootstrapping to next scene with index 2 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 4 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 3.679100 ms [SceneSwitcher] no queued scene, switching to next scene with index 3 (nextSceneToLoad was -1) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 140335. Total: 88.886800 ms (FindLiveObjects: 4.463100 ms CreateObjectMapping: 10.419100 ms MarkObjects: 73.810800 ms DeleteObjects: 0.193400 ms)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

The referenced script on this Behaviour (Game Object '[VR Collider]') is missing! (Filename: Line: 334)

WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShaderSelfOccluding' - All passes removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader Unsupported: 'OvrAvatar/Avatar_PC_SingleComponentExpressive' - All passes removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShader' - All passes removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader Unsupported: 'OvrAvatar/AvatarPBRV2Simple' - All passes removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? Unloading 6 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 0.911900 ms [UserManagerInstantiator] doing nothing, UserManager already exists (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote key bindings configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Wrote game preferences configuration: C:\Users\Fabian\AppData\LocalLow\Altfuture\Derail Valley\Preferences\002_Player_2.ini (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Using ScenarioCRUD path 'C:/Users/Fabian/AppData/LocalLow/Altfuture/Derail Valley/Users/002_Player_2/GameData/assets' (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Check for unsaved difficulties... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unsaved difficulties phase done. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

ManualDataLoader: Manual data loaded for language: 'german'. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

SaveLoadController session is null (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

RefreshData fallback to empty lists (gameMode: '', userProfileProvider null?: True, scenariosProvider null?: True) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

RefreshData fallback to empty lists (gameMode: '', userProfileProvider null?: True, scenariosProvider null?: True) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 169259. Total: 129.029800 ms (FindLiveObjects: 6.474800 ms CreateObjectMapping: 11.221500 ms MarkObjects: 111.064100 ms DeleteObjects: 0.268900 ms)

VR is not enabled, destroying MainMenuVREnabler (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Supported resolutions: 800 x 600 1024 x 768 1152 x 864 1176 x 664 1280 x 720 1280 x 768 1280 x 800 1280 x 960 1280 x 1024 1360 x 768 1366 x 768 1440 x 900 1440 x 1080 1600 x 900 1680 x 1050 1920 x 1080 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

SaveLoadController session is null (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Creating DV.Common.GameFeatureFlags singleton instance '[GameFeatureFlags]' automatically (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Creating UnlockablesManager singleton instance '[UnlockablesManager]' automatically (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Recalculating DVObjectModel caches (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Creating DV.Telemetry.TelemetryCentral singleton instance '[TelemetryCentral]' automatically (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

UIMenuController proceeding with switching the menu to index 0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 2 Unused Serialized files (Serialized files now loaded: 0) [Manager] Spawning. Texture streaming is enabled. Memory budget is 4222 (70%) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[Manager] Checking updates.

Unloading 279 unused Assets to reduce memory usage. Loaded Objects now: 170946. Total: 136.020400 ms (FindLiveObjects: 6.144400 ms CreateObjectMapping: 11.269800 ms MarkObjects: 117.326500 ms DeleteObjects: 1.279400 ms)

AMacro commented 1 month ago

@CraftyUnknown Hey Crafty, I think I see you in the Altfuture discord, I'll ping you a message there