Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terrain Symmetry set to NONE leads to Error #385

Open
MarcusOnGit opened this issue Feb 2, 2024 · 0 comments
Open

Terrain Symmetry set to NONE leads to Error #385

MarcusOnGit opened this issue Feb 2, 2024 · 0 comments

Comments

@MarcusOnGit
Copy link

Hi there,
i just found out by fiddling around with the options that --terrain-symmetry=NONE does not work becuase it leads to an error.

java -jar .\NeroxisGen_1.11.0.jar --terrain-symmetry=NONE
neroxis_map_generator_1.11.0_zgzeu2fmp2ajs_ayeaea34b5yxypczcu
java.lang.IllegalArgumentException: bound must be positive
        at java.base/java.util.Random.nextInt(Random.java:557)
        at com.faforever.neroxis.util.SymmetrySelector.getSymmetrySettingsFromTerrainSymmetry(SymmetrySelector.java:46)
        at com.faforever.neroxis.generator.style.StyleGenerator.initialize(StyleGenerator.java:125)
        at com.faforever.neroxis.generator.style.StyleGenerator.generate(StyleGenerator.java:95)
        at com.faforever.neroxis.generator.MapGenerator.generate(MapGenerator.java:485)
        at com.faforever.neroxis.generator.MapGenerator.call(MapGenerator.java:140)
        at com.faforever.neroxis.generator.MapGenerator.call(MapGenerator.java:56)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
        at picocli.CommandLine.execute(CommandLine.java:2170)
        at com.faforever.neroxis.generator.MapGenerator.lambda$main$0(MapGenerator.java:98)
        at com.faforever.neroxis.util.DebugUtil.timedRun(DebugUtil.java:68)
        at com.faforever.neroxis.util.DebugUtil.timedRun(DebugUtil.java:42)
        at com.faforever.neroxis.generator.MapGenerator.main(MapGenerator.java:90)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant