Ticket #45600

Prompt mode setting

Eröffnet am: 2022-09-07 18:20 Letztes Update: 2022-09-08 00:12

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

The problem I've often faced: Autogames where the turns take very long time for some reason (e.g. heavy games run within valgrind) are displaying just string of autosave messages and prompts, and I'd like to know how long it's since previous such prompt to know if makes any sense to wait for it, or should I just kill it.

I'm currently developing a solution to this called "prompt mode server setting". By setting that setting to value "TIME" those prompts show the time they were printed.

Ticket-Verlauf (3/3 Historien)

2022-09-07 18:20 Aktualisiert von: cazfi
  • New Ticket "Prompt mode setting" created
2022-09-07 18:46 Aktualisiert von: None
Kommentar

Wouldn't something like | awk '{print strftime("%m/%d/%Y %H:%M:%S |", systime()), $0}' work just fine?

2022-09-08 00:12 Aktualisiert von: cazfi
Kommentar

Reply To (Anonymous)

Wouldn't something like | awk '{print strftime("%m/%d/%Y %H:%M:%S |", systime()), $0}' work just fine?

Thanks for the hint.

That would work on a completely scripted run. Not so much if you combine autogame (no human players, turn change driven by timeout) and some console usage.

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden