You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Constants.SaveFolderName returns a string of the form "name_id". The host/main farmer receives the expected result, e.g. "FooBar_304200428" for the farm with name "FooBar" and id "304200428". A guest/farmhand receives a string with no farm name and only the id, e.g. "_304200428". This happens in both split-screen and regular multiplayer modes.
To Reproduce
The issue can be observed without any mods through the standard log output, but I've included a test mod entry file that will showcase the issue with Constants.SaveFolderName directly. It can be observed in either regular multiplayer or split-screen, so the reproduction steps and SMAPI log file will be using split-screen for simplicity.
Launch the game. Optionally include TestMod (below) in the Mods folder.
Load any save and start local co-op. (My save is "FooBar_304200428")
Join the game with a gamepad controller and create/select a character.
View the log output (first and last two lines):
[14:11:13 TRACE SMAPI] Context: loaded save 'FooBar_304200428', starting summer 19 Y1, locale set to . Single-player.
[14:11:13 DEBUG TestMod] FooBar_304200428
[14:11:20 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:1920 Height:1080}
[14:11:28 TRACE game] Starting multiplayer server for local multiplayer...
[14:11:28 TRACE game] Starting server. Protocol version: 1.6.6
[14:11:28 TRACE game] Starting LAN server
...
[14:11:34 TRACE screen_1 SMAPI] Received context for host 6355978755418457551 running SMAPI 4.0.8 with 3 mods.
[14:11:34 TRACE screen_1 game] gameMode was 'loadingMode (6)', set to 'playingGameMode (3)'.
[14:11:34 TRACE screen_1 SMAPI] Context: loaded save '_304200428', starting summer 19 Y1, locale set to . Farmhand with 2 players online.
[14:11:34 DEBUG screen_1 TestMod] _304200428
Describe the bug
Constants.SaveFolderName
returns a string of the form "name_id". The host/main farmer receives the expected result, e.g. "FooBar_304200428" for the farm with name "FooBar" and id "304200428". A guest/farmhand receives a string with no farm name and only the id, e.g. "_304200428". This happens in both split-screen and regular multiplayer modes.To Reproduce
The issue can be observed without any mods through the standard log output, but I've included a test mod entry file that will showcase the issue with
Constants.SaveFolderName
directly. It can be observed in either regular multiplayer or split-screen, so the reproduction steps and SMAPI log file will be using split-screen for simplicity.Log file
Full log output: https://smapi.io/log/ef42253c5868478087181f7c329a20a1
The text was updated successfully, but these errors were encountered: