pokewilds icon indicating copy to clipboard operation
pokewilds copied to clipboard

Endless loop when generating a new region

Open crxyne opened this issue 3 years ago • 1 comments

Went out to generate a new region, luckily was in dev mode testing stuff and got this stacktrace:

java.lang.IllegalArgumentException: bound must be positive
	at java.base/java.util.Random.nextInt(Unknown Source)
	at com.pkmngen.game.GenIsland1.<init>(GenForest2.java:2313)
	at com.pkmngen.game.GenerateWorld$1.run(PkmnMap.java:9327)
	at java.base/java.lang.Thread.run(Unknown Source)

From there it's an endless loop and doesn't seem to generate anything any further.

crxyne avatar Nov 05 '22 18:11 crxyne

bumping this! The Problem was in v0.8.6 and continues in v0.8.7; can't progress to any new areas on any map sizes via flying or surfing

I then built a "bridge" and began surfing from there (right on the line to the new area). Somehow this has worked and I loaded in the new place. Only differences were the bridge of ground and the fact it was day time.

OMMorticia avatar Nov 05 '22 18:11 OMMorticia