Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

[Phobos Bug] HarvesterCounter believes that the harvester in Chrono ready state is not working

Open DeathFishAtEase opened this issue 3 years ago • 5 comments

Description:

If a CMIN on its way back is walking because GAREFN is occupied, the HarvesterCounter believes that the CMIN is not working

Phobos Build:

Build 27

Steps To Reproduce:

Make the number of CMIN more than XAREFN

Expected Behaviour:

CMIN is still on its way back to the mine and has not changed to a non mission state, which should not be considered as not working. And the resulting high-frequency flashing of the HarvesterCounter is very annoying and meaningless (because the harvester is actually still working and does not need players to give it new instructions)

Actual Behaviour:

The CMIN in this state is regarded as not working, and make the HarvesterCounter flashes at a high frequency

Additional Files / Links:

HarvesterCounter_CMIN_Bug

DeathFishAtEase avatar Apr 19 '22 11:04 DeathFishAtEase

You may check my solution for this. This is supposed to be a helper utility, the criteria may differ between people.

我觉得移动的guard状态的矿车应该算是在采矿状态中的,保险起见我加了没被选择的情况,可能会有误判,但闪烁的情况会大大减少

chaserli avatar May 07 '22 04:05 chaserli

You may check my solution for this. This is supposed to be a helper utility, the criteria may differ between people.

我觉得移动的guard状态的矿车应该算是在采矿状态中的,保险起见我加了没被选择的情况,可能会有误判,但闪烁的情况会大大减少

我试了试,确实变得少多了,除了偶尔会在矿场倒矿的时候因为实在太挤而真的罢工:P

DeathFishAtEase avatar May 07 '22 10:05 DeathFishAtEase

... I remember you changed MCV's wayfinding before. Do you want to try to change the wayfinding of the harvester? They are too stupid 你之前改过MCV的寻路,要不要尝试一下修改矿车的寻路,这(↓)实在是太要命了 hard work hardwork hardwork2 000

DeathFishAtEase avatar May 07 '22 10:05 DeathFishAtEase

... I remember you changed MCV's wayfinding before. Do you want to try to change the wayfinding of the harvester? They are too stupid 你之前改过MCV的寻路,要不要尝试一下修改矿车的寻路,这(↓)实在是太要命了 hard work hardwork hardwork2 000

I didn't try to change MCV's pathfinding in the other PR, I just reset its destination, it still does the pathfinding itself. Change the default A* attempt is definitely out of my capabilities for the moment

chaserli avatar May 07 '22 10:05 chaserli

I didn't try to change MCV's pathfinding in the other PR, I just reset its destination, it still does the pathfinding itself. Change the default A* attempt is definitely out of my capabilities for the moment

xb, at least this problem is much better than before

DeathFishAtEase avatar May 07 '22 11:05 DeathFishAtEase