AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Add "Pause" update stage to Generic

Open Greelan opened this issue 2 years ago • 1 comments

This is not for requesting support for new games/applications

To do this you should go to https://github.com/CubeCoders/AMPTemplates and first attempt to build a configuration yourself - otherwise you can request a template from this repo.

Feature Request

Feature Information:

It would be useful to have a configurable "Pause" update stage. This would pause the update stages for a specified number of seconds.

One use case is the new Stationeers server build. The updated draft template includes start/wait/stop stages to generate the server files. However the console output that appears then is different to subsequent starts. If a console line that is present on all starts is selected as the app ready regex, then on first start the stop stage kicks in too quickly, because the server does some additional work after that point on first start. This causes the stop stage to not work correctly. This would be avoided if a pause could be introduced after the wait update stage, that operates once the regex is matched and the server is otherwise considered to be started.

This might also help in some cases where a start stage seems to hang if run immediately after a set executable stage.

I confirm:

  • [x] that I have searched for an existing feature request matching the description.

Greelan avatar Jul 17 '22 00:07 Greelan

This could also help the case (eg Vintage Story) where an executable fails to be started if that update stage occurs immediately after the server files are unzipped/extracted.

Greelan avatar Aug 02 '22 07:08 Greelan