ICBM - Interconnected Block Missiles

ICBM - Interconnected Block Missiles

10M Downloads

[1.12] crash when editing explosive_reg.json file

Invisible229 opened this issue ยท 5 comments

commented

configs invented to change them!!!! BUT when changing any one attribute leads to the original value of the attribute after starting the game, when changing more than 1 attribute leads to a crash!

commented

I personally changed the "explosive_reg" config because I didn't like crafting very expensive but the explosion is very small, for example 8 stars from nather = several degrees ahead, so I set one to 50 = nuclear, 2 set to 250 , 3 set to 1000 and little things changed there except for them. After that, it began to fly out, that is, it crashes when entering..
crash-2022-03-02_17.35.48-client.txt
.

commented

please add updates to the list of files. Since some do not understand or do not know how to use the "source"

commented

You are not supposed to modify the explosive_reg.json file, as this file just maps explosive-names to ids.
The reason why it crashed during startup was because two of the explosive-names had the same id.

If you want to change the mod's behaviour, only edit files that have the .cfg extension. Those files also include comments.

commented

@GHXX remind me later to move

explosiveRegistry.loadReg(new File(configMainFolder, "icbmclassic/explosive_reg.json"));
to the world folder. It will avoid people trying to mess with things that shouldn't be edited without good reason.

@Invisible229 making an issue saying "configs invented to change them" without having any clue what the file does is one of the worse ways to get help. Currently most of the explosives lack configs to edit scale. This is intentional as most explosives will run the server/client out of RAM trying to run at larger sizes.

commented

@GHXX started https://github.com/BuiltBrokenModding/ICBM-Classic/wiki/Configs am on production support for day job so don't have time to finish it. If you have time or could motivate someone in the community to PR the rest of it.