Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0011717 [DCSS] Bug Report trivial always 2018-10-18 15:40 2019-02-02 04:53
Reporter TAS2012 View Status public  
Assigned To ebering
Priority normal Resolution done  
Status resolved   Product Branch 0.22 ancient branch
Summary 0011717: force_more_message interacts confusingly with targeting
Description This has probably been the same for many release versions of (console?) Crawl and the same behavior is noted in Online Console latest trunk 0.23-a0-178-g440b721.

To reproduce:
(0. Start with a clean Crawl installation.)
1. Add the line "force_more_message += dragon" to the init.txt file. (*)
2. Start a new game and activate wizmode. Maybe raise character XL and skill levels too for an easier time.
3. Create a monster with &m "golden dragon".
4. Create something to target with with &o/ "acid".
5. Evoke your staff of acid to enter targeting mode.
Depending in your surroundings you might immediately get a --more-- prompt like this:
 < Evoke which item? (* to show all) (? for menu, Esc to quit)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - golden dragon


 --more--

But if there is another monster present you might get the standard targeting interface instead:
 Evoke which item? (* to show all) (? for menu, Esc to quit)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - goblin
 Aim: a goblin, wielding a club

In the latter case, position the cursor over the dragon so you get an interface that looks like the former one.
6. Note that the targeting interface is now "locked" by the --more-- prompt, cursor keys do nothing. Press space to respond to the prompt.
The interface changes to:
 Evoke which item? (* to show all) (? for menu, Esc to quit)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - golden dragon
 Aim: a golden dragon 
 --more--

7. Note that the targeting interface is still locked, cursor keys do nothing. Press space to respond to the prompt.
8. Nothing seems to have happened(**). The more prompt is still there.
9. Maybe you try to press space again to respond to the prompt. In that case you fire you bolt of acid towards the dragon.
 Evoke which item? (* to show all) (? for menu, Esc to quit)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - golden dragon
 Aim: a golden dragon
 The bolt of acid hits the golden dragon.
 --more--

(press space)
 Evoke which item? (* to show all) (? for menu, Esc to quit)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - golden dragon
 Aim: a golden dragon 
 The bolt of acid hits the golden dragon.
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 --more--

(press space)
 Aiming: Corrosive Bolt
 Press: ? - help, Shift-Dir - straight line, f - golden dragon
 Aim: a golden dragon 
 The bolt of acid hits the golden dragon.
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 --more--

(press space, and start rethinking the wisdom of your force_more_message if you haven't already)
 Press: ? - help, Shift-Dir - straight line, f - golden dragon
 Aim: a golden dragon 
 The bolt of acid hits the golden dragon.
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 The golden dragon claws you but does no damage.
 --more--

(press space)
 Aim: a golden dragon 
 The bolt of acid hits the golden dragon.
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 The golden dragon claws you but does no damage.
 The golden dragon closely misses you.
 --more--

 The bolt of acid hits the golden dragon.
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 The golden dragon claws you but does no damage.
 The golden dragon closely misses you.
 You block the golden dragon's attack.
 --more--

(press space)
 The golden dragon is splashed with acid.
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 The golden dragon claws you but does no damage.
 The golden dragon closely misses you.
 You block the golden dragon's attack.
 You block the golden dragon's attack.
 --more--

(press space)
 The golden dragon is heavily wounded.
 You block the golden dragon's attack.
 The golden dragon claws you but does no damage.
 The golden dragon closely misses you.
 You block the golden dragon's attack.
 You block the golden dragon's attack.
 The golden dragon misses you.
 --more--

(press space...)

OK, so the main problem here is not that it is possible to set a stupid force_more_message but that while in targeting mode the "--more--" is not removed, even though it has already been responded to ("cleared" with a press of the space bar), which contradicts what the player is expecting.

I think, ideally, the targeting UI would not be able to trigger a force_more_message. I can think of no scenario where this would be desired. It seems such a change would also solve the problem with the "ghost" inactive more prompt confusing the player.


(*) Not the smartest of force_more_messages really, but it could happen. Maybe you found Wyrmbane late in the game, and are trawling through Abyss for bone dragons to raise it's enchantment, Tab-fighting everything with your current better weapon but want to switch to Wyrmbane for killing only the dragons. That and the hypothetical you are not so used to fiddling with force_more_message in the options and try something simple at first. You can probably imagine other scenarios.

(**) But if you were really observant, you noted that the cursor position changed from at the end of the more prompt to the monster position! How visible this is depends on your console software settings. On default settings, if you were focusing on the message area where the prompts are, you probably didn't notice that the cursor suddenly shifted around to another place on the screen.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0033031)
ebering (developer)
2019-02-02 04:52

0.24-a0-29-g43a6aff242

- Issue History
Date Modified Username Field Change
2018-10-18 15:40 TAS2012 New Issue
2018-10-18 15:41 TAS2012 Issue Monitored: TAS2012
2019-02-02 04:52 ebering Note Added: 0033031
2019-02-02 04:52 ebering Status new => resolved
2019-02-02 04:52 ebering Resolution open => done
2019-02-02 04:52 ebering Assigned To => ebering


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