ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

Standard binds are not recognized within aliases outside of matches #3841

Open wnhrt opened 2 months ago

wnhrt commented 2 months ago

Your system information

Please describe your issue in as much detail as possible:

+showscores has no effect in the end screen of a match, if it is inside an alias. I want to adjust safezonex/y while the scoreboard is open, so that the map is not behind the scoreboard. For now the only workaround that I found was to bind only +showscores to an additional key and press this one instat in the end screen.

Same appears for all settings which are configurable inside the settings UI. +showscores is one, which affects me within an main stream part of the game.

Other examples are

This could be a mixed two-part issue. Global binds, such as the scoreboard, which are not recognized within an alias. And custom bindings, like aliases, that are not executed outside of a match. I imagine the latter is intentional, but it would be handy if that were possible.

Steps for reproducing this issue:

  1. Set following configuration
    alias "+scoreboard" "+showscores; safezonex 0.90; safezoney 0.90"
    alias "-scoreboard" "-showscores; safezonex 0.66; safezoney 0.90"
    bind "tab" "+scoreboard"
  2. Start a match
  3. Press tab
  4. Scoreboard appears
  5. Finish the match, so that the win/lose/tie screen appears (sv_cheats true; mp_maxrounds 1; bot_kick; bot_add)
  6. Press tab
  7. Scoreboard does not appear
  8. Additionally the binding in Settings -> Keyboard/Mouse -> UI Keys -> Scoreboard is empty