Degrading game responsiveness over time (factory queue in particular)

@jip said in Degrading game responsiveness over time (factory queue in particular):

@silentNoob that is something I can work with, I'll look into it

Thanks!
I noticed that the issue pops up not only in late game but maybe even from the beginning.

@silentnoob said in Degrading game responsiveness over time (factory queue in particular):

@jip said in Degrading game responsiveness over time (factory queue in particular):

@silentNoob that is something I can work with, I'll look into it

Thanks!
I noticed that the issue pops up not only in late game but maybe even from the beginning.

@silentNoob For my idea, what are the UI mods that you use and can you see if you can reproduce it without any UI mods enabled? And when you do experiment again, can you share the game logs?

I've tried clicking around like you do in your video and I did notice that draggable queues do not work with mobile factories. I also noticed that the responsiveness of the buttons can be a bit clunky at the moment that a unit leaves a factory and / or the queue is otherwise adjusted (by a support factory, for example). However I was unable to reproduce it not working entirely.

Made a bug report on Discord for the mobile factory aspect not working with draggable queues

edit: managed to reproduce the duplicated build queue: it is related to the draggable queue feature

edit: draggable queue appears to be quite buggy

A work of art is never finished, merely abandoned

@jip Alright, will try without any mods! The only one I have active is advanced target priorities.

Sorry @Jip, this took a while but I have an update on the isse (game log and video link attached). Note that this time I did not use any (Ui) mods whatsoever:

  • The factory queue stops being responsive if there is a longer period of no factory queue updates, i.e. no units roll off or no unit is added to the queue

  • This apparently is not tied to a specific factory but rather to any factory in the game

  • The issue is easiest to reproduce if you stall mass, i.e. units roll off very slowly and factory queues are therefore not updated and no units are added to any factory by the player.

  • Therefore, this issue should be reproduceable already in early game, which I managed to do after about 8 minutes in a separate game (not in video). Just build a bunch of factories, que in a bunch of different units, stall really hard and try to drag & drop or right click in any factory queue. If queue is not responsive, either add a new unit to a queue or wait for a unit to roll off the factory. This should allow drag & drop / right-clicking again.

  • My best guess is that it has to do with how factory queues are handled / polled / updated within the game mechanics

Game Log:
game_21399981.log

Video link:
https://youtu.be/ht7IDmaB1KI

I'll see what I can find, thank you for the elaborate response @silentNoob

A work of art is never finished, merely abandoned

You are welcome, thanks for investigating!

This post is deleted!

I've been able to find a reliable reproduction. Investigating the cause today 😃

edit: I've confirmed it is something we did in FAF - I'm unable to reproduce it in the Steam version of the game.

edit: I've confirmed that with or without the drag build feature, the queue can become unresponsive for at least one click after a few seconds.

edit: found one case and managed to fix it. You can the explanation on Github #5761.

edit: the drag queue feature appears to be more stable now too. It appears that it won't work if you try to decrease a unit right after dragging the queue.

The fix is now live on the FAF Develop game type. It took about three hours to investigate and fix. With thanks to @silentNoob for his extensive description and video. @silentNoob could you see if you can still encounter the bug on FAF Develop?

A work of art is never finished, merely abandoned

I gave it a testrun on FAF Develop and everything seems fine! Thanks a lot for investigating, @Jip !

As far as I can tell so far:

  • drag & drop is working
  • modifying unit counts within a queue is working
  • there is no more random adding of units to the end of the queue after drag & drop

This will be a huge gameplay improvement, at least for me, since I am using factory queue adjustments a lot.

I have found that my Tech 2 Land Factory HQ has stalled in my last game with you silentNoob (game #21454134). It happened around the 10th minute mark I think. I decided to just jump straight to Tech 3 when I seen that but then it should not have even stalled in the first place and it took some time for me to spot that it has happened. It could have been costly if I had not seen it and would there be a reason for it happening?

@testplay by stalled you mean that it did not produce evene if units were in the queue? I had that very occasionally and it is typically because there is a unit / engie stuck somewhere. Somtimes however (very rarely) it just will not produce any units regardless. Did you try to completely stop it and creat a new queue?

Yup I think that there was a unit near the Tech 2 Land Factory HQ but we cannot be overseeing those kinds of things in the actual game itself because you will not know when it will jam up. I did not stop it and to try a new queue because I found that I could tech up instead and bypass anymore stalling.

The fix of the problem described by silentNoob is now live

A work of art is never finished, merely abandoned