[HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)
-
- Manual Inserter
- Posts: 4
- Joined: Sat May 09, 2015 12:54 am
- Contact:
[HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)
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
Re: [15.31] Extremely large research multiplier causes crash
Could not reproduce on Windows. I also don't see anything wrong around the place it crash on. I tried 123456789987654321123456789
Re: [15.31] Extremely large research multiplier causes crash
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.posila wrote:Could not reproduce on Windows. I also don't see anything wrong around the place it crash on. I tried 123456789987654321123456789
Re: [HanziQ][15.31] Extremely large research multiplier causes crash (MacOS)
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.
Re: [15.31] Extremely large research multiplier causes crash
Ok, limited it to 1000 for 0.15.32kovarex 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, good call.Bilka wrote:If you do limit it, please document the max number in the lua api doc.