McJtyMods / RFTools

A set of blocks and items to help with RF in general. Currently contains a Dimension Builder, Teleportation System, Shield System, RF monitor, an RF network debug tool and an automatic crafter
MIT License
228 stars 88 forks source link

Matter Transmitter does not obey config values. #1978

Open IMarvinTPA opened 5 years ago

IMarvinTPA commented 5 years ago

Issue description: Matter Transmitter is using default values. I have customized transmitterMaxRF to be 2BRF and rfStartTeleportDim to be 1BRF. But neither are being used. I'm uncertain of other values, but they may also be suffering from being ignored.

Steps to reproduce: Modify config file. Launch game.

Versions:

rftools.cfg.txt

josephcsible commented 5 years ago

Single player or server? If server, did you modify the config files on both the server and client?

IMarvinTPA commented 5 years ago

Single Player

MichaelHillcox commented 5 years ago

This would infer an issue within the lib source but as this issue isn't present on any other devices / blocks. I can only assume that you've inputted an incorrect value to the file and the setting has been ignored (and thus default back). A simply way to check would be to go to the config gui in-game and check if the value you inputed in the config file is also present in the Gui. Let me know 👍

IMarvinTPA commented 5 years ago

My value of I:transmitterMaxRF=2000000000 is less than the maximum value of a signed integer.

https://github.com/McJtyMods/RFTools/blob/30e32bf1510fec12488f165baba7b183f440595c/src/main/java/mcjty/rftools/blocks/teleporter/TeleportConfiguration.java#L75

I can't do the simple check: NoConfigGuid

I have attached my config file to the original post.

Edit: Also I:rfStartTeleportDim=1000000000 isn't being respected.

MichaelHillcox commented 5 years ago

I'll investigate, thanks.