Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002751Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2010-07-18 10:402015-02-03 06:41
ReporterOzoneGrif 
Assigned Tolethosor 
PrioritynormalSeverityminorReproducibilityrandom
StatusconfirmedResolutionopen 
PlatformPCOSWindowsOS VersionSeven 64
Product Version0.31.10 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(0032118)
lethosor (manager)
2015-02-02 10:31

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.
(0032126)
ptb_ptb (reporter)
2015-02-03 03:04

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.
(0032128)
lethosor (manager)
2015-02-03 06:41

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

- Issue History
Date Modified Username Field Change
2010-07-18 10:40 OzoneGrif New Issue
2010-07-18 13:37 Footkerchief Category Dwarf Mode -- Interface, General => Technical -- Input/Keybinding
2010-07-18 13:37 Footkerchief 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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker