ID:2316589
 
Resolved
Prompts for missing verb arguments could cause problems with macros, especially the Any and Any+UP macros. These macros, and any macros fired when "unsticking" keys, will no longer prompt for missing arguments but will simply fail silently in those cases.
BYOND Version:511
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Firefox 57.0
Applies to:Dream Seeker
Status: Resolved (512.1396)

This issue has been resolved.
Descriptive Problem Summary:
A control macro calling on a verb without required args crashes the client.

Numbered Steps to Reproduce Problem:
1. Use the code below in a project
2. Press and hold a couple keys
3. Crash

Code Snippet (if applicable) to Reproduce Problem:
/client/New()
. = ..()
winset(src, "macro-Any+UP", "parent=macro;name=Any+UP;command=anyDown")
winset(src, "macro-Any", "parent=macro;name=Any;command=anyUp")

/client/verb/anyDown(_key as text)
return

/client/verb/anyUp(_key as text)
return


Expected Results:
Handle the inputs as normal

Actual Results:
Client side crash

Does the problem occur:
Every time? Or how often?
Almost every time, press a few more keys if it doesn't work.
In other user accounts?
Yes
On other computers?
Yes

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Tested with 511 and 512
Lummox JR resolved issue with message:
Prompts for missing verb arguments could cause problems with macros, especially the Any and Any+UP macros. These macros, and any macros fired when "unsticking" keys, will no longer prompt for missing arguments but will simply fail silently in those cases.