halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6] Console Not Opening on Start Up

Open Egon-Spengler opened this issue 13 years ago • 4 comments

At first I believed this issue was related to having vertical synch checked under the Video tab when starting CS but after further testing it seems to make no difference anymore.

When starting CS and pressing the console key the console will not come up, the only way to make it work again is to start/join a game or to go to options and click "OK" (even if without changing anything there).

Currently running the February 13 build, since I'm still unable to opt into the new beta, but so far I couldn't find any mention of this issue or it being fixed on any of today's beta(s?).

Egon-Spengler avatar Feb 16 '13 00:02 Egon-Spengler

What is your keyboard layout?

alfred-valve avatar Feb 16 '13 00:02 alfred-valve

QWERTY

Not the US layout, though, European (how many there are, I have no idea).

My console key (under Esc) does not print ~ as most US keyboards do, it prints , if it serves of any help.

The bind is the default and will work, I just have to go in game or click Ok on the Options menu first, for some reason.

If my keyboard layout matters then it might have to do with the fact that now in game chat will actually print what my keyboard keys show, rather than force me to learn what the US layout equivalents are?

Also, just tried, for the sake of trying, and no, pressing my keyboard's ~ does not bring up the console either.

Egon-Spengler avatar Feb 16 '13 01:02 Egon-Spengler

//Hello.

I had the EXACT same problem!

I found out that I forgot to close the " " after a cvar in my config.

It looked like this: cl_resend "6

This caused for me this problem.

Try to find this mistake in your config or load a default cfg to check if the issue goes away.

Best Regards.

Would be nice if you could answer if this helped you.

Swagelicious avatar Jul 26 '13 14:07 Swagelicious

There was no missing quotation mark on my config but I was still able to pinpoint what the problem was.

The culprit was bind "~" ""

It's still a keyboard country configuration problem, I believe, but this is what I tried:

  • Commenting out this bind from the cfg caused the console to work normally.
  • Binding it to something else such as "+attack" caused the console to not work again until the options menu was opened and exited by clicking "OK" again.
  • Binding "~" to ``"toggleconsole"` causes the console to work normally again.

Mind you that I have this line on my cfg too:

bind "`" "toggleconsole"

Which is, and has always been, what actually binds my console to the key underneath the Esc key (what that key is differs from country layout to country layout). "~" is actually located to the left of my enter key, above my right shift and hasn't, at any point during my testing here, toggled my console.

Also, at the time this started happening (after the CS updates), I had not modified my configs at all, meaning it was something done by the update that changed how things worked.

So, and since the pause and console keys seem to be the two binds that are kind of "hardcoded" into the game for obvious safety reasons (if you try to unbindall every key but your escape and console keys will stop working, because you obviously still need a way to navigate the game after unbinding everything), my theory is that, since the update, only the US keyboard layout is "seen" by the game and so "~" being bound to "" (nothing) told the game the key under my Esc key was unbound, ignoring the other bind that should, but did not, bind toggleconsole to it. And as soon as you press "OK" on the Options menu your cfg is loaded, and I believe that's when the game goes "that key is not bound to toggleconsole anymore, we can't allow that, let's rectify it" and that's why after doing that the console would work again.

Anyway, thanks for your post @Swagelicious. Since I don't think @alfred-valve will want to do anything else with this report I'll close it myself.

Cheers.

Egon-Spengler avatar Jul 26 '13 15:07 Egon-Spengler