Page 1 of 1

[0.15.18][Lua-api] Signal count is actaually int

Posted: Wed Jun 07, 2017 11:23 pm
by Runesmacher
When writing my mod and playing around with signals and valuecounts i got the Error: "Value out of range in property tree at ROOT[0].count"
I limited the value that a signal count can have to the uint max(4,294,967,295) , but the error still came back.
I tried setting the limit to the int max (2,147,483,647) and the value is accepted.

=> therefore my understanding is that the signal count is actually an int instead of a uint as described in the lua docs.=
link to actual doc => http://lua-api.factorio.com/latest/Concepts.html#Signal (or fixed release: http://lua-api.factorio.com/0.15.18/Con ... tml#Signal)

Re: [0.15.18][Lua-api] Signal count is actaually int

Posted: Thu Jun 08, 2017 12:00 am
by Rseding91
Fixed for the next version of 0.15.