Bug. Product disappears on belts version V and VI

warrenc · 2 months ago

When 3 mods are loaded, and using the belts V and VI, Product disapears. On flat belt, the belt moves but no product appears on the belt nor arrives at the destination.

On U belts, Product travels on the belt but does not appear at the destination.

Though when I save the game, restart COI and load the game, they work.

These are the mods that need to be loaded to cause the problem. All 3 are required to trigger the problem.

image.png

Edited 2 months ago
wtmxhyy wtmxhyy · 2 months ago

warrenc wrote:

When 3 mods are loaded, and using the belts V and VI, Product disapears. On flat belt, the belt moves but no product appears on the belt nor arrives at the destination.

On U belts, Product travels on the belt but does not appear at the destination.

Though when I save the game, restart COI and load the game, they work.

These are the mods that need to be loaded to cause the problem. All 3 are required to trigger the problem.

image.png

我未能重现这个故障!这问题根源不明

I was unable to reproduce this fault! The root cause of this issue is unknown

warrenc · 2 months ago

wtmxhyy wrote:

warrenc wrote:

When 3 mods are loaded, and using the belts V and VI, Product disapears. On flat belt, the belt moves but no product appears on the belt nor arrives at the destination.

On U belts, Product travels on the belt but does not appear at the destination.

Though when I save the game, restart COI and load the game, they work.

These are the mods that need to be loaded to cause the problem. All 3 are required to trigger the problem.

image.png

我未能重现这个故障!这问题根源不明

I was unable to reproduce this fault! The root cause of this issue is unknown

Understood, Intermittent issues are really difficult to fix.

wtmxhyy wtmxhyy · 2 months ago

这个,我认为和内存有关,因为我发现开局和加载存档是不同的,如我的农业畜牧扩展mod,开局一切正常,如果存档后重新读取档案,有一定几率会出现不显示图标.但是退出游戏再次进入你发现一切又正常.
那么我可以怀疑是内存缓存的问题.各种间歇性问题都应该是缓存或者某个补丁暂时没有挂上,而出现了问题,重新开局或者重新开启一次游戏,这个内存位置空出来了,补丁打进去了,功能就好了.这个问题很头疼.

I believe this is related to memory, as I've noticed there is a difference between starting a new game and loading a save file. For instance, with my agriculture and livestock expansion mod, everything works perfectly when starting a new game. However, after saving and re‑loading the save, icons may fail to display on occasion. Yet quitting and relaunching the game makes everything work normally again.

Therefore, I suspect this stems from memory cache issues. Various intermittent glitches likely occur due to cache problems or a patch failing to load temporarily. Starting a new game or restarting the application frees up that memory space, allows the patch to apply properly, and restores normal functionality. This issue is quite troublesome.😆

🤔 1
warrenc · 1 month ago

wtmxhyy wrote:

这个,我认为和内存有关,因为我发现开局和加载存档是不同的,如我的农业畜牧扩展mod,开局一切正常,如果存档后重新读取档案,有一定几率会出现不显示图标.但是退出游戏再次进入你发现一切又正常.
那么我可以怀疑是内存缓存的问题.各种间歇性问题都应该是缓存或者某个补丁暂时没有挂上,而出现了问题,重新开局或者重新开启一次游戏,这个内存位置空出来了,补丁打进去了,功能就好了.这个问题很头疼.

I believe this is related to memory, as I've noticed there is a difference between starting a new game and loading a save file. For instance, with my agriculture and livestock expansion mod, everything works perfectly when starting a new game. However, after saving and re‑loading the save, icons may fail to display on occasion. Yet quitting and relaunching the game makes everything work normally again.

Therefore, I suspect this stems from memory cache issues. Various intermittent glitches likely occur due to cache problems or a patch failing to load temporarily. Starting a new game or restarting the application frees up that memory space, allows the patch to apply properly, and restores normal functionality. This issue is quite troublesome.😆

Thanks, Will keep that in mind when it shows up again. 😀👍

wtmxhyy wtmxhyy · 24 days ago

你们去掉bost++试试?你没发现你加载了其他mod吗?
那么会不会冲突了?

wtmxhyy wtmxhyy · 24 days ago

我一直持续关注此问题,经过几小时测试,我一直没有复现故障,无法准确理解故障点。请大家务必能够复现故障。准确反馈给我改进

warrenc · 23 days ago

wtmxhyy wrote:

你们去掉bost++试试?你没发现你加载了其他mod吗?
那么会不会冲突了?

I use Boost++ Extensively. I Will not be removing that mod. I just hope you eventually find the trigger of the problem. I understand intermittent issues are difficult to solve.

wtmxhyy wtmxhyy · 21 days ago

warrenc wrote:

wtmxhyy wrote:

你们去掉bost++试试?你没发现你加载了其他mod吗?
那么会不会冲突了?

I use Boost++ Extensively. I Will not be removing that mod. I just hope you eventually find the trigger of the problem. I understand intermittent issues are difficult to solve.

我不是让你不使用bost++,那是一个优秀的mod。而是希望你在沙盘模式下,单独加载本mod,用来复现这个故障。然后准确告知我这是什么情景下复现的故障。我一直无法复现你们说的故障,没法准确定位。因为很多人的确反馈了这个故障,可是很久了我一直没有抓到复现点,就是故障非常随机,再次启动游戏或者在此加载mod故障就会消失不见。

👍 1
wtmxhyy wtmxhyy · 21 days ago

Boost++ 完全不碰TransportedProduct 、MAX_TRANSFER_PER_TICK ,所以 不是同一个方法的补丁冲突 。但它:

  • TransportSpeedPatch.SimUpdatePostfix 用反射每 tick 最多 额外调 8 次tryMoveProducts → 上述危险写回执行次数成倍放大;
  • BeltInventoryPatch 用 Transpiler 改tryMoveProducts /ReceiveAsMuchAsFromPort /CouldReceiveFromPortEarlyExit 的ProductSpacingWaypoints ,而该字段正是本 mod 反射改成 1~3 的;Boost++ 的if (vanillaPsw <= 1) return vanillaPsw; 对 T6(=1)直接失效;
  • MiniZipperRecomputePostfix 缩放连接器m_delay /m_maxBufferSize ,而这些值依赖ioPort.GetMaxThroughputPerTick() ,本 mod 又改了MAX_TRANSFER_PER_TICK 与各等级ThroughputPerTick 。两 mod 数值互相咬合。

因此boost++不是故障本源,而是放大器,他把本mod一个不稳固点给放大了故障发生可能性。
我做了底层代码重审,发现了故障可能发生地方,因为是代码的脆弱性引发的补丁失效。

这个故障,的确很偶然,我的代码理论上只会加载一次,如果中间有任何变动,都不会再次复写修改,因此有些用户是成功的,而有些用户发生了吞物资的事情。

我已经开始着手针对性的打补丁。感谢各位一直持续的反馈,我也进行了深度反思。肯定诸位进行新版本测试。

Edited 21 days ago
👍 2
Grayers0123 · 15 days ago

wtmxhyy wrote:

Boost++ 完全不碰TransportedProduct 、MAX_TRANSFER_PER_TICK ,所以 不是同一个方法的补丁冲突 。但它:

  • TransportSpeedPatch.SimUpdatePostfix 用反射每 tick 最多 额外调 8 次tryMoveProducts → 上述危险写回执行次数成倍放大;
  • BeltInventoryPatch 用 Transpiler 改tryMoveProducts /ReceiveAsMuchAsFromPort /CouldReceiveFromPortEarlyExit 的ProductSpacingWaypoints ,而该字段正是本 mod 反射改成 1~3 的;Boost++ 的if (vanillaPsw <= 1) return vanillaPsw; 对 T6(=1)直接失效;
  • MiniZipperRecomputePostfix 缩放连接器m_delay /m_maxBufferSize ,而这些值依赖ioPort.GetMaxThroughputPerTick() ,本 mod 又改了MAX_TRANSFER_PER_TICK 与各等级ThroughputPerTick 。两 mod 数值互相咬合。

因此boost++不是故障本源,而是放大器,他把本mod一个不稳固点给放大了故障发生可能性。
我做了底层代码重审,发现了故障可能发生地方,因为是代码的脆弱性引发的补丁失效。

这个故障,的确很偶然,我的代码理论上只会加载一次,如果中间有任何变动,都不会再次复写修改,因此有些用户是成功的,而有些用户发生了吞物资的事情。

我已经开始着手针对性的打补丁。感谢各位一直持续的反馈,我也进行了深度反思。肯定诸位进行新版本测试。

十分感谢你能打这个补丁,我十分的喜欢你的这个模组

Locked

258 Showing 1–13 of 13