Lunatrius / InGame-Info-XML

Display various information directly on the in-game GUI.
MIT License
34 stars 27 forks source link

Can't save configs when using custom installation paths #43

Closed ghost closed 7 years ago

ghost commented 7 years ago

The mod just says "Something went wrong". I suspect this is due to the fact I installed forge in a custom path using the Launcher options saving the forge mods in C:/Users\USER_NAME\AppData\Roaming\.minecraft\forge\forge_1.10.2 instead of installing forge in the main .minecraft folder.. Do you think this is a correct assumption? I just entered /igi save test in chat and it didn't work :/ 2016-11-16_17 58 28 cattura

Lunatrius commented 7 years ago

I'll need the logs/fml-client-latest.log file.

ghost commented 7 years ago

I'm sorry but the game didn't generated any log files to show you.. maybe there is a way to force a debug crash in order to generate a log file?

edit: this is not a modpack and I'm not using the technic launcher. there is a logs folder in the .technic folder but not in .minecraft

I didn't know what to do and I forced a debug crash.. maybe can help http://pastebin.com/XS3fxTUK

Lunatrius commented 7 years ago

The logs/fml-client-latest.log must exist, it's where FML, Forge and most mods log their stuff to.

ghost commented 7 years ago

Ok, I installed forge in the vanilla pack using the Technic launcher, copied all the mods I used and still doesn't work but it finally generated a log file:

fml-client-latest.zip

Lunatrius commented 7 years ago

Er... the issue is something completely else that I didn't even notice. You have to specify the full filename. You can use tab completion to get a list of suggested names.

The file extension (.xml, .json or .txt) is mandatory and it used to determine the format of the file.

In your case, /igi save test.xml should work properly.

ghost commented 7 years ago

Oh right! I forgot to use the extension.. thanks! Maybe you should add a custom error message for when someone doesn't fill properly the command using no extension. I don't know if this is possible, just a tip :D You added the slime chunk feature I suggested, thanks for your work, again!

Lunatrius commented 7 years ago

I have added a warning to the console for this specific issue, I'll be adding more once I rewrite/improve the commands as described in #21

Celsiusss commented 5 years ago

Er... the issue is something completely else that I didn't even notice. You have to specify the full filename. You can use tab completion to get a list of suggested names.

The file extension (.xml, .json or .txt) is mandatory and it used to determine the format of the file.

In your case, /igi save test.xml should work properly.

I can't believe that I had to dig that far into the internet to find out that a file extension in required. Maybe give back a more helpful error message than "Something went wrong"?