[Rseding91] [0.15.26] force.chart generates chunks outside of map limits

This subforum contains all the issues which we already resolved.
Post Reply
CmdrKeen
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Tue Sep 29, 2015 9:03 pm
Contact:

[Rseding91] [0.15.26] force.chart generates chunks outside of map limits

Post by CmdrKeen »

Maps with at least one limit to height or width can still have chunks generated outside of those boundries when using force.chart.

reproduction steps:
1. make a map with 1x1 boundry
2. run this command:

Code: Select all

/c local dist = 16384; local x = 0; local y = 0; game.player.force.chart(game.player.surface,{lefttop = {x = x-dist, y = y-dist}, rightbottom = {x = x+dist, y = y+dist}}); game.speed = 10
dist = 16384 causes the memory usage to jump up to above 10 GB with over one-million chunks generated, 64 chunks with tiles.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.15.26] force.chart generates chunks outside of map limits

Post by Rseding91 »

Thanks for the report. This is now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”