[16.12] Items popping forward out of circuit controlled belt

Things that has been reported already before.
FrodoOf9Fingers
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sat Apr 29, 2017 11:13 pm
Contact:

[16.12] Items popping forward out of circuit controlled belt

Post by FrodoOf9Fingers »

Items are "popping" forward creating unintentional spaces when blocked then released by a circuit controlled belt. Here's a blueprint demonstrating the bug (you just need to have as full belt coming in and draining out). Gaps are intentionally made, but the first couple of plates through the "gate" bounce forward just a little. The lanes may even become uneven.

Code: Select all

0eNrFVNFu2zAM/BcCfZo92G6XFX4Y0P7GUBhyzDYEbMmg6KBBoH8vZS2pl3TIGmDYiwWK5Ol4J2sPbT/hyGQF6j3Q2lkP9c89eHqxpo97shsRaiDBATKwZoiRYZLNgELrfO2GlqwRxxAyINvhK9RlyC5i4OvI6H0ubKwfHUveYi8LkCo8ZYBWSAgTqznYNXYaWmQ95QKfDEbntdvZSEIRc+3Y6VJ8/abH6LDCrm9a3Jgtab0WvQM1mu7mZh8Tz8RemrORtsQy6c6RSarIH+IcHiNGBPJiosKrIgM3IpvECW60z00yTp9AfoQQEnmL6yO9Mn5eGNEuhaJOVdRa4vVEksLwpN3VH8vvNB+ieydaV5/Vuvi/Upe/K/3lCqUf/q3SJ+XlQvQ5Pk1/7Mvtpf/pzJj0DxTKrSNOg0Xbz6HvroTOyxPsj/0/THc0/wrvHyEZdDC9iNEwGp7vZA0/5vyvg9CatsemIx9XqIUnfM8ymq7ZmHSJRKVQt59N7xclh0SqHVyHSce/viHl+Q0J8ZGbH8Z68RZnsEX2syar++9VUa1uy9V9CG+T0PgK
FrodoOf9Fingers
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sat Apr 29, 2017 11:13 pm
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by FrodoOf9Fingers »

I'm having trouble recreating the bug. There may be some user error on my part.
FrodoOf9Fingers
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sat Apr 29, 2017 11:13 pm
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by FrodoOf9Fingers »

Captured the popping, I think it depends on the state that the items are in before the system is fully initialized. I apologize for the not so great gif quality.

bugy.gif
bugy.gif (6.66 MiB) Viewed 2934 times
Loewchen
Global Moderator
Global Moderator
Posts: 9253
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by Loewchen »

I can't see it in the gif and was not able to produce something myself with the BP.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3025
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by boskid »

I was able to reproduce this issue but little manually - blue belt fully compressed:
1/ remove one segment of blue belt (to make gap)
2/ place again blue belt (so items go on it)
3/ remove same segment again (so you have about 2~3 long chunk of items ahead)
4/ place again blue belt

Step 4 makes first item on one lane (or both) to jump one "belt increment" ahead.qww

It is visible on this gif if you know what to look for - first items after gap are little ahead. This jump looks related to belt optimisation - with "show transport-lines" this jumping forward occurs where lanes conect to next lanes with red arrows, when they dissapear after 1 second, there is no problem.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by DaveMcW »

I also ran into this, even without circuit controlled belts. There are two jumps, one furnace width to the left of the player, and one furnace width to the right. Save attached.

Last edited by DaveMcW on Wed Jan 03, 2018 3:23 am, edited 1 time in total.
FrodoOf9Fingers
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sat Apr 29, 2017 11:13 pm
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by FrodoOf9Fingers »

Much better gif, thanks!

It's a small bump, but it's there. IIRC, an item takes up 9 (?) positions on a belt, it seems that items are jumping forward a position.

@DaveMcW
What software are you using to capture the gif? How are you keeping the speed consistent, did you somehow turn down the fps of the game for capture?
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [16.12] Items popping forward out of circuit controlled belt

Post by DaveMcW »

FrodoOf9Fingers wrote:@DaveMcW
What software are you using to capture the gif? How are you keeping the speed consistent, did you somehow turn down the fps of the game for capture?
I am a control freak, so I take a bunch of screenshots and use FFmpeg to compile it into a movie.

Code: Select all

/c script.on_event(defines.events.on_tick, function()
  game.take_screenshot{resolution={1000,1000}, zoom=2, path="folder/"..game.tick..".png"}
end)

Code: Select all

ffmpeg -framerate 30 -start_number 17000 -i $env:APPDATA'\factorio\script-output\folder\%d.png' -vf "crop=720:400:100:400" -vcodec libx264 -b:v 2M output.mp4
Post Reply

Return to “Duplicates”