[0.10.8] logistics request selection count overflows

This subforum contains all the issues which we already resolved.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

[0.10.8] logistics request selection count overflows

Post by Rseding91 »

When selecting the count of items to be delivered to a logistics point it overflows uint16_t: selecting 65536 items to be delivered will result in 0 for the count.

Looking into it, the ActionData class is casting the input to a uint16_t when it shouldn't be (as well as a few other places I would assume).

Steps to reproduce:
  • Load any game
  • Place down a requester chest
  • Put in 65536 items as the count
Note how it displays 0.
If you want to get ahold of me I'm almost always on Discord.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.8] logistics request selection count overflows

Post by kovarex »

Thanks, fixed for 0.10.9
Post Reply

Return to “Resolved Problems and Bugs”