• 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

Good day .. KingSlayerGM

I think we have an issue .. 

First picture should be settings and second picture is what I got .. world fold was put into Gen folder .. but I don't want to try and run it in Game.

Until I get the all clear .. First time I ran KingGen .. all I got was error report ( so I uninstalled and re-installed, thinking maybe bad download)
Thanks for reporting I am going to check whats wrong.

I was running a 16k custom map I made yesterday and made several versions 0.10 and 0.11 tells me my pixel count is over limit even though my pixel count is the square root of a 16k map

"Generating heightmap.
Traceback (most recent call last):
  File "crash_log.py", line 19, in handle_crash_log
  File "gui_generation.py", line 27, in generate
  File "ntime.py", line 11, in ntime
  File "world.py", line 1187, in run
  File "world.py", line 227, in generate
  File "world.py", line 905, in init_heightmap
  File "world.py", line 921, in load_heightmap
  File "PIL\Image.py", line 2953, in open
  File "PIL\Image.py", line 2940, in _open_core
  File "PIL\Image.py", line 2849, in _decompression_bomb_check
PIL.Image.DecompressionBombError: Image size (268435456 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack."

268435456 pixels in a 16k map
178956970 pixels limit is a 13,377.4 a side map

any ideas?
yes, there is a limit in pixel size when loading an image. Normally I told KG to ignore the limit but in one part of the code I forgot. I am gonna fix it.

 
Thanks for reporting I am going to check whats wrong.

yes, there is a limit in pixel size when loading an image. Normally I told KG to ignore the limit but in one part of the code I forgot. I am gonna fix it.
I think its already done mine is generating with pixel limits  just fine

 
Hello
I wanted to use your software, but it is infected.

52bb3da1c467.jpg

https://www.virustotal.com/gui/file/551bad43d86949e20f2f789524d2d117dcf6da5395f552ab1f4faccc78d499b1/detection
 
~/Downloads$ ./KingGen
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
KingGen: xcb_io.c:260: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)


I got this on Ubuntu 21.04. Is there source code available for this tool?

 
~/Downloads$ ./KingGen
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
KingGen: xcb_io.c:260: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)


I got this on Ubuntu 21.04. Is there source code available for this tool?
Thanks for reporting. I will try to investigate. Which version of python is in your system?

The source code is not available

 
I checked again and the file is really clean. I liked the map that the editor created, it was very nice, but where are the rivers?

 
Back
Top