Page 1 of 1

[Factorio 0.11.x] Unit vision distance crash.

Posted: Sat Jul 11, 2015 10:38 am
by Dysoch
When changing the vision_distance in the prototypes to somewhere around 50000 the game crashes when starting a new map.

What happens is the game goes on a rampage on your RAM and then crashed without any message. (but your RAM is maxed out)

when combining this with : https://forums.factorio.com/forum/vie ... =7&t=13420 (so both are present)
the game even crashes your pc (yes it did, black screen, unresponsive and then reboots the pc)

sound like a massive error to me.

Maybe limit the vision_distance? (but i want a unit with high vision distance (50.000+) so it will always immediately attack)

error log with vision_distance:
error vision distance
error vision distance and autoplace empty table
both errors are the same basically

Re: [Factorio 0.11.x] Unit vision distance crash.

Posted: Sat Jul 11, 2015 10:41 am
by orzelek
I think you just managed to destroy the pathfinder :D

Re: [Factorio 0.11.x] Unit vision distance crash.

Posted: Sat Jul 11, 2015 10:45 am
by Dysoch
orzelek wrote:I think you just managed to destroy the pathfinder :D
think i destroyed factorio itself :D My pc couldnt handle it, and then rebooted because even the system processes were shut down xD

Re: [Factorio 0.11.x] Unit vision distance crash.

Posted: Sun Jul 12, 2015 4:35 am
by Rseding91
thanks for the report. I added a upper bounds check to the number so it won't load if it's too large.

Re: [Factorio 0.11.x] Unit vision distance crash.

Posted: Sun Jul 12, 2015 7:12 am
by Dysoch
Rseding91 wrote:thanks for the report. I added a upper bounds check to the number so it won't load if it's too large.
what is the upper limit?