View Issue Details

IDProjectCategoryView StatusLast Update
0002751Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2015-02-03 06:41
ReporterOzoneGrif Assigned Tolethosor  
PrioritynormalSeverityminorReproducibilityrandom
Status confirmedResolutionopen 
PlatformPCOSWindowsOS VersionSeven 64
Product Version0.31.10 
Summary0002751: Macros are very slow, and stops working when window loses focus
DescriptionWhen I play my macros, they are awfully slow (about 2 actions per seconds).
But if I reload a fresh game and play the macro, it's faster (about 15 actions per seconds).

My Init.txt is configured for 15ms, which should give about 60 actions per seconds.

Also, if for some reason the window loses focus, the macro stops working (while PLAY is still blinking, but nothing happens anymore).

Finally, I didn't find how to stop a macro playing ?
TagsNo tags attached.

Activities

lethosor

2015-02-02 10:31

manager   ~0032118

I'm not sure about the speed issues, but they could be due to the fact that multiple interface keys are bound to the same physical key. For example, a macro recorded by pressing "d" will contain several keys, only one of which will be simulated every 15ms during macro playback. However, the window focus issue is definitely reproducible in v0.40.24.

ptb_ptb

2015-02-03 03:04

reporter   ~0032126

A related issue is that some fraction of actions will be lost during playback. If you record a macro for something like 'walk west x 20 walk east x 20' your dwarf will not always arrive back at the spot it started at.

lethosor

2015-02-03 06:41

manager   ~0032128

ptb_ptb: That is not the same thing as this issue. If you can reliably reproduce it, you should open a new report.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-07-18 10:40 OzoneGrif New Issue
2010-07-18 13:37 user6 Category Dwarf Mode -- Interface, General => Technical -- Input/Keybinding
2010-07-18 13:37 user6 Category Technical -- Input/Keybinding => Technical -- Input/Keybinding/Macros
2015-02-02 10:31 lethosor Note Added: 0032118
2015-02-02 10:31 lethosor Assigned To => lethosor
2015-02-02 10:31 lethosor Status new => confirmed
2015-02-02 10:59 lethosor Summary Macros are very slow, and stops working when loosing focus => Macros are very slow, and stops working when window loses focus
2015-02-03 03:04 ptb_ptb Note Added: 0032126
2015-02-03 06:41 lethosor Note Added: 0032128