 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sat Jan 30, 2010 8:11 am
[3.13] MXP Prompt Trigger with %mxp.data irregularity |
In Achaea there are two different prompts, one when you aren't blacked out and the other when you are. In the normal case, %mxp.data shows the text just fine. When I'm blacked out and see only a "-" prompt something strange happens and what I see in %mxp.data seems incorrect.
This is what I get from Achaea:
Code: |
<PROMPT>-<ESC>[4z</PROMPT> |
The variable %0 is equal to "-", as is expected.
However, the variable %mxp.data has the value of "-9223372036854775807".
I can't account for where this large integer comes from. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Feb 01, 2010 6:42 pm |
I think CMUD is trying to apply the "auto type" to the variable and is treating "-" as some uninitialized integer value. Try using %string(%mxp.data) and see what it displays.
|
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Tue Feb 02, 2010 3:18 am |
%string(%mxp.data) still displays the same thing, "-9223372036854775807".
|
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sat Feb 06, 2010 3:20 pm |
Is this something I should I check to see if this was fixed in 3.14? I didn't specifically see anything about it mentioned in your change log, so I was thinking no, but thought I might ask.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Feb 06, 2010 5:58 pm |
I didn't get time to fix this one, so if it works in 3.14 I'd be surprised.
|
|
|
 |
|
|