FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
43 stars 13 forks source link

Team/quests won't save after closing game #4249

Closed minehjon closed 11 months ago

minehjon commented 12 months ago

Modpack

FTB Genesis

Modpack version

1.1.1

Log Files

No response

Describe the bug

Inconsistently, when I log off of a singleplayer world of ftb genesis, close the game, and then relaunch it (all with the launcher always open), every time I rejoin, my team no longer exists and all my FTB quests are rest. all blocks I have placed and my inventory remains the same every time. However, if I exit the world and leave the game instance open and rejoin, it still works correctly.

Steps to reproduce

  1. launch game
  2. load into new world
  3. create team and claim land
  4. complete any quest
  5. save and quit to title, then close instance
  6. open new instance
  7. join same world
  8. quests progress is gone, claims are gone, team is gone.

Expected behaviour

to have my quests be persistent between opening and closing the game

Screenshots

No response

Additional information

super frustrating, pack looks very fun but unplayable with this bug (that only I seem to have?).

Saereth commented 12 months ago

yeah this hasnt been reported by anyone else, we'll need some info to help troubleshoot it for you, please post your latest.log and debug.log

minehjon commented 12 months ago

Here are from the latest instance of it happening debug.log latest.log

Here are the other logs, it has happened 3 other times, I'm not sure in which log it did not.

debug-2.log.gz debug-3.log.gz debug-4.log.gz debug-1.log.gz

2023-11-15-3.log.gz 2023-11-15-4.log.gz 2023-11-15-1.log.gz 2023-11-15-2.log.gz

Additionally, thank you for taking the time to try and help me with this. I and many others really appreciate the work you do.

Saereth commented 12 months ago

@FTBMikey or @desht can you guys comment on this one? logs look like its loading a nil UUID for the team

desht commented 12 months ago

Could be a launcher problem, from looking at the very first line of debug.log:

[15Nov2023 20:24:24.868] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, mineHjon, --version, 1.19.2-forge-43.2.21, --gameDir, C:\Users\jrdhi\AppData\Local\.ftba\instances\57688e47-9cd9-44fe-bd61-e94d47373ca5, --assetsDir, C:\Users\jrdhi\AppData\Local\.ftba\bin\assets, --assetIndex, 1.19, --uuid, 00000000-0000-0000-0000-000000000000, --accessToken, ????????, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, legacy, --versionType, release, --width, 1720, --height, 840, --launchTarget, forgeclient, --fml.forgeVersion, 43.2.21, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853]

...in particular the --uuid, 00000000-0000-0000-0000-000000000000 part. The game is being launched with a nil player UUID. At that point, all bets are off. Later logs confirm that FTB Teams sees that nil UUID when the player logs in:

[15Nov2023 20:26:18.365] [Server thread/DEBUG] [FTB Teams/]: player 00000000-0000-0000-0000-000000000000 logged in, player team = null
[15Nov2023 20:26:18.365] [Server thread/DEBUG] [FTB Teams/]: creating new player team for player 00000000-0000-0000-0000-000000000000
[15Nov2023 20:26:18.380] [Server thread/DEBUG] [FTB Teams/]:   - team created
[15Nov2023 20:26:18.380] [Server thread/DEBUG] [FTB Teams/]: syncing player team data, all = true
[15Nov2023 20:26:18.406] [Server thread/DEBUG] [FTB Teams/]: updating team presence
[15Nov2023 20:26:18.406] [Server thread/DEBUG] [FTB Teams/]: sending team login event for 00000000-0000-0000-0000-000000000000...
[15Nov2023 20:26:18.449] [Server thread/DEBUG] [FTB Teams/]: team login event for 00000000-0000-0000-0000-000000000000 sent
[15Nov2023 20:26:28.975] [Render thread/DEBUG] [FTB Teams/]: update 00000000-0000-0000-0000-000000000000 in client team map
MichaelHillcox commented 12 months ago

I think this happens when a modpack is launched in offline mode in the app.

minehjon commented 12 months ago

it has on and off asked me to launch in offline mode! should I try reinstalling the launcher and try a few iterations to see if that changes it?

Saereth commented 12 months ago

Looks like in your log there were times it was unable to connect to authentication servers so it probably asked if you wanted to launch in offline mode, but yeah launching in offline mode basically makes the game see you as a different player/team so that does seem to be the issue here.