showierdata9978 / Pickaxe-mod

Pickaxe-mod
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

Game crashes while trying to read pickaxe mod's config #57

Closed TrueDiegoWasAlsoTaken closed 1 month ago

TrueDiegoWasAlsoTaken commented 6 months ago

The game loads perfectly as long as you keep the default config. As soon as you change anything on pickaxe mod's configs (config file is created) the game will crash trying to read said config on subsequent launches.

1. Launch game, loads perfectly fine 1a. Relaunch game, still loads perfectly fine 2. Change pickaxe mod config with mod menu, config file is created after saving 3. Relaunch game after changing config

Expected: Game loads perfectly fine with the configs you set What actually happens: Crash trying to read config

Minecraft version: Minecraft 1.20.4 Fabric Loader 0.15.7

Mods used: Fabric API 0.96.4+1.20.4 Mod Menu 9.0.0 Pickaxe 1.4.5 YetAnotherConfigLib 3.3.2+1.20.4

showierdata9978 commented 6 months ago

This ain't really maintained anymore, I'm surprised it works on 1.20.4

TrueDiegoWasAlsoTaken commented 5 months ago

Here to confirm the crash still happens with Pickaxe 1.4.6, tested with the same mods on the initial report.

showierdata9978 commented 5 months ago

whats in .minecraft/config/pickaxe.properties.json?

TrueDiegoWasAlsoTaken commented 5 months ago

{"enabled":true,"XPBarType":"Radiation","AutoCL":false,"ShowLockIcon":true,"itemconfig":{"x":0,"y":0,"overclocker_color":-65536,"sage_color":-3407668,"sanded_color":-2505116},"cctconfig":{"enabled":false,"soundEnabled":false,"enabledOutsidePickaxe":false,"location":"TOPRIGHT"},"hideNonPickaxePlayers":true,"pois":["SPAWN","MUSEUM","MEDALS","SPAWN_SHOP","BACKPACK_SHOP","ELEVATOR_SHOP","Luigi","NETHER_HUB","MESA_SHACK","TECH_CRAFTING","TRADER","ENCHANT_PROSP","ENCHANT_EFF","ENCHANT_LUCK","ENCHANT_FESTIVE","ENCHANT_AUTOFORGE","ENCHANT_PLATED","BAZZAR","DIRT_GOD","SAND_GOD"],"enable_poi":false,"hide_plot_ads":true,"msgStackConfig":{"enabled":false,"text":"\u00268[\u0026bx{num}\u00268]"},"mdtConfig":{"location":"TOPRIGHT","soundEnabled":false,"reverseCCTOrder":true,"enabled":true},"chatClear":{}} (kinda wild its all on a single line)

showierdata9978 commented 5 months ago

I don't know

On Thu, Apr 18, 2024, 7:25 PM Diego Diaz @.***> wrote:

{"enabled":true,"XPBarType":"Radiation","AutoCL":false,"ShowLockIcon":true,"itemconfig":{"x":0,"y":0,"overclocker_color":-65536,"sage_color":-3407668,"sanded_color":-2505116},"cctconfig":{"enabled":false,"soundEnabled":false,"enabledOutsidePickaxe":false,"location":"TOPRIGHT"},"hideNonPickaxePlayers":true,"pois":["SPAWN","MUSEUM","MEDALS","SPAWN_SHOP","BACKPACK_SHOP","ELEVATOR_SHOP","Luigi","NETHER_HUB","MESA_SHACK","TECH_CRAFTING","TRADER","ENCHANT_PROSP","ENCHANT_EFF","ENCHANT_LUCK","ENCHANT_FESTIVE","ENCHANT_AUTOFORGE","ENCHANT_PLATED","BAZZAR","DIRT_GOD","SAND_GOD"],"enable_poi":false,"hide_plot_ads":true,"msgStackConfig":{"enabled":false,"text":"\u00268[\u0026bx{num}\u00268]"},"mdtConfig":{"location":"TOPRIGHT","soundEnabled":false,"reverseCCTOrder":true,"enabled":true},"chatClear":{}} (kinda wild its all on a single line)

— Reply to this email directly, view it on GitHub https://github.com/showierdata9978/Pickaxe-mod/issues/57#issuecomment-2065530520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHW4P7MOS2CMBKMALQFAKTY6BP6BAVCNFSM6AAAAABEEF6ROWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVGUZTANJSGA . You are receiving this because you were assigned.Message ID: @.***>

ArrowAced commented 2 months ago

this seems to be caused by the chatClear property in the config. if you remove the ,"chatClear":{} from the pickaxe.properties.json it works for some reason i brute forced it and it was the last possible thing