武装突袭3

武装突袭3

Tao's Folding Map Rewrite
johnb43  [开发者] 2020 年 6 月 1 日 下午 11:36
BUG REPORTS
Please post bug reports here or can be posted on the GitHub here: https://github.com/johnb432/Tao-folding-map
最后由 johnb43 编辑于; 2020 年 6 月 10 日 上午 12:41
< >
正在显示第 1 - 15 条,共 46 条留言
TheDude 2021 年 2 月 6 日 上午 12:41 
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
最后由 TheDude 编辑于; 2021 年 2 月 6 日 上午 2:03
johnb43  [开发者] 2021 年 2 月 8 日 上午 1:22 
引用自 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 2021 年 2 月 8 日 上午 4:06 
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.
最后由 TheDude 编辑于; 2021 年 2 月 8 日 上午 4:54
johnb43  [开发者] 2021 年 7 月 28 日 上午 4:22 
引用自 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 2023 年 2 月 26 日 下午 2:58 
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
最后由 Jamsponge 编辑于; 2023 年 2 月 26 日 下午 3:01
johnb43  [开发者] 2023 年 2 月 27 日 上午 8:45 
引用自 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 2023 年 2 月 27 日 上午 8:55 
引用自 johnb43
引用自 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  [开发者] 2023 年 2 月 27 日 上午 9:53 
引用自 Jamsponge
引用自 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 2023 年 2 月 27 日 上午 10:32 
引用自 johnb43
引用自 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  [开发者] 2023 年 2 月 27 日 下午 12:34 
引用自 Jamsponge
引用自 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"
最后由 johnb43 编辑于; 2023 年 2 月 27 日 下午 12:35
Jamsponge 2023 年 2 月 27 日 下午 2:37 
引用自 johnb43
引用自 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  [开发者] 2023 年 3 月 1 日 上午 7:45 
引用自 Jamsponge
引用自 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 2023 年 3 月 1 日 上午 8:03 
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  [开发者] 2023 年 3 月 1 日 上午 8:08 
引用自 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.
最后由 johnb43 编辑于; 2023 年 3 月 1 日 上午 8:08
Jamsponge 2023 年 3 月 1 日 上午 8:18 
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
< >
正在显示第 1 - 15 条,共 46 条留言
每页显示数: 1530 50