Page 1 of 1

[kovarex] [1.1.34] Smart Belt Dragging placing belts in the wrong location and or direction

Posted: Thu Jun 10, 2021 8:51 pm
by jan1i3
There are several cases where smart belt dragging ends up placing belts on the incorrect row or column or the belts are facing the opposite direction. These are just 3 cases i managed to reproduce.

Syntax:
starting with belts facing north (^)
. = start
^ > v < = move cursor one tile in that direction
r = press r
() = just to make it look better/clearer what the problem is
Case 1
. ^ > v r v < < (<) r

Expected:
The last belts face north (^) (and don't rotate the last belt that is facing east (>) to so it forms a corner)
Case 2
. ^ r ^ v v >

Expected:
The last belt is placed next to the top belt (as that is the last placed belt), faces east (>) and rotates the top belt to also face east (>)
Case 3
. v r v >

Expected:
The last belt is placed next to the bottom belt (and faces west (<))
Note
I was specifically trying to look for ways to reproduce any kind of issues with smart belt dragging, which means the first two cases are actually cases i just came accross while testing, not in the real world, however since i found them they might help find issues that are causing problems in real world cases.

The third case however is definitely something that happens in the real world.

And lastly there are more issues that i came accross but wasn't able to reproduce. I believe it can also be timing related.

Re: [kovarex] [1.1.34] Smart Belt Dragging placing belts in the wrong location and or direction

Posted: Tue Jun 22, 2021 2:32 pm
by kovarex
Hello, thanks for the report.

I checked it out, and this problem is actually fixed as a side-effect of fixing other belt related problem for the next version.

Re: [kovarex] [1.1.34] Smart Belt Dragging placing belts in the wrong location and or direction

Posted: Tue Jun 22, 2021 3:19 pm
by jan1i3
Great to hear!
I've since written a script to make other cases reproducible which seemed timing related (which are actually cursor location delta related), but i shall wait until next release to see if those have also been fixed