• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

KingGen - A Random World Generator for 7 Days to Die

Is it normal that KingGen is on "Generating random pois" for a very long time and it consumes only 70 MB of RAM and 0% of the CPU?
It is not normal. Does it eventually finish the generation? How long does it stay on "generating random pois"? Which settings are you using?

 
It is not normal. Does it eventually finish the generation? How long does it stay on "generating random pois"? Which settings are you using?


Thanks for the answer, already got help in the Magolis Compo Pack discord.

It turns out that I downloaded the wrong POI pack (I downloaded for nitrogen) and in the case of KingGen, there was no need to generate a new list of custom POIs because the pack includes vanilla ones

And they also said that KingGen.exe should be on the desktop

As a result, everything worked out for me

 
Hello, is there a way in version 0.5.0 to spawn pois unique? 
Hi,

currently there is no way to force POI uinqueness.

However, KingGen tries its best to choose POIs that haven't been chosen yet. Have you encountered a situation where the same POI spawned multiple times in close proximity?

 
a had one map where about 4 twin towers spawned in a small area, since then not directly close - but some pois should not spawn more than one time because they are kind of unique.

 
i used a custom list that kinggen generated by itself, yes they were the same poi - i played around with the settings, so this was just one world, after then this did not happen again

 
i used a custom list that kinggen generated by itself, yes they were the same poi - i played around with the settings, so this was just one world, after then this did not happen again
I understand. Probably what happened was that your custom list did not have enough pois for a specific district, like "downtown", so KingGen was forced to pick the same POI over and over.

If you use the vanilla list, or the Compo Pack + vanilla list, this issue should not happen (I hope).

You can also merge 2 lists if you want. For example your own custom list, plus vanilla.

 
Last edited by a moderator:
Keep getting some out of bounds errors when trying to generate 16k maps, but the 8k maps are beautiful!!!!

Anything over 8k seems to give me some issues.  any ideas?

Just doing vanilla poi's.

Thanks in advance!

 
Keep getting some out of bounds errors when trying to generate 16k maps, but the 8k maps are beautiful!!!!

Anything over 8k seems to give me some issues.  any ideas?

Just doing vanilla poi's.

Thanks in advance!
Hi, would you please share the log file and the config file so that I can figure out what is going on?

The log file is saved right next to KingGen. The config file is inside the generated world.

 
king_gen_log_2021-05-05_22-59-01.txt
-->
Traceback (most recent call last):
  File "gui.py", line 877, in generate
  File "ntime.py", line 11, in ntime
  File "world.py", line 792, in run
  File "world.py", line 159, in generate
  File "world.py", line 605, in gen_biomes
IndexError: index 532449 is out of bounds for axis 1 with size 12288

king_gen_log_2021-05-05_23-30-40.txt
-->

Traceback (most recent call last):
  File "gui.py", line 877, in generate
  File "ntime.py", line 11, in ntime
  File "world.py", line 792, in run
  File "world.py", line 169, in generate
  File "world.py", line 414, in gen_random_pois
  File "city.py", line 39, in __init__
  File "city.py", line 52, in generate
  File "city.py", line 285, in populate_grid
IndexError: index -4623966463798018048 is out of bounds for axis 0 with size 16384

These are NOT the same settings I was using (I changed a few for the new 8K maps I was doing), but the essence of it is nearly the same.

SETTINGS:
burnt_size=medium
cities_size=large
desert_size=large
grid_size=large
heightmap=None
mountains_size=medium
multiple_generations=1
name=Hills of Dalinor
pois_list=vanilla
pois_number=increased
seed=myshardbladeisbiggerthanyours
single_city=False
size=8
skip_preview=False
snow_size=medium
spawn_points=increased
terrain_roughness=medium
towns_size=large
traders_number=medium
villages_size=large
waste_size=medium
water_size=medium

This last round (I deleted all of the others and started fresh this last round to make sure my download wasn't corrupt) I tried a 12K, then a 16K.

Actually, thinking about it.  Nope,  these are the exact settings I was using for the 12 and 16 trys.  I settled for an 8k version that generated perfectly.

Sincerely,
Me

 
Last edited by a moderator:
SETTINGS:
burnt_size=medium
cities_size=large
desert_size=large
grid_size=large
heightmap=None
mountains_size=medium
multiple_generations=1
name=Hills of Dalinor
pois_list=vanilla
pois_number=increased
seed=myshardbladeisbiggerthanyours
single_city=False
size=8
skip_preview=False
snow_size=medium
spawn_points=increased
terrain_roughness=medium
towns_size=large
traders_number=medium
villages_size=large
waste_size=medium
water_size=medium


With these settings I do not get the error

 
I just restarted the PC, Downloaded another fresh copy of the software, and put it in a C:\kinggen\ folder.

So far so good, but I always get to a certain point then it goes poof.

I have plenty of Drive space, 64 gig of ram, win 10 (updated) i7 proc, all the goodies.  Actually recently even did a full wipe of my own system.

Right now I'm generating villages,  using the settings above, with 16k selected.
Edit: few mins later, now generating random POI's *fingers crossed*

Generating Preview.

And that worked.  I have NO idea why it wasn't working, but I wonder if it had something to do with the folder the software was in.   the folder WAS on my desktop, so it was in the C:|blah\blah\blah\blah..  deep on the desktop.  I wonder if the folder structure gets too big for it to deal with.

Either way.  I guess it was either a fluke or a corrupt download.

Oh and I am running it as Administrator as well.  (I was before)  I read somewhere earlier in the forum others were having some permission errors or something, so I did that just in case.

Thank you for your time.

Sincerely,

Me

 
Last edited by a moderator:
And that worked.  I have NO idea why it wasn't working, but I wonder if it had something to do with the folder the software was in.   the folder WAS on my desktop, so it was in the C:|blah\blah\blah\blah..  deep on the desktop.  I wonder if the folder structure gets too big for it to deal with.
same here, didnt work on a desktop folder, mine was C://blah blah/desktop/kinggen

so i put on my second smaller SSD and all works fine

generated a 10k map, with increased cities and towns sizes etc, in 5 mins!! brilliant, and i havent even got a super nuclear PC (and still windows 7 64bit)!!

so pleased someone is working an a map gen :)

 
Last edited by a moderator:
I've just checked. For me, it does work on my desktop.

I think the proplem some users are experiencing is related to not having writing premission wherever they have put KingGen.

 
Back
Top