GTNewHorizons / SpiceOfLife

A Minecraft mod that encourages dietary variety through diminishing returns
GNU Lesser General Public License v3.0
7 stars 10 forks source link

Crash on connection to my server #34

Closed Lianite closed 9 months ago

Lianite commented 9 months ago

Your GTNH Discord Username

Lianite

Your Pack Version

2.5.1

Your Server

private server

Java Version

Java 21

Type of Server

None

Your Actions

Updated server from 2.3.5 to 2.5.1. Made changes to configs as I had in 2.3.5, mainly disabling warp effects from warp theory. Set memory allocation on server to start at 6gb, and go to 8gb max. Launched Server. Updated client from 2.3.5 to 2.5.1 on Prism Launcher. Installed Java 21. Set memory allocation on client to start at 8gb, and allow up to 16gb. Added as additional mods: CleanView version 2, ArchaicFix version 0.7.0, and Angelica version 1.0.0 alpha 14. Crash on start due to angelica, so removed angelica.

Client sometimes crashes out during initialization, but repeated attempts succeed.

The main issue is when I attempt to connect to my server. Sometimes when connecting, I can see the interface try to load, then immediately crash. Never see anything other than occasionally my hand in the bottom right.

Crash Report

Here is the crashlog that appeared when the crash happened: https://pastebin.com/jXai2GHX Here is my fml-server-latest.log, truncated to the latest bits (world initialization up through the client connection and subsequent crash, server stays up the whole time): https://pastebin.com/BH8chMPN

Final Checklist

Lianite commented 9 months ago

I had a friend try connecting to my server that had never been on before, and they were able to successfully connect without issue.

Looking at the error logs, it appears to be something related to a food that I've eaten for spice of life. This also means that it's something on my character that is causing issues.

Caedis commented 9 months ago

Can you attach your player nbt file? Should be located at world/playerdata/<your_uuid>.dat on the server

Caedis commented 9 months ago

Moved to SpiceOfLife repo Duplicate issue of https://github.com/GTNewHorizons/SpiceOfLife/issues/30

Lianite commented 9 months ago

66a29d97-98fc-49be-b9bb-3cb00d6c3b20.zip

Lianite commented 9 months ago

Of course. Here it is zipped as github for some reason won't accept .dat files. I see you completed this, so this is mainly just for verification. Thanks for finding the issue!

Lianite commented 9 months ago

So is there a fix that I can implement to fix my server? Even an estimation of when a new version of Spice of Life will be released works. Currently playing on an older version until this is fixed, and it's only me on the server at this time, so no big rush. Thanks for the quick response by the way.

Caedis commented 9 months ago

Try this file. I removed the erroring food i believe which should be a holdover until you update to the new SpiceOfLife version with the fix.

66a29d97-98fc-49be-b9bb-3cb00d6c3b20.dat.zip

Lianite commented 9 months ago

Awesome, thank you very much. I'll give it a try in a couple mins!

Caedis commented 9 months ago

If that doesnt work, you can try the latest version that I just created with the fix. https://github.com/GTNewHorizons/SpiceOfLife/releases/tag/2.1.4-carrot

Lianite commented 9 months ago

Character edit did indeed work. I also for verification tested the mod change. Seem to be having some issues connecting to the server. Not exactly sure what is going on, but it seems to be a sync issue. I'll give it another go to verify the files are the same, but they appear to be.

Caedis commented 9 months ago

Make sure both the client and the server are using the same version of the mod

Lianite commented 9 months ago

Verified client and server have the same file, still getting a crash on connection. Error log to follow.

Lianite commented 9 months ago

[02:51:23] [Netty Client IO #10/INFO] [FML/]: Attempting connection with missing mods [Aroma1997Core, txloader, FastCraft, Aroma1997CoreHelper, AromaBackup, AromaBackupRecovery, beebetteratbees, BetterAchievements, bettercrashes, betterloadingscreen, controlling, craftpresence, custommainmenu, defaultkeys, defaultserverlist, defaultworldgenerator, duradisplay, Ic2Nei, InGameInfoXML, journeymap, lwjgl3ify, MouseTweaks, oauth, GRADLETOKEN_MODID, overloadedarmorbar, Schematica, tcnodetracker, TiCTooltips, torohealthmod] at SERVER [02:51:23] [Netty Client IO #10/INFO] [FML/]: Rejecting connection SERVER: [FMLMod:kubatech{0.13.12}, FMLMod:BuildCraft|Builders{7.1.38}, FMLMod:StevesFactoryManager{1.1.7-GTNH}, FMLMod:Avaritia{1.46}, FMLMod:chisel{2.12.3-GTNH}, FMLMod:littletiles{1.2.9-GTNH}, FMLMod:bartworks{0.8.23}, FMLMod:neenergistics{1.4.6}, FMLMod:opensecurity{1.0.120-GTNH}, FMLMod:TConstruct{1.10.13-GTNH}, FMLMod:betterp2p{1.1.20}, FMLMod:bdlib{1.9.8-GTNH}, FMLMod:kekztech{0.9.6}, FMLMod:lootgames{2.0.8}, FMLMod:ProjRed|Integration{4.8.1-GTNH}, FMLMod:NEIAddons|ExNihilo{GRADLETOKEN_VERSION}, FMLMod:BuildCraft|Transport{7.1.38}, FMLMod:betterbuilderswands{0.10.1-GTNH}, FMLMod:openglasses{1.4.2-GTNH}, FMLMod:ProjRed|Transmission{4.8.1-GTNH}, FMLMod:cookingforblockheads{1.2.16-GTNH}, FMLMod:HungerOverhaul{1.0.4-GTNH}, FMLMod:StorageDrawersNatura{1.11.17-GTNH}, FMLMod:malisisdoors{1.14.0-GTNH}, FMLMod:OpenComputers{1.9.21-GTNH}, FMLMod:StevesAddons{0.10.27}, FMLMod:ArchitectureCraft{1.8.6}, FMLMod:universalsingularities{8.6.7}, FMLMod:ProjectBlue{1.1.12-GTNH}, FMLMod:RelocationFMP{0.0.4}, FMLMod:ForgeMultipart{1.4.1}, FMLMod:wailaplugins{0.3.0}, FMLMod:blockrenderer6343{1.0.6}, FMLMod:NEIAddons|CraftingTables{GRADLETOKEN_VERSION}, FMLMod:StevesCarts{2.0.2}, FMLMod:openmodularturrets{2.2.11-247}, FMLMod:miscutils{1.10.54}, FMLMod:BuildCraft|Compat{7.1.16}, FMLMod:ProjRed|Compatibility{4.8.1-GTNH}, FMLMod:OpenBlocks{1.8.3-GTNH}, FMLMod:InfernalMobs{1.7.9-GTNH}, FMLMod:HardcoreEnderExpansion{1.9.7-GTNH}, FMLMod:ironchestminecarts{1.0.8}, FMLMod:YAMCore{0.5.86}, FMLMod:alchgrate{1.0.3-GTNH}, FMLMod:bq_standard{3.4.7-GTNH}, FMLMod:LogisticsPipes{1.0.8-GTNH}, FMLMod:ThaumicHorizons{1.4.2}, FMLMod:sleepingbag{0.1.4}, FMLMod:ThaumcraftMobAspects{1.0.0-GTNH}, FMLMod:naturescompass{1.3.6-GTNH}, FMLMod:EnderStorage{1.4.12}, FMLMod:gtnhtcwands{1.3.1}, FMLMod:gtnhlib{0.0.13}, FMLMod:JABBA{1.3.1}, FMLMod:BuildCraft|Silicon{7.1.38}, FMLMod:BuildCraft|Factory{7.1.38}, FMLMod:WitchingGadgets{1.3.6-GTNH}, FMLMod:BuildCraft|Robotics{7.1.38}, FMLMod:FloodLights{1.2.9}, FMLMod:BinnieCore{2.2.4}, FMLMod:ThaumcraftResearchTweaks{1.0.6}, FMLMod:amazingtrophies{1.1.4}, FMLMod:croploadcore{0.1.10}, FMLMod:ForbiddenMagic{0.6.7-GTNH}, FMLMod:StorageDrawersMisc{1.11.18-GTNH}, FMLMod:Botany{2.2.4}, FMLMod:NEIAddons{GRADLETOKEN_VERSION}, FMLMod:WR-CBE|Core{1.4.8}, FMLMod:battlegear2{1.3.0}, FMLMod:openprinter{0.1.3-GTNH}, FMLMod:WarpTheory{1.2.17-GTNH}, FMLMod:angermod{0.6.3}, FMLMod:gravisuiteneo{1.0.20}, FMLMod:adventurebackpack{1.0.17-GTNH}, FMLMod:GalacticraftCore{3.0.75-GTNH}, FMLMod:thaumicboots{1.1.0}, FMLMod:NEIAddons|Forestry{GRADLETOKEN_VERSION}, FMLMod:asielib{0.5.4}, FMLMod:StorageDrawersForestry{1.11.17-GTNH}, FMLMod:NEIAddons|Botany{GRADLETOKEN_VERSION}, FMLMod:Botania{1.10.3-GTNH}, FMLMod:gtnhlanth{0.11.9}, FMLMod:Railcraft{9.15.3}, FMLMod:NEIAddons|AppEng{GRADLETOKEN_VERSION}, FMLMod:questbook{3.4.7-GTNH}, FMLMod:McMultipart{1.4.1}, FMLMod:EnderIO{2.5.9}, FMLMod:mobsinfo{0.1.13-GTNH}, FMLMod:structurecompat{0.4.0}, FMLMod:ProjRed|Core{4.8.1-GTNH}, FMLMod:thaumicbases{1.5.6}, FMLMod:blocklimiter{0.55}, FMLMod:Forestry{4.7.1}, FMLMod:GalacticraftMars{3.0.75-GTNH}, FMLMod:AWWayofTime{1.4.3}, FMLMod:DraconicEvolution{1.2.1-GTNH}, FMLMod:IguanaTweaksTConstruct{2.3.0}, FMLMod:ProjRed|Transportation{4.8.1-GTNH}, FMLMod:avaritiaddons{1.6.0-GTNH}, FMLMod:ggfab{0.3.9}, FMLMod:ae2fc{1.1.74-gtnh}, FMLMod:MineTweaker3{3.2.13}, FMLMod:irontank{1.2.6}, FMLMod:inpure|core{1.1.5-GTNH}, FMLMod:sharewhereiam{2.0.2}, FMLMod:malisiscore{0.14.9}, FMLMod:supersolarpanel{1.7.10-1.1.1-GT-NH-Mod}, FMLMod:modularui{1.1.24}, FMLMod:WR-CBE|Logic{1.4.8}, FMLMod:WitcheryExtras{1.1.14}, FMLMod:harvestcraft{1.1.4-GTNH}, FMLMod:DummyCore{1.17.0}, FMLMod:StorageDrawersBop{1.11.17-GTNH}, FMLMod:MrTJPCoreMod{1.1.5}, FMLMod:OpenMods{0.10.6}, FMLMod:detravscannermod{1.7.2}, FMLMod:ae2stuff{0.6.0-GTNH}, FMLMod:EMT{1.3.8}, FMLMod:appliedenergistics2{rv3-beta-292-GTNH}, FMLMod:betterquesting{3.4.7-GTNH}, FMLMod:GTTweaker{2.0.5}, FMLMod:ExtraBees{2.2.4}, FMLMod:Natura{2.5.7}, FMLMod:wanionlib{1.8.4}, FMLMod:Mantle{0.3.7}, FMLMod:SpiceOfLife{2.1.4-carrot}, FMLMod:ifu{1.9.6}, FMLMod:BuildCraft|Core{7.1.38}, FMLMod:mxrandom{0.2.0}, FMLMod:tectech{5.3.23}, FMLMod:MCFrames{0.0.3}, FMLMod:ProjRed|Illumination{4.8.1-GTNH}, FMLMod:hydroenergy{1.1.1}, FMLMod:ProjRed|Expansion{4.8.1-GTNH}, FMLMod:MagicBees{2.7.1-GTNH}, FMLMod:dreamcraft{2.2.55}, FMLMod:visualprospecting{1.2.1}, FMLMod:personalspace{1.0.28}, FMLMod:ForgeMicroblock{1.4.1}, FMLMod:modtweaker2{0.9.10}, FMLMod:Translocator{1.1.2.21}, FMLMod:SuperTic{1.2.5}, FMLMod:NodalMechanics{1.1.-6-GTNH}, FMLMod:endercore{0.2.19}, FMLMod:creativecore{1.3.31-GTNH}, FMLMod:Backpack{2.2.12-GTNH}, FMLMod:ToxicEverglades{1.10.54}, FMLMod:BloodArsenal{1.2.11}, FMLMod:tinkersdefense{1.2}, FMLMod:StorageDrawers{1.12.2-GTNH}, FMLMod:GalacticraftAmunRa{0.5.0}, FMLMod:NEIAddons|Developer{GRADLETOKEN_VERSION}, FMLMod:SpecialMobs{3.4.3}, FMLMod:ae2wct{1.10.1}, FMLMod:CarpentersBlocks{3.4.1-GTNH}, FMLMod:OilTweak{1.0.4}, FMLMod:ProjRed|Fabrication{4.8.1-GTNH}, FMLMod:RandomThings{2.4.6}, FMLMod:GalaxySpace{1.2.15-GTNH}, FMLMod:computronics{1.7.1-GTNH}, FMLMod:ForgeRelocation{0.0.3}, FMLMod:IronChest{6.0.74}, FMLMod:cb4bq{3.4.7-GTNH}, FMLMod:WR-CBE|Addons{1.4.8}, FMLMod:ThaumicTinkerer{2.8.5}, FMLMod:chiseltones{1.0.4-GTNH}, FMLMod:berriespp{1.5.12}, FMLMod:thaumcraftneiplugin{@VERSION@}, FMLMod:neid{1.5.3}, FMLMod:RIO{2.4.8}, FMLMod:thaumicinsurgence{0.2.7}, FMLMod:botanichorizons{1.0.19-GTNH}, FMLMod:EnderZoo{1.0.23}, FMLMod:bartworkscrossmodtgregworkscontainer{0.8.23}, FMLMod:nutrition{0.0.5}, FMLMod:thaumicenergistics{1.5.4-GTNH}, FMLMod:enhancedlootbags{1.1.0}, FMLMod:gtnhintergalactic{1.2.9}, FMLMod:gtneioreplugin{1.1.3}, FMLMod:gendustry{1.6.5.5-GTNH}, FMLMod:GoodGenerator{0.7.17}, FMLMod:eternalsingularity{1.1.2}, FMLMod:tcneiadditions{1.2.2}, FMLMod:TwilightForest{2.5.1}, FMLMod:bartworkscrossmod{0.8.23}, FMLMod:TMechworks{0.3.0}, FMLMod:BuildCraft|Energy{7.1.38}, FMLMod:Genetics{2.2.4}, FMLMod:ExtraTrees{2.2.4}, FMLMod:Baubles{1.0.3}, FMLMod:ProjRed|Exploration{4.8.1-GTNH}, FMLMod:IC2NuclearControl{2.5.1}, FMLMod:AFSU{1.2.6-GTNH}, FMLMod:gadomancy{1.2.0}, FMLMod:ThaumicExploration{1.2.0-GTNH}] [02:51:23] [NEI Plugin Loader/DEBUG] [FML/]: Found a minecraft related file at C:\Users\Lianite\AppData\Roaming\PrismLauncher\instances\GT_New_Horizons_2.5.1_Java_17-21.minecraft\mods\EnderIO-2.5.9.jar, examining for codechicken classes [02:51:23] [Netty Client IO #11/INFO] [FML/]: Attempting connection with missing mods [Aroma1997Core, txloader, FastCraft, Aroma1997CoreHelper, AromaBackup, AromaBackupRecovery, beebetteratbees, BetterAchievements, bettercrashes, betterloadingscreen, controlling, craftpresence, custommainmenu, defaultkeys, defaultserverlist, defaultworldgenerator, duradisplay, Ic2Nei, InGameInfoXML, inventorytweaks, journeymap, lwjgl3ify, MouseTweaks, oauth, overloadedarmorbar, Schematica, tcnodetracker, TiCTooltips, torohealthmod] at SERVER [02:51:23] [Netty Client IO #11/INFO] [FML/]: Rejecting connection SERVER: [FMLMod:SpiceOfLife{2.1.4-carrot}] [02:51:23] [Netty Client IO #12/INFO] [FML/]: Attempting connection with missing mods [Aroma1997Core, txloader, FastCraft, Aroma1997CoreHelper, AromaBackup, AromaBackupRecovery, beebetteratbees, BetterAchievements, bettercrashes, betterloadingscreen, controlling, craftpresence, custommainmenu, defaultkeys, defaultserverlist, defaultworldgenerator, duradisplay, Ic2Nei, InGameInfoXML, inventorytweaks, journeymap, lwjgl3ify, MouseTweaks, oauth, overloadedarmorbar, Schematica, tcnodetracker, TiCTooltips, torohealthmod] at SERVER [02:51:23] [Netty Client IO #12/INFO] [FML/]: Rejecting connection SERVER: [FMLMod:SpiceOfLife{2.1.4-carrot}]

Lianite commented 9 months ago

And I triple checked that the mod files are the same on both the client and the server. I didn't see any error on the server on connection though, only on the client.

Caedis commented 9 months ago

Can you post the file itself, or upload it to https://mclo.gs/ ?

Lianite commented 9 months ago

Sure, will do. One moment please.

Lianite commented 9 months ago

Server logs: https://mclo.gs/bLwbJbr

Timestamp of attempted connection: 02:51:00 ish.

Client logs to follow.

Lianite commented 9 months ago

Client logs: https://mclo.gs/2l66EDR

Caedis commented 9 months ago

Did you upload latest.log? Doesnt look it like

Lianite commented 9 months ago

Pretty sure I did. I'll re-verify and re-upload.

Caedis commented 9 months ago

please do not truncate them

Lianite commented 9 months ago

Logs are close to 50k lines, that mclo site seems to truncate at 25k. I'll zip them and upload in a sec. Thanks for pointing that out.

Caedis commented 9 months ago

Just upload latest.log for both client and server, not the FML ones

Lianite commented 9 months ago

Got it.

Server Logs: https://mclo.gs/6LPvO9G

Client Logs: https://mclo.gs/pHQgPSx

Caedis commented 9 months ago

Weird. Upload the client fml file here directly

Lianite commented 9 months ago

fml-client-latest.zip

Caedis commented 9 months ago

Looks like your main food history list already had a null item in it. Go ahead and try this version for me https://github.com/GTNewHorizons/SpiceOfLife/releases/download/2.1.5-carrot-pre/SpiceOfLife-2.1.5-carrot-pre.jar

Lianite commented 9 months ago

That version worked! Logged in successfully with no errors. Thanks much!

Caedis commented 9 months ago

Can you make sure your food list looks correct?

Lianite commented 9 months ago

It appears that it has been reset. I had eaten everything in the game before, so I had around 1500 half shanks. Now it says 6 with 0 bonus hearts. So that is indeed a problem.

Lianite commented 9 months ago

I have to crash for the night, but I can continue helping troubleshoot when I get up again. Thanks for all the help tonight!

Caedis commented 9 months ago

When you get back, send me your player nbt again

Lianite commented 9 months ago

Back online. Including player files for both pre launch where my full list is still intact, and post launch where it is not.

Pre Update 66a29d97-98fc-49be-b9bb-3cb00d6c3b20.zip Post Update 66a29d97-98fc-49be-b9bb-3cb00d6c3b20.zip

Caedis commented 9 months ago

If you restore the pre one with the new version, what happens?

Lianite commented 9 months ago

Character file from after a load of the 2.1.5-carrot-pre version loaded into a server running 2.5.1 version of GTNH with SpiceOfLife version 2.1.1 yielded the same result.

/foodlist size command indicates 6 half shanks of food eaten with 0 bonus hearts

Caedis commented 9 months ago

i mean use the old file in the new version.

Lianite commented 9 months ago

Ok, will re-verify. One moment please.

Lianite commented 9 months ago

Ok, server finally booted. Old character file from before testing with 2.1.5-carrot-pre seems to work nicely. 3040 half-shanks eaten with 60 bonus hearts.

Thank you for working through this with me and responding so fast!