xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
887 stars 68 forks source link

Players other than Host getting bugged - Co op to Dedicated Server #121

Closed SpecialAnubis closed 5 months ago

SpecialAnubis commented 5 months ago

I would love someone who actually knows what they're talking abouts input on this as I literally have no idea.

When I upload my files straight from my friends co op world to my dedicated server, (he's the host.) it seems to work for me right away. I have my guild, and I also have all my Pals. It doesn't work for him of course, because I haven't ran the script yet. his GUID is still set as 000000~1.

However, when I then RUN the script and update the files on my dedicated server to match what the script has fixed - My own character breaks. He can now log on, and still be in his guild; but my own character practically gets removed from the game. I have to create a new character.

The bit I'm really interested in is, why could this be happening? Does me running the script cause changes in the level.sav file that breaks my own character?? I have no experience, I'm simply copying the instructions listed, so some advice/input from someone who actually has any clue about this would be super super helpful.

Another thing, not sure if it's important or not, but on the Co op server, I joined on a second account. (This was because I didn't realise that the Guild bug was fixed.) On that second account (it's level 2.), I joined my friends guild so I can pass it over to him when we're on my Dedicated server. Interestingly, this second account doesn't get reset. Only my MAIN account does. This is the part that's confusing me the most. My second account is still in his guild, and hasn't been changed at all; but my main account (Level 34.) get's completely removed from the server.

Any advice or input would be so helpful! Sorry for the messy post. I'm writing this rather late at night after I've been trying to figure this out myself all day. Thank you for reading. :)

EDIT: I forgot to mention, my GUID doesn't change. My GUID on the Co op server is the exact same as my GUID on my dedicated server.

Nacixem commented 5 months ago

are you using the startup command "-nosteam" on the dedicated server?

SpecialAnubis commented 5 months ago

Thank you for responding.

I'm not sure - How would I check if that setting is enabled?

Nacixem commented 5 months ago

I'm not sure - How would I check if that setting is enabled?

right click palworld dedicate server > Properties >under "Launch options"

SpecialAnubis commented 5 months ago

Ah, I'm using IB as a server provider, not running one from my PC

(indifferent broccoll)

Nacixem commented 5 months ago

oh okay, i would suggest trying to follow this guide then https://www.reddit.com/r/Palworld/comments/19bcui7/transfer_coop_save_to_dedicated_server/kj5nul0/?context=3 the reasoning is because you are in a similar situation as them (friend was co-op host, but now you are going to be the dedicated host) Specifically, the 000000000001.sav is meant for the host of the game, which that person is no longer. in the thread I linked you, the person deleted it because of that.

SpecialAnubis commented 5 months ago

Thanks!

I've tried to follow this guide multiple times - not sure where the hitch is coming from. It completely overrides only my main player, when I wasn't even the co op host. Weird.

xNul commented 5 months ago

This bug is being handled under https://github.com/xNul/palworld-host-save-fix/issues/26 so I'm going to close this issue. If you want updates on it, feel free to subscribe to it.

And to answer your earlier question, I'm not sure why the fix is causing other players to bug out but I might be able to figure it out as I work to fix it.