Bulk Rail Loader for multipe ores

by ixu

Bulk train loader/unloader with buffer. Suitable of handling multiple ores. Originated from railloader by therax

Content
1 year, 27 days ago
1.1
1.97K
Logistics Trains Storage

b [Fixed in version 1.1.8]Incorrect operation

1 year, 1 month ago

The first time the wagon goes under the loader, everything works as it should. The wagon is filled with cargo. But after a single filling, the loader switches to unloader mode and never returns to being a loader again. If there is any cargo in the wagon, the loader simply takes it into itself and does not give it back out until that loader is completely dismantled and rebuilt.

1 year, 1 month ago

Please provide information to help me reproducing it.

1 year, 1 month ago

我也遇到了这个问题。你可以加入我的游戏"PY新开",IP:dx.moe.xin:37015,我来给你指出问题。
这种情况前些天就出现了一次了,而今天发现了两次。
目前我的处理方法是,将出问题的装载机拆掉,然后重新部署他,但这种操作可定是不能接受的。

1 year, 1 month ago

<Chinese>我查看了模组描述,感觉这个BUG应该是某些情况下,隐藏的爪子不能正确的旋转回来(也可能火车离开时爪子没有正确旋转出去,导致火车进站时爪子被错误的旋转出去了)。
证实这个猜想的现象是,有些装载机在完全停摆前会出现不能正常装载最后一格物品的情况,就像n个爪子往车厢里放物品,n-i个爪子往外抓取物品的情况一样。

1 year, 1 month ago

Ich habe das Problem gefunden. Es betrifft aber nicht diese Mod hier, sondern die Mod https://mods.factorio.com/mod/railloader.
Diese Mod hier wurde genau deshalb erfunden, um das Problem zu lösen, welches du hast.
Du kannst jetzt auf meine Mod umsteigen (https://mods.factorio.com/mod/railloader-MXO) oder den Entwickler der Original-Mod bitten, doch bitte das Problem zu beheben. Ich hatte ihn schon mal darum gebeten (https://github.com/mspielberg/factorio-railloader/pull/46), aber er war nicht bereit, den Bug zu fixen. Vielleicht schaffst Du es.

1 year, 1 month ago
(updated 1 year, 1 month ago)

I have found the problem. However, it does not concern this mod here, but the mod https://mods.factorio.com/mod/railloader.
This mod was invented precisely to solve the problem you have.
You can now switch to my mod (https://mods.factorio.com/mod/railloader-MXO) or ask the developer of the original mod to please fix the problem. I asked him before (https://github.com/mspielberg/factorio-railloader/pull/46), but he was not willing to fix the bug. Maybe you can do it.

1 year, 1 month ago
(updated 1 year, 1 month ago)

我们很确定是这个模组出现的问题,在这个问题出现了几次后,我们尝试切换回原始的railloader,但是即便是切换回原始的railloader,停摆的装载机也不能恢复,所以我们才决定暂停了游戏进度。 在尝试无果后,服务器端的模组并没有恢复成MXO版本。
我在想能不能在存档加载的时候,进行一次爪子修复。记录所有爪子的位置,并删除重置它们,使所有爪子都在正确的方向。

1 year, 1 month ago

Ok, ich checke nochmal. Könntest du bitte eine Haltestelle, bei der das Problem auftritt, mit einem Namen mit mehr lateinischen Buchstaben versehen? Gut wäre auch, wenn du wieder die MXO-Loader verwendest.
Ich hoffe, ich kann mir ein savefile erstellen, damit ich debugged kann.

1 year, 1 month ago

I started right into your mod. And encountered the problem described here. Then I decided to try the original mod. And the original mod I have works correctly. Trains arrive, load and leave.

1 year, 1 month ago

Oh cool. Could send me a savefile?

1 year, 1 month ago

关于你想解决堵塞爪子的情况,我觉得可以换一种思路,在装卸机内部,只部署一个inserter,让这个爪子的效率等效于现有情况就可以了。例如现在有6个隐藏爪子,每次抓取数量为2,速度1/s,那么你可以只部署一个超级inserter,让他的属性为单次抓取12,速度1/s,或者单次抓取6,速度2/s。
因为单个inserter天生具有防阻塞功能,它会检测目标还有多少容量,最后一次会自适应抓取上限。
虽然这种情况会降低多物品装车的速度,但是不会有人用火车来装三四十种物品吧,更多的情况应该是十种以内,而这种情况下,效率损失并不明显,理论上还会有效率提升的可能。

1 year, 1 month ago

怎么联系你来发送存档(p.s. 我并不认识Gloynus,但我们确实遇到了同样的问题。)

1 year, 1 month ago

I repeat that I have the original version of the mod and it works correctly. In any case, within the framework of my tasks. Since English is not my native language, I may not have understood the advantage of your branch and not create the necessary situations for this. Nevertheless, if you are interested in the save file of my game, where you can see how the mod works, it is at the following link:
https://1drv.ms/u/s!AtJniuxq5pHLqZxslK0Dn-b5bFdmZA?e=4wPXwm

1 year, 1 month ago

@creator_80: Mittlerweile konnte ich den Fehler mit einem Savefile von deinem Server reproduzieren. Ich werde jetzt versuchen, zu debuggen. Danke auch für Deine Analyse. Ist ein wenig auch meine Vermutung.
Leider hab ich grad familiäre Verpflichtungen, so dass ich frühestens am Sonntag weiter machen kann.
@Gloymus: Thanks for the savefile.

1 year, 1 month ago

Fixed something. But I am not sure if this will help in all situations. At least it was not correct.
The problem was: In the situation of creator_80-games the trains refused to send the "arrive_station"-event. Maybe because the locomotive was pushing instead of pulling. Now the "wait_station" is also watched.

1 year, 1 month ago

我感觉并没有触及问题的关键。如果是因为某些状况下未触发arrive_station事件,那么loader里所有的inserter应该是同步的动作。现在有出现部分inserter正确掉头,而其他inserter错误动作的情况,具体表现是车厢不能稳定的装满的情况。
然后我又思考了一下你这个分支的思路,发现并不能有效解决inserter阻塞的问题,因为火车发车的时候railloader的box可能已经装满了,反转inserter并不能让把多余的物品正确的放回box,而这种情况很普遍,因为并不是所有的火车都是装满就走的,很多火车都是在车站等待目标车站开放才会放行,这个时间可能足够将box重新填满。
我想的是能不能将arrivestation事件爪子的朝向改为重新设置,而不是简单的修改进口和出口位置。我并不能很好的看懂所有代码,能不能参考inserterconfig.lua或者util.lua中的关于inserter_face等函数来直接重置爪子方向。如果这样的话,还能恢复之前已经不正常的railloader,我也免于手动拆除并重新布置数以百计的railloader。

1 year, 1 month ago

我刚刚重新测试了一下,好像已经恢复了。

1 year, 1 month ago

@Gloymus: The savefile contains a mod that is not on mod portal: "railroad_station_with_logic. This sounds essential. So cannot debug.

1 year, 1 month ago

The save includes my own mod that I tried to make but gave up on. It doesn't add anything to the game, so you can load the save without it.

1 year, 1 month ago
(updated 1 year, 1 month ago)

Changed Bulk Loader to my mod, but could not reproduce the wrong behavior. Could you send a savefile where it is already happening? Please put your character close to this before saving (if you not already did).
Watch out! Use version 1.1.7 to reproduce.

1 year, 20 days ago

On the latest version, everything seems to have started working correctly.

New response