[HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)

This subforum contains all the issues which we already resolved.
archiecstll
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 09, 2015 12:54 am
Contact:

[HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)

Post by archiecstll »

When generating a new map, set an extremely large research multiplier. Once the map loads, open the research window. Game will crash if the multiplier is large enough. Otherwise, click on a tech that is more expensive to research than the initially selected one.
Attachments
factorio-current.log
(5.74 KiB) Downloaded 200 times

posila
Factorio Staff
Factorio Staff
Posts: 5313
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [15.31] Extremely large research multiplier causes crash

Post by posila »

Could not reproduce on Windows. I also don't see anything wrong around the place it crash on. I tried 123456789987654321123456789

kovarex
Factorio Staff
Factorio Staff
Posts: 8188
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [15.31] Extremely large research multiplier causes crash

Post by kovarex »

posila wrote:Could not reproduce on Windows. I also don't see anything wrong around the place it crash on. I tried 123456789987654321123456789
We should limit it to something reasonably anyway, more than a 100 or 1000 doesn't really make sense. Once the numbers become too large, doubles will not be able to do the small addition and the research would be frozen.

Bilka
Factorio Staff
Factorio Staff
Posts: 3305
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)

Post by Bilka »

If you do limit it, please document the max number in the lua api doc.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

posila
Factorio Staff
Factorio Staff
Posts: 5313
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [15.31] Extremely large research multiplier causes crash

Post by posila »

kovarex wrote:We should limit it to something reasonably anyway, more than a 100 or 1000 doesn't really make sense. Once the numbers become too large, doubles will not be able to do the small addition and the research would be frozen.
Ok, limited it to 1000 for 0.15.32
Bilka wrote:If you do limit it, please document the max number in the lua api doc.
Ok, good call.

Post Reply

Return to “Resolved Problems and Bugs”