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

This subforum contains all the issues which we already resolved.
Post Reply
Runesmacher
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sat Dec 03, 2016 12:10 am
Contact:

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

Post 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)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13239
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”