ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

ACE PBO Check, when set to "Kick", can be bypassed using an Xbox Controller

Open hobnob11 opened this issue 2 years ago • 0 comments

Mods (complete and add to the following information):

  • Arma 3: 2.12 stable [e.g. 1.00 stable, rc, dev]
  • CBA: 3.15.8 [e.g. 3.0.0 stable, commit hash]
  • ACE3: 3.x15.2 [eg. 3.0.0 stable, commit hash]

Description: With ace_common_CheckPBOsAction set to 2 (kick), and with outdated / mismatched PBO's loaded, the server comes up with a warning dialog first, and only after clicking okay on that dialog do you get kicked. The problem is that, if you plug in an Xbox controller, and instead of clicking okay, press B on the Xbox controller, it closes the dialog and you don't get kicked. Despite there being no cancel / close button on the dialog.

Steps to reproduce: Follow [https://ace3.acemod.org/img/wiki/user/issue_flowchart.webp](this flowchart)!

  1. Set up a server running CBA and Ace with ace_common_CheckPBOsAction = 2;
  2. Remove one of the PBOs from ace that the server has loaded from your client then join the server.
  3. After you load in and are presented with a warning dialog saying you have missing addons, instead of clicking okay, press B on a connected Xbox controller
  4. Observe that you didn't get kicked.

Expected behavior: You get kicked from server no matter what input you press.

Where did the issue occur?

  • Dedicated server

Additional context: Suggestion by veteran29 which could work would be to move the kick logic to Dialog Unload instead of Okay.

hobnob11 avatar Apr 05 '23 18:04 hobnob11