Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006576 [DCSS] Bug Report minor always 2013-01-28 11:47 2013-02-18 16:16
Reporter Implojin View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.12 ancient branch
Summary 0006576: Possible inconsistency in ctrl-F macro handling between local tiles and other builds
Description Using ctrl-F to attempt autotravel to a feature, from a macro or through an Lua function, has a different result in trunk local tiles than it does in local console or other builds.

To reproduce: make this macro in a local tiles build, then in a local console build.

\{6}corpse\{13}a\{13}

Kill something that drops a corpse, stand on a different tile from the corpse, then use the macro.

The intended behavior of the macro is to press ctrl-F, type foo into the search prompt, press enter, press a to select the nearest foo, then press enter again to attempt to autotravel to foo. The result of pressing these keys manually is that your character attempts to autotravel to foo.

In the console build: The result of using this macro is that your character attempts to autotravel to foo.

In the tiles build: The result of using this macro is that your cursor will be placed on the foo that you searched for, but your character will not attempt to autotravel. It seems as though the final \{13} is discarded. Substituting . or ; for the final \{13} in the macro does not change the outcome.

This macro works successfully on CSZO webtiles running the same build (g4453506), so it seems to be an issue with local tiles only.

The macro also works successfully when running local tiles 0.11.0 and 0.11.2 release builds. It seems that something has been changed in trunk local tiles with regard to how macros are handled that has caused it to become nonfunctional.


I first discovered this inconsistency while playing with Lua scripting in local tiles build 0.12-a0-1757-gcbcea53. If, for example, you attempt to do a search for "whatever" using magic(string.char(6) .. "whatever" .. "\ra\r") from parabolic.rc you will run into the same problem.

OS: Windows 7
Additional Information
Tags lua macro, macro, tiles only
Attached Files png file icon no change.png [^] (643,354 bytes) 2013-02-18 16:15

- Relationships

-  Notes
(0020998)
neil (administrator)
2013-02-11 01:49

Does it work to use \{10} instead? Maybe it's a mixup of CR and LF?
(0021069)
Implojin (reporter)
2013-02-18 16:16

Changing the final \{13} to \{10} did not change the outcome, while running crawl_tiles-0.12-a0-2308-gdbc7752.

- Issue History
Date Modified Username Field Change
2013-01-28 11:47 Implojin New Issue
2013-01-28 11:49 Implojin Tag Attached: lua macro
2013-01-28 11:49 Implojin Tag Attached: macro
2013-01-28 11:49 Implojin Tag Attached: tiles only
2013-02-11 01:49 neil Note Added: 0020998
2013-02-18 16:15 Implojin File Added: no change.png
2013-02-18 16:16 Implojin Note Added: 0021069


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker