Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ace interface ctrlShow problems (stamina bar, clock on briefing) #4986

Closed
PARTYzanRnD opened this issue Mar 13, 2017 · 2 comments · Fixed by #4988
Closed

Ace interface ctrlShow problems (stamina bar, clock on briefing) #4986

PARTYzanRnD opened this issue Mar 13, 2017 · 2 comments · Fixed by #4988
Assignees
Labels
Milestone

Comments

@PARTYzanRnD
Copy link

Arma 3 Version: stable
CBA Version: stable
**ACE3 Version:**stable

Mods:

- CBA_A3
- ace3

Description:

  • For some reason some of ctrlshow scritps work with opposite effect:
    ace_advanced_fatigue\xeh_postinit.sqf line 17
    private _fnc_showStaminaBar = {
    private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
    _staminaBarContainer ctrlShow ((!visibleMap) && {(vehicle ACE_player) == ACE_player});
    };
    enables stamina bar on map,

ace_map\functions\fn_ondrawmap.sqf line 7
((_this select 0) displayCtrl 101) ctrlShow GVAR(hasWatch);
disables briefing clock if have watch

May be this is non-relatet cases, because you dont get clock on briefing if have no watch, but i managed to fix the problem by adding the not operator for both conditions

Steps to reproduce:

  • ace_advanced_fatigue: open/close map; sprint for a while, notice the abscence of stamina bar, open map, here it is
  • ace_map: start briefing of multiplayer mission, there is no time at top right corner

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer

Placed Modules:

  • none

RPT log file:

  • pastebin) to the client and/or server RPT file. An instruction to find your RPT files can be found here.
  • If possible at the time the bug is encountered, go to ACE Options and select "Debug To Clipboard", this will print extensive debug information to the RPT file.
@PabstMirror
Copy link
Contributor

PabstMirror commented Mar 13, 2017

I know the visibleMap part is from CBA, will be fixed in 3.9.1 with #4878
Will look into the watch part

@PabstMirror
Copy link
Contributor

PabstMirror commented Mar 13, 2017

Couldn't reproduce watch/clock thing, but I think it's from a player event handlr problem
should be fixed with either #4988 or next CBA

@PabstMirror PabstMirror added this to the 3.10.0 milestone Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants