Stardew Valley

Stardew Valley

View Stats:
dboi Jun 28, 2024 @ 7:41am
This mailbox doesn't belong to you
Hi, I play coop with my gf (she's the host) but i switched from xb gamepass to steam so I had to edit some files on her computer so I could join from steam and still play the same character, but now my mailbox says it doesn't belong to me so i can't open my mail. can i fix this?
Last edited by dboi; Jun 28, 2024 @ 1:33pm
< >
Showing 1-8 of 8 comments
john1v6 Jun 28, 2024 @ 9:27am 
Maybe there's something else in the save file that says who the mailbox belongs to? If you had to make other changes to be able to join, maybe there's some other change you also need to make. I'm just guessing, but it could give you a starting point toward finding a fix.
dboi Jun 28, 2024 @ 1:23pm 
the only thing i could find was this: <farmhouseMailbox>false</farmhouseMailbox>
NBOX21 Jun 28, 2024 @ 1:31pm 
Originally posted by 𝓕𝓻𝓮𝓪𝓴𝓑𝓸𝓫:
the only thing i could find was this: <farmhouseMailbox>false</farmhouseMailbox>
If that's the case, the first thing I would try is setting this value to True and see if this fixes your problem. :butterfly:
dboi Jun 28, 2024 @ 1:39pm 
didn't work
Mharr Jun 29, 2024 @ 4:50am 
This looks like the solution, your player <userID> number will have changed.
https://old.reddit.com/r/StardewValley/comments/11uu8aq/how_do_i_transfer_ownership_of_a_character_in_a
Originally posted by u/Carr-Peydiem:
OMG don't delete yet!

Edit: Try this first

Transferring a SV co-op character to a different Steam account:

This will only work for whomever has access to your save files and owns the multiplayer save, so the host will have to do this:

a) search the host save file for <farmhand><name> and then that character's name (e.g. <farmhand><name>Jason< if that character was named Jason)
b) from there, search for the next instance of the string <userID>
c) it should have their steam account number in it. if you empty out that value so that it looks like <userID></userID> it should let them use that character when they connect to the game from their new account

Windows users can find the saves folder by pasting %AppData%\StardewValley\Saves\ into the Run box. There is a folder containing your save that looks like FarmName_12345678. You want to first put a copy in a secure place to put back into your saves in case of error. In the folder there are files that end with - old, these are the previous day, ignore these. You want to change only the file with your farmName_number, not the SaveGameInfo.
dboi Jun 29, 2024 @ 5:28am 
Originally posted by Mharr:
This looks like the solution, your player <userID> number will have changed.
https://old.reddit.com/r/StardewValley/comments/11uu8aq/how_do_i_transfer_ownership_of_a_character_in_a
Originally posted by u/Carr-Peydiem:
OMG don't delete yet!

Edit: Try this first

Transferring a SV co-op character to a different Steam account:

This will only work for whomever has access to your save files and owns the multiplayer save, so the host will have to do this:

a) search the host save file for <farmhand><name> and then that character's name (e.g. <farmhand><name>Jason< if that character was named Jason)
b) from there, search for the next instance of the string <userID>
c) it should have their steam account number in it. if you empty out that value so that it looks like <userID></userID> it should let them use that character when they connect to the game from their new account

Windows users can find the saves folder by pasting %AppData%\StardewValley\Saves\ into the Run box. There is a folder containing your save that looks like FarmName_12345678. You want to first put a copy in a secure place to put back into your saves in case of error. In the folder there are files that end with - old, these are the previous day, ignore these. You want to change only the file with your farmName_number, not the SaveGameInfo.
This solution helped me access my character but not the mailbox
Mharr Jun 29, 2024 @ 6:54am 
Hmm. You may need to demolish that cabin and rebuild it. Host might need to be in single player mode for that?

There's also a Buildable / Craftable Mailbox mod but idk how that reacts to multiplayer.

Try this, search the save for " Cabin</string>" followed by "<owner>" and change that number to match your "<UniqueMultiplayerID>" which is a different thing to "<userID>" and can be found after "<Farmer><name>PlayerNameHereObv".

New option, the Better Cabin mod https://www.nexusmods.com/stardewvalley/mods/25368 just updated. Allows the host to reset cabin ownership so a new player can move in.
Last edited by Mharr; Jun 30, 2024 @ 4:25am
Ryuzaki Jul 8, 2024 @ 2:16pm 
I had the same issue and spent a bit of time with the XML for the save, comparing it to a new coop game I made.

For context: We started a new game with my friend hosting - stopped for the day, and when we tried to load the game my character wasn't mine. I made the change noted above, but the mailbox was broken (though I could see that I had mail).


The multiplayer partners are described in the <farmhand> tag. The important subtags are <userID>, <UniqueMultiplayerID>, and <homeLocation>.
Cabins are stored in <Building> tags, which holds all of the information about the owner, furniture, positions, mailbox, etc. Important tags for our purposes are <uniqueName> and <farmhandReference>.

Troubleshooting steps:

0 - if the character can't be accessed when joining the game, clear the userID tag to <userID /> in the appropriate farmhand object. Just search for the player name and then look for the next userID tag. Make sure that it only has a closing tag with the space, no opening. Literally "<userID />" only. If set, it will be a large number. Copy the unique multiplayerID after you can login - note that you may need to join the game and have it save to update the multiplayer ID before moving on.

1 - Find the appropriate cabin object. This might involve trial and error (unless you check the coordinates). The string ID for the cabin should correspond to how it looks (check the wiki page: https://stardewvalleywiki.com/Cabin)
e.g.
<Building>
<id>c41d8571-a640-435d-b9a3-6f3dd218028d</id>
<skinId>
<string>Plank Cabin</string>
</skinId>

Now set the cabin's <farmhandReference> to the UniqueMultiplayerID from step 0.
e.g. <farmhandReference>5791375371662942215</farmhandReference>

This is the step that fixed the mailbox for me.

2 - Make sure that the <homeLocation>INSERTHERE</homeLocation> tag for the farmhand is set to the corresponding value for the associated cabin's <uniqueName>. This should look something like FarmHousecf56d7ed-fb93-4570-98cb-16e57ce784e9. Note that the uniqueName is not the same as the <id> tag above.

This is probably already set, but may need to be done in conjunction with 1. to access the mailbox.

optional: remove any tags with the unused/old/broken UniqueMultiplayerID from
<farmerFriendships>
<item>
<key>
<FarmerPair>

and
<cellarAssignments>
<item>
<key>
<int>1</int>
</key>

This probably doesn't need to be done, but I don't know what the cellar is for yet, so it might be best to do it anyway. (Also make sure to set the <int> values sequentially from 1 upwards. If a UniqueMultiplayerIDwas removed then there might be a break, from 1 to 3.


This should pretty much fix everything. You may also want to do a find and replace for the UniqueMultiplayerID of the "old" player that was associated with the character for the new UniqueMultiplayerID that you have now. I did this before doing Step 1 and 2, so I'm not sure how necessary it is.
Last edited by Ryuzaki; Jul 8, 2024 @ 2:17pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jun 28, 2024 @ 7:41am
Posts: 8