[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: 97
Joined: Tue Sep 29, 2015 9:03 pm
Contact:

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

Post by CmdrKeen » Sat Jul 01, 2017 8:03 pm

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: 9210
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 » Sun Jul 02, 2017 11:56 am

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”

Who is online

Users browsing this forum: veryend