Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005366Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2012-02-21 07:162012-02-22 14:33
ReporterGreiger 
Assigned ToBaughn 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.34.02 
Target VersionFixed in Version0.34.03 
Summary0005366: Bizarre macro behavior
DescriptionSaving a macro does not stop recording, playing that macro after saving can cause loss of game control.
Steps To ReproduceHit ctrl-r to create a macro and put in some basic commands, hit ctrl-s to save it. Note that the recording indicator is still on. Hold ctrl-p to play the macro afterwards. Note how the game is now simultaneously recording and playing the macro.

This can cause the game to go out of control, as the macro system seems to record and play itself repeatedly. A quick tap of the play button will often stop playing after a moment, but when the play button is held for a few seconds it seems to snowball out of control quickly.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0002571resolvedlethosor Accidentally trying to run a macro while you are recording causes an infinite input loop 

-  Notes
(0020373)
Greiger (reporter)
2012-02-21 07:31
edited on: 2012-02-21 07:35

Actually, it seems holding the play key down at all to play a macro results in complete loss of game control. I imported a "down, enter, enter" macro from .31 and the macro would not stop after it was played.

This occurred in the trade screen when attempting to buy large amounts of food.

(0020375)
Footkerchief (manager)
2012-02-21 07:36

Reminder sent to: Baughn

Macros in simultaneous record/playback or something.
(0020492)
Baughn (manager)
2012-02-22 14:31

Oh, neat! I didn't realize it would do that, though it's obvious in retrospect.

I've changed the behaviour so it'll stop recording when you press ctrl-p. To the degree anyone would *want* the current behaviour, I'll deal with that using better macro keys when possible.
(0020494)
Baughn (manager)
2012-02-22 14:33

Actually, let's make that "temporarily stop recording while playing it back", so you'll be able to see how it works so far and then record some more.

- Issue History
Date Modified Username Field Change
2012-02-21 07:16 Greiger New Issue
2012-02-21 07:31 Greiger Note Added: 0020373
2012-02-21 07:35 Footkerchief Status new => assigned
2012-02-21 07:35 Footkerchief Assigned To => Baughn
2012-02-21 07:35 Footkerchief Summary Bizzare Macro behavior => Bizarre macro behavior
2012-02-21 07:35 Greiger Note Edited: 0020373 View Revisions
2012-02-21 07:36 Footkerchief Note Added: 0020375
2012-02-22 14:31 Baughn Note Added: 0020492
2012-02-22 14:31 Baughn Status assigned => resolved
2012-02-22 14:31 Baughn Fixed in Version => Next Version
2012-02-22 14:31 Baughn Resolution open => fixed
2012-02-22 14:33 Baughn Note Added: 0020494
2015-01-19 16:25 lethosor Relationship added has duplicate 0002571


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker