AlexandreArcil / QuestionsTime

Ask questions and gain prize for the winner !
Mozilla Public License 2.0
0 stars 0 forks source link

Config keeps deleting questions I add #8

Closed CommanderLouiz closed 4 years ago

CommanderLouiz commented 4 years ago

Title

It seems that for whatever reason, anytime I have more than two questions in the config file, a random one (or more) gets deleted without warning.

I've only added them directly via the configs, not in-game via the command.

QT version = 1.1.7 (Most Recent) Minecraft Version = 1.12.2 Sponge Version = 1.12.2-2838-7.2.1-RC4011 Modpack = Lapito's Galacticraft

AlexandreArcil commented 4 years ago

Hello, Can you post the logs and the config file of Questions Time please.

CommanderLouiz commented 4 years ago

configOriginal.txt configAfter.txt

2020-07-15-6.log.gz Extract with 7-Zip debug-3.log.gz

On first look, doesn't seem to be any mention in there of deleting a question, it just only loads two.

AlexandreArcil commented 4 years ago

The config has two questions with the same name, and Hocon seems to load only one. I think I can't do something, it's a Hocon issue.

CommanderLouiz commented 4 years ago

So you're saying "simplequestion" and"multiplequestion" are the names of the questions, and not an identifier used to determine if they're multiple choice or not?

CommanderLouiz commented 4 years ago

It would seem that that is the case, as I added a third question, named it "ques2n" and after a restart, it still exists, though its place was moved around in the config.

AlexandreArcil commented 4 years ago

Yes, it's a "name" / a "identifier", not the question type.