missing connection in blueprint

Anything that prevents you play the game properly. Do you have issues with paying for the game, downloading it or properly running it on your computer? Let us know here.
Post Reply
bobDoesThings
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 08, 2021 2:16 pm
Contact:

missing connection in blueprint

Post by bobDoesThings »

I'm creating blueprints outside of Factorio and have an oddity I can't figure out. I have entities connected with red and/or green wire. In the example below, a green wire between the two wooden chest does not appear when the string is imported. Any ideas?

Code: Select all

0eF7VldtuozAQht/FlytccWwO2jdZVcjAJBkJbGSbdqMo777jUAWWQgpse7FSFGWI5+Dfvz8u
LCsbqDVKy/YXhrmShu1/XZjBoxSle2bPNbA9QwsV85gUlYuEMVBlJcojr0R+Qgk8YlePoSzg
N9sH1xePgbRoEdp6t+CcyqbKQNOCe6UDlhY0R2lA0w9qUStDeUq65lTLf0o8dqaUp4QaFKgh
b//1PUbjyjY0bnXgvjQU/Y5IUXJ9uV5vq61WZZrBSbyi0m51jjpv0KaVKiBVh1TVoEVbP6Cc
D4OH98HfFKVInp/A2Ompw5lTHzWAHM696Q3g4q2TdWR/sdvfyLBRp7Iw9oHG8ZTG8YJpt5+r
TP8V974H1MamnxgtVzWdCM9FVgJrqxsrnFvDyEVVLei8XBf2k42KEHem1WhPFVjMOSVmKG+J
k0cXDcUIZxsuJCk8Fi63Yzdip5V5INYratvQk/se2xUc6FI6uQy4MmmnGqeb1/M4+0GpqrF1
s7j4qNhJ7+DalrOkjtff7WBwR+JpcVvUzOLbu+3qUth32zU3zyV9xI0J8LwcbNyfeevGdu9/
Hdo2C9HGg39hWzjBst0Ey7ZLWfZR1mXj/W2r6DvgBiXNopV0QGqLDBDnz0Pcbi3ieLiecZuH
jHtkzP8dcoG/jnI8Wo+554Efd1+COSTzPYacNxeVvTf0sIp7G7rPHwoqkEA=

Loewchen
Global Moderator
Global Moderator
Posts: 6910
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: missing connection in blueprint

Post by Loewchen »

How did you create the string?

bobDoesThings
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 08, 2021 2:16 pm
Contact:

Re: missing connection in blueprint

Post by bobDoesThings »

Loewchen wrote:
Sun May 02, 2021 1:52 pm
How did you create the string?
Code external to Factorio (Smalltalk in this case). Uncompressed, it looks like this:

Code: Select all

{"blueprint":{"icons":[{"signal":{"type":"item","name":"assembling-machine-3"},"index":1}],"entities":[{"entity_number":1,"name":"filter-inserter","position":{"x":0.5,"y":1.5},"direction":0,"connections":{"1":{"red":[{"entity_id":5}]}},"control_behavior":{"circuit_mode_of_operation":1}},{"entity_number":2,"name":"wooden-chest","position":{"x":0.5,"y":2.5},"direction":0,"connections":{"1":{"green":[{"entity_id":7},{"entity_id":8}],"red":[{"entity_id":4}]}}},{"entity_number":3,"name":"fast-inserter","position":{"x":4.5,"y":1.5},"direction":4,"connections":{"1":{"green":[{"entity_id":8}]}},"control_behavior":{"circuit_condition":{"first_signal":{"type":"item","name":"copper-cable"},"constant":23,"comparator":"<"}}},{"entity_number":4,"name":"arithmetic-combinator","position":{"x":0.5,"y":3.5},"direction":2,"connections":{"1":{"red":[{"entity_id":2}]},"2":{"red":[{"entity_id":5}]}},"control_behavior":{"arithmetic_conditions":{"first_signal":{"type":"virtual","name":"signal-each"},"second_constant":-1,"operation":"*","output_signal":{"type":"virtual","name":"signal-each"}}}},{"entity_number":5,"name":"constant-combinator","position":{"x":0.5,"y":4.5},"direction":0,"connections":{"1":{"red":[{"entity_id":1},{"entity_id":4}]}},"control_behavior":{"filters":[{"signal":{"type":"item","name":"copper-plate"},"count":25,"index":1}]}},{"entity_number":6,"name":"filter-inserter","position":{"x":0.5,"y":-0.5},"direction":4,"connections":{"1":{"red":[{"entity_id":10}]}},"control_behavior":{"circuit_mode_of_operation":1}},{"entity_number":7,"name":"wooden-chest","position":{"x":0.5,"y":-1.5},"direction":0,"connections":{"1":{"green":[{"entity_id":2}],"red":[{"entity_id":9}]}}},{"entity_number":8,"name":"fast-inserter","position":{"x":4.5,"y":-0.5},"direction":0,"connections":{"1":{"green":[{"entity_id":2},{"entity_id":3}]}},"control_behavior":{"circuit_condition":{"first_signal":{"type":"item","name":"electronic-circuit"},"constant":20,"comparator":"<"}}},{"entity_number":9,"name":"arithmetic-combinator","position":{"x":0.5,"y":-2.5},"direction":2,"connections":{"1":{"red":[{"entity_id":7}]},"2":{"red":[{"entity_id":10}]}},"control_behavior":{"arithmetic_conditions":{"first_signal":{"type":"virtual","name":"signal-each"},"second_constant":-1,"operation":"*","output_signal":{"type":"virtual","name":"signal-each"}}}},{"entity_number":10,"name":"constant-combinator","position":{"x":0.5,"y":-3.5},"direction":0,"connections":{"1":{"red":[{"entity_id":6},{"entity_id":9}]}},"control_behavior":{"filters":[{"signal":{"type":"item","name":"iron-plate"},"count":25,"index":1},{"signal":{"type":"item","name":"copper-cable"},"count":25,"index":2}]}}]}}

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3381
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: missing connection in blueprint

Post by DaveMcW »

Build the blueprint, add the missing wire, create a new blueprint, and decode the blueprint to see the right way to do it.

bobDoesThings
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 08, 2021 2:16 pm
Contact:

Re: missing connection in blueprint

Post by bobDoesThings »

Thanks, that was the answer (eventually). It wasn't until I had tried that several times that I really understood what was going on with "circuit_id". All's well now.

Post Reply

Return to “Technical Help”