Page 1 of 1

[0.12.30] [Rseding] conversion of data to type "j" failed on Mac

Posted: Wed Apr 06, 2016 1:35 pm
by Choumiko
Getting a bug report here: viewtopic.php?f=97&t=14432&view=unread#p145365

It seems like on a Mac Factorio doesn't like something like this:

Code: Select all

        local output = {parameters={}}
        output.parameters[1]={signal={type = "virtual", name = "signal-cargowagons"}, count = -1, index = 1}
        cargoProxy.set_circuit_condition(1,output)
cargoProxy is a valid constant combinator. Changing the count to 0 seems to fix the error. I can't try it myself though, but on Win7 it works fine with negatives

Re: [0.12.30] [Rseding] conversion of data to type "j" failed on Mac

Posted: Thu Apr 07, 2016 11:28 am
by HanziQ
count is being loaded as an unsigned number, passing in a negative number produces this error on OS X.