Ticket #45600

Prompt mode setting

Open Date: 2022-09-07 18:20 Last Update: 2022-09-08 00:12

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

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 History (3/3 Histories)

2022-09-07 18:20 Updated by: cazfi
  • New Ticket "Prompt mode setting" created
2022-09-07 18:46 Updated by: None
Comment

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

2022-09-08 00:12 Updated by: cazfi
Comment

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.

Attachment File List

No attachments

Edit

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