Disabled "ok" button on character creation screen
Armitxes opened this issue ยท 6 comments
The user "Shokibaer" reported that other players can't seem to join him as the "ok" button is disabled in the player registration menu.
Yesterday me and my friends tried this, but sadly the 5th could not create her farmer. well... the game announced her allright, she could give her a name and everthing. but the ok button was disabled and stayed that way. no matter what we did. rearranging cabins, razing and rebuilding cabins. nothing worked.
Any idea what we did wrong? ^^
I'll attempt to keep this concise. Dealing with the same problem, tried a few solutions (none working, but it narrows the issue).
My thoughts are on the recent-ish Stardew Beta update and it affecting the actual "saving" of the 5th character. Here's the methods I used:
5th player joins. Gets the blanked out "Okay." They leave game, rejoin, and nothing was saved. They redo their character and still have the issue. They close the game, rejoin from Steam friends, and still same problem.
When trying to sleep or join events, they still count as an Online Player for the join event headcount (ie 2/3). Same applies to sleeping, which brings us to...We wait until the 2am hard cutoff for people passing out. The 5th player is able to see and interact with the previous day's Sales Menu, and they are able to confirm there. They wake up in the "host's" bed. Then, they are able to play with us for some time until their game crashes (2/2 instances). The character is named, and they have the desired look. Upon rejoining the server, their cabin still has the free 15 parsnips, but none of their data is saved and they have to recreate the character.
This leads me to believe that the save data is corrupt within that 5th slot, or does not exist for any meaningful amount of time. I have been unable to try the 6th+ slots, but I'm assuming those will have the same issue.
Pastebin for the server Log: https://pastebin.com/mzazW1J3
ID for user in question is 195307779731575808 if you want to CTRL + F it.
comment by hawkewinter
Note to myself
Simplyfied code responsible for the "ok" button:
https://pastebin.com/hsBPdmXs
Seems as if the canLeaveMenu() method is the only thing that could get in the way here. Can't find anything related to slots or player count that would disable the "ok" button.
Things to check / debug:
I would expect the source for players joining to be "NewFarmhand" but then the "canLeaveMenu" would require "playername", "farmname" and "favoriteThing" to be set in order to enable the "ok" button. New players can only set their "playername" and "favoriteThing". The farmname would have to come from host or be set otherwise - something might be going wrong here.
Remember: Data of Farmhands is saved and attached to the cabin.
To fix it you must do the following:
-Open the save file of the farm.
-Find in the file the new user created, it must be after (already playing users are like Playername).
-After that, find and replace it with The name of your farm
An thats it! That should do the trick.
If you have any doubt just tell me so I can explain it a little more :)
To fix it you must do the following:
-Open the save file of the farm.
-Find in the file the new user created, it must be after (already playing users are like Playername).
-After that, find and replace it with The name of your farm
An thats it! That should do the trick.
If you have any doubt just tell me so I can explain it a little more :)
Hey! I know this is pretty much necroing this issue, but I was wondering if you could explain a little more as to what save file I should replace?
My friend is having trouble joining after having 4 people on the farm.
OK button is greyed out.
I went into %appdata%, opened Stardew Valley folder, went into Saves, and opened up my character that I am using to host the farm.
What should I be replacing?
In the folder there is:
character_216357129
character_216357129_old
SaveGameInfo
SaveGameInfo_old
Thanks!
Im having the same issue, but the @GlezSotelo 's solution isn't very clear. Is @Armitxes going to add a fix, or at least give a clear and simple solution?
Cases of this bug solved in https://github.com/Armitxes/StardewValley_UnlimitedPlayers/releases/tag/2020.2.15