Lightman's Currency

Lightman's Currency

331k Downloads

BUG: {insert description here}

titanninja opened this issue ยท 4 comments

commented

Minecraft Version (REQUIRED): 1.16.5
Forge Version (REQUIRED): 36.2.20
Lightman's Currency Version (REQUIRED): 1.0.5.3
Other Relevant Mods & Version (LC Tech, etc.): LC Tech v 1.16.4-0.0.3.1
Connection Type (Single-player, server/client, LAN world):

Describe the bug
A clear and concise description of what the bug is.

i can't config coins to be melted into ores anymore, and have to use 1.0.3.5 to do it, which means i can't use LC Tech

To Reproduce
Steps to reproduce the behavior:

  1. install 1.0.5.3
  2. play game and start a world
  3. Click on config for file
  4. notice that functions to melt or mint coins are gone
  5. try to copy the config file over from 1.0.3.5
  6. restart minecraft instance
  7. notice that th econfig fil didn't change, but you still can't melt coins.
  8. Scroll down to '....'
  9. See error

Expected behavior
A clear and concise description of what you expected to happen.

i should bee able to see that the config for melting coins is there and functioning

Screenshots/Logs/Crash Reports
If applicable, add screenshots to help explain your problem.
You can find your minecraft logs in the /logs folder (ideally the latest.log file if you've not launched your game again since the error happened, and/or crash report if a crash happened)
2022-03-14-3.log.gz

Additional context
Add any other context about the problem here.

commented

[12:31:41] [Server thread/WARN]: Incorrect key server.canMintCoins was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.canMeltCoins was corrected from null to its default, false.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting was corrected from null to its default, SimpleCommentedConfig:{}.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintCopper was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintIron was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintGold was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintEmerald was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintDiamond was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_minting.canMintNetherite was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting was corrected from null to its default, SimpleCommentedConfig:{}.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltCopper was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltIron was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltGold was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltEmerald was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltDiamond was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_melting.canMeltNetherite was corrected from null to its default, true.
[12:31:41] [Server thread/WARN]: Incorrect key server.wallet was corrected from null to its default, SimpleCommentedConfig:{}.
[12:31:41] [Server thread/WARN]: Incorrect key server.wallet.convertLevel was corrected from null to its default, 1.
[12:31:41] [Server thread/WARN]: Incorrect key server.wallet.pickupLevel was corrected from null to its default, 2.
[12:31:41] [Server thread/WARN]: Incorrect key server.wallet.bankLevel was corrected from null to its default, 5.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display was corrected from null to its default, SimpleCommentedConfig:{}.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display.coinTooltipType was corrected from null to its default, DEFAULT.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display.coinValueType was corrected from null to its default, DEFAULT.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display.coinValueInputType was corrected from null to its default, DEFAULT.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display.baseValueCoin was corrected from null to its default, lightmanscurrency:coin_copper.
[12:31:41] [Server thread/WARN]: Incorrect key server.coin_value_display.valueFormat was corrected from null to its default, ${value}.

In version 1.0.4.0 the coin-related config options (including minting & melting) were moved to the server config file, and are no longer in the lightmanscurrency-common.toml config file. As I found in the log you included, the new server config options were not defined, so you will need to edit the server config options in the worldname/serverconfig/lightmanscurrency-server.toml config file to match those that were previously in your common config in order to configure your mint/melt options.

commented

changing the config to server.coin_melting etc causes the game to stop working, and thn it doesn't woek when trying to match it to the common file.
latest.log

commented

i'
image

commented

Idk what caused that crash, but it probably has something to do with the fact that you have two [server] config sections defined. Also that config file was obviously cobbled together from scratch instead of letting the game generate a valid file for you that you can edit at will, as the logLimit config option was removed quite some time ago (I think also in v1.0.4.0). You need to delete the server config file and let the game generate a fresh copy and THEN edit the config options of that newly generated config file to match the backup of your old common config, etc. And when you do so, don't just copy/paste entire sections of the config file, only copy/paste each value (anything to the right of the '=' sign) so that you don't break the config file's formatting, as it can be strangely picky about that at times.