[critical] Keys doesn't works; need to push it several times

Bug reports and discussion about bugs.
User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [critical] Keys doesn't works; need to push it several times

Post by tangar » Thu Jul 13, 2017 11:39 pm

Sad. RIP.

But it's different case. I had my scrolls on me ( http://angband.oook.cz/ladder-show.php?id=20814 ) and it wasn't no-tele lvl. So my istari died cause of certain bug; not cause 'fair' situation, which for example include scrolls burning.
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

Lightman
Posts: 165
Joined: Thu Jun 07, 2012 7:55 pm

Re: [critical] Keys doesn't works; need to push it several times

Post by Lightman » Tue Jul 18, 2017 7:07 pm

Hi,

Good news. I can reproduce the bug where your teleportation macro fails.

1) Press ='L' to look around the map
2) Press another key without a macro such as "f" (it beeps without executing the command.)
3) Hit your teleportation macro as many times as you like - it won't fire anymore! Other macros are also disabled at this point. Some beep.

Note that Pressing 'L' and hitting the macro without the non-macro key in the middle works fine as expected. So it never recovers from hitting the non-macro key in step 2.

Macro used = \e)r@Teleportation\r

It goes wrong for me every time when using a command macro. Other variations include replacing steps 1) and 2) with the keys 'r' followed by 'z' instead of 'L' then 'f''

Hybrid and normal macros are a bit better but do not immediately kick in when you press them.

Note that your macro:

# Macro '89'

A:\e)r@Teleportation\r
C:-

Has a "C:-" meaning it is a command macro and will be more vulnerable to this problem.

Hope this helps

Lightman

User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [critical] Keys doesn't works; need to push it several times

Post by tangar » Wed Jul 19, 2017 4:32 pm

I didn't hit 'L' when I entered this lvl. I pushed '>'; after it I tried to teleport, but it beeped.

Also I didn't hit 'L' when I was in my house and couldn't pick up items.
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

Lightman
Posts: 165
Joined: Thu Jun 07, 2012 7:55 pm

Re: [critical] Keys doesn't works; need to push it several times

Post by Lightman » Wed Jul 19, 2017 6:02 pm

The problem I have described is general and happens after the first beep, however you got there (rz does it and loads of other commands). Once the command fails with a beep kiss goodbye to your command macro.

When the command macro fails, it depends on which key you have placed the macro. Placing the macro on the - key like you did, causes further beeps as seen in your video.

User avatar
tangar
Posts: 1423
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [critical] Keys doesn't works; need to push it several times

Post by tangar » Sat Aug 05, 2017 4:01 pm

Cool that you solved this puzzle!! Thanks! :D Hope devs could fix it one day :)
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

Lightman
Posts: 165
Joined: Thu Jun 07, 2012 7:55 pm

Re: [critical] Keys doesn't works; need to push it several times

Post by Lightman » Sat Aug 05, 2017 11:38 pm

I am pretty confident that it will be top priority :)

Post Reply