MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
1.59k stars 432 forks source link

pushing signals with subtables returns no subtable #3744

Open Kirill0170 opened 1 day ago

Kirill0170 commented 1 day ago

when using computer.pushSignal() with valid table, such as: {"b",{"c"}}, event.pull() returns a table without any subtables: {"b"} screenshot: image

is this intended behavior? I checked documentation, and it says thst subtables are supported. tried this on both lua 5.3 & 5.4

ff66theone commented 1 day ago

And does pullSignal make the iasue ? If yes its a OC problem, otherwise its openos

Kirill0170 commented 1 day ago

And does pullSignal make the iasue ? If yes its a OC problem, otherwise its openos

yes, the issue persists when using computer.pullSignal() image

ff66theone commented 1 day ago

Idk, to avoid issues even if this is supported try serializing the table like youre sending it on the network.

ff66theone commented 1 day ago

Try lua 5.2 also, the page hasn't been updated since 2021