Arma 3
Tao's Folding Map Rewrite
johnb43  [developer] 1 Jun, 2020 @ 11:36pm
BUG REPORTS
Please post bug reports here or can be posted on the GitHub here: https://github.com/johnb432/Tao-folding-map
Last edited by johnb43; 10 Jun, 2020 @ 12:41am
< >
Showing 1-15 of 46 comments
TheDude 6 Feb, 2021 @ 12:41am 
Popped up when I was trying to refold the map via Shift+Ctrl+M,
while in paper map mode and "Keep player on map" on Manual.

10:30:10 Error in expression <["Tao_FoldMap", nil])) displayCtrl 40) drawRectangle [((((uiNamespace getVariab>
10:30:10 Error position: <drawRectangle [((((uiNamespace getVariab>
10:30:10 Error Type Number,Not a Number, expected Number
Last edited by TheDude; 6 Feb, 2021 @ 2:03am
johnb43  [developer] 8 Feb, 2021 @ 1:22am 
Originally posted by TheDude:
Popped up when I was trying to refold the map via Shift+Ctrl+M,
while in paper map mode and "Keep player on map" on Manual.

10:30:10 Error in expression <["Tao_FoldMap", nil])) displayCtrl 40) drawRectangle [((((uiNamespace getVariab>
10:30:10 Error position: <drawRectangle [((((uiNamespace getVariab>
10:30:10 Error Type Number,Not a Number, expected Number


I have not been able to reproduce that error. Can you send me the RPT log if you still have it?
TheDude 8 Feb, 2021 @ 4:06am 
Sorry man, I can't find the rpts of that specific session now.

Try using the Keybinds during these scenarios:
I'm talking exclusively about Map Mode - Paper.

1) Have map, don't have a GPS.
2) Have map, but you drop it during mini map overlay opened.
3) Have GPS, don't have map.
4) Have map and have GPS.
Last edited by TheDude; 8 Feb, 2021 @ 4:54am
johnb43  [developer] 28 Jul, 2021 @ 4:22am 
Originally posted by hardly:
I hate to bug you for programming advice on Steam but how did you create the dialog menu that allows you to use the cursor keys to select the menu options instead of performing the underlying "run move" command? Is that via CBA?
1. This is a bug report thread, next time use the comment section to ask such questions, as I want to keep stuff separate.
2. I have no idea what you are talking about.
If you are talking about the menu that can be seen in the first screenshot, it's called a fleximenu and it's part of CBA.
Look at the GitHub page linked in the mod's description for more.
Jamsponge 26 Feb, 2023 @ 2:58pm 
When I open the flexi menu, it pops up with a large red CBA error, which reads this:
fx [CBA] (ui) 'enabled' menu property returned nil.
[["main", "Tao's Folding Map Rewrite", "popup"],["Switch to Centered Tracking'',{ if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2; }; },"Switches the map to centered tracking mode.",[],46,bool,true}true}

and a hint in the corner, which says this:
Error logged: 'enabled' menu property returned nil.

and the same error listed in the red CBA error.

This still happens even if I only have CBA and the rewrite in my modlist. I've tried deleting the files and reinstalling the mod and nothing seems to have changed, it's providing the same error.

Also, I am unable to toggle between modes - it seems to be locked in manual mode, but using my keybinds to move the map around also doesn't do anything.

Could this be caused by being subscribed to the original version of the mod, or something like that? That's the only thing I can think of.

I'm not 100% sure if I wrote out the code perfectly, I had to copy it down 1:1 by hand
Last edited by Jamsponge; 26 Feb, 2023 @ 3:01pm
johnb43  [developer] 27 Feb, 2023 @ 8:45am 
Originally posted by Jamsponge:
When I open the flexi menu, it pops up with a large red CBA error, which reads this:
fx [CBA] (ui) 'enabled' menu property returned nil.
[["main", "Tao's Folding Map Rewrite", "popup"],["Switch to Centered Tracking'',{ if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2; }; },"Switches the map to centered tracking mode.",[],46,bool,true}true}

and a hint in the corner, which says this:
Error logged: 'enabled' menu property returned nil.

and the same error listed in the red CBA error.

This still happens even if I only have CBA and the rewrite in my modlist. I've tried deleting the files and reinstalling the mod and nothing seems to have changed, it's providing the same error.

Also, I am unable to toggle between modes - it seems to be locked in manual mode, but using my keybinds to move the map around also doesn't do anything.

Could this be caused by being subscribed to the original version of the mod, or something like that? That's the only thing I can think of.

I'm not 100% sure if I wrote out the code perfectly, I had to copy it down 1:1 by hand

Can you describe the scenario you were in? Did you just load into the mission? Did it work before and then all of the sudden stopped? Give me as much information as possible please.
Jamsponge 27 Feb, 2023 @ 8:55am 
Originally posted by johnb43:
Originally posted by Jamsponge:
When I open the flexi menu, it pops up with a large red CBA error, which reads this:
fx [CBA] (ui) 'enabled' menu property returned nil.
[["main", "Tao's Folding Map Rewrite", "popup"],["Switch to Centered Tracking'',{ if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2; }; },"Switches the map to centered tracking mode.",[],46,bool,true}true}

and a hint in the corner, which says this:
Error logged: 'enabled' menu property returned nil.

and the same error listed in the red CBA error.

This still happens even if I only have CBA and the rewrite in my modlist. I've tried deleting the files and reinstalling the mod and nothing seems to have changed, it's providing the same error.

Also, I am unable to toggle between modes - it seems to be locked in manual mode, but using my keybinds to move the map around also doesn't do anything.

Could this be caused by being subscribed to the original version of the mod, or something like that? That's the only thing I can think of.

I'm not 100% sure if I wrote out the code perfectly, I had to copy it down 1:1 by hand

Can you describe the scenario you were in? Did you just load into the mission? Did it work before and then all of the sudden stopped? Give me as much information as possible please.
Hi, this seems to happen regardless of context. In multiplayer missions, when I've recently joined/ when I've been in-game for a while, even in single-player on a map I've just opened in the editor.
johnb43  [developer] 27 Feb, 2023 @ 9:53am 
Originally posted by Jamsponge:
Originally posted by johnb43:

Can you describe the scenario you were in? Did you just load into the mission? Did it work before and then all of the sudden stopped? Give me as much information as possible please.
Hi, this seems to happen regardless of context. In multiplayer missions, when I've recently joined/ when I've been in-game for a while, even in single-player on a map I've just opened in the editor.

Can you run this code in the debug console and send the output?
call tao_rewrite_main_fnc_fleximenu
Jamsponge 27 Feb, 2023 @ 10:32am 
Originally posted by johnb43:
Originally posted by Jamsponge:
Hi, this seems to happen regardless of context. In multiplayer missions, when I've recently joined/ when I've been in-game for a while, even in single-player on a map I've just opened in the editor.

Can you run this code in the debug console and send the output?
call tao_rewrite_main_fnc_fleximenu
Hi, the output is:
[["main","Tao's Folding Map Rewrite","popup"],[["Change to paper",{

((profileNamespace setVariable ["tao_rewrite_main_drawStyle", ["paper", "tablet"] select tao_rewrite_main_drawPaper]));
tao_rewrite_main_drawPaper = !tao_rewrite_main_drawPaper;

if (tao_rewrite_main_isOpen) then {
call tao_rewrite_main_fnc_refreshMap;
};
},"","Toggles the map type.",[],20,true,true],["Switch to night mode",{
if (tao_rewrite_main_isOpen && {!tao_rewrite_main_drawPaper}) then {
call tao_rewrite_main_fnc_nvMode;
};
},"","Toggles the map mode.",[],31,true,true],["Switch to Manual Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 1;
};
},"","Switches the map to manual tracking mode.",[],50,bool,true],["Switch to Automatic Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 0;
};
},"","Switches the map to automatic tracking mode.",[],30,false,true],["Switch to Centered Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2;
};
},"","Switches the map to centered tracking mode.",[],46,bool,true]]]

This time I was able to copy and paste directly
johnb43  [developer] 27 Feb, 2023 @ 12:34pm 
Originally posted by Jamsponge:
Originally posted by johnb43:

Can you run this code in the debug console and send the output?
call tao_rewrite_main_fnc_fleximenu
Hi, the output is:
[["main","Tao's Folding Map Rewrite","popup"],[["Change to paper",{

((profileNamespace setVariable ["tao_rewrite_main_drawStyle", ["paper", "tablet"] select tao_rewrite_main_drawPaper]));
tao_rewrite_main_drawPaper = !tao_rewrite_main_drawPaper;

if (tao_rewrite_main_isOpen) then {
call tao_rewrite_main_fnc_refreshMap;
};
},"","Toggles the map type.",[],20,true,true],["Switch to night mode",{
if (tao_rewrite_main_isOpen && {!tao_rewrite_main_drawPaper}) then {
call tao_rewrite_main_fnc_nvMode;
};
},"","Toggles the map mode.",[],31,true,true],["Switch to Manual Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 1;
};
},"","Switches the map to manual tracking mode.",[],50,bool,true],["Switch to Automatic Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 0;
};
},"","Switches the map to automatic tracking mode.",[],30,false,true],["Switch to Centered Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2;
};
},"","Switches the map to centered tracking mode.",[],46,bool,true]]]

This time I was able to copy and paste directly
Execute one line after the other and give me the line that returns true:
isNil "tao_rewrite_main_hasGPS" isNil "tao_rewrite_main_GPSAdjust" isNil "tao_rewrite_main_allowAdjustLocked" isNil "tao_rewrite_main_adjustMode" isNil "tao_rewrite_main_isOpen" isNil "tao_rewrite_main_enableMap"
Last edited by johnb43; 27 Feb, 2023 @ 12:35pm
Jamsponge 27 Feb, 2023 @ 2:37pm 
Originally posted by johnb43:
Originally posted by Jamsponge:
Hi, the output is:
[["main","Tao's Folding Map Rewrite","popup"],[["Change to paper",{

((profileNamespace setVariable ["tao_rewrite_main_drawStyle", ["paper", "tablet"] select tao_rewrite_main_drawPaper]));
tao_rewrite_main_drawPaper = !tao_rewrite_main_drawPaper;

if (tao_rewrite_main_isOpen) then {
call tao_rewrite_main_fnc_refreshMap;
};
},"","Toggles the map type.",[],20,true,true],["Switch to night mode",{
if (tao_rewrite_main_isOpen && {!tao_rewrite_main_drawPaper}) then {
call tao_rewrite_main_fnc_nvMode;
};
},"","Toggles the map mode.",[],31,true,true],["Switch to Manual Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 1;
};
},"","Switches the map to manual tracking mode.",[],50,bool,true],["Switch to Automatic Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 0;
};
},"","Switches the map to automatic tracking mode.",[],30,false,true],["Switch to Centered Tracking",{
if (tao_rewrite_main_isOpen) then {
tao_rewrite_main_adjustMode = 2;
};
},"","Switches the map to centered tracking mode.",[],46,bool,true]]]

This time I was able to copy and paste directly
Execute one line after the other and give me the line that returns true:
isNil "tao_rewrite_main_hasGPS" isNil "tao_rewrite_main_GPSAdjust" isNil "tao_rewrite_main_allowAdjustLocked" isNil "tao_rewrite_main_adjustMode" isNil "tao_rewrite_main_isOpen" isNil "tao_rewrite_main_enableMap"
Hi,
They all said 'false' except allowAdjustLocked, which said 'true'.
johnb43  [developer] 1 Mar, 2023 @ 7:45am 
Originally posted by Jamsponge:
Originally posted by johnb43:
Execute one line after the other and give me the line that returns true:
isNil "tao_rewrite_main_hasGPS" isNil "tao_rewrite_main_GPSAdjust" isNil "tao_rewrite_main_allowAdjustLocked" isNil "tao_rewrite_main_adjustMode" isNil "tao_rewrite_main_isOpen" isNil "tao_rewrite_main_enableMap"
Hi,
They all said 'false' except allowAdjustLocked, which said 'true'.
Sorry for the long delay.

Can you run the following:
"tao_rewrite_main_allowAdjust" call CBA_settings_fnc_priority
Jamsponge 1 Mar, 2023 @ 8:03am 
hi, no worries, take all the time you need, you're doing this for free and i appreciate your help!

that command's only output was "client"
johnb43  [developer] 1 Mar, 2023 @ 8:08am 
Originally posted by Jamsponge:
hi, no worries, take all the time you need, you're doing this for free and i appreciate your help!

that command's only output was "client"
Thanks.

Can you run this?
CBA_settings_client

Furthermore, can you send me your RPT log? The easiest for me would be to copy it somewhere (e.g. Pastebin) and send me the link.
Last edited by johnb43; 1 Mar, 2023 @ 8:08am
Jamsponge 1 Mar, 2023 @ 8:18am 
hi, the output for that command was
Location CBA_NamespaceDummy at -1000, -1000
I have uploaded the rpt log to a pastebin here: https://pastebin.com/nGj5wsg6
< >
Showing 1-15 of 46 comments
Per page: 1530 50