[0.9.8] 4.3 billion mineable resources (but not really)

This subforum contains all the issues which we already resolved.
Post Reply
albarak
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue May 13, 2014 5:04 pm
Contact:

[0.9.8] 4.3 billion mineable resources (but not really)

Post by albarak »

Seems like there's an integer overflow happening somewhere:

Image

When I demolish the miner and check the squares underneath by hand, two of them show negative values. Mining makes the negative value greater (i.e. -2500 ==> -2501). There are also at least two in the copper field in the north west end of the base in this save (let me know when you've grabbed it so I can pull the link, tia); I can't remember if I've seen this in any other levels or in freeplay. e/ I should clarify, this is level 4 of New Hope.

Probably somewhat related to this one, even if it's not the same code block causing it.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.9.8] 4.3 billion mineable resources (but not really)

Post by ssilk »

I guess they will need a save of that game....
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

albarak
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue May 13, 2014 5:04 pm
Contact:

Re: [0.9.8] 4.3 billion mineable resources (but not really)

Post by albarak »

Is the link not showing up? I tried attaching it but the file was too big, had to use a dropbox link instead.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.9.8] 4.3 billion mineable resources (but not really)

Post by ssilk »

Ah. Now. Sorry. I think Albert needs to enhance the links a bit more... :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.8] 4.3 billion mineable resources (but not really)

Post by slpwnd »

Thanks for the report. There is a resource with 0 amount in the map. In 0.10 there will be a safety measure in the entity mining code against this.

Post Reply

Return to “Resolved Problems and Bugs”