Coder Social home page Coder Social logo

Comments (7)

SpecialAnubis avatar SpecialAnubis commented on August 15, 2024 1

I was redirected here by xNul.

Interestingly, switching to @JannikBirn 's variation of xNuls host save fix, it worked flawlessly first time.

( https://github.com/JannikBirn/palworld-host-save-fix/tree/main?tab=readme-ov-file )

I don't know what is different between his script and @xNul s, But his seemed to work for me. My character remained in tact, as did the original co op hosts. Just putting this here so if anyone is still having trouble with this bug, you can use @JannikBirn script instead for now - as it seems to have fixed the bug already.

from palworld-host-save-fix.

xNul avatar xNul commented on August 15, 2024

Thanks for the issue. I've seen a couple people saying the script actually caused other players to lose their characters but I wasn't sure it was true until I read your issue. Did you use the version of the script I uploaded six hours ago or the one before? If you used the version that's been available for the last six hours, can you try commenting out lines 102-110 like so:

like so:

#group_ids_len = len(level_json["root"]["properties"]["worldSaveData"]["Struct"]["value"]["Struct"]["GroupSaveDataMap"]["Map"]["value"])
#for i in range(group_ids_len):
#	group_id = level_json["root"]["properties"]["worldSaveData"]["Struct"]["value"]["Struct"]["GroupSaveDataMap"]["Map"]["value"][i]
#	if group_id["value"]["Struct"]["Struct"]["GroupType"]["Enum"]["value"] == "EPalGroupType::Guild":
#	   group_raw_data =  group_id["value"]["Struct"]["Struct"]["RawData"]["Array"]["value"]["Base"]["Byte"]["Byte"]
#	   raw_data_len = len(group_raw_data)
#	   for i in range(raw_data_len-15):
#		   if group_raw_data[i:i+16] == old_level_formatted:
#			  group_raw_data[i:i+16] = new_level_formatted

and trying to use the script on the host again? It could be related to those changes.

from palworld-host-save-fix.

brstillwell avatar brstillwell commented on August 15, 2024

Commenting out this code is breaking the server when the person who was not part of the Coop save is joining.

This was ran on the 3 Coop save users and we are able to join with our characters but not in the guild. When that new friend joins he gets stuck on a loading screen then the server crashes. I am assuming it is because an error loading his character.

from palworld-host-save-fix.

xNul avatar xNul commented on August 15, 2024

ok then I guess it isn't related to the new guild fix so it's probably something else. Have you tried having him create a new character then using my script to move his data from his old save to the new one?

from palworld-host-save-fix.

brstillwell avatar brstillwell commented on August 15, 2024

The strange thing is that he doesn't get a new save. It just wipes his save and starts him over with the same GUID.

from palworld-host-save-fix.

xNul avatar xNul commented on August 15, 2024

Unfortunately I don't have time to debug individual saves so we'll have to wait until someone figures out the cause of the bug and fixes it, or I'm able to finish a parser I'm working on for the byte data to make it easier to understand all of these kinds of bugs and avoid them.

For the future, I'm going to close similar issues and redirect them to mega-issues like this one because I'm just one person and I don't have the time to troubleshoot for all the people using the tool.

from palworld-host-save-fix.

xNul avatar xNul commented on August 15, 2024

Oops, accidentally closed it :)

from palworld-host-save-fix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.